Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewRelativeEndpoint() Active = typesrest.NewEndpoint("active") ActivateByAccountId = typesrest.NewEndpoint("activate", typesrest.AccountId) Suspended = typesrest.NewEndpoint("suspended") SuspendByAccountId = typesrest.NewEndpoint("suspend", typesrest.AccountId) VerifyPayment = typesrest.NewEndpoint("verify") )
Payment service accounts REST endpoints
View Source
var ( AddPaymentAccountMapper = typesrest.NewMapper(Relative, grpcpayment.AddPaymentAccount) GetPaymentAccountsMapper = typesrest.NewMapper(Relative, grpcpayment.GetPaymentAccounts) GetActivePaymentAccountsMapper = typesrest.NewMapper(Active, grpcpayment.GetActivePaymentAccounts) ActivatePaymentAccountMapper = typesrest.NewMapper(ActivateByAccountId, grpcpayment.ActivatePaymentAccount) GetSuspendedPaymentAccountsMapper = typesrest.NewMapper(Suspended, grpcpayment.GetSuspendedPaymentAccounts) SuspendPaymentAccountMapper = typesrest.NewMapper(SuspendByAccountId, grpcpayment.SuspendPaymentAccount) VerifyPaymentMapper = typesrest.NewMapper(VerifyPayment, grpcpayment.VerifyPayment) )
Payment service accounts endpoints mapping
View Source
var Base = typesrest.NewEndpoint("accounts")
Base is the base endpoint for the payment service accounts REST endpoints
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.