Documentation ¶
Index ¶
- type Client
- func (c *Client) CapturePayment(requestID string, req *request.CapturePaymentRequest) (*response.CaptureResponse, int, error)
- func (c *Client) CreateCustomer(req *request.CustomerRequest) (*response.CustomersResponse, int, error)
- func (c *Client) CreateCustomerPaymentInstrument(customerID string, req *request.CustomerPaymentInstrumentRequest) (*response.CustomerPaymentInstrumentResponse, int, error)
- func (c *Client) CreateInstrumentIdentifier(req *request.InstrumentIdentifierRequest) (*response.InstrumentIdentifierResponse, int, error)
- func (c *Client) DeleteCustomer(customerID string) (error, int)
- func (c *Client) GenerateCaptureContext(req *request.GenerateCaptureContextRequest) (*response.GenerateCaptureContextResponse, int, error)
- func (c *Client) GetPayment(requestID string) (*response.GetPaymentResponse, int, error)
- func (c *Client) LookupBIN(req *request.BINLookupRequest) (*response.BINLookupResponse, int, error)
- func (c *Client) ProcessCredit(req *request.CreateCreditRequest) (*response.CreditResponse, int, error)
- func (c *Client) ProcessPayment(req *request.CreatePaymentRequest) (*response.PaymentResponse, int, error)
- func (c *Client) RefreshPaymentStatus(requestID string, request *request.RefreshPaymentStatusRequest) (*response.RefreshPaymentStatusResponse, int, error)
- func (c *Client) RefundCapture(requestID string, req *request.RefundRequest) (*response.RefundResponse, int, error)
- func (c *Client) RefundPayment(requestID string, req *request.RefundRequest) (*response.RefundResponse, int, error)
- func (c *Client) RetrieveCustomer(customerID string) (*response.CustomersResponse, int, error)
- func (c *Client) RetrieveCustomerPaymentInstrument(customerID string, paymentInstrumentTokenID string) (*response.CustomerPaymentInstrumentResponse, int, error)
- func (c *Client) RetrieveTransaction(requestID string) (*response.TransactionDetails, int, error)
- func (c *Client) ReverseAuthorization(requestID string, req *request.ReverseAuthRequest) (*response.PaymentResponse, int, error)
- func (c *Client) UpdateCustomer(customerID string, req *request.CustomerRequest) (*response.CustomersResponse, int, error)
- func (c *Client) VoidCapture(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
- func (c *Client) VoidCredit(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
- func (c *Client) VoidPayment(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
- func (c *Client) VoidRefund(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CapturePayment ¶
func (c *Client) CapturePayment(requestID string, req *request.CapturePaymentRequest) (*response.CaptureResponse, int, error)
func (*Client) CreateCustomer ¶
func (c *Client) CreateCustomer(req *request.CustomerRequest) (*response.CustomersResponse, int, error)
func (*Client) CreateCustomerPaymentInstrument ¶
func (c *Client) CreateCustomerPaymentInstrument(customerID string, req *request.CustomerPaymentInstrumentRequest) (*response.CustomerPaymentInstrumentResponse, int, error)
func (*Client) CreateInstrumentIdentifier ¶
func (c *Client) CreateInstrumentIdentifier(req *request.InstrumentIdentifierRequest) (*response.InstrumentIdentifierResponse, int, error)
func (*Client) GenerateCaptureContext ¶
func (c *Client) GenerateCaptureContext(req *request.GenerateCaptureContextRequest) (*response.GenerateCaptureContextResponse, int, error)
func (*Client) GetPayment ¶
func (*Client) LookupBIN ¶
func (c *Client) LookupBIN(req *request.BINLookupRequest) (*response.BINLookupResponse, int, error)
func (*Client) ProcessCredit ¶
func (c *Client) ProcessCredit(req *request.CreateCreditRequest) (*response.CreditResponse, int, error)
func (*Client) ProcessPayment ¶
func (c *Client) ProcessPayment(req *request.CreatePaymentRequest) (*response.PaymentResponse, int, error)
func (*Client) RefreshPaymentStatus ¶
func (c *Client) RefreshPaymentStatus(requestID string, request *request.RefreshPaymentStatusRequest) (*response.RefreshPaymentStatusResponse, int, error)
func (*Client) RefundCapture ¶
func (c *Client) RefundCapture(requestID string, req *request.RefundRequest) (*response.RefundResponse, int, error)
func (*Client) RefundPayment ¶
func (c *Client) RefundPayment(requestID string, req *request.RefundRequest) (*response.RefundResponse, int, error)
func (*Client) RetrieveCustomer ¶
func (*Client) RetrieveCustomerPaymentInstrument ¶
func (*Client) RetrieveTransaction ¶
func (*Client) ReverseAuthorization ¶
func (c *Client) ReverseAuthorization(requestID string, req *request.ReverseAuthRequest) (*response.PaymentResponse, int, error)
func (*Client) UpdateCustomer ¶
func (c *Client) UpdateCustomer(customerID string, req *request.CustomerRequest) (*response.CustomersResponse, int, error)
func (*Client) VoidCapture ¶
func (c *Client) VoidCapture(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
func (*Client) VoidCredit ¶
func (c *Client) VoidCredit(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
func (*Client) VoidPayment ¶
func (c *Client) VoidPayment(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
func (*Client) VoidRefund ¶
func (c *Client) VoidRefund(requestID string, req *request.VoidRequest) (*response.VoidResponse, int, error)
Source Files ¶
- bin_lookup.go
- capture_payment.go
- client.go
- create_customer.go
- create_customer_payment_instrument.go
- create_digest.go
- create_instrument_identifier.go
- create_signature.go
- delete_customer.go
- doDebug.go
- doDelete.go
- doGet.go
- doPatch.go
- doPost.go
- generate_capture_context.go
- get_payment.go
- process_credit.go
- process_payment.go
- refresh_payment_status.go
- refund_capture.go
- refund_payment.go
- retrieve_customer.go
- retrieve_customer_payment_instrument.go
- retrieve_transaction.go
- reverse_authorization.go
- update_customer.go
- void_capture.go
- void_credit.go
- void_payment.go
- void_refund.go
Click to show internal directories.
Click to hide internal directories.