Documentation ¶
Index ¶
- type Client
- func (c *Client) ActivateCard(cardId string) (*common.IdResponse, error)
- func (c *Client) CreateCard(request cards.CardRequest) (*cards.CardResponse, error)
- func (c *Client) CreateCardholder(request cardholders.CardholderRequest) (*cardholders.CardholderResponse, error)
- func (c *Client) CreateControl(request controls.CardControlRequest) (*controls.CardControlResponse, error)
- func (c *Client) EnrollThreeDS(cardId string, enrollmentRequest cards.ThreeDSEnrollmentRequest) (*cards.ThreeDSEnrollmentResponse, error)
- func (c *Client) GetCardControlDetails(controlId string) (*controls.CardControlResponse, error)
- func (c *Client) GetCardControls(query controls.CardControlsQuery) (*controls.CardControlsQueryResponse, error)
- func (c *Client) GetCardCredentials(cardId string, credentialsQuery cards.CardCredentialsQuery) (*cards.CardCredentialsResponse, error)
- func (c *Client) GetCardDetails(cardId string) (*cards.CardDetailsResponse, error)
- func (c *Client) GetCardThreeDSDetails(cardId string) (*cards.ThreeDSEnrollmentDetailsResponse, error)
- func (c *Client) GetCardholder(cardholderId string) (*cardholders.CardholderDetailsResponse, error)
- func (c *Client) GetCardholderCards(cardholderId string) (*cardholders.CardholderCardsResponse, error)
- func (c *Client) RemoveCardControl(controlId string) (*common.IdResponse, error)
- func (c *Client) RevokeCard(cardId string, revokeCardRequest cards.RevokeCardRequest) (*common.IdResponse, error)
- func (c *Client) SimulateAuthorization(request testing.CardAuthorizationRequest) (*testing.CardAuthorizationResponse, error)
- func (c *Client) SimulateClearing(transactionId string, request testing.CardSimulationRequest) (*common.MetadataResponse, error)
- func (c *Client) SimulateIncrement(transactionId string, request testing.CardSimulationRequest) (*testing.CardSimulationResponse, error)
- func (c *Client) SimulateReversal(transactionId string, request testing.CardSimulationRequest) (*testing.CardSimulationResponse, error)
- func (c *Client) SuspendCard(cardId string) (*common.IdResponse, error)
- func (c *Client) UpdateCardControl(controlId string, updateCardControlRequest controls.UpdateCardControlRequest) (*controls.CardControlResponse, error)
- func (c *Client) UpdateThreeDS(cardId string, threeDSUpdateRequest cards.ThreeDSUpdateRequest) (*cards.ThreeDSUpdateResponse, error)
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 NewClient ¶
func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client
func (*Client) ActivateCard ¶
func (c *Client) ActivateCard(cardId string) (*common.IdResponse, error)
func (*Client) CreateCard ¶
func (c *Client) CreateCard(request cards.CardRequest) (*cards.CardResponse, error)
func (*Client) CreateCardholder ¶
func (c *Client) CreateCardholder(request cardholders.CardholderRequest) (*cardholders.CardholderResponse, error)
func (*Client) CreateControl ¶
func (c *Client) CreateControl(request controls.CardControlRequest) (*controls.CardControlResponse, error)
func (*Client) EnrollThreeDS ¶
func (c *Client) EnrollThreeDS( cardId string, enrollmentRequest cards.ThreeDSEnrollmentRequest, ) (*cards.ThreeDSEnrollmentResponse, error)
func (*Client) GetCardControlDetails ¶
func (c *Client) GetCardControlDetails(controlId string) (*controls.CardControlResponse, error)
func (*Client) GetCardControls ¶
func (c *Client) GetCardControls( query controls.CardControlsQuery, ) (*controls.CardControlsQueryResponse, error)
func (*Client) GetCardCredentials ¶
func (c *Client) GetCardCredentials( cardId string, credentialsQuery cards.CardCredentialsQuery, ) (*cards.CardCredentialsResponse, error)
func (*Client) GetCardDetails ¶
func (c *Client) GetCardDetails(cardId string) (*cards.CardDetailsResponse, error)
func (*Client) GetCardThreeDSDetails ¶
func (c *Client) GetCardThreeDSDetails(cardId string) (*cards.ThreeDSEnrollmentDetailsResponse, error)
func (*Client) GetCardholder ¶
func (c *Client) GetCardholder(cardholderId string) (*cardholders.CardholderDetailsResponse, error)
func (*Client) GetCardholderCards ¶
func (c *Client) GetCardholderCards(cardholderId string) (*cardholders.CardholderCardsResponse, error)
func (*Client) RemoveCardControl ¶
func (c *Client) RemoveCardControl(controlId string) (*common.IdResponse, error)
func (*Client) RevokeCard ¶
func (c *Client) RevokeCard( cardId string, revokeCardRequest cards.RevokeCardRequest, ) (*common.IdResponse, error)
func (*Client) SimulateAuthorization ¶
func (c *Client) SimulateAuthorization( request testing.CardAuthorizationRequest, ) (*testing.CardAuthorizationResponse, error)
func (*Client) SimulateClearing ¶
func (c *Client) SimulateClearing( transactionId string, request testing.CardSimulationRequest, ) (*common.MetadataResponse, error)
func (*Client) SimulateIncrement ¶
func (c *Client) SimulateIncrement( transactionId string, request testing.CardSimulationRequest, ) (*testing.CardSimulationResponse, error)
func (*Client) SimulateReversal ¶
func (c *Client) SimulateReversal( transactionId string, request testing.CardSimulationRequest, ) (*testing.CardSimulationResponse, error)
func (*Client) SuspendCard ¶
func (c *Client) SuspendCard(cardId string) (*common.IdResponse, error)
func (*Client) UpdateCardControl ¶
func (c *Client) UpdateCardControl( controlId string, updateCardControlRequest controls.UpdateCardControlRequest, ) (*controls.CardControlResponse, error)
func (*Client) UpdateThreeDS ¶
func (c *Client) UpdateThreeDS( cardId string, threeDSUpdateRequest cards.ThreeDSUpdateRequest, ) (*cards.ThreeDSUpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.