operations

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 (*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 AccountExistsRequest

type AccountExistsRequest struct {
	// A type and value combination that defines the identifier used to detect
	// the existence of an account.
	//
	Identifier components.Identifier `queryParam:"style=form,explode=true,name=identifier"`
	// The publicly viewable identifier used to identify a merchant division.
	XPublishableKey string `header:"style=simple,explode=false,name=X-Publishable-Key"`
}

func (*AccountExistsRequest) GetIdentifier

func (o *AccountExistsRequest) GetIdentifier() components.Identifier

func (*AccountExistsRequest) GetXPublishableKey

func (o *AccountExistsRequest) GetXPublishableKey() string

type AccountExistsResponse

type AccountExistsResponse 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 (*AccountExistsResponse) GetContentType

func (o *AccountExistsResponse) GetContentType() string

func (*AccountExistsResponse) GetRawResponse

func (o *AccountExistsResponse) GetRawResponse() *http.Response

func (*AccountExistsResponse) GetStatusCode

func (o *AccountExistsResponse) 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 (*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 (*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) 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 (*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 (*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) 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 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) 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) 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) 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 (*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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL