Documentation ¶
Index ¶
- func MakeAuthorizeEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeCancelEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeCaptureEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeCreateAccountEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeCreateCardEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeDeleteCardEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeGetCardEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeGetMDKTokenEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeUpdateAccountEndpoint(svc pkg.Service) endpoint.Endpoint
- func MakeUpdateCardEndpoint(svc pkg.Service) endpoint.Endpoint
- type AccountResponse
- type GetMDKTokenResponse
- type PaymentResponse
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAuthorizeEndpoint ¶
MakeAuthorizeEndpoint returns the endpoint for payment authorization request
func MakeCancelEndpoint ¶
MakeCancelEndpoint returns the endpoint for payment cancel request
func MakeCaptureEndpoint ¶
MakeCaptureEndpoint returns the endpoint for payment cancel request
func MakeCreateAccountEndpoint ¶
MakeCreateAccountEndpoint returns the endpoint for account create request
func MakeCreateCardEndpoint ¶
MakeCreateCardEndpoint returns the endpoint for acount update request
func MakeDeleteCardEndpoint ¶
MakeDeleteCardEndpoint returns the endpoint for acount update request
func MakeGetCardEndpoint ¶
MakeGetCardEndpoint returns the endpoint for acount update request
func MakeGetMDKTokenEndpoint ¶
MakeGetMDKTokenEndpoint returns the endpoint for mdk token request
func MakeUpdateAccountEndpoint ¶
MakeUpdateAccountEndpoint returns the endpoint for acount update request
Types ¶
type AccountResponse ¶
type AccountResponse struct { Account *veritrans.Account `json:"account,omitempty"` Err string `json:"err"` }
AccountResponse struct
type GetMDKTokenResponse ¶
GetMDKTokenResponse struct
type PaymentResponse ¶
type PaymentResponse struct {
Err string `json:"err"`
}
PaymentResponse struct
type Set ¶
type Set struct { GetMDKTokenEndpoint endpoint.Endpoint CreateAccountEndpoint endpoint.Endpoint UpdateAccountEndpoint endpoint.Endpoint CreateCardEndpoint endpoint.Endpoint UpdateCardEndpoint endpoint.Endpoint DeleteCardEndpoint endpoint.Endpoint GetCardEndpoint endpoint.Endpoint AuthorizeEndpoint endpoint.Endpoint CancelEndpoint endpoint.Endpoint CaptureEndpoint endpoint.Endpoint }
Set struct provides the endpoints
func NewEndpointSet ¶
NewEndpointSet initializes the Set struct