Documentation ¶
Index ¶
- type AccountAddPaymentMethodRequest
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethod() components.PaymentMethodInput
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodAffirm() *components.PaymentMethodAffirm
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodAfterpay() *components.PaymentMethodAfterpay
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodCreditCard() *components.PaymentMethodCreditCardInput
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarna() *components.PaymentMethodKlarna
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaAccount() *components.PaymentMethodKlarnaAccount
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaPaynow() *components.PaymentMethodKlarnaPaynow
- func (o *AccountAddPaymentMethodRequest) GetPaymentMethodPaypal() *components.PaymentMethodPaypal
- func (o *AccountAddPaymentMethodRequest) GetXPublishableKey() string
- type AccountAddPaymentMethodResponse
- func (o *AccountAddPaymentMethodResponse) GetContentType() string
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethod() *components.PaymentMethod
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodAffirm() *components.PaymentMethodAffirmOutput
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodAfterpay() *components.PaymentMethodAfterpayOutput
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodCreditCard() *components.PaymentMethodCreditCard
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarna() *components.PaymentMethodKlarnaOutput
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaAccount() *components.PaymentMethodKlarnaAccountOutput
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaPaynow() *components.PaymentMethodKlarnaPaynowOutput
- func (o *AccountAddPaymentMethodResponse) GetPaymentMethodPaypal() *components.PaymentMethodPaypalOutput
- func (o *AccountAddPaymentMethodResponse) GetRawResponse() *http.Response
- func (o *AccountAddPaymentMethodResponse) GetStatusCode() int
- type AccountAddressCreateRequest
- type AccountAddressCreateResponse
- type AccountAddressDeleteRequest
- type AccountAddressDeleteResponse
- type AccountAddressEditRequest
- type AccountAddressEditResponse
- type AccountGetRequest
- type AccountGetResponse
- type AccountPaymentMethodDeleteRequest
- type AccountPaymentMethodDeleteResponse
- type GuestPaymentsActionRequest
- type GuestPaymentsActionResponse
- func (o *GuestPaymentsActionResponse) GetContentType() string
- func (o *GuestPaymentsActionResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *GuestPaymentsActionResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *GuestPaymentsActionResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *GuestPaymentsActionResponse) GetRawResponse() *http.Response
- func (o *GuestPaymentsActionResponse) GetStatusCode() int
- type GuestPaymentsActionSecurity
- type GuestPaymentsInitializeRequest
- type GuestPaymentsInitializeResponse
- func (o *GuestPaymentsInitializeResponse) GetContentType() string
- func (o *GuestPaymentsInitializeResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *GuestPaymentsInitializeResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *GuestPaymentsInitializeResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *GuestPaymentsInitializeResponse) GetRawResponse() *http.Response
- func (o *GuestPaymentsInitializeResponse) GetStatusCode() int
- type GuestPaymentsInitializeSecurity
- type GuestPaymentsUpdateRequest
- type GuestPaymentsUpdateResponse
- func (o *GuestPaymentsUpdateResponse) GetContentType() string
- func (o *GuestPaymentsUpdateResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *GuestPaymentsUpdateResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *GuestPaymentsUpdateResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *GuestPaymentsUpdateResponse) GetRawResponse() *http.Response
- func (o *GuestPaymentsUpdateResponse) GetStatusCode() int
- type GuestPaymentsUpdateSecurity
- type OauthGetTokenResponse
- type OrdersCreateRequest
- type OrdersCreateResponse
- type OrdersCreateSecurity
- type PaymentsActionRequest
- type PaymentsActionResponse
- func (o *PaymentsActionResponse) GetContentType() string
- func (o *PaymentsActionResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *PaymentsActionResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *PaymentsActionResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *PaymentsActionResponse) GetRawResponse() *http.Response
- func (o *PaymentsActionResponse) GetStatusCode() int
- type PaymentsInitializeRequest
- type PaymentsInitializeResponse
- func (o *PaymentsInitializeResponse) GetContentType() string
- func (o *PaymentsInitializeResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *PaymentsInitializeResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *PaymentsInitializeResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *PaymentsInitializeResponse) GetRawResponse() *http.Response
- func (o *PaymentsInitializeResponse) GetStatusCode() int
- type PaymentsUpdateRequest
- type PaymentsUpdateResponse
- func (o *PaymentsUpdateResponse) GetContentType() string
- func (o *PaymentsUpdateResponse) GetPaymentResponse() *components.PaymentResponse
- func (o *PaymentsUpdateResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
- func (o *PaymentsUpdateResponse) GetPaymentResponsePending() *components.PaymentResponsePending
- func (o *PaymentsUpdateResponse) GetRawResponse() *http.Response
- func (o *PaymentsUpdateResponse) GetStatusCode() int
- type TestingAccountCreateRequest
- type TestingAccountCreateResponse
- func (o *TestingAccountCreateResponse) GetAccountTestCreationData() *components.AccountTestCreationDataOutput
- func (o *TestingAccountCreateResponse) GetContentType() string
- func (o *TestingAccountCreateResponse) GetRawResponse() *http.Response
- func (o *TestingAccountCreateResponse) GetStatusCode() int
- type TestingAccountCreateSecurity
- type TestingAccountPhoneGetRequest
- type TestingAccountPhoneGetResponse
- type TestingAccountPhoneGetSecurity
- type TestingCreditCardGetRequestBody
- type TestingCreditCardGetResponse
- type TestingCreditCardGetSecurity
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAddPaymentMethodRequest ¶
type AccountAddPaymentMethodRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentMethod components.PaymentMethodInput `request:"mediaType=application/json"` }
func (*AccountAddPaymentMethodRequest) GetPaymentMethod ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethod() components.PaymentMethodInput
func (*AccountAddPaymentMethodRequest) GetPaymentMethodAffirm ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodAffirm() *components.PaymentMethodAffirm
func (*AccountAddPaymentMethodRequest) GetPaymentMethodAfterpay ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodAfterpay() *components.PaymentMethodAfterpay
func (*AccountAddPaymentMethodRequest) GetPaymentMethodCreditCard ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodCreditCard() *components.PaymentMethodCreditCardInput
func (*AccountAddPaymentMethodRequest) GetPaymentMethodKlarna ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarna() *components.PaymentMethodKlarna
func (*AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaAccount ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaAccount() *components.PaymentMethodKlarnaAccount
func (*AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaPaynow ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodKlarnaPaynow() *components.PaymentMethodKlarnaPaynow
func (*AccountAddPaymentMethodRequest) GetPaymentMethodPaypal ¶
func (o *AccountAddPaymentMethodRequest) GetPaymentMethodPaypal() *components.PaymentMethodPaypal
func (*AccountAddPaymentMethodRequest) GetXPublishableKey ¶
func (o *AccountAddPaymentMethodRequest) GetXPublishableKey() string
type AccountAddPaymentMethodResponse ¶
type AccountAddPaymentMethodResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The payment method was successfully added PaymentMethod *components.PaymentMethod }
func (*AccountAddPaymentMethodResponse) GetContentType ¶
func (o *AccountAddPaymentMethodResponse) GetContentType() string
func (*AccountAddPaymentMethodResponse) GetPaymentMethod ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethod() *components.PaymentMethod
func (*AccountAddPaymentMethodResponse) GetPaymentMethodAffirm ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodAffirm() *components.PaymentMethodAffirmOutput
func (*AccountAddPaymentMethodResponse) GetPaymentMethodAfterpay ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodAfterpay() *components.PaymentMethodAfterpayOutput
func (*AccountAddPaymentMethodResponse) GetPaymentMethodCreditCard ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodCreditCard() *components.PaymentMethodCreditCard
func (*AccountAddPaymentMethodResponse) GetPaymentMethodKlarna ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarna() *components.PaymentMethodKlarnaOutput
func (*AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaAccount ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaAccount() *components.PaymentMethodKlarnaAccountOutput
func (*AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaPaynow ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodKlarnaPaynow() *components.PaymentMethodKlarnaPaynowOutput
func (*AccountAddPaymentMethodResponse) GetPaymentMethodPaypal ¶
func (o *AccountAddPaymentMethodResponse) GetPaymentMethodPaypal() *components.PaymentMethodPaypalOutput
func (*AccountAddPaymentMethodResponse) GetRawResponse ¶
func (o *AccountAddPaymentMethodResponse) GetRawResponse() *http.Response
func (*AccountAddPaymentMethodResponse) GetStatusCode ¶
func (o *AccountAddPaymentMethodResponse) GetStatusCode() int
type AccountAddressCreateRequest ¶
type AccountAddressCreateRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` AddressListing components.AddressListingInput `request:"mediaType=application/json"` }
func (*AccountAddressCreateRequest) GetAddressListing ¶
func (o *AccountAddressCreateRequest) GetAddressListing() components.AddressListingInput
func (*AccountAddressCreateRequest) GetXPublishableKey ¶
func (o *AccountAddressCreateRequest) GetXPublishableKey() string
type AccountAddressCreateResponse ¶
type AccountAddressCreateResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The address was successfully added AddressListing *components.AddressListing }
func (*AccountAddressCreateResponse) GetAddressListing ¶
func (o *AccountAddressCreateResponse) GetAddressListing() *components.AddressListing
func (*AccountAddressCreateResponse) GetContentType ¶
func (o *AccountAddressCreateResponse) GetContentType() string
func (*AccountAddressCreateResponse) GetRawResponse ¶
func (o *AccountAddressCreateResponse) GetRawResponse() *http.Response
func (*AccountAddressCreateResponse) GetStatusCode ¶
func (o *AccountAddressCreateResponse) GetStatusCode() int
type AccountAddressDeleteRequest ¶
type AccountAddressDeleteRequest struct { // The ID of the address to delete ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` }
func (*AccountAddressDeleteRequest) GetID ¶
func (o *AccountAddressDeleteRequest) GetID() string
func (*AccountAddressDeleteRequest) GetXPublishableKey ¶
func (o *AccountAddressDeleteRequest) GetXPublishableKey() string
type AccountAddressDeleteResponse ¶
type AccountAddressDeleteResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*AccountAddressDeleteResponse) GetContentType ¶
func (o *AccountAddressDeleteResponse) GetContentType() string
func (*AccountAddressDeleteResponse) GetRawResponse ¶
func (o *AccountAddressDeleteResponse) GetRawResponse() *http.Response
func (*AccountAddressDeleteResponse) GetStatusCode ¶
func (o *AccountAddressDeleteResponse) GetStatusCode() int
type AccountAddressEditRequest ¶
type AccountAddressEditRequest struct { // The ID of the address to edit ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` AddressListing components.AddressListingInput `request:"mediaType=application/json"` }
func (*AccountAddressEditRequest) GetAddressListing ¶
func (o *AccountAddressEditRequest) GetAddressListing() components.AddressListingInput
func (*AccountAddressEditRequest) GetID ¶
func (o *AccountAddressEditRequest) GetID() string
func (*AccountAddressEditRequest) GetXPublishableKey ¶
func (o *AccountAddressEditRequest) GetXPublishableKey() string
type AccountAddressEditResponse ¶
type AccountAddressEditResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The address was successfully edited AddressListing *components.AddressListing }
func (*AccountAddressEditResponse) GetAddressListing ¶
func (o *AccountAddressEditResponse) GetAddressListing() *components.AddressListing
func (*AccountAddressEditResponse) GetContentType ¶
func (o *AccountAddressEditResponse) GetContentType() string
func (*AccountAddressEditResponse) GetRawResponse ¶
func (o *AccountAddressEditResponse) GetRawResponse() *http.Response
func (*AccountAddressEditResponse) GetStatusCode ¶
func (o *AccountAddressEditResponse) GetStatusCode() int
type AccountGetRequest ¶
type AccountGetRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` }
func (*AccountGetRequest) GetXPublishableKey ¶
func (o *AccountGetRequest) GetXPublishableKey() string
type AccountGetResponse ¶
type AccountGetResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The account details were successfully retrieved Account *components.Account }
func (*AccountGetResponse) GetAccount ¶
func (o *AccountGetResponse) GetAccount() *components.Account
func (*AccountGetResponse) GetContentType ¶
func (o *AccountGetResponse) GetContentType() string
func (*AccountGetResponse) GetRawResponse ¶
func (o *AccountGetResponse) GetRawResponse() *http.Response
func (*AccountGetResponse) GetStatusCode ¶
func (o *AccountGetResponse) GetStatusCode() int
type AccountPaymentMethodDeleteRequest ¶
type AccountPaymentMethodDeleteRequest struct { // The ID of the payment method to delete ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` }
func (*AccountPaymentMethodDeleteRequest) GetID ¶
func (o *AccountPaymentMethodDeleteRequest) GetID() string
func (*AccountPaymentMethodDeleteRequest) GetXPublishableKey ¶
func (o *AccountPaymentMethodDeleteRequest) GetXPublishableKey() string
type AccountPaymentMethodDeleteResponse ¶
type AccountPaymentMethodDeleteResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response }
func (*AccountPaymentMethodDeleteResponse) GetContentType ¶
func (o *AccountPaymentMethodDeleteResponse) GetContentType() string
func (*AccountPaymentMethodDeleteResponse) GetRawResponse ¶
func (o *AccountPaymentMethodDeleteResponse) GetRawResponse() *http.Response
func (*AccountPaymentMethodDeleteResponse) GetStatusCode ¶
func (o *AccountPaymentMethodDeleteResponse) GetStatusCode() int
type GuestPaymentsActionRequest ¶
type GuestPaymentsActionRequest struct { // The ID of the guest payment to operate on ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentActionRequest components.PaymentActionRequest `request:"mediaType=application/json"` }
func (*GuestPaymentsActionRequest) GetID ¶
func (o *GuestPaymentsActionRequest) GetID() string
func (*GuestPaymentsActionRequest) GetPaymentActionRequest ¶
func (o *GuestPaymentsActionRequest) GetPaymentActionRequest() components.PaymentActionRequest
func (*GuestPaymentsActionRequest) GetXPublishableKey ¶
func (o *GuestPaymentsActionRequest) GetXPublishableKey() string
type GuestPaymentsActionResponse ¶
type GuestPaymentsActionResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The action was successfully applied to the pending guest payment PaymentResponse *components.PaymentResponse }
func (*GuestPaymentsActionResponse) GetContentType ¶
func (o *GuestPaymentsActionResponse) GetContentType() string
func (*GuestPaymentsActionResponse) GetPaymentResponse ¶
func (o *GuestPaymentsActionResponse) GetPaymentResponse() *components.PaymentResponse
func (*GuestPaymentsActionResponse) GetPaymentResponseFinalized ¶
func (o *GuestPaymentsActionResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*GuestPaymentsActionResponse) GetPaymentResponsePending ¶
func (o *GuestPaymentsActionResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*GuestPaymentsActionResponse) GetRawResponse ¶
func (o *GuestPaymentsActionResponse) GetRawResponse() *http.Response
func (*GuestPaymentsActionResponse) GetStatusCode ¶
func (o *GuestPaymentsActionResponse) GetStatusCode() int
type GuestPaymentsActionSecurity ¶
type GuestPaymentsActionSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*GuestPaymentsActionSecurity) GetAPIKey ¶
func (o *GuestPaymentsActionSecurity) GetAPIKey() string
type GuestPaymentsInitializeRequest ¶
type GuestPaymentsInitializeRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` GuestPaymentInitializeRequest components.GuestPaymentInitializeRequest `request:"mediaType=application/json"` }
func (*GuestPaymentsInitializeRequest) GetGuestPaymentInitializeRequest ¶
func (o *GuestPaymentsInitializeRequest) GetGuestPaymentInitializeRequest() components.GuestPaymentInitializeRequest
func (*GuestPaymentsInitializeRequest) GetXPublishableKey ¶
func (o *GuestPaymentsInitializeRequest) GetXPublishableKey() string
type GuestPaymentsInitializeResponse ¶
type GuestPaymentsInitializeResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The payment was successfully initialized, and was either immediately finalized or is pending PaymentResponse *components.PaymentResponse }
func (*GuestPaymentsInitializeResponse) GetContentType ¶
func (o *GuestPaymentsInitializeResponse) GetContentType() string
func (*GuestPaymentsInitializeResponse) GetPaymentResponse ¶
func (o *GuestPaymentsInitializeResponse) GetPaymentResponse() *components.PaymentResponse
func (*GuestPaymentsInitializeResponse) GetPaymentResponseFinalized ¶
func (o *GuestPaymentsInitializeResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*GuestPaymentsInitializeResponse) GetPaymentResponsePending ¶
func (o *GuestPaymentsInitializeResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*GuestPaymentsInitializeResponse) GetRawResponse ¶
func (o *GuestPaymentsInitializeResponse) GetRawResponse() *http.Response
func (*GuestPaymentsInitializeResponse) GetStatusCode ¶
func (o *GuestPaymentsInitializeResponse) GetStatusCode() int
type GuestPaymentsInitializeSecurity ¶
type GuestPaymentsInitializeSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*GuestPaymentsInitializeSecurity) GetAPIKey ¶
func (o *GuestPaymentsInitializeSecurity) GetAPIKey() string
type GuestPaymentsUpdateRequest ¶
type GuestPaymentsUpdateRequest struct { // The ID of the guest payment to update ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentUpdateRequest components.PaymentUpdateRequest `request:"mediaType=application/json"` }
func (*GuestPaymentsUpdateRequest) GetID ¶
func (o *GuestPaymentsUpdateRequest) GetID() string
func (*GuestPaymentsUpdateRequest) GetPaymentUpdateRequest ¶
func (o *GuestPaymentsUpdateRequest) GetPaymentUpdateRequest() components.PaymentUpdateRequest
func (*GuestPaymentsUpdateRequest) GetXPublishableKey ¶
func (o *GuestPaymentsUpdateRequest) GetXPublishableKey() string
type GuestPaymentsUpdateResponse ¶
type GuestPaymentsUpdateResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The pending payment was successfully updated PaymentResponse *components.PaymentResponse }
func (*GuestPaymentsUpdateResponse) GetContentType ¶
func (o *GuestPaymentsUpdateResponse) GetContentType() string
func (*GuestPaymentsUpdateResponse) GetPaymentResponse ¶
func (o *GuestPaymentsUpdateResponse) GetPaymentResponse() *components.PaymentResponse
func (*GuestPaymentsUpdateResponse) GetPaymentResponseFinalized ¶
func (o *GuestPaymentsUpdateResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*GuestPaymentsUpdateResponse) GetPaymentResponsePending ¶
func (o *GuestPaymentsUpdateResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*GuestPaymentsUpdateResponse) GetRawResponse ¶
func (o *GuestPaymentsUpdateResponse) GetRawResponse() *http.Response
func (*GuestPaymentsUpdateResponse) GetStatusCode ¶
func (o *GuestPaymentsUpdateResponse) GetStatusCode() int
type GuestPaymentsUpdateSecurity ¶
type GuestPaymentsUpdateSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*GuestPaymentsUpdateSecurity) GetAPIKey ¶
func (o *GuestPaymentsUpdateSecurity) GetAPIKey() string
type OauthGetTokenResponse ¶
type OauthGetTokenResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // Access token is successfully fetched GetAccessTokenResponse *components.GetAccessTokenResponse }
func (*OauthGetTokenResponse) GetContentType ¶
func (o *OauthGetTokenResponse) GetContentType() string
func (*OauthGetTokenResponse) GetGetAccessTokenResponse ¶
func (o *OauthGetTokenResponse) GetGetAccessTokenResponse() *components.GetAccessTokenResponse
func (*OauthGetTokenResponse) GetRawResponse ¶
func (o *OauthGetTokenResponse) GetRawResponse() *http.Response
func (*OauthGetTokenResponse) GetStatusCode ¶
func (o *OauthGetTokenResponse) GetStatusCode() int
type OrdersCreateRequest ¶
type OrdersCreateRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` Order components.Order `request:"mediaType=application/json"` }
func (*OrdersCreateRequest) GetOrder ¶
func (o *OrdersCreateRequest) GetOrder() components.Order
func (*OrdersCreateRequest) GetXPublishableKey ¶
func (o *OrdersCreateRequest) GetXPublishableKey() string
type OrdersCreateResponse ¶
type OrdersCreateResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The order was successfuly created OrderResponse *components.OrderResponse }
func (*OrdersCreateResponse) GetContentType ¶
func (o *OrdersCreateResponse) GetContentType() string
func (*OrdersCreateResponse) GetOrderResponse ¶
func (o *OrdersCreateResponse) GetOrderResponse() *components.OrderResponse
func (*OrdersCreateResponse) GetRawResponse ¶
func (o *OrdersCreateResponse) GetRawResponse() *http.Response
func (*OrdersCreateResponse) GetStatusCode ¶
func (o *OrdersCreateResponse) GetStatusCode() int
type OrdersCreateSecurity ¶
type OrdersCreateSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*OrdersCreateSecurity) GetAPIKey ¶
func (o *OrdersCreateSecurity) GetAPIKey() string
type PaymentsActionRequest ¶
type PaymentsActionRequest struct { // The ID of the payment to operate on ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentActionRequest components.PaymentActionRequest `request:"mediaType=application/json"` }
func (*PaymentsActionRequest) GetID ¶
func (o *PaymentsActionRequest) GetID() string
func (*PaymentsActionRequest) GetPaymentActionRequest ¶
func (o *PaymentsActionRequest) GetPaymentActionRequest() components.PaymentActionRequest
func (*PaymentsActionRequest) GetXPublishableKey ¶
func (o *PaymentsActionRequest) GetXPublishableKey() string
type PaymentsActionResponse ¶
type PaymentsActionResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The action was successfully applied to the pending payment PaymentResponse *components.PaymentResponse }
func (*PaymentsActionResponse) GetContentType ¶
func (o *PaymentsActionResponse) GetContentType() string
func (*PaymentsActionResponse) GetPaymentResponse ¶
func (o *PaymentsActionResponse) GetPaymentResponse() *components.PaymentResponse
func (*PaymentsActionResponse) GetPaymentResponseFinalized ¶
func (o *PaymentsActionResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*PaymentsActionResponse) GetPaymentResponsePending ¶
func (o *PaymentsActionResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*PaymentsActionResponse) GetRawResponse ¶
func (o *PaymentsActionResponse) GetRawResponse() *http.Response
func (*PaymentsActionResponse) GetStatusCode ¶
func (o *PaymentsActionResponse) GetStatusCode() int
type PaymentsInitializeRequest ¶
type PaymentsInitializeRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentInitializeRequest components.PaymentInitializeRequest `request:"mediaType=application/json"` }
func (*PaymentsInitializeRequest) GetPaymentInitializeRequest ¶
func (o *PaymentsInitializeRequest) GetPaymentInitializeRequest() components.PaymentInitializeRequest
func (*PaymentsInitializeRequest) GetXPublishableKey ¶
func (o *PaymentsInitializeRequest) GetXPublishableKey() string
type PaymentsInitializeResponse ¶
type PaymentsInitializeResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The payment was successfully initialized, and was either immediately finalized or is pending PaymentResponse *components.PaymentResponse }
func (*PaymentsInitializeResponse) GetContentType ¶
func (o *PaymentsInitializeResponse) GetContentType() string
func (*PaymentsInitializeResponse) GetPaymentResponse ¶
func (o *PaymentsInitializeResponse) GetPaymentResponse() *components.PaymentResponse
func (*PaymentsInitializeResponse) GetPaymentResponseFinalized ¶
func (o *PaymentsInitializeResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*PaymentsInitializeResponse) GetPaymentResponsePending ¶
func (o *PaymentsInitializeResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*PaymentsInitializeResponse) GetRawResponse ¶
func (o *PaymentsInitializeResponse) GetRawResponse() *http.Response
func (*PaymentsInitializeResponse) GetStatusCode ¶
func (o *PaymentsInitializeResponse) GetStatusCode() int
type PaymentsUpdateRequest ¶
type PaymentsUpdateRequest struct { // The ID of the payment to update ID string `pathParam:"style=simple,explode=false,name=id"` // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` PaymentUpdateRequest components.PaymentUpdateRequest `request:"mediaType=application/json"` }
func (*PaymentsUpdateRequest) GetID ¶
func (o *PaymentsUpdateRequest) GetID() string
func (*PaymentsUpdateRequest) GetPaymentUpdateRequest ¶
func (o *PaymentsUpdateRequest) GetPaymentUpdateRequest() components.PaymentUpdateRequest
func (*PaymentsUpdateRequest) GetXPublishableKey ¶
func (o *PaymentsUpdateRequest) GetXPublishableKey() string
type PaymentsUpdateResponse ¶
type PaymentsUpdateResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The pending payment was successfully updated PaymentResponse *components.PaymentResponse }
func (*PaymentsUpdateResponse) GetContentType ¶
func (o *PaymentsUpdateResponse) GetContentType() string
func (*PaymentsUpdateResponse) GetPaymentResponse ¶
func (o *PaymentsUpdateResponse) GetPaymentResponse() *components.PaymentResponse
func (*PaymentsUpdateResponse) GetPaymentResponseFinalized ¶
func (o *PaymentsUpdateResponse) GetPaymentResponseFinalized() *components.PaymentResponseFinalized
func (*PaymentsUpdateResponse) GetPaymentResponsePending ¶
func (o *PaymentsUpdateResponse) GetPaymentResponsePending() *components.PaymentResponsePending
func (*PaymentsUpdateResponse) GetRawResponse ¶
func (o *PaymentsUpdateResponse) GetRawResponse() *http.Response
func (*PaymentsUpdateResponse) GetStatusCode ¶
func (o *PaymentsUpdateResponse) GetStatusCode() int
type TestingAccountCreateRequest ¶
type TestingAccountCreateRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` AccountTestCreationData components.AccountTestCreationData `request:"mediaType=application/json"` }
func (*TestingAccountCreateRequest) GetAccountTestCreationData ¶
func (o *TestingAccountCreateRequest) GetAccountTestCreationData() components.AccountTestCreationData
func (*TestingAccountCreateRequest) GetXPublishableKey ¶
func (o *TestingAccountCreateRequest) GetXPublishableKey() string
type TestingAccountCreateResponse ¶
type TestingAccountCreateResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // The account was successfully created AccountTestCreationData *components.AccountTestCreationDataOutput }
func (*TestingAccountCreateResponse) GetAccountTestCreationData ¶
func (o *TestingAccountCreateResponse) GetAccountTestCreationData() *components.AccountTestCreationDataOutput
func (*TestingAccountCreateResponse) GetContentType ¶
func (o *TestingAccountCreateResponse) GetContentType() string
func (*TestingAccountCreateResponse) GetRawResponse ¶
func (o *TestingAccountCreateResponse) GetRawResponse() *http.Response
func (*TestingAccountCreateResponse) GetStatusCode ¶
func (o *TestingAccountCreateResponse) GetStatusCode() int
type TestingAccountCreateSecurity ¶
type TestingAccountCreateSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*TestingAccountCreateSecurity) GetAPIKey ¶
func (o *TestingAccountCreateSecurity) GetAPIKey() string
type TestingAccountPhoneGetRequest ¶ added in v0.4.2
type TestingAccountPhoneGetRequest struct { // The publicly viewable identifier used to identify a merchant division. XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"` }
func (*TestingAccountPhoneGetRequest) GetXPublishableKey ¶ added in v0.4.2
func (o *TestingAccountPhoneGetRequest) GetXPublishableKey() string
type TestingAccountPhoneGetResponse ¶ added in v0.4.2
type TestingAccountPhoneGetResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // Successfully generated a random, fictitious, unassigned phone number. AccountTestPhoneData *components.AccountTestPhoneData }
func (*TestingAccountPhoneGetResponse) GetAccountTestPhoneData ¶ added in v0.4.2
func (o *TestingAccountPhoneGetResponse) GetAccountTestPhoneData() *components.AccountTestPhoneData
func (*TestingAccountPhoneGetResponse) GetContentType ¶ added in v0.4.2
func (o *TestingAccountPhoneGetResponse) GetContentType() string
func (*TestingAccountPhoneGetResponse) GetRawResponse ¶ added in v0.4.2
func (o *TestingAccountPhoneGetResponse) GetRawResponse() *http.Response
func (*TestingAccountPhoneGetResponse) GetStatusCode ¶ added in v0.4.2
func (o *TestingAccountPhoneGetResponse) GetStatusCode() int
type TestingAccountPhoneGetSecurity ¶ added in v0.4.2
type TestingAccountPhoneGetSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*TestingAccountPhoneGetSecurity) GetAPIKey ¶ added in v0.4.2
func (o *TestingAccountPhoneGetSecurity) GetAPIKey() string
type TestingCreditCardGetRequestBody ¶
type TestingCreditCardGetRequestBody struct { // The expected authorization result when using the generated token for a payment. Type Type `json:"type"` }
func (*TestingCreditCardGetRequestBody) GetType ¶
func (o *TestingCreditCardGetRequestBody) GetType() Type
type TestingCreditCardGetResponse ¶
type TestingCreditCardGetResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // Successfully generated test credit card details TestCreditCard *components.TestCreditCard }
func (*TestingCreditCardGetResponse) GetContentType ¶
func (o *TestingCreditCardGetResponse) GetContentType() string
func (*TestingCreditCardGetResponse) GetRawResponse ¶
func (o *TestingCreditCardGetResponse) GetRawResponse() *http.Response
func (*TestingCreditCardGetResponse) GetStatusCode ¶
func (o *TestingCreditCardGetResponse) GetStatusCode() int
func (*TestingCreditCardGetResponse) GetTestCreditCard ¶
func (o *TestingCreditCardGetResponse) GetTestCreditCard() *components.TestCreditCard
type TestingCreditCardGetSecurity ¶
type TestingCreditCardGetSecurity struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
func (*TestingCreditCardGetSecurity) GetAPIKey ¶
func (o *TestingCreditCardGetSecurity) GetAPIKey() string
type Type ¶
type Type string
Type - The expected authorization result when using the generated token for a payment.
func (*Type) UnmarshalJSON ¶
Source Files ¶
- accountaddpaymentmethod.go
- accountaddresscreate.go
- accountaddressdelete.go
- accountaddressedit.go
- accountget.go
- accountpaymentmethoddelete.go
- guestpaymentsaction.go
- guestpaymentsinitialize.go
- guestpaymentsupdate.go
- oauthgettoken.go
- orderscreate.go
- paymentsaction.go
- paymentsinitialize.go
- paymentsupdate.go
- testingaccountcreate.go
- testingaccountphoneget.go
- testingcreditcardget.go
Click to show internal directories.
Click to hide internal directories.