Documentation ¶
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type BillingAddress
- func (s *BillingAddress) Decode(d *jx.Decoder) error
- func (s *BillingAddress) Encode(e *jx.Encoder)
- func (s *BillingAddress) GetCity() string
- func (s *BillingAddress) GetCountry() string
- func (s *BillingAddress) GetLine1() string
- func (s *BillingAddress) GetState() string
- func (s *BillingAddress) MarshalJSON() ([]byte, error)
- func (s *BillingAddress) SetCity(val string)
- func (s *BillingAddress) SetCountry(val string)
- func (s *BillingAddress) SetLine1(val string)
- func (s *BillingAddress) SetState(val string)
- func (s *BillingAddress) UnmarshalJSON(data []byte) error
- type Client
- func (c *Client) CustomersCustomerIdGet(ctx context.Context, params CustomersCustomerIdGetParams) (*CustomerGetSuccessResponse, error)
- func (c *Client) CustomersCustomerIdPaymentMethodsTokenPost(ctx context.Context, request *CustomersCustomerIdPaymentMethodsTokenPostReq, ...) (*CustomerStoreTokenSuccessResponse, error)
- func (c *Client) CustomersPost(ctx context.Context, request *CustomersPostReq, params CustomersPostParams) (*CustomerCreateSuccessResponse, error)
- func (c *Client) PaymentsPaymentidAuthorizationsPost(ctx context.Context, request OptPaymentsPaymentidAuthorizationsPostReq, ...) (*PaymentAuthSuccessResponse, error)
- func (c *Client) PaymentsPaymentidCapturesPost(ctx context.Context, request *PaymentsPaymentidCapturesPostReq, ...) (*PaymentCapturesSuccessResponse, error)
- func (c *Client) PaymentsPaymentidChargesPost(ctx context.Context, request *PaymentsPaymentidChargesPostReq, ...) (*PaymentChargesSuccessResponse, error)
- func (c *Client) PaymentsPaymentidCreditsPost(ctx context.Context, request *PaymentsPaymentidCreditsPostReq, ...) (*PaymentCreditsSuccessResponse, error)
- func (c *Client) PaymentsPaymentidRefundsPost(ctx context.Context, request *PaymentsPaymentidRefundsPostReq, ...) (*PaymentRefundsSuccessResponse, error)
- func (c *Client) PaymentsPaymentidVoidsPost(ctx context.Context, request *PaymentsPaymentidVoidsPostReq, ...) (*PaymentVoidsSuccessResponse, error)
- func (c *Client) PaymentsPost(ctx context.Context, request *PaymentsPostReq, params PaymentsPostParams) (*PaymentSuccessResponse, error)
- func (c *Client) TokensPost(ctx context.Context, request OptTokensPostReq, params TokensPostParams) (*TokenSuccessResponse, error)
- type ClientOption
- type CustomerCreateSuccessResponse
- func (s *CustomerCreateSuccessResponse) Decode(d *jx.Decoder) error
- func (s *CustomerCreateSuccessResponse) Encode(e *jx.Encoder)
- func (s *CustomerCreateSuccessResponse) GetCreated() OptString
- func (s *CustomerCreateSuccessResponse) GetCustomerReference() OptString
- func (s *CustomerCreateSuccessResponse) GetEmail() OptString
- func (s *CustomerCreateSuccessResponse) GetID() OptString
- func (s *CustomerCreateSuccessResponse) GetModified() OptString
- func (s *CustomerCreateSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *CustomerCreateSuccessResponse) SetCreated(val OptString)
- func (s *CustomerCreateSuccessResponse) SetCustomerReference(val OptString)
- func (s *CustomerCreateSuccessResponse) SetEmail(val OptString)
- func (s *CustomerCreateSuccessResponse) SetID(val OptString)
- func (s *CustomerCreateSuccessResponse) SetModified(val OptString)
- func (s *CustomerCreateSuccessResponse) UnmarshalJSON(data []byte) error
- type CustomerGetSuccessResponse
- func (s *CustomerGetSuccessResponse) Decode(d *jx.Decoder) error
- func (s *CustomerGetSuccessResponse) Encode(e *jx.Encoder)
- func (s *CustomerGetSuccessResponse) GetCreated() OptString
- func (s *CustomerGetSuccessResponse) GetCustomerReference() OptString
- func (s *CustomerGetSuccessResponse) GetEmail() OptString
- func (s *CustomerGetSuccessResponse) GetID() OptString
- func (s *CustomerGetSuccessResponse) GetModified() OptString
- func (s *CustomerGetSuccessResponse) GetPaymentMethods() []PaymentMethod
- func (s *CustomerGetSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *CustomerGetSuccessResponse) SetCreated(val OptString)
- func (s *CustomerGetSuccessResponse) SetCustomerReference(val OptString)
- func (s *CustomerGetSuccessResponse) SetEmail(val OptString)
- func (s *CustomerGetSuccessResponse) SetID(val OptString)
- func (s *CustomerGetSuccessResponse) SetModified(val OptString)
- func (s *CustomerGetSuccessResponse) SetPaymentMethods(val []PaymentMethod)
- func (s *CustomerGetSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *CustomerGetSuccessResponse) Validate() error
- type CustomerStoreTokenSuccessResponse
- func (s *CustomerStoreTokenSuccessResponse) Decode(d *jx.Decoder) error
- func (s *CustomerStoreTokenSuccessResponse) Encode(e *jx.Encoder)
- func (s *CustomerStoreTokenSuccessResponse) GetBillingAddress() OptBillingAddress
- func (s *CustomerStoreTokenSuccessResponse) GetBinNumber() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetCardType() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetCountryCode() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetCreated() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetCustomer() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetExpirationDate() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetFingerprint() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetHolderName() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetHref() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetIssuer() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetLast4Digits() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetLevel() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetPassLuhnValidation() OptBool
- func (s *CustomerStoreTokenSuccessResponse) GetState() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetToken() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetTokenType() OptTokenType
- func (s *CustomerStoreTokenSuccessResponse) GetType() OptString
- func (s *CustomerStoreTokenSuccessResponse) GetVendor() OptString
- func (s *CustomerStoreTokenSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *CustomerStoreTokenSuccessResponse) SetBillingAddress(val OptBillingAddress)
- func (s *CustomerStoreTokenSuccessResponse) SetBinNumber(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetCardType(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetCountryCode(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetCreated(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetCustomer(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetExpirationDate(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetFingerprint(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetHolderName(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetHref(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetIssuer(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetLast4Digits(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetLevel(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetPassLuhnValidation(val OptBool)
- func (s *CustomerStoreTokenSuccessResponse) SetState(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetToken(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetTokenType(val OptTokenType)
- func (s *CustomerStoreTokenSuccessResponse) SetType(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) SetVendor(val OptString)
- func (s *CustomerStoreTokenSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *CustomerStoreTokenSuccessResponse) Validate() error
- type CustomersCustomerIdGetParams
- type CustomersCustomerIdPaymentMethodsTokenPostParams
- type CustomersCustomerIdPaymentMethodsTokenPostReq
- func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) Decode(d *jx.Decoder) error
- func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) Encode(e *jx.Encoder)
- func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) MarshalJSON() ([]byte, error)
- func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) UnmarshalJSON(data []byte) error
- type CustomersPostParams
- type CustomersPostReq
- type ErrorResponse
- func (s *ErrorResponse) Decode(d *jx.Decoder) error
- func (s *ErrorResponse) Encode(e *jx.Encoder)
- func (s *ErrorResponse) GetCategory() OptString
- func (s *ErrorResponse) GetDescription() OptString
- func (s *ErrorResponse) GetMoreInfo() OptString
- func (s *ErrorResponse) MarshalJSON() ([]byte, error)
- func (s *ErrorResponse) SetCategory(val OptString)
- func (s *ErrorResponse) SetDescription(val OptString)
- func (s *ErrorResponse) SetMoreInfo(val OptString)
- func (s *ErrorResponse) UnmarshalJSON(data []byte) error
- type ErrorResponseStatusCode
- type NextAction
- func (s *NextAction) Decode(d *jx.Decoder) error
- func (s *NextAction) Encode(e *jx.Encoder)
- func (s *NextAction) GetAction() string
- func (s *NextAction) GetHref() string
- func (s *NextAction) MarshalJSON() ([]byte, error)
- func (s *NextAction) SetAction(val string)
- func (s *NextAction) SetHref(val string)
- func (s *NextAction) UnmarshalJSON(data []byte) error
- type OptBillingAddress
- func (o *OptBillingAddress) Decode(d *jx.Decoder) error
- func (o OptBillingAddress) Encode(e *jx.Encoder)
- func (o OptBillingAddress) Get() (v BillingAddress, ok bool)
- func (o OptBillingAddress) IsSet() bool
- func (s OptBillingAddress) MarshalJSON() ([]byte, error)
- func (o OptBillingAddress) Or(d BillingAddress) BillingAddress
- func (o *OptBillingAddress) Reset()
- func (o *OptBillingAddress) SetTo(v BillingAddress)
- func (s *OptBillingAddress) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptPaymentAuthSuccessResponseProviderSpecificData
- func (o *OptPaymentAuthSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (o OptPaymentAuthSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (o OptPaymentAuthSuccessResponseProviderSpecificData) Get() (v PaymentAuthSuccessResponseProviderSpecificData, ok bool)
- func (o OptPaymentAuthSuccessResponseProviderSpecificData) IsSet() bool
- func (s OptPaymentAuthSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (o OptPaymentAuthSuccessResponseProviderSpecificData) Or(d PaymentAuthSuccessResponseProviderSpecificData) PaymentAuthSuccessResponseProviderSpecificData
- func (o *OptPaymentAuthSuccessResponseProviderSpecificData) Reset()
- func (o *OptPaymentAuthSuccessResponseProviderSpecificData) SetTo(v PaymentAuthSuccessResponseProviderSpecificData)
- func (s *OptPaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type OptPaymentAuthSuccessResponseResult
- func (o *OptPaymentAuthSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentAuthSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentAuthSuccessResponseResult) Get() (v PaymentAuthSuccessResponseResult, ok bool)
- func (o OptPaymentAuthSuccessResponseResult) IsSet() bool
- func (s OptPaymentAuthSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentAuthSuccessResponseResult) Or(d PaymentAuthSuccessResponseResult) PaymentAuthSuccessResponseResult
- func (o *OptPaymentAuthSuccessResponseResult) Reset()
- func (o *OptPaymentAuthSuccessResponseResult) SetTo(v PaymentAuthSuccessResponseResult)
- func (s *OptPaymentAuthSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentCapturesSuccessResponseResult
- func (o *OptPaymentCapturesSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentCapturesSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentCapturesSuccessResponseResult) Get() (v PaymentCapturesSuccessResponseResult, ok bool)
- func (o OptPaymentCapturesSuccessResponseResult) IsSet() bool
- func (s OptPaymentCapturesSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentCapturesSuccessResponseResult) Or(d PaymentCapturesSuccessResponseResult) PaymentCapturesSuccessResponseResult
- func (o *OptPaymentCapturesSuccessResponseResult) Reset()
- func (o *OptPaymentCapturesSuccessResponseResult) SetTo(v PaymentCapturesSuccessResponseResult)
- func (s *OptPaymentCapturesSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentChargesSuccessResponseProviderSpecificData
- func (o *OptPaymentChargesSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (o OptPaymentChargesSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (o OptPaymentChargesSuccessResponseProviderSpecificData) Get() (v PaymentChargesSuccessResponseProviderSpecificData, ok bool)
- func (o OptPaymentChargesSuccessResponseProviderSpecificData) IsSet() bool
- func (s OptPaymentChargesSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (o OptPaymentChargesSuccessResponseProviderSpecificData) Or(d PaymentChargesSuccessResponseProviderSpecificData) PaymentChargesSuccessResponseProviderSpecificData
- func (o *OptPaymentChargesSuccessResponseProviderSpecificData) Reset()
- func (o *OptPaymentChargesSuccessResponseProviderSpecificData) SetTo(v PaymentChargesSuccessResponseProviderSpecificData)
- func (s *OptPaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type OptPaymentChargesSuccessResponseResult
- func (o *OptPaymentChargesSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentChargesSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentChargesSuccessResponseResult) Get() (v PaymentChargesSuccessResponseResult, ok bool)
- func (o OptPaymentChargesSuccessResponseResult) IsSet() bool
- func (s OptPaymentChargesSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentChargesSuccessResponseResult) Or(d PaymentChargesSuccessResponseResult) PaymentChargesSuccessResponseResult
- func (o *OptPaymentChargesSuccessResponseResult) Reset()
- func (o *OptPaymentChargesSuccessResponseResult) SetTo(v PaymentChargesSuccessResponseResult)
- func (s *OptPaymentChargesSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentCreditsSuccessResponseProviderSpecificData
- func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Get() (v PaymentCreditsSuccessResponseProviderSpecificData, ok bool)
- func (o OptPaymentCreditsSuccessResponseProviderSpecificData) IsSet() bool
- func (s OptPaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Or(d PaymentCreditsSuccessResponseProviderSpecificData) PaymentCreditsSuccessResponseProviderSpecificData
- func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) Reset()
- func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) SetTo(v PaymentCreditsSuccessResponseProviderSpecificData)
- func (s *OptPaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type OptPaymentCreditsSuccessResponseResult
- func (o *OptPaymentCreditsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentCreditsSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentCreditsSuccessResponseResult) Get() (v PaymentCreditsSuccessResponseResult, ok bool)
- func (o OptPaymentCreditsSuccessResponseResult) IsSet() bool
- func (s OptPaymentCreditsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentCreditsSuccessResponseResult) Or(d PaymentCreditsSuccessResponseResult) PaymentCreditsSuccessResponseResult
- func (o *OptPaymentCreditsSuccessResponseResult) Reset()
- func (o *OptPaymentCreditsSuccessResponseResult) SetTo(v PaymentCreditsSuccessResponseResult)
- func (s *OptPaymentCreditsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentMethod
- func (o *OptPaymentMethod) Decode(d *jx.Decoder) error
- func (o OptPaymentMethod) Encode(e *jx.Encoder)
- func (o OptPaymentMethod) Get() (v PaymentMethod, ok bool)
- func (o OptPaymentMethod) IsSet() bool
- func (s OptPaymentMethod) MarshalJSON() ([]byte, error)
- func (o OptPaymentMethod) Or(d PaymentMethod) PaymentMethod
- func (o *OptPaymentMethod) Reset()
- func (o *OptPaymentMethod) SetTo(v PaymentMethod)
- func (s *OptPaymentMethod) UnmarshalJSON(data []byte) error
- type OptPaymentRefundsSuccessResponseResult
- func (o *OptPaymentRefundsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentRefundsSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentRefundsSuccessResponseResult) Get() (v PaymentRefundsSuccessResponseResult, ok bool)
- func (o OptPaymentRefundsSuccessResponseResult) IsSet() bool
- func (s OptPaymentRefundsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentRefundsSuccessResponseResult) Or(d PaymentRefundsSuccessResponseResult) PaymentRefundsSuccessResponseResult
- func (o *OptPaymentRefundsSuccessResponseResult) Reset()
- func (o *OptPaymentRefundsSuccessResponseResult) SetTo(v PaymentRefundsSuccessResponseResult)
- func (s *OptPaymentRefundsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentSuccessResponseBillingAddress
- func (o *OptPaymentSuccessResponseBillingAddress) Decode(d *jx.Decoder) error
- func (o OptPaymentSuccessResponseBillingAddress) Encode(e *jx.Encoder)
- func (o OptPaymentSuccessResponseBillingAddress) Get() (v PaymentSuccessResponseBillingAddress, ok bool)
- func (o OptPaymentSuccessResponseBillingAddress) IsSet() bool
- func (s OptPaymentSuccessResponseBillingAddress) MarshalJSON() ([]byte, error)
- func (o OptPaymentSuccessResponseBillingAddress) Or(d PaymentSuccessResponseBillingAddress) PaymentSuccessResponseBillingAddress
- func (o *OptPaymentSuccessResponseBillingAddress) Reset()
- func (o *OptPaymentSuccessResponseBillingAddress) SetTo(v PaymentSuccessResponseBillingAddress)
- func (s *OptPaymentSuccessResponseBillingAddress) UnmarshalJSON(data []byte) error
- type OptPaymentSuccessResponseOrder
- func (o *OptPaymentSuccessResponseOrder) Decode(d *jx.Decoder) error
- func (o OptPaymentSuccessResponseOrder) Encode(e *jx.Encoder)
- func (o OptPaymentSuccessResponseOrder) Get() (v PaymentSuccessResponseOrder, ok bool)
- func (o OptPaymentSuccessResponseOrder) IsSet() bool
- func (s OptPaymentSuccessResponseOrder) MarshalJSON() ([]byte, error)
- func (o OptPaymentSuccessResponseOrder) Or(d PaymentSuccessResponseOrder) PaymentSuccessResponseOrder
- func (o *OptPaymentSuccessResponseOrder) Reset()
- func (o *OptPaymentSuccessResponseOrder) SetTo(v PaymentSuccessResponseOrder)
- func (s *OptPaymentSuccessResponseOrder) UnmarshalJSON(data []byte) error
- type OptPaymentVoidsSuccessResponseProviderSpecificData
- func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Get() (v PaymentVoidsSuccessResponseProviderSpecificData, ok bool)
- func (o OptPaymentVoidsSuccessResponseProviderSpecificData) IsSet() bool
- func (s OptPaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Or(d PaymentVoidsSuccessResponseProviderSpecificData) PaymentVoidsSuccessResponseProviderSpecificData
- func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) Reset()
- func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) SetTo(v PaymentVoidsSuccessResponseProviderSpecificData)
- func (s *OptPaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type OptPaymentVoidsSuccessResponseResult
- func (o *OptPaymentVoidsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (o OptPaymentVoidsSuccessResponseResult) Encode(e *jx.Encoder)
- func (o OptPaymentVoidsSuccessResponseResult) Get() (v PaymentVoidsSuccessResponseResult, ok bool)
- func (o OptPaymentVoidsSuccessResponseResult) IsSet() bool
- func (s OptPaymentVoidsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (o OptPaymentVoidsSuccessResponseResult) Or(d PaymentVoidsSuccessResponseResult) PaymentVoidsSuccessResponseResult
- func (o *OptPaymentVoidsSuccessResponseResult) Reset()
- func (o *OptPaymentVoidsSuccessResponseResult) SetTo(v PaymentVoidsSuccessResponseResult)
- func (s *OptPaymentVoidsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type OptPaymentsPaymentidAuthorizationsPostReq
- func (o *OptPaymentsPaymentidAuthorizationsPostReq) Decode(d *jx.Decoder) error
- func (o OptPaymentsPaymentidAuthorizationsPostReq) Encode(e *jx.Encoder)
- func (o OptPaymentsPaymentidAuthorizationsPostReq) Get() (v PaymentsPaymentidAuthorizationsPostReq, ok bool)
- func (o OptPaymentsPaymentidAuthorizationsPostReq) IsSet() bool
- func (s OptPaymentsPaymentidAuthorizationsPostReq) MarshalJSON() ([]byte, error)
- func (o OptPaymentsPaymentidAuthorizationsPostReq) Or(d PaymentsPaymentidAuthorizationsPostReq) PaymentsPaymentidAuthorizationsPostReq
- func (o *OptPaymentsPaymentidAuthorizationsPostReq) Reset()
- func (o *OptPaymentsPaymentidAuthorizationsPostReq) SetTo(v PaymentsPaymentidAuthorizationsPostReq)
- func (s *OptPaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON(data []byte) error
- type OptProviderConfiguration
- func (o *OptProviderConfiguration) Decode(d *jx.Decoder) error
- func (o OptProviderConfiguration) Encode(e *jx.Encoder)
- func (o OptProviderConfiguration) Get() (v ProviderConfiguration, ok bool)
- func (o OptProviderConfiguration) IsSet() bool
- func (s OptProviderConfiguration) MarshalJSON() ([]byte, error)
- func (o OptProviderConfiguration) Or(d ProviderConfiguration) ProviderConfiguration
- func (o *OptProviderConfiguration) Reset()
- func (o *OptProviderConfiguration) SetTo(v ProviderConfiguration)
- func (s *OptProviderConfiguration) UnmarshalJSON(data []byte) error
- type OptProviderData
- func (o *OptProviderData) Decode(d *jx.Decoder) error
- func (o OptProviderData) Encode(e *jx.Encoder)
- func (o OptProviderData) Get() (v ProviderData, ok bool)
- func (o OptProviderData) IsSet() bool
- func (s OptProviderData) MarshalJSON() ([]byte, error)
- func (o OptProviderData) Or(d ProviderData) ProviderData
- func (o *OptProviderData) Reset()
- func (o *OptProviderData) SetTo(v ProviderData)
- func (s *OptProviderData) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTokenType
- func (o *OptTokenType) Decode(d *jx.Decoder) error
- func (o OptTokenType) Encode(e *jx.Encoder)
- func (o OptTokenType) Get() (v TokenType, ok bool)
- func (o OptTokenType) IsSet() bool
- func (s OptTokenType) MarshalJSON() ([]byte, error)
- func (o OptTokenType) Or(d TokenType) TokenType
- func (o *OptTokenType) Reset()
- func (o *OptTokenType) SetTo(v TokenType)
- func (s *OptTokenType) UnmarshalJSON(data []byte) error
- type OptTokensPostReq
- func (o *OptTokensPostReq) Decode(d *jx.Decoder) error
- func (o OptTokensPostReq) Encode(e *jx.Encoder)
- func (o OptTokensPostReq) Get() (v TokensPostReq, ok bool)
- func (o OptTokensPostReq) IsSet() bool
- func (s OptTokensPostReq) MarshalJSON() ([]byte, error)
- func (o OptTokensPostReq) Or(d TokensPostReq) TokensPostReq
- func (o *OptTokensPostReq) Reset()
- func (o *OptTokensPostReq) SetTo(v TokensPostReq)
- func (s *OptTokensPostReq) UnmarshalJSON(data []byte) error
- type Option
- type PaymentAuthSuccessResponse
- func (s *PaymentAuthSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentAuthSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentAuthSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentAuthSuccessResponse) GetAuthorizationType() OptString
- func (s *PaymentAuthSuccessResponse) GetCreated() OptString
- func (s *PaymentAuthSuccessResponse) GetID() OptString
- func (s *PaymentAuthSuccessResponse) GetPaymentMethod() OptPaymentMethod
- func (s *PaymentAuthSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentAuthSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentAuthSuccessResponse) GetProviderSpecificData() OptPaymentAuthSuccessResponseProviderSpecificData
- func (s *PaymentAuthSuccessResponse) GetReconciliationID() OptString
- func (s *PaymentAuthSuccessResponse) GetResult() OptPaymentAuthSuccessResponseResult
- func (s *PaymentAuthSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentAuthSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentAuthSuccessResponse) SetAuthorizationType(val OptString)
- func (s *PaymentAuthSuccessResponse) SetCreated(val OptString)
- func (s *PaymentAuthSuccessResponse) SetID(val OptString)
- func (s *PaymentAuthSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
- func (s *PaymentAuthSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentAuthSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentAuthSuccessResponse) SetProviderSpecificData(val OptPaymentAuthSuccessResponseProviderSpecificData)
- func (s *PaymentAuthSuccessResponse) SetReconciliationID(val OptString)
- func (s *PaymentAuthSuccessResponse) SetResult(val OptPaymentAuthSuccessResponseResult)
- func (s *PaymentAuthSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentAuthSuccessResponse) Validate() error
- type PaymentAuthSuccessResponseProviderSpecificData
- func (s *PaymentAuthSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (s PaymentAuthSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (s PaymentAuthSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (s *PaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type PaymentAuthSuccessResponseResult
- func (s *PaymentAuthSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentAuthSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentAuthSuccessResponseResult) GetStatus() OptString
- func (s *PaymentAuthSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentAuthSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentAuthSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentCapturesSuccessResponse
- func (s *PaymentCapturesSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentCapturesSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentCapturesSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentCapturesSuccessResponse) GetCreated() OptString
- func (s *PaymentCapturesSuccessResponse) GetID() OptString
- func (s *PaymentCapturesSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentCapturesSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentCapturesSuccessResponse) GetResult() OptPaymentCapturesSuccessResponseResult
- func (s *PaymentCapturesSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentCapturesSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentCapturesSuccessResponse) SetCreated(val OptString)
- func (s *PaymentCapturesSuccessResponse) SetID(val OptString)
- func (s *PaymentCapturesSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentCapturesSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentCapturesSuccessResponse) SetResult(val OptPaymentCapturesSuccessResponseResult)
- func (s *PaymentCapturesSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentCapturesSuccessResponse) Validate() error
- type PaymentCapturesSuccessResponseResult
- func (s *PaymentCapturesSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentCapturesSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentCapturesSuccessResponseResult) GetStatus() OptString
- func (s *PaymentCapturesSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentCapturesSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentCapturesSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentChargesSuccessResponse
- func (s *PaymentChargesSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentChargesSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentChargesSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentChargesSuccessResponse) GetCreated() OptString
- func (s *PaymentChargesSuccessResponse) GetID() OptString
- func (s *PaymentChargesSuccessResponse) GetPaymentMethod() OptPaymentMethod
- func (s *PaymentChargesSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentChargesSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentChargesSuccessResponse) GetProviderSpecificData() OptPaymentChargesSuccessResponseProviderSpecificData
- func (s *PaymentChargesSuccessResponse) GetResult() OptPaymentChargesSuccessResponseResult
- func (s *PaymentChargesSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentChargesSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentChargesSuccessResponse) SetCreated(val OptString)
- func (s *PaymentChargesSuccessResponse) SetID(val OptString)
- func (s *PaymentChargesSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
- func (s *PaymentChargesSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentChargesSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentChargesSuccessResponse) SetProviderSpecificData(val OptPaymentChargesSuccessResponseProviderSpecificData)
- func (s *PaymentChargesSuccessResponse) SetResult(val OptPaymentChargesSuccessResponseResult)
- func (s *PaymentChargesSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentChargesSuccessResponse) Validate() error
- type PaymentChargesSuccessResponseProviderSpecificData
- func (s *PaymentChargesSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (s PaymentChargesSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (s PaymentChargesSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (s *PaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type PaymentChargesSuccessResponseResult
- func (s *PaymentChargesSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentChargesSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentChargesSuccessResponseResult) GetStatus() OptString
- func (s *PaymentChargesSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentChargesSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentChargesSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentCreditsSuccessResponse
- func (s *PaymentCreditsSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentCreditsSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentCreditsSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentCreditsSuccessResponse) GetCreated() OptString
- func (s *PaymentCreditsSuccessResponse) GetID() OptString
- func (s *PaymentCreditsSuccessResponse) GetPaymentMethod() OptPaymentMethod
- func (s *PaymentCreditsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentCreditsSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentCreditsSuccessResponse) GetProviderSpecificData() OptPaymentCreditsSuccessResponseProviderSpecificData
- func (s *PaymentCreditsSuccessResponse) GetReconciliationID() OptString
- func (s *PaymentCreditsSuccessResponse) GetResult() OptPaymentCreditsSuccessResponseResult
- func (s *PaymentCreditsSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentCreditsSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentCreditsSuccessResponse) SetCreated(val OptString)
- func (s *PaymentCreditsSuccessResponse) SetID(val OptString)
- func (s *PaymentCreditsSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
- func (s *PaymentCreditsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentCreditsSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentCreditsSuccessResponse) SetProviderSpecificData(val OptPaymentCreditsSuccessResponseProviderSpecificData)
- func (s *PaymentCreditsSuccessResponse) SetReconciliationID(val OptString)
- func (s *PaymentCreditsSuccessResponse) SetResult(val OptPaymentCreditsSuccessResponseResult)
- func (s *PaymentCreditsSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentCreditsSuccessResponse) Validate() error
- type PaymentCreditsSuccessResponseProviderSpecificData
- func (s *PaymentCreditsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (s PaymentCreditsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (s PaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (s *PaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type PaymentCreditsSuccessResponseResult
- func (s *PaymentCreditsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentCreditsSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentCreditsSuccessResponseResult) GetStatus() OptString
- func (s *PaymentCreditsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentCreditsSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentCreditsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentMethod
- func (s *PaymentMethod) Decode(d *jx.Decoder) error
- func (s *PaymentMethod) Encode(e *jx.Encoder)
- func (s *PaymentMethod) GetBillingAddress() OptBillingAddress
- func (s *PaymentMethod) GetBinNumber() OptString
- func (s *PaymentMethod) GetCardType() OptString
- func (s *PaymentMethod) GetCountryCode() OptString
- func (s *PaymentMethod) GetCreated() OptString
- func (s *PaymentMethod) GetCustomer() OptString
- func (s *PaymentMethod) GetExpirationDate() OptString
- func (s *PaymentMethod) GetFingerprint() OptString
- func (s *PaymentMethod) GetHolderName() OptString
- func (s *PaymentMethod) GetHref() OptString
- func (s *PaymentMethod) GetIssuer() OptString
- func (s *PaymentMethod) GetLast4Digits() OptString
- func (s *PaymentMethod) GetLevel() OptString
- func (s *PaymentMethod) GetPassLuhnValidation() OptBool
- func (s *PaymentMethod) GetToken() OptString
- func (s *PaymentMethod) GetTokenType() OptTokenType
- func (s *PaymentMethod) GetType() OptString
- func (s *PaymentMethod) GetVendor() OptString
- func (s *PaymentMethod) MarshalJSON() ([]byte, error)
- func (s *PaymentMethod) SetBillingAddress(val OptBillingAddress)
- func (s *PaymentMethod) SetBinNumber(val OptString)
- func (s *PaymentMethod) SetCardType(val OptString)
- func (s *PaymentMethod) SetCountryCode(val OptString)
- func (s *PaymentMethod) SetCreated(val OptString)
- func (s *PaymentMethod) SetCustomer(val OptString)
- func (s *PaymentMethod) SetExpirationDate(val OptString)
- func (s *PaymentMethod) SetFingerprint(val OptString)
- func (s *PaymentMethod) SetHolderName(val OptString)
- func (s *PaymentMethod) SetHref(val OptString)
- func (s *PaymentMethod) SetIssuer(val OptString)
- func (s *PaymentMethod) SetLast4Digits(val OptString)
- func (s *PaymentMethod) SetLevel(val OptString)
- func (s *PaymentMethod) SetPassLuhnValidation(val OptBool)
- func (s *PaymentMethod) SetToken(val OptString)
- func (s *PaymentMethod) SetTokenType(val OptTokenType)
- func (s *PaymentMethod) SetType(val OptString)
- func (s *PaymentMethod) SetVendor(val OptString)
- func (s *PaymentMethod) UnmarshalJSON(data []byte) error
- func (s *PaymentMethod) Validate() error
- type PaymentRefundsSuccessResponse
- func (s *PaymentRefundsSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentRefundsSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentRefundsSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentRefundsSuccessResponse) GetCreated() OptString
- func (s *PaymentRefundsSuccessResponse) GetID() OptString
- func (s *PaymentRefundsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentRefundsSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentRefundsSuccessResponse) GetResult() OptPaymentRefundsSuccessResponseResult
- func (s *PaymentRefundsSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentRefundsSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentRefundsSuccessResponse) SetCreated(val OptString)
- func (s *PaymentRefundsSuccessResponse) SetID(val OptString)
- func (s *PaymentRefundsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentRefundsSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentRefundsSuccessResponse) SetResult(val OptPaymentRefundsSuccessResponseResult)
- func (s *PaymentRefundsSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentRefundsSuccessResponse) Validate() error
- type PaymentRefundsSuccessResponseResult
- func (s *PaymentRefundsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentRefundsSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentRefundsSuccessResponseResult) GetStatus() OptString
- func (s *PaymentRefundsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentRefundsSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentRefundsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentSuccessResponse
- func (s *PaymentSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentSuccessResponse) GetAmount() OptFloat64
- func (s *PaymentSuccessResponse) GetBillingAddress() OptPaymentSuccessResponseBillingAddress
- func (s *PaymentSuccessResponse) GetCreated() OptString
- func (s *PaymentSuccessResponse) GetCurrency() OptString
- func (s *PaymentSuccessResponse) GetID() OptString
- func (s *PaymentSuccessResponse) GetIsDisputed() OptBool
- func (s *PaymentSuccessResponse) GetModified() OptString
- func (s *PaymentSuccessResponse) GetOrder() OptPaymentSuccessResponseOrder
- func (s *PaymentSuccessResponse) GetPossibleNextActions() *PossibleNextActions
- func (s *PaymentSuccessResponse) GetStatus() OptString
- func (s *PaymentSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentSuccessResponse) SetAmount(val OptFloat64)
- func (s *PaymentSuccessResponse) SetBillingAddress(val OptPaymentSuccessResponseBillingAddress)
- func (s *PaymentSuccessResponse) SetCreated(val OptString)
- func (s *PaymentSuccessResponse) SetCurrency(val OptString)
- func (s *PaymentSuccessResponse) SetID(val OptString)
- func (s *PaymentSuccessResponse) SetIsDisputed(val OptBool)
- func (s *PaymentSuccessResponse) SetModified(val OptString)
- func (s *PaymentSuccessResponse) SetOrder(val OptPaymentSuccessResponseOrder)
- func (s *PaymentSuccessResponse) SetPossibleNextActions(val *PossibleNextActions)
- func (s *PaymentSuccessResponse) SetStatus(val OptString)
- func (s *PaymentSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *PaymentSuccessResponse) Validate() error
- type PaymentSuccessResponseBillingAddress
- func (s *PaymentSuccessResponseBillingAddress) Decode(d *jx.Decoder) error
- func (s *PaymentSuccessResponseBillingAddress) Encode(e *jx.Encoder)
- func (s *PaymentSuccessResponseBillingAddress) GetPhone() OptString
- func (s *PaymentSuccessResponseBillingAddress) MarshalJSON() ([]byte, error)
- func (s *PaymentSuccessResponseBillingAddress) SetPhone(val OptString)
- func (s *PaymentSuccessResponseBillingAddress) UnmarshalJSON(data []byte) error
- type PaymentSuccessResponseOrder
- func (s *PaymentSuccessResponseOrder) Decode(d *jx.Decoder) error
- func (s *PaymentSuccessResponseOrder) Encode(e *jx.Encoder)
- func (s *PaymentSuccessResponseOrder) GetID() OptString
- func (s *PaymentSuccessResponseOrder) MarshalJSON() ([]byte, error)
- func (s *PaymentSuccessResponseOrder) SetID(val OptString)
- func (s *PaymentSuccessResponseOrder) UnmarshalJSON(data []byte) error
- type PaymentVoidsSuccessResponse
- func (s *PaymentVoidsSuccessResponse) Decode(d *jx.Decoder) error
- func (s *PaymentVoidsSuccessResponse) Encode(e *jx.Encoder)
- func (s *PaymentVoidsSuccessResponse) GetCreated() OptString
- func (s *PaymentVoidsSuccessResponse) GetID() OptString
- func (s *PaymentVoidsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
- func (s *PaymentVoidsSuccessResponse) GetProviderData() OptProviderData
- func (s *PaymentVoidsSuccessResponse) GetProviderSpecificData() OptPaymentVoidsSuccessResponseProviderSpecificData
- func (s *PaymentVoidsSuccessResponse) GetReconciliationID() OptString
- func (s *PaymentVoidsSuccessResponse) GetResult() OptPaymentVoidsSuccessResponseResult
- func (s *PaymentVoidsSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *PaymentVoidsSuccessResponse) SetCreated(val OptString)
- func (s *PaymentVoidsSuccessResponse) SetID(val OptString)
- func (s *PaymentVoidsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
- func (s *PaymentVoidsSuccessResponse) SetProviderData(val OptProviderData)
- func (s *PaymentVoidsSuccessResponse) SetProviderSpecificData(val OptPaymentVoidsSuccessResponseProviderSpecificData)
- func (s *PaymentVoidsSuccessResponse) SetReconciliationID(val OptString)
- func (s *PaymentVoidsSuccessResponse) SetResult(val OptPaymentVoidsSuccessResponseResult)
- func (s *PaymentVoidsSuccessResponse) UnmarshalJSON(data []byte) error
- type PaymentVoidsSuccessResponseProviderSpecificData
- func (s *PaymentVoidsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
- func (s PaymentVoidsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
- func (s PaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
- func (s *PaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
- type PaymentVoidsSuccessResponseResult
- func (s *PaymentVoidsSuccessResponseResult) Decode(d *jx.Decoder) error
- func (s *PaymentVoidsSuccessResponseResult) Encode(e *jx.Encoder)
- func (s *PaymentVoidsSuccessResponseResult) GetStatus() OptString
- func (s *PaymentVoidsSuccessResponseResult) MarshalJSON() ([]byte, error)
- func (s *PaymentVoidsSuccessResponseResult) SetStatus(val OptString)
- func (s *PaymentVoidsSuccessResponseResult) UnmarshalJSON(data []byte) error
- type PaymentsPaymentidAuthorizationsPostParams
- type PaymentsPaymentidAuthorizationsPostReq
- func (s *PaymentsPaymentidAuthorizationsPostReq) Decode(d *jx.Decoder) error
- func (s *PaymentsPaymentidAuthorizationsPostReq) Encode(e *jx.Encoder)
- func (s *PaymentsPaymentidAuthorizationsPostReq) GetPaymentMethod() PaymentsPaymentidAuthorizationsPostReqPaymentMethod
- func (s *PaymentsPaymentidAuthorizationsPostReq) GetReconciliationID() string
- func (s *PaymentsPaymentidAuthorizationsPostReq) MarshalJSON() ([]byte, error)
- func (s *PaymentsPaymentidAuthorizationsPostReq) SetPaymentMethod(val PaymentsPaymentidAuthorizationsPostReqPaymentMethod)
- func (s *PaymentsPaymentidAuthorizationsPostReq) SetReconciliationID(val string)
- func (s *PaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON(data []byte) error
- type PaymentsPaymentidAuthorizationsPostReqPaymentMethod
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Decode(d *jx.Decoder) error
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Encode(e *jx.Encoder)
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetCreditCardCvv() string
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetToken() string
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetType() string
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) MarshalJSON() ([]byte, error)
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetCreditCardCvv(val string)
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetToken(val string)
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetType(val string)
- func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) UnmarshalJSON(data []byte) error
- type PaymentsPaymentidCapturesPostParams
- type PaymentsPaymentidCapturesPostReq
- type PaymentsPaymentidChargesPostParams
- type PaymentsPaymentidChargesPostReq
- type PaymentsPaymentidCreditsPostParams
- type PaymentsPaymentidCreditsPostReq
- type PaymentsPaymentidRefundsPostParams
- type PaymentsPaymentidRefundsPostReq
- type PaymentsPaymentidVoidsPostParams
- type PaymentsPaymentidVoidsPostReq
- type PaymentsPostParams
- type PaymentsPostReq
- type PossibleNextActions
- type ProviderConfiguration
- func (s *ProviderConfiguration) Decode(d *jx.Decoder) error
- func (s *ProviderConfiguration) Encode(e *jx.Encoder)
- func (s *ProviderConfiguration) GetAccountID() OptString
- func (s *ProviderConfiguration) GetCreated() OptString
- func (s *ProviderConfiguration) GetHref() OptString
- func (s *ProviderConfiguration) GetID() OptString
- func (s *ProviderConfiguration) GetModified() OptString
- func (s *ProviderConfiguration) GetName() OptString
- func (s *ProviderConfiguration) GetProviderID() OptString
- func (s *ProviderConfiguration) GetType() OptString
- func (s *ProviderConfiguration) MarshalJSON() ([]byte, error)
- func (s *ProviderConfiguration) SetAccountID(val OptString)
- func (s *ProviderConfiguration) SetCreated(val OptString)
- func (s *ProviderConfiguration) SetHref(val OptString)
- func (s *ProviderConfiguration) SetID(val OptString)
- func (s *ProviderConfiguration) SetModified(val OptString)
- func (s *ProviderConfiguration) SetName(val OptString)
- func (s *ProviderConfiguration) SetProviderID(val OptString)
- func (s *ProviderConfiguration) SetType(val OptString)
- func (s *ProviderConfiguration) UnmarshalJSON(data []byte) error
- type ProviderData
- func (s *ProviderData) Decode(d *jx.Decoder) error
- func (s *ProviderData) Encode(e *jx.Encoder)
- func (s *ProviderData) GetAuthorizationCode() OptString
- func (s *ProviderData) GetDescription() OptString
- func (s *ProviderData) GetExternalID() OptString
- func (s *ProviderData) GetProviderName() OptString
- func (s *ProviderData) GetRawResponse() OptString
- func (s *ProviderData) GetResponseCode() OptString
- func (s *ProviderData) GetTransactionID() OptString
- func (s *ProviderData) MarshalJSON() ([]byte, error)
- func (s *ProviderData) SetAuthorizationCode(val OptString)
- func (s *ProviderData) SetDescription(val OptString)
- func (s *ProviderData) SetExternalID(val OptString)
- func (s *ProviderData) SetProviderName(val OptString)
- func (s *ProviderData) SetRawResponse(val OptString)
- func (s *ProviderData) SetResponseCode(val OptString)
- func (s *ProviderData) SetTransactionID(val OptString)
- func (s *ProviderData) UnmarshalJSON(data []byte) error
- type TokenSuccessResponse
- func (s *TokenSuccessResponse) Decode(d *jx.Decoder) error
- func (s *TokenSuccessResponse) Encode(e *jx.Encoder)
- func (s *TokenSuccessResponse) GetBillingAddress() OptBillingAddress
- func (s *TokenSuccessResponse) GetBinNumber() OptString
- func (s *TokenSuccessResponse) GetCardType() OptString
- func (s *TokenSuccessResponse) GetCountryCode() OptString
- func (s *TokenSuccessResponse) GetCreated() OptString
- func (s *TokenSuccessResponse) GetEncryptedCvv() OptString
- func (s *TokenSuccessResponse) GetExpirationDate() OptString
- func (s *TokenSuccessResponse) GetHolderName() OptString
- func (s *TokenSuccessResponse) GetIssuer() OptString
- func (s *TokenSuccessResponse) GetLast4Digits() OptString
- func (s *TokenSuccessResponse) GetLevel() OptString
- func (s *TokenSuccessResponse) GetPassLuhnValidation() OptBool
- func (s *TokenSuccessResponse) GetState() OptString
- func (s *TokenSuccessResponse) GetToken() OptString
- func (s *TokenSuccessResponse) GetTokenType() OptTokenType
- func (s *TokenSuccessResponse) GetType() OptString
- func (s *TokenSuccessResponse) GetVendor() OptString
- func (s *TokenSuccessResponse) MarshalJSON() ([]byte, error)
- func (s *TokenSuccessResponse) SetBillingAddress(val OptBillingAddress)
- func (s *TokenSuccessResponse) SetBinNumber(val OptString)
- func (s *TokenSuccessResponse) SetCardType(val OptString)
- func (s *TokenSuccessResponse) SetCountryCode(val OptString)
- func (s *TokenSuccessResponse) SetCreated(val OptString)
- func (s *TokenSuccessResponse) SetEncryptedCvv(val OptString)
- func (s *TokenSuccessResponse) SetExpirationDate(val OptString)
- func (s *TokenSuccessResponse) SetHolderName(val OptString)
- func (s *TokenSuccessResponse) SetIssuer(val OptString)
- func (s *TokenSuccessResponse) SetLast4Digits(val OptString)
- func (s *TokenSuccessResponse) SetLevel(val OptString)
- func (s *TokenSuccessResponse) SetPassLuhnValidation(val OptBool)
- func (s *TokenSuccessResponse) SetState(val OptString)
- func (s *TokenSuccessResponse) SetToken(val OptString)
- func (s *TokenSuccessResponse) SetTokenType(val OptTokenType)
- func (s *TokenSuccessResponse) SetType(val OptString)
- func (s *TokenSuccessResponse) SetVendor(val OptString)
- func (s *TokenSuccessResponse) UnmarshalJSON(data []byte) error
- func (s *TokenSuccessResponse) Validate() error
- type TokenType
- func (s *TokenType) Decode(d *jx.Decoder) error
- func (s TokenType) Encode(e *jx.Encoder)
- func (s TokenType) MarshalJSON() ([]byte, error)
- func (s TokenType) MarshalText() ([]byte, error)
- func (s *TokenType) UnmarshalJSON(data []byte) error
- func (s *TokenType) UnmarshalText(data []byte) error
- func (s TokenType) Validate() error
- type TokensPostParams
- type TokensPostReq
- func (s *TokensPostReq) Decode(d *jx.Decoder) error
- func (s *TokensPostReq) Encode(e *jx.Encoder)
- func (s *TokensPostReq) GetBillingAddress() BillingAddress
- func (s *TokensPostReq) GetCardNumber() string
- func (s *TokensPostReq) GetCreditCardCvv() string
- func (s *TokensPostReq) GetExpirationDate() string
- func (s *TokensPostReq) GetHolderName() string
- func (s *TokensPostReq) GetTokenType() TokenType
- func (s *TokensPostReq) MarshalJSON() ([]byte, error)
- func (s *TokensPostReq) SetBillingAddress(val BillingAddress)
- func (s *TokensPostReq) SetCardNumber(val string)
- func (s *TokensPostReq) SetCreditCardCvv(val string)
- func (s *TokensPostReq) SetExpirationDate(val string)
- func (s *TokensPostReq) SetHolderName(val string)
- func (s *TokensPostReq) SetTokenType(val TokenType)
- func (s *TokensPostReq) UnmarshalJSON(data []byte) error
- func (s *TokensPostReq) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BillingAddress ¶
type BillingAddress struct { Country string `json:"country"` State string `json:"state"` City string `json:"city"` Line1 string `json:"line1"` }
Ref: #/components/schemas/BillingAddress
func (*BillingAddress) Decode ¶
func (s *BillingAddress) Decode(d *jx.Decoder) error
Decode decodes BillingAddress from json.
func (*BillingAddress) Encode ¶
func (s *BillingAddress) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BillingAddress) GetCity ¶
func (s *BillingAddress) GetCity() string
GetCity returns the value of City.
func (*BillingAddress) GetCountry ¶
func (s *BillingAddress) GetCountry() string
GetCountry returns the value of Country.
func (*BillingAddress) GetLine1 ¶
func (s *BillingAddress) GetLine1() string
GetLine1 returns the value of Line1.
func (*BillingAddress) GetState ¶
func (s *BillingAddress) GetState() string
GetState returns the value of State.
func (*BillingAddress) MarshalJSON ¶
func (s *BillingAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BillingAddress) SetCity ¶
func (s *BillingAddress) SetCity(val string)
SetCity sets the value of City.
func (*BillingAddress) SetCountry ¶
func (s *BillingAddress) SetCountry(val string)
SetCountry sets the value of Country.
func (*BillingAddress) SetLine1 ¶
func (s *BillingAddress) SetLine1(val string)
SetLine1 sets the value of Line1.
func (*BillingAddress) SetState ¶
func (s *BillingAddress) SetState(val string)
SetState sets the value of State.
func (*BillingAddress) UnmarshalJSON ¶
func (s *BillingAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) CustomersCustomerIdGet ¶
func (c *Client) CustomersCustomerIdGet(ctx context.Context, params CustomersCustomerIdGetParams) (*CustomerGetSuccessResponse, error)
CustomersCustomerIdGet invokes GET /customers/{customerId} operation.
Gets a customer's data.
GET /customers/{customerId}
func (*Client) CustomersCustomerIdPaymentMethodsTokenPost ¶
func (c *Client) CustomersCustomerIdPaymentMethodsTokenPost(ctx context.Context, request *CustomersCustomerIdPaymentMethodsTokenPostReq, params CustomersCustomerIdPaymentMethodsTokenPostParams) (*CustomerStoreTokenSuccessResponse, error)
CustomersCustomerIdPaymentMethodsTokenPost invokes POST /customers/{customerId}/payment-methods/{token} operation.
Associate a token with a customer.
POST /customers/{customerId}/payment-methods/{token}
func (*Client) CustomersPost ¶
func (c *Client) CustomersPost(ctx context.Context, request *CustomersPostReq, params CustomersPostParams) (*CustomerCreateSuccessResponse, error)
CustomersPost invokes POST /customers operation.
Create a new customer.
POST /customers
func (*Client) PaymentsPaymentidAuthorizationsPost ¶
func (c *Client) PaymentsPaymentidAuthorizationsPost(ctx context.Context, request OptPaymentsPaymentidAuthorizationsPostReq, params PaymentsPaymentidAuthorizationsPostParams) (*PaymentAuthSuccessResponse, error)
PaymentsPaymentidAuthorizationsPost invokes POST /payments/{paymentid}/authorizations operation.
Create a new authorization.
POST /payments/{paymentid}/authorizations
func (*Client) PaymentsPaymentidCapturesPost ¶
func (c *Client) PaymentsPaymentidCapturesPost(ctx context.Context, request *PaymentsPaymentidCapturesPostReq, params PaymentsPaymentidCapturesPostParams) (*PaymentCapturesSuccessResponse, error)
PaymentsPaymentidCapturesPost invokes POST /payments/{paymentid}/captures operation.
Create a new capture.
POST /payments/{paymentid}/captures
func (*Client) PaymentsPaymentidChargesPost ¶
func (c *Client) PaymentsPaymentidChargesPost(ctx context.Context, request *PaymentsPaymentidChargesPostReq, params PaymentsPaymentidChargesPostParams) (*PaymentChargesSuccessResponse, error)
PaymentsPaymentidChargesPost invokes POST /payments/{paymentid}/charges operation.
Create a new charge.
POST /payments/{paymentid}/charges
func (*Client) PaymentsPaymentidCreditsPost ¶
func (c *Client) PaymentsPaymentidCreditsPost(ctx context.Context, request *PaymentsPaymentidCreditsPostReq, params PaymentsPaymentidCreditsPostParams) (*PaymentCreditsSuccessResponse, error)
PaymentsPaymentidCreditsPost invokes POST /payments/{paymentid}/credits operation.
Create a new authorization.
POST /payments/{paymentid}/credits
func (*Client) PaymentsPaymentidRefundsPost ¶
func (c *Client) PaymentsPaymentidRefundsPost(ctx context.Context, request *PaymentsPaymentidRefundsPostReq, params PaymentsPaymentidRefundsPostParams) (*PaymentRefundsSuccessResponse, error)
PaymentsPaymentidRefundsPost invokes POST /payments/{paymentid}/refunds operation.
Create a refund.
POST /payments/{paymentid}/refunds
func (*Client) PaymentsPaymentidVoidsPost ¶
func (c *Client) PaymentsPaymentidVoidsPost(ctx context.Context, request *PaymentsPaymentidVoidsPostReq, params PaymentsPaymentidVoidsPostParams) (*PaymentVoidsSuccessResponse, error)
PaymentsPaymentidVoidsPost invokes POST /payments/{paymentid}/voids operation.
Create a void.
POST /payments/{paymentid}/voids
func (*Client) PaymentsPost ¶
func (c *Client) PaymentsPost(ctx context.Context, request *PaymentsPostReq, params PaymentsPostParams) (*PaymentSuccessResponse, error)
PaymentsPost invokes POST /payments operation.
Create a new payment.
POST /payments
func (*Client) TokensPost ¶
func (c *Client) TokensPost(ctx context.Context, request OptTokensPostReq, params TokensPostParams) (*TokenSuccessResponse, error)
TokensPost invokes POST /tokens operation.
Create a new payment token.
POST /tokens
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CustomerCreateSuccessResponse ¶
type CustomerCreateSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of customer creation. Created OptString `json:"created"` // Timestamp of customer modification. Modified OptString `json:"modified"` CustomerReference OptString `json:"customer_reference"` // Customer email address. Email OptString `json:"email"` }
Ref: #/components/schemas/CustomerCreateSuccessResponse
func (*CustomerCreateSuccessResponse) Decode ¶
func (s *CustomerCreateSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes CustomerCreateSuccessResponse from json.
func (*CustomerCreateSuccessResponse) Encode ¶
func (s *CustomerCreateSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CustomerCreateSuccessResponse) GetCreated ¶
func (s *CustomerCreateSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*CustomerCreateSuccessResponse) GetCustomerReference ¶
func (s *CustomerCreateSuccessResponse) GetCustomerReference() OptString
GetCustomerReference returns the value of CustomerReference.
func (*CustomerCreateSuccessResponse) GetEmail ¶
func (s *CustomerCreateSuccessResponse) GetEmail() OptString
GetEmail returns the value of Email.
func (*CustomerCreateSuccessResponse) GetID ¶
func (s *CustomerCreateSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*CustomerCreateSuccessResponse) GetModified ¶
func (s *CustomerCreateSuccessResponse) GetModified() OptString
GetModified returns the value of Modified.
func (*CustomerCreateSuccessResponse) MarshalJSON ¶
func (s *CustomerCreateSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CustomerCreateSuccessResponse) SetCreated ¶
func (s *CustomerCreateSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*CustomerCreateSuccessResponse) SetCustomerReference ¶
func (s *CustomerCreateSuccessResponse) SetCustomerReference(val OptString)
SetCustomerReference sets the value of CustomerReference.
func (*CustomerCreateSuccessResponse) SetEmail ¶
func (s *CustomerCreateSuccessResponse) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*CustomerCreateSuccessResponse) SetID ¶
func (s *CustomerCreateSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*CustomerCreateSuccessResponse) SetModified ¶
func (s *CustomerCreateSuccessResponse) SetModified(val OptString)
SetModified sets the value of Modified.
func (*CustomerCreateSuccessResponse) UnmarshalJSON ¶
func (s *CustomerCreateSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CustomerGetSuccessResponse ¶
type CustomerGetSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of customer creation. Created OptString `json:"created"` // Timestamp of customer modification. Modified OptString `json:"modified"` CustomerReference OptString `json:"customer_reference"` // Customer email address. Email OptString `json:"email"` PaymentMethods []PaymentMethod `json:"payment_methods"` }
Ref: #/components/schemas/CustomerGetSuccessResponse
func (*CustomerGetSuccessResponse) Decode ¶
func (s *CustomerGetSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes CustomerGetSuccessResponse from json.
func (*CustomerGetSuccessResponse) Encode ¶
func (s *CustomerGetSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CustomerGetSuccessResponse) GetCreated ¶
func (s *CustomerGetSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*CustomerGetSuccessResponse) GetCustomerReference ¶
func (s *CustomerGetSuccessResponse) GetCustomerReference() OptString
GetCustomerReference returns the value of CustomerReference.
func (*CustomerGetSuccessResponse) GetEmail ¶
func (s *CustomerGetSuccessResponse) GetEmail() OptString
GetEmail returns the value of Email.
func (*CustomerGetSuccessResponse) GetID ¶
func (s *CustomerGetSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*CustomerGetSuccessResponse) GetModified ¶
func (s *CustomerGetSuccessResponse) GetModified() OptString
GetModified returns the value of Modified.
func (*CustomerGetSuccessResponse) GetPaymentMethods ¶
func (s *CustomerGetSuccessResponse) GetPaymentMethods() []PaymentMethod
GetPaymentMethods returns the value of PaymentMethods.
func (*CustomerGetSuccessResponse) MarshalJSON ¶
func (s *CustomerGetSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CustomerGetSuccessResponse) SetCreated ¶
func (s *CustomerGetSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*CustomerGetSuccessResponse) SetCustomerReference ¶
func (s *CustomerGetSuccessResponse) SetCustomerReference(val OptString)
SetCustomerReference sets the value of CustomerReference.
func (*CustomerGetSuccessResponse) SetEmail ¶
func (s *CustomerGetSuccessResponse) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*CustomerGetSuccessResponse) SetID ¶
func (s *CustomerGetSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*CustomerGetSuccessResponse) SetModified ¶
func (s *CustomerGetSuccessResponse) SetModified(val OptString)
SetModified sets the value of Modified.
func (*CustomerGetSuccessResponse) SetPaymentMethods ¶
func (s *CustomerGetSuccessResponse) SetPaymentMethods(val []PaymentMethod)
SetPaymentMethods sets the value of PaymentMethods.
func (*CustomerGetSuccessResponse) UnmarshalJSON ¶
func (s *CustomerGetSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CustomerGetSuccessResponse) Validate ¶
func (s *CustomerGetSuccessResponse) Validate() error
type CustomerStoreTokenSuccessResponse ¶
type CustomerStoreTokenSuccessResponse struct { Type OptString `json:"type"` Token OptString `json:"token"` TokenType OptTokenType `json:"token_type"` Fingerprint OptString `json:"fingerprint"` State OptString `json:"state"` HolderName OptString `json:"holder_name"` ExpirationDate OptString `json:"expiration_date"` Last4Digits OptString `json:"last_4_digits"` PassLuhnValidation OptBool `json:"pass_luhn_validation"` BinNumber OptString `json:"bin_number"` Vendor OptString `json:"vendor"` Issuer OptString `json:"issuer"` CardType OptString `json:"card_type"` Level OptString `json:"level"` CountryCode OptString `json:"country_code"` Created OptString `json:"created"` BillingAddress OptBillingAddress `json:"billing_address"` Href OptString `json:"href"` // Link to the customer. Customer OptString `json:"customer"` }
Ref: #/components/schemas/CustomerStoreTokenSuccessResponse
func (*CustomerStoreTokenSuccessResponse) Decode ¶
func (s *CustomerStoreTokenSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes CustomerStoreTokenSuccessResponse from json.
func (*CustomerStoreTokenSuccessResponse) Encode ¶
func (s *CustomerStoreTokenSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CustomerStoreTokenSuccessResponse) GetBillingAddress ¶
func (s *CustomerStoreTokenSuccessResponse) GetBillingAddress() OptBillingAddress
GetBillingAddress returns the value of BillingAddress.
func (*CustomerStoreTokenSuccessResponse) GetBinNumber ¶
func (s *CustomerStoreTokenSuccessResponse) GetBinNumber() OptString
GetBinNumber returns the value of BinNumber.
func (*CustomerStoreTokenSuccessResponse) GetCardType ¶
func (s *CustomerStoreTokenSuccessResponse) GetCardType() OptString
GetCardType returns the value of CardType.
func (*CustomerStoreTokenSuccessResponse) GetCountryCode ¶
func (s *CustomerStoreTokenSuccessResponse) GetCountryCode() OptString
GetCountryCode returns the value of CountryCode.
func (*CustomerStoreTokenSuccessResponse) GetCreated ¶
func (s *CustomerStoreTokenSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*CustomerStoreTokenSuccessResponse) GetCustomer ¶
func (s *CustomerStoreTokenSuccessResponse) GetCustomer() OptString
GetCustomer returns the value of Customer.
func (*CustomerStoreTokenSuccessResponse) GetExpirationDate ¶
func (s *CustomerStoreTokenSuccessResponse) GetExpirationDate() OptString
GetExpirationDate returns the value of ExpirationDate.
func (*CustomerStoreTokenSuccessResponse) GetFingerprint ¶
func (s *CustomerStoreTokenSuccessResponse) GetFingerprint() OptString
GetFingerprint returns the value of Fingerprint.
func (*CustomerStoreTokenSuccessResponse) GetHolderName ¶
func (s *CustomerStoreTokenSuccessResponse) GetHolderName() OptString
GetHolderName returns the value of HolderName.
func (*CustomerStoreTokenSuccessResponse) GetHref ¶
func (s *CustomerStoreTokenSuccessResponse) GetHref() OptString
GetHref returns the value of Href.
func (*CustomerStoreTokenSuccessResponse) GetIssuer ¶
func (s *CustomerStoreTokenSuccessResponse) GetIssuer() OptString
GetIssuer returns the value of Issuer.
func (*CustomerStoreTokenSuccessResponse) GetLast4Digits ¶
func (s *CustomerStoreTokenSuccessResponse) GetLast4Digits() OptString
GetLast4Digits returns the value of Last4Digits.
func (*CustomerStoreTokenSuccessResponse) GetLevel ¶
func (s *CustomerStoreTokenSuccessResponse) GetLevel() OptString
GetLevel returns the value of Level.
func (*CustomerStoreTokenSuccessResponse) GetPassLuhnValidation ¶
func (s *CustomerStoreTokenSuccessResponse) GetPassLuhnValidation() OptBool
GetPassLuhnValidation returns the value of PassLuhnValidation.
func (*CustomerStoreTokenSuccessResponse) GetState ¶
func (s *CustomerStoreTokenSuccessResponse) GetState() OptString
GetState returns the value of State.
func (*CustomerStoreTokenSuccessResponse) GetToken ¶
func (s *CustomerStoreTokenSuccessResponse) GetToken() OptString
GetToken returns the value of Token.
func (*CustomerStoreTokenSuccessResponse) GetTokenType ¶
func (s *CustomerStoreTokenSuccessResponse) GetTokenType() OptTokenType
GetTokenType returns the value of TokenType.
func (*CustomerStoreTokenSuccessResponse) GetType ¶
func (s *CustomerStoreTokenSuccessResponse) GetType() OptString
GetType returns the value of Type.
func (*CustomerStoreTokenSuccessResponse) GetVendor ¶
func (s *CustomerStoreTokenSuccessResponse) GetVendor() OptString
GetVendor returns the value of Vendor.
func (*CustomerStoreTokenSuccessResponse) MarshalJSON ¶
func (s *CustomerStoreTokenSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CustomerStoreTokenSuccessResponse) SetBillingAddress ¶
func (s *CustomerStoreTokenSuccessResponse) SetBillingAddress(val OptBillingAddress)
SetBillingAddress sets the value of BillingAddress.
func (*CustomerStoreTokenSuccessResponse) SetBinNumber ¶
func (s *CustomerStoreTokenSuccessResponse) SetBinNumber(val OptString)
SetBinNumber sets the value of BinNumber.
func (*CustomerStoreTokenSuccessResponse) SetCardType ¶
func (s *CustomerStoreTokenSuccessResponse) SetCardType(val OptString)
SetCardType sets the value of CardType.
func (*CustomerStoreTokenSuccessResponse) SetCountryCode ¶
func (s *CustomerStoreTokenSuccessResponse) SetCountryCode(val OptString)
SetCountryCode sets the value of CountryCode.
func (*CustomerStoreTokenSuccessResponse) SetCreated ¶
func (s *CustomerStoreTokenSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*CustomerStoreTokenSuccessResponse) SetCustomer ¶
func (s *CustomerStoreTokenSuccessResponse) SetCustomer(val OptString)
SetCustomer sets the value of Customer.
func (*CustomerStoreTokenSuccessResponse) SetExpirationDate ¶
func (s *CustomerStoreTokenSuccessResponse) SetExpirationDate(val OptString)
SetExpirationDate sets the value of ExpirationDate.
func (*CustomerStoreTokenSuccessResponse) SetFingerprint ¶
func (s *CustomerStoreTokenSuccessResponse) SetFingerprint(val OptString)
SetFingerprint sets the value of Fingerprint.
func (*CustomerStoreTokenSuccessResponse) SetHolderName ¶
func (s *CustomerStoreTokenSuccessResponse) SetHolderName(val OptString)
SetHolderName sets the value of HolderName.
func (*CustomerStoreTokenSuccessResponse) SetHref ¶
func (s *CustomerStoreTokenSuccessResponse) SetHref(val OptString)
SetHref sets the value of Href.
func (*CustomerStoreTokenSuccessResponse) SetIssuer ¶
func (s *CustomerStoreTokenSuccessResponse) SetIssuer(val OptString)
SetIssuer sets the value of Issuer.
func (*CustomerStoreTokenSuccessResponse) SetLast4Digits ¶
func (s *CustomerStoreTokenSuccessResponse) SetLast4Digits(val OptString)
SetLast4Digits sets the value of Last4Digits.
func (*CustomerStoreTokenSuccessResponse) SetLevel ¶
func (s *CustomerStoreTokenSuccessResponse) SetLevel(val OptString)
SetLevel sets the value of Level.
func (*CustomerStoreTokenSuccessResponse) SetPassLuhnValidation ¶
func (s *CustomerStoreTokenSuccessResponse) SetPassLuhnValidation(val OptBool)
SetPassLuhnValidation sets the value of PassLuhnValidation.
func (*CustomerStoreTokenSuccessResponse) SetState ¶
func (s *CustomerStoreTokenSuccessResponse) SetState(val OptString)
SetState sets the value of State.
func (*CustomerStoreTokenSuccessResponse) SetToken ¶
func (s *CustomerStoreTokenSuccessResponse) SetToken(val OptString)
SetToken sets the value of Token.
func (*CustomerStoreTokenSuccessResponse) SetTokenType ¶
func (s *CustomerStoreTokenSuccessResponse) SetTokenType(val OptTokenType)
SetTokenType sets the value of TokenType.
func (*CustomerStoreTokenSuccessResponse) SetType ¶
func (s *CustomerStoreTokenSuccessResponse) SetType(val OptString)
SetType sets the value of Type.
func (*CustomerStoreTokenSuccessResponse) SetVendor ¶
func (s *CustomerStoreTokenSuccessResponse) SetVendor(val OptString)
SetVendor sets the value of Vendor.
func (*CustomerStoreTokenSuccessResponse) UnmarshalJSON ¶
func (s *CustomerStoreTokenSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CustomerStoreTokenSuccessResponse) Validate ¶
func (s *CustomerStoreTokenSuccessResponse) Validate() error
type CustomersCustomerIdGetParams ¶
type CustomersCustomerIdGetParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString CustomerId string }
CustomersCustomerIdGetParams is parameters of GET /customers/{customerId} operation.
type CustomersCustomerIdPaymentMethodsTokenPostParams ¶
type CustomersCustomerIdPaymentMethodsTokenPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString CustomerId string Token string }
CustomersCustomerIdPaymentMethodsTokenPostParams is parameters of POST /customers/{customerId}/payment-methods/{token} operation.
type CustomersCustomerIdPaymentMethodsTokenPostReq ¶
type CustomersCustomerIdPaymentMethodsTokenPostReq struct{}
func (*CustomersCustomerIdPaymentMethodsTokenPostReq) Decode ¶
func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) Decode(d *jx.Decoder) error
Decode decodes CustomersCustomerIdPaymentMethodsTokenPostReq from json.
func (*CustomersCustomerIdPaymentMethodsTokenPostReq) Encode ¶
func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CustomersCustomerIdPaymentMethodsTokenPostReq) MarshalJSON ¶
func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CustomersCustomerIdPaymentMethodsTokenPostReq) UnmarshalJSON ¶
func (s *CustomersCustomerIdPaymentMethodsTokenPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CustomersPostParams ¶
type CustomersPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString }
CustomersPostParams is parameters of POST /customers operation.
type CustomersPostReq ¶
type CustomersPostReq struct{}
func (*CustomersPostReq) Decode ¶
func (s *CustomersPostReq) Decode(d *jx.Decoder) error
Decode decodes CustomersPostReq from json.
func (*CustomersPostReq) Encode ¶
func (s *CustomersPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CustomersPostReq) MarshalJSON ¶
func (s *CustomersPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CustomersPostReq) UnmarshalJSON ¶
func (s *CustomersPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorResponse ¶
type ErrorResponse struct { MoreInfo OptString `json:"more_info"` Category OptString `json:"category"` Description OptString `json:"description"` }
func (*ErrorResponse) Decode ¶
func (s *ErrorResponse) Decode(d *jx.Decoder) error
Decode decodes ErrorResponse from json.
func (*ErrorResponse) Encode ¶
func (s *ErrorResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorResponse) GetCategory ¶
func (s *ErrorResponse) GetCategory() OptString
GetCategory returns the value of Category.
func (*ErrorResponse) GetDescription ¶
func (s *ErrorResponse) GetDescription() OptString
GetDescription returns the value of Description.
func (*ErrorResponse) GetMoreInfo ¶
func (s *ErrorResponse) GetMoreInfo() OptString
GetMoreInfo returns the value of MoreInfo.
func (*ErrorResponse) MarshalJSON ¶
func (s *ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorResponse) SetCategory ¶
func (s *ErrorResponse) SetCategory(val OptString)
SetCategory sets the value of Category.
func (*ErrorResponse) SetDescription ¶
func (s *ErrorResponse) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*ErrorResponse) SetMoreInfo ¶
func (s *ErrorResponse) SetMoreInfo(val OptString)
SetMoreInfo sets the value of MoreInfo.
func (*ErrorResponse) UnmarshalJSON ¶
func (s *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorResponseStatusCode ¶
type ErrorResponseStatusCode struct { StatusCode int Response ErrorResponse }
ErrorResponseStatusCode wraps ErrorResponse with StatusCode.
func (*ErrorResponseStatusCode) Error ¶
func (s *ErrorResponseStatusCode) Error() string
func (*ErrorResponseStatusCode) GetResponse ¶
func (s *ErrorResponseStatusCode) GetResponse() ErrorResponse
GetResponse returns the value of Response.
func (*ErrorResponseStatusCode) GetStatusCode ¶
func (s *ErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorResponseStatusCode) SetResponse ¶
func (s *ErrorResponseStatusCode) SetResponse(val ErrorResponse)
SetResponse sets the value of Response.
func (*ErrorResponseStatusCode) SetStatusCode ¶
func (s *ErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type NextAction ¶
type NextAction struct { // Possible action name. Action string `json:"action"` // Link to run current action. Href string `json:"href"` }
Ref: #/components/schemas/NextAction
func (*NextAction) Decode ¶
func (s *NextAction) Decode(d *jx.Decoder) error
Decode decodes NextAction from json.
func (*NextAction) Encode ¶
func (s *NextAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*NextAction) GetAction ¶
func (s *NextAction) GetAction() string
GetAction returns the value of Action.
func (*NextAction) GetHref ¶
func (s *NextAction) GetHref() string
GetHref returns the value of Href.
func (*NextAction) MarshalJSON ¶
func (s *NextAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NextAction) SetAction ¶
func (s *NextAction) SetAction(val string)
SetAction sets the value of Action.
func (*NextAction) SetHref ¶
func (s *NextAction) SetHref(val string)
SetHref sets the value of Href.
func (*NextAction) UnmarshalJSON ¶
func (s *NextAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBillingAddress ¶
type OptBillingAddress struct { Value BillingAddress Set bool }
OptBillingAddress is optional BillingAddress.
func NewOptBillingAddress ¶
func NewOptBillingAddress(v BillingAddress) OptBillingAddress
NewOptBillingAddress returns new OptBillingAddress with value set to v.
func (*OptBillingAddress) Decode ¶
func (o *OptBillingAddress) Decode(d *jx.Decoder) error
Decode decodes BillingAddress from json.
func (OptBillingAddress) Encode ¶
func (o OptBillingAddress) Encode(e *jx.Encoder)
Encode encodes BillingAddress as json.
func (OptBillingAddress) Get ¶
func (o OptBillingAddress) Get() (v BillingAddress, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBillingAddress) IsSet ¶
func (o OptBillingAddress) IsSet() bool
IsSet returns true if OptBillingAddress was set.
func (OptBillingAddress) MarshalJSON ¶
func (s OptBillingAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBillingAddress) Or ¶
func (o OptBillingAddress) Or(d BillingAddress) BillingAddress
Or returns value if set, or given parameter if does not.
func (*OptBillingAddress) SetTo ¶
func (o *OptBillingAddress) SetTo(v BillingAddress)
SetTo sets value to v.
func (*OptBillingAddress) UnmarshalJSON ¶
func (s *OptBillingAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
OptFloat64 is optional float64.
func NewOptFloat64 ¶
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentAuthSuccessResponseProviderSpecificData ¶
type OptPaymentAuthSuccessResponseProviderSpecificData struct { Value PaymentAuthSuccessResponseProviderSpecificData Set bool }
OptPaymentAuthSuccessResponseProviderSpecificData is optional PaymentAuthSuccessResponseProviderSpecificData.
func NewOptPaymentAuthSuccessResponseProviderSpecificData ¶
func NewOptPaymentAuthSuccessResponseProviderSpecificData(v PaymentAuthSuccessResponseProviderSpecificData) OptPaymentAuthSuccessResponseProviderSpecificData
NewOptPaymentAuthSuccessResponseProviderSpecificData returns new OptPaymentAuthSuccessResponseProviderSpecificData with value set to v.
func (*OptPaymentAuthSuccessResponseProviderSpecificData) Decode ¶
func (o *OptPaymentAuthSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentAuthSuccessResponseProviderSpecificData from json.
func (OptPaymentAuthSuccessResponseProviderSpecificData) Encode ¶
func (o OptPaymentAuthSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode encodes PaymentAuthSuccessResponseProviderSpecificData as json.
func (OptPaymentAuthSuccessResponseProviderSpecificData) Get ¶
func (o OptPaymentAuthSuccessResponseProviderSpecificData) Get() (v PaymentAuthSuccessResponseProviderSpecificData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentAuthSuccessResponseProviderSpecificData) IsSet ¶
func (o OptPaymentAuthSuccessResponseProviderSpecificData) IsSet() bool
IsSet returns true if OptPaymentAuthSuccessResponseProviderSpecificData was set.
func (OptPaymentAuthSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s OptPaymentAuthSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentAuthSuccessResponseProviderSpecificData) Or ¶
func (o OptPaymentAuthSuccessResponseProviderSpecificData) Or(d PaymentAuthSuccessResponseProviderSpecificData) PaymentAuthSuccessResponseProviderSpecificData
Or returns value if set, or given parameter if does not.
func (*OptPaymentAuthSuccessResponseProviderSpecificData) Reset ¶
func (o *OptPaymentAuthSuccessResponseProviderSpecificData) Reset()
Reset unsets value.
func (*OptPaymentAuthSuccessResponseProviderSpecificData) SetTo ¶
func (o *OptPaymentAuthSuccessResponseProviderSpecificData) SetTo(v PaymentAuthSuccessResponseProviderSpecificData)
SetTo sets value to v.
func (*OptPaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *OptPaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentAuthSuccessResponseResult ¶
type OptPaymentAuthSuccessResponseResult struct { Value PaymentAuthSuccessResponseResult Set bool }
OptPaymentAuthSuccessResponseResult is optional PaymentAuthSuccessResponseResult.
func NewOptPaymentAuthSuccessResponseResult ¶
func NewOptPaymentAuthSuccessResponseResult(v PaymentAuthSuccessResponseResult) OptPaymentAuthSuccessResponseResult
NewOptPaymentAuthSuccessResponseResult returns new OptPaymentAuthSuccessResponseResult with value set to v.
func (*OptPaymentAuthSuccessResponseResult) Decode ¶
func (o *OptPaymentAuthSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentAuthSuccessResponseResult from json.
func (OptPaymentAuthSuccessResponseResult) Encode ¶
func (o OptPaymentAuthSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentAuthSuccessResponseResult as json.
func (OptPaymentAuthSuccessResponseResult) Get ¶
func (o OptPaymentAuthSuccessResponseResult) Get() (v PaymentAuthSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentAuthSuccessResponseResult) IsSet ¶
func (o OptPaymentAuthSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentAuthSuccessResponseResult was set.
func (OptPaymentAuthSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentAuthSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentAuthSuccessResponseResult) Or ¶
func (o OptPaymentAuthSuccessResponseResult) Or(d PaymentAuthSuccessResponseResult) PaymentAuthSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentAuthSuccessResponseResult) Reset ¶
func (o *OptPaymentAuthSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentAuthSuccessResponseResult) SetTo ¶
func (o *OptPaymentAuthSuccessResponseResult) SetTo(v PaymentAuthSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentAuthSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentAuthSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentCapturesSuccessResponseResult ¶
type OptPaymentCapturesSuccessResponseResult struct { Value PaymentCapturesSuccessResponseResult Set bool }
OptPaymentCapturesSuccessResponseResult is optional PaymentCapturesSuccessResponseResult.
func NewOptPaymentCapturesSuccessResponseResult ¶
func NewOptPaymentCapturesSuccessResponseResult(v PaymentCapturesSuccessResponseResult) OptPaymentCapturesSuccessResponseResult
NewOptPaymentCapturesSuccessResponseResult returns new OptPaymentCapturesSuccessResponseResult with value set to v.
func (*OptPaymentCapturesSuccessResponseResult) Decode ¶
func (o *OptPaymentCapturesSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentCapturesSuccessResponseResult from json.
func (OptPaymentCapturesSuccessResponseResult) Encode ¶
func (o OptPaymentCapturesSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentCapturesSuccessResponseResult as json.
func (OptPaymentCapturesSuccessResponseResult) Get ¶
func (o OptPaymentCapturesSuccessResponseResult) Get() (v PaymentCapturesSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentCapturesSuccessResponseResult) IsSet ¶
func (o OptPaymentCapturesSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentCapturesSuccessResponseResult was set.
func (OptPaymentCapturesSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentCapturesSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentCapturesSuccessResponseResult) Or ¶
func (o OptPaymentCapturesSuccessResponseResult) Or(d PaymentCapturesSuccessResponseResult) PaymentCapturesSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentCapturesSuccessResponseResult) Reset ¶
func (o *OptPaymentCapturesSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentCapturesSuccessResponseResult) SetTo ¶
func (o *OptPaymentCapturesSuccessResponseResult) SetTo(v PaymentCapturesSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentCapturesSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentCapturesSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentChargesSuccessResponseProviderSpecificData ¶
type OptPaymentChargesSuccessResponseProviderSpecificData struct { Value PaymentChargesSuccessResponseProviderSpecificData Set bool }
OptPaymentChargesSuccessResponseProviderSpecificData is optional PaymentChargesSuccessResponseProviderSpecificData.
func NewOptPaymentChargesSuccessResponseProviderSpecificData ¶
func NewOptPaymentChargesSuccessResponseProviderSpecificData(v PaymentChargesSuccessResponseProviderSpecificData) OptPaymentChargesSuccessResponseProviderSpecificData
NewOptPaymentChargesSuccessResponseProviderSpecificData returns new OptPaymentChargesSuccessResponseProviderSpecificData with value set to v.
func (*OptPaymentChargesSuccessResponseProviderSpecificData) Decode ¶
func (o *OptPaymentChargesSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentChargesSuccessResponseProviderSpecificData from json.
func (OptPaymentChargesSuccessResponseProviderSpecificData) Encode ¶
func (o OptPaymentChargesSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode encodes PaymentChargesSuccessResponseProviderSpecificData as json.
func (OptPaymentChargesSuccessResponseProviderSpecificData) Get ¶
func (o OptPaymentChargesSuccessResponseProviderSpecificData) Get() (v PaymentChargesSuccessResponseProviderSpecificData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentChargesSuccessResponseProviderSpecificData) IsSet ¶
func (o OptPaymentChargesSuccessResponseProviderSpecificData) IsSet() bool
IsSet returns true if OptPaymentChargesSuccessResponseProviderSpecificData was set.
func (OptPaymentChargesSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s OptPaymentChargesSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentChargesSuccessResponseProviderSpecificData) Or ¶
func (o OptPaymentChargesSuccessResponseProviderSpecificData) Or(d PaymentChargesSuccessResponseProviderSpecificData) PaymentChargesSuccessResponseProviderSpecificData
Or returns value if set, or given parameter if does not.
func (*OptPaymentChargesSuccessResponseProviderSpecificData) Reset ¶
func (o *OptPaymentChargesSuccessResponseProviderSpecificData) Reset()
Reset unsets value.
func (*OptPaymentChargesSuccessResponseProviderSpecificData) SetTo ¶
func (o *OptPaymentChargesSuccessResponseProviderSpecificData) SetTo(v PaymentChargesSuccessResponseProviderSpecificData)
SetTo sets value to v.
func (*OptPaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *OptPaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentChargesSuccessResponseResult ¶
type OptPaymentChargesSuccessResponseResult struct { Value PaymentChargesSuccessResponseResult Set bool }
OptPaymentChargesSuccessResponseResult is optional PaymentChargesSuccessResponseResult.
func NewOptPaymentChargesSuccessResponseResult ¶
func NewOptPaymentChargesSuccessResponseResult(v PaymentChargesSuccessResponseResult) OptPaymentChargesSuccessResponseResult
NewOptPaymentChargesSuccessResponseResult returns new OptPaymentChargesSuccessResponseResult with value set to v.
func (*OptPaymentChargesSuccessResponseResult) Decode ¶
func (o *OptPaymentChargesSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentChargesSuccessResponseResult from json.
func (OptPaymentChargesSuccessResponseResult) Encode ¶
func (o OptPaymentChargesSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentChargesSuccessResponseResult as json.
func (OptPaymentChargesSuccessResponseResult) Get ¶
func (o OptPaymentChargesSuccessResponseResult) Get() (v PaymentChargesSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentChargesSuccessResponseResult) IsSet ¶
func (o OptPaymentChargesSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentChargesSuccessResponseResult was set.
func (OptPaymentChargesSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentChargesSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentChargesSuccessResponseResult) Or ¶
func (o OptPaymentChargesSuccessResponseResult) Or(d PaymentChargesSuccessResponseResult) PaymentChargesSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentChargesSuccessResponseResult) Reset ¶
func (o *OptPaymentChargesSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentChargesSuccessResponseResult) SetTo ¶
func (o *OptPaymentChargesSuccessResponseResult) SetTo(v PaymentChargesSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentChargesSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentChargesSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentCreditsSuccessResponseProviderSpecificData ¶
type OptPaymentCreditsSuccessResponseProviderSpecificData struct { Value PaymentCreditsSuccessResponseProviderSpecificData Set bool }
OptPaymentCreditsSuccessResponseProviderSpecificData is optional PaymentCreditsSuccessResponseProviderSpecificData.
func NewOptPaymentCreditsSuccessResponseProviderSpecificData ¶
func NewOptPaymentCreditsSuccessResponseProviderSpecificData(v PaymentCreditsSuccessResponseProviderSpecificData) OptPaymentCreditsSuccessResponseProviderSpecificData
NewOptPaymentCreditsSuccessResponseProviderSpecificData returns new OptPaymentCreditsSuccessResponseProviderSpecificData with value set to v.
func (*OptPaymentCreditsSuccessResponseProviderSpecificData) Decode ¶
func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentCreditsSuccessResponseProviderSpecificData from json.
func (OptPaymentCreditsSuccessResponseProviderSpecificData) Encode ¶
func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode encodes PaymentCreditsSuccessResponseProviderSpecificData as json.
func (OptPaymentCreditsSuccessResponseProviderSpecificData) Get ¶
func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Get() (v PaymentCreditsSuccessResponseProviderSpecificData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentCreditsSuccessResponseProviderSpecificData) IsSet ¶
func (o OptPaymentCreditsSuccessResponseProviderSpecificData) IsSet() bool
IsSet returns true if OptPaymentCreditsSuccessResponseProviderSpecificData was set.
func (OptPaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s OptPaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentCreditsSuccessResponseProviderSpecificData) Or ¶
func (o OptPaymentCreditsSuccessResponseProviderSpecificData) Or(d PaymentCreditsSuccessResponseProviderSpecificData) PaymentCreditsSuccessResponseProviderSpecificData
Or returns value if set, or given parameter if does not.
func (*OptPaymentCreditsSuccessResponseProviderSpecificData) Reset ¶
func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) Reset()
Reset unsets value.
func (*OptPaymentCreditsSuccessResponseProviderSpecificData) SetTo ¶
func (o *OptPaymentCreditsSuccessResponseProviderSpecificData) SetTo(v PaymentCreditsSuccessResponseProviderSpecificData)
SetTo sets value to v.
func (*OptPaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *OptPaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentCreditsSuccessResponseResult ¶
type OptPaymentCreditsSuccessResponseResult struct { Value PaymentCreditsSuccessResponseResult Set bool }
OptPaymentCreditsSuccessResponseResult is optional PaymentCreditsSuccessResponseResult.
func NewOptPaymentCreditsSuccessResponseResult ¶
func NewOptPaymentCreditsSuccessResponseResult(v PaymentCreditsSuccessResponseResult) OptPaymentCreditsSuccessResponseResult
NewOptPaymentCreditsSuccessResponseResult returns new OptPaymentCreditsSuccessResponseResult with value set to v.
func (*OptPaymentCreditsSuccessResponseResult) Decode ¶
func (o *OptPaymentCreditsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentCreditsSuccessResponseResult from json.
func (OptPaymentCreditsSuccessResponseResult) Encode ¶
func (o OptPaymentCreditsSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentCreditsSuccessResponseResult as json.
func (OptPaymentCreditsSuccessResponseResult) Get ¶
func (o OptPaymentCreditsSuccessResponseResult) Get() (v PaymentCreditsSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentCreditsSuccessResponseResult) IsSet ¶
func (o OptPaymentCreditsSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentCreditsSuccessResponseResult was set.
func (OptPaymentCreditsSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentCreditsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentCreditsSuccessResponseResult) Or ¶
func (o OptPaymentCreditsSuccessResponseResult) Or(d PaymentCreditsSuccessResponseResult) PaymentCreditsSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentCreditsSuccessResponseResult) Reset ¶
func (o *OptPaymentCreditsSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentCreditsSuccessResponseResult) SetTo ¶
func (o *OptPaymentCreditsSuccessResponseResult) SetTo(v PaymentCreditsSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentCreditsSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentCreditsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentMethod ¶
type OptPaymentMethod struct { Value PaymentMethod Set bool }
OptPaymentMethod is optional PaymentMethod.
func NewOptPaymentMethod ¶
func NewOptPaymentMethod(v PaymentMethod) OptPaymentMethod
NewOptPaymentMethod returns new OptPaymentMethod with value set to v.
func (*OptPaymentMethod) Decode ¶
func (o *OptPaymentMethod) Decode(d *jx.Decoder) error
Decode decodes PaymentMethod from json.
func (OptPaymentMethod) Encode ¶
func (o OptPaymentMethod) Encode(e *jx.Encoder)
Encode encodes PaymentMethod as json.
func (OptPaymentMethod) Get ¶
func (o OptPaymentMethod) Get() (v PaymentMethod, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentMethod) IsSet ¶
func (o OptPaymentMethod) IsSet() bool
IsSet returns true if OptPaymentMethod was set.
func (OptPaymentMethod) MarshalJSON ¶
func (s OptPaymentMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentMethod) Or ¶
func (o OptPaymentMethod) Or(d PaymentMethod) PaymentMethod
Or returns value if set, or given parameter if does not.
func (*OptPaymentMethod) SetTo ¶
func (o *OptPaymentMethod) SetTo(v PaymentMethod)
SetTo sets value to v.
func (*OptPaymentMethod) UnmarshalJSON ¶
func (s *OptPaymentMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentRefundsSuccessResponseResult ¶
type OptPaymentRefundsSuccessResponseResult struct { Value PaymentRefundsSuccessResponseResult Set bool }
OptPaymentRefundsSuccessResponseResult is optional PaymentRefundsSuccessResponseResult.
func NewOptPaymentRefundsSuccessResponseResult ¶
func NewOptPaymentRefundsSuccessResponseResult(v PaymentRefundsSuccessResponseResult) OptPaymentRefundsSuccessResponseResult
NewOptPaymentRefundsSuccessResponseResult returns new OptPaymentRefundsSuccessResponseResult with value set to v.
func (*OptPaymentRefundsSuccessResponseResult) Decode ¶
func (o *OptPaymentRefundsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentRefundsSuccessResponseResult from json.
func (OptPaymentRefundsSuccessResponseResult) Encode ¶
func (o OptPaymentRefundsSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentRefundsSuccessResponseResult as json.
func (OptPaymentRefundsSuccessResponseResult) Get ¶
func (o OptPaymentRefundsSuccessResponseResult) Get() (v PaymentRefundsSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentRefundsSuccessResponseResult) IsSet ¶
func (o OptPaymentRefundsSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentRefundsSuccessResponseResult was set.
func (OptPaymentRefundsSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentRefundsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentRefundsSuccessResponseResult) Or ¶
func (o OptPaymentRefundsSuccessResponseResult) Or(d PaymentRefundsSuccessResponseResult) PaymentRefundsSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentRefundsSuccessResponseResult) Reset ¶
func (o *OptPaymentRefundsSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentRefundsSuccessResponseResult) SetTo ¶
func (o *OptPaymentRefundsSuccessResponseResult) SetTo(v PaymentRefundsSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentRefundsSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentRefundsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentSuccessResponseBillingAddress ¶
type OptPaymentSuccessResponseBillingAddress struct { Value PaymentSuccessResponseBillingAddress Set bool }
OptPaymentSuccessResponseBillingAddress is optional PaymentSuccessResponseBillingAddress.
func NewOptPaymentSuccessResponseBillingAddress ¶
func NewOptPaymentSuccessResponseBillingAddress(v PaymentSuccessResponseBillingAddress) OptPaymentSuccessResponseBillingAddress
NewOptPaymentSuccessResponseBillingAddress returns new OptPaymentSuccessResponseBillingAddress with value set to v.
func (*OptPaymentSuccessResponseBillingAddress) Decode ¶
func (o *OptPaymentSuccessResponseBillingAddress) Decode(d *jx.Decoder) error
Decode decodes PaymentSuccessResponseBillingAddress from json.
func (OptPaymentSuccessResponseBillingAddress) Encode ¶
func (o OptPaymentSuccessResponseBillingAddress) Encode(e *jx.Encoder)
Encode encodes PaymentSuccessResponseBillingAddress as json.
func (OptPaymentSuccessResponseBillingAddress) Get ¶
func (o OptPaymentSuccessResponseBillingAddress) Get() (v PaymentSuccessResponseBillingAddress, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentSuccessResponseBillingAddress) IsSet ¶
func (o OptPaymentSuccessResponseBillingAddress) IsSet() bool
IsSet returns true if OptPaymentSuccessResponseBillingAddress was set.
func (OptPaymentSuccessResponseBillingAddress) MarshalJSON ¶
func (s OptPaymentSuccessResponseBillingAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentSuccessResponseBillingAddress) Or ¶
func (o OptPaymentSuccessResponseBillingAddress) Or(d PaymentSuccessResponseBillingAddress) PaymentSuccessResponseBillingAddress
Or returns value if set, or given parameter if does not.
func (*OptPaymentSuccessResponseBillingAddress) Reset ¶
func (o *OptPaymentSuccessResponseBillingAddress) Reset()
Reset unsets value.
func (*OptPaymentSuccessResponseBillingAddress) SetTo ¶
func (o *OptPaymentSuccessResponseBillingAddress) SetTo(v PaymentSuccessResponseBillingAddress)
SetTo sets value to v.
func (*OptPaymentSuccessResponseBillingAddress) UnmarshalJSON ¶
func (s *OptPaymentSuccessResponseBillingAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentSuccessResponseOrder ¶
type OptPaymentSuccessResponseOrder struct { Value PaymentSuccessResponseOrder Set bool }
OptPaymentSuccessResponseOrder is optional PaymentSuccessResponseOrder.
func NewOptPaymentSuccessResponseOrder ¶
func NewOptPaymentSuccessResponseOrder(v PaymentSuccessResponseOrder) OptPaymentSuccessResponseOrder
NewOptPaymentSuccessResponseOrder returns new OptPaymentSuccessResponseOrder with value set to v.
func (*OptPaymentSuccessResponseOrder) Decode ¶
func (o *OptPaymentSuccessResponseOrder) Decode(d *jx.Decoder) error
Decode decodes PaymentSuccessResponseOrder from json.
func (OptPaymentSuccessResponseOrder) Encode ¶
func (o OptPaymentSuccessResponseOrder) Encode(e *jx.Encoder)
Encode encodes PaymentSuccessResponseOrder as json.
func (OptPaymentSuccessResponseOrder) Get ¶
func (o OptPaymentSuccessResponseOrder) Get() (v PaymentSuccessResponseOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentSuccessResponseOrder) IsSet ¶
func (o OptPaymentSuccessResponseOrder) IsSet() bool
IsSet returns true if OptPaymentSuccessResponseOrder was set.
func (OptPaymentSuccessResponseOrder) MarshalJSON ¶
func (s OptPaymentSuccessResponseOrder) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentSuccessResponseOrder) Or ¶
func (o OptPaymentSuccessResponseOrder) Or(d PaymentSuccessResponseOrder) PaymentSuccessResponseOrder
Or returns value if set, or given parameter if does not.
func (*OptPaymentSuccessResponseOrder) Reset ¶
func (o *OptPaymentSuccessResponseOrder) Reset()
Reset unsets value.
func (*OptPaymentSuccessResponseOrder) SetTo ¶
func (o *OptPaymentSuccessResponseOrder) SetTo(v PaymentSuccessResponseOrder)
SetTo sets value to v.
func (*OptPaymentSuccessResponseOrder) UnmarshalJSON ¶
func (s *OptPaymentSuccessResponseOrder) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentVoidsSuccessResponseProviderSpecificData ¶
type OptPaymentVoidsSuccessResponseProviderSpecificData struct { Value PaymentVoidsSuccessResponseProviderSpecificData Set bool }
OptPaymentVoidsSuccessResponseProviderSpecificData is optional PaymentVoidsSuccessResponseProviderSpecificData.
func NewOptPaymentVoidsSuccessResponseProviderSpecificData ¶
func NewOptPaymentVoidsSuccessResponseProviderSpecificData(v PaymentVoidsSuccessResponseProviderSpecificData) OptPaymentVoidsSuccessResponseProviderSpecificData
NewOptPaymentVoidsSuccessResponseProviderSpecificData returns new OptPaymentVoidsSuccessResponseProviderSpecificData with value set to v.
func (*OptPaymentVoidsSuccessResponseProviderSpecificData) Decode ¶
func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentVoidsSuccessResponseProviderSpecificData from json.
func (OptPaymentVoidsSuccessResponseProviderSpecificData) Encode ¶
func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode encodes PaymentVoidsSuccessResponseProviderSpecificData as json.
func (OptPaymentVoidsSuccessResponseProviderSpecificData) Get ¶
func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Get() (v PaymentVoidsSuccessResponseProviderSpecificData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentVoidsSuccessResponseProviderSpecificData) IsSet ¶
func (o OptPaymentVoidsSuccessResponseProviderSpecificData) IsSet() bool
IsSet returns true if OptPaymentVoidsSuccessResponseProviderSpecificData was set.
func (OptPaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s OptPaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentVoidsSuccessResponseProviderSpecificData) Or ¶
func (o OptPaymentVoidsSuccessResponseProviderSpecificData) Or(d PaymentVoidsSuccessResponseProviderSpecificData) PaymentVoidsSuccessResponseProviderSpecificData
Or returns value if set, or given parameter if does not.
func (*OptPaymentVoidsSuccessResponseProviderSpecificData) Reset ¶
func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) Reset()
Reset unsets value.
func (*OptPaymentVoidsSuccessResponseProviderSpecificData) SetTo ¶
func (o *OptPaymentVoidsSuccessResponseProviderSpecificData) SetTo(v PaymentVoidsSuccessResponseProviderSpecificData)
SetTo sets value to v.
func (*OptPaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *OptPaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentVoidsSuccessResponseResult ¶
type OptPaymentVoidsSuccessResponseResult struct { Value PaymentVoidsSuccessResponseResult Set bool }
OptPaymentVoidsSuccessResponseResult is optional PaymentVoidsSuccessResponseResult.
func NewOptPaymentVoidsSuccessResponseResult ¶
func NewOptPaymentVoidsSuccessResponseResult(v PaymentVoidsSuccessResponseResult) OptPaymentVoidsSuccessResponseResult
NewOptPaymentVoidsSuccessResponseResult returns new OptPaymentVoidsSuccessResponseResult with value set to v.
func (*OptPaymentVoidsSuccessResponseResult) Decode ¶
func (o *OptPaymentVoidsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentVoidsSuccessResponseResult from json.
func (OptPaymentVoidsSuccessResponseResult) Encode ¶
func (o OptPaymentVoidsSuccessResponseResult) Encode(e *jx.Encoder)
Encode encodes PaymentVoidsSuccessResponseResult as json.
func (OptPaymentVoidsSuccessResponseResult) Get ¶
func (o OptPaymentVoidsSuccessResponseResult) Get() (v PaymentVoidsSuccessResponseResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentVoidsSuccessResponseResult) IsSet ¶
func (o OptPaymentVoidsSuccessResponseResult) IsSet() bool
IsSet returns true if OptPaymentVoidsSuccessResponseResult was set.
func (OptPaymentVoidsSuccessResponseResult) MarshalJSON ¶
func (s OptPaymentVoidsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentVoidsSuccessResponseResult) Or ¶
func (o OptPaymentVoidsSuccessResponseResult) Or(d PaymentVoidsSuccessResponseResult) PaymentVoidsSuccessResponseResult
Or returns value if set, or given parameter if does not.
func (*OptPaymentVoidsSuccessResponseResult) Reset ¶
func (o *OptPaymentVoidsSuccessResponseResult) Reset()
Reset unsets value.
func (*OptPaymentVoidsSuccessResponseResult) SetTo ¶
func (o *OptPaymentVoidsSuccessResponseResult) SetTo(v PaymentVoidsSuccessResponseResult)
SetTo sets value to v.
func (*OptPaymentVoidsSuccessResponseResult) UnmarshalJSON ¶
func (s *OptPaymentVoidsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPaymentsPaymentidAuthorizationsPostReq ¶
type OptPaymentsPaymentidAuthorizationsPostReq struct { Value PaymentsPaymentidAuthorizationsPostReq Set bool }
OptPaymentsPaymentidAuthorizationsPostReq is optional PaymentsPaymentidAuthorizationsPostReq.
func NewOptPaymentsPaymentidAuthorizationsPostReq ¶
func NewOptPaymentsPaymentidAuthorizationsPostReq(v PaymentsPaymentidAuthorizationsPostReq) OptPaymentsPaymentidAuthorizationsPostReq
NewOptPaymentsPaymentidAuthorizationsPostReq returns new OptPaymentsPaymentidAuthorizationsPostReq with value set to v.
func (*OptPaymentsPaymentidAuthorizationsPostReq) Decode ¶
func (o *OptPaymentsPaymentidAuthorizationsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidAuthorizationsPostReq from json.
func (OptPaymentsPaymentidAuthorizationsPostReq) Encode ¶
func (o OptPaymentsPaymentidAuthorizationsPostReq) Encode(e *jx.Encoder)
Encode encodes PaymentsPaymentidAuthorizationsPostReq as json.
func (OptPaymentsPaymentidAuthorizationsPostReq) Get ¶
func (o OptPaymentsPaymentidAuthorizationsPostReq) Get() (v PaymentsPaymentidAuthorizationsPostReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPaymentsPaymentidAuthorizationsPostReq) IsSet ¶
func (o OptPaymentsPaymentidAuthorizationsPostReq) IsSet() bool
IsSet returns true if OptPaymentsPaymentidAuthorizationsPostReq was set.
func (OptPaymentsPaymentidAuthorizationsPostReq) MarshalJSON ¶
func (s OptPaymentsPaymentidAuthorizationsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPaymentsPaymentidAuthorizationsPostReq) Or ¶
func (o OptPaymentsPaymentidAuthorizationsPostReq) Or(d PaymentsPaymentidAuthorizationsPostReq) PaymentsPaymentidAuthorizationsPostReq
Or returns value if set, or given parameter if does not.
func (*OptPaymentsPaymentidAuthorizationsPostReq) Reset ¶
func (o *OptPaymentsPaymentidAuthorizationsPostReq) Reset()
Reset unsets value.
func (*OptPaymentsPaymentidAuthorizationsPostReq) SetTo ¶
func (o *OptPaymentsPaymentidAuthorizationsPostReq) SetTo(v PaymentsPaymentidAuthorizationsPostReq)
SetTo sets value to v.
func (*OptPaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON ¶
func (s *OptPaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptProviderConfiguration ¶
type OptProviderConfiguration struct { Value ProviderConfiguration Set bool }
OptProviderConfiguration is optional ProviderConfiguration.
func NewOptProviderConfiguration ¶
func NewOptProviderConfiguration(v ProviderConfiguration) OptProviderConfiguration
NewOptProviderConfiguration returns new OptProviderConfiguration with value set to v.
func (*OptProviderConfiguration) Decode ¶
func (o *OptProviderConfiguration) Decode(d *jx.Decoder) error
Decode decodes ProviderConfiguration from json.
func (OptProviderConfiguration) Encode ¶
func (o OptProviderConfiguration) Encode(e *jx.Encoder)
Encode encodes ProviderConfiguration as json.
func (OptProviderConfiguration) Get ¶
func (o OptProviderConfiguration) Get() (v ProviderConfiguration, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProviderConfiguration) IsSet ¶
func (o OptProviderConfiguration) IsSet() bool
IsSet returns true if OptProviderConfiguration was set.
func (OptProviderConfiguration) MarshalJSON ¶
func (s OptProviderConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProviderConfiguration) Or ¶
func (o OptProviderConfiguration) Or(d ProviderConfiguration) ProviderConfiguration
Or returns value if set, or given parameter if does not.
func (*OptProviderConfiguration) Reset ¶
func (o *OptProviderConfiguration) Reset()
Reset unsets value.
func (*OptProviderConfiguration) SetTo ¶
func (o *OptProviderConfiguration) SetTo(v ProviderConfiguration)
SetTo sets value to v.
func (*OptProviderConfiguration) UnmarshalJSON ¶
func (s *OptProviderConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptProviderData ¶
type OptProviderData struct { Value ProviderData Set bool }
OptProviderData is optional ProviderData.
func NewOptProviderData ¶
func NewOptProviderData(v ProviderData) OptProviderData
NewOptProviderData returns new OptProviderData with value set to v.
func (*OptProviderData) Decode ¶
func (o *OptProviderData) Decode(d *jx.Decoder) error
Decode decodes ProviderData from json.
func (OptProviderData) Encode ¶
func (o OptProviderData) Encode(e *jx.Encoder)
Encode encodes ProviderData as json.
func (OptProviderData) Get ¶
func (o OptProviderData) Get() (v ProviderData, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProviderData) IsSet ¶
func (o OptProviderData) IsSet() bool
IsSet returns true if OptProviderData was set.
func (OptProviderData) MarshalJSON ¶
func (s OptProviderData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProviderData) Or ¶
func (o OptProviderData) Or(d ProviderData) ProviderData
Or returns value if set, or given parameter if does not.
func (*OptProviderData) SetTo ¶
func (o *OptProviderData) SetTo(v ProviderData)
SetTo sets value to v.
func (*OptProviderData) UnmarshalJSON ¶
func (s *OptProviderData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenType ¶
OptTokenType is optional TokenType.
func NewOptTokenType ¶
func NewOptTokenType(v TokenType) OptTokenType
NewOptTokenType returns new OptTokenType with value set to v.
func (*OptTokenType) Decode ¶
func (o *OptTokenType) Decode(d *jx.Decoder) error
Decode decodes TokenType from json.
func (OptTokenType) Encode ¶
func (o OptTokenType) Encode(e *jx.Encoder)
Encode encodes TokenType as json.
func (OptTokenType) Get ¶
func (o OptTokenType) Get() (v TokenType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenType) IsSet ¶
func (o OptTokenType) IsSet() bool
IsSet returns true if OptTokenType was set.
func (OptTokenType) MarshalJSON ¶
func (s OptTokenType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenType) Or ¶
func (o OptTokenType) Or(d TokenType) TokenType
Or returns value if set, or given parameter if does not.
func (*OptTokenType) UnmarshalJSON ¶
func (s *OptTokenType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokensPostReq ¶
type OptTokensPostReq struct { Value TokensPostReq Set bool }
OptTokensPostReq is optional TokensPostReq.
func NewOptTokensPostReq ¶
func NewOptTokensPostReq(v TokensPostReq) OptTokensPostReq
NewOptTokensPostReq returns new OptTokensPostReq with value set to v.
func (*OptTokensPostReq) Decode ¶
func (o *OptTokensPostReq) Decode(d *jx.Decoder) error
Decode decodes TokensPostReq from json.
func (OptTokensPostReq) Encode ¶
func (o OptTokensPostReq) Encode(e *jx.Encoder)
Encode encodes TokensPostReq as json.
func (OptTokensPostReq) Get ¶
func (o OptTokensPostReq) Get() (v TokensPostReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokensPostReq) IsSet ¶
func (o OptTokensPostReq) IsSet() bool
IsSet returns true if OptTokensPostReq was set.
func (OptTokensPostReq) MarshalJSON ¶
func (s OptTokensPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokensPostReq) Or ¶
func (o OptTokensPostReq) Or(d TokensPostReq) TokensPostReq
Or returns value if set, or given parameter if does not.
func (*OptTokensPostReq) SetTo ¶
func (o *OptTokensPostReq) SetTo(v TokensPostReq)
SetTo sets value to v.
func (*OptTokensPostReq) UnmarshalJSON ¶
func (s *OptTokensPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { ClientOption }
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PaymentAuthSuccessResponse ¶
type PaymentAuthSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of payment auth creation. Created OptString `json:"created"` ReconciliationID OptString `json:"reconciliation_id"` ProviderSpecificData OptPaymentAuthSuccessResponseProviderSpecificData `json:"provider_specific_data"` PaymentMethod OptPaymentMethod `json:"payment_method"` Result OptPaymentAuthSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` Amount OptFloat64 `json:"amount"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` AuthorizationType OptString `json:"authorization_type"` }
Ref: #/components/schemas/PaymentAuthSuccessResponse
func (*PaymentAuthSuccessResponse) Decode ¶
func (s *PaymentAuthSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentAuthSuccessResponse from json.
func (*PaymentAuthSuccessResponse) Encode ¶
func (s *PaymentAuthSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentAuthSuccessResponse) GetAmount ¶
func (s *PaymentAuthSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentAuthSuccessResponse) GetAuthorizationType ¶
func (s *PaymentAuthSuccessResponse) GetAuthorizationType() OptString
GetAuthorizationType returns the value of AuthorizationType.
func (*PaymentAuthSuccessResponse) GetCreated ¶
func (s *PaymentAuthSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentAuthSuccessResponse) GetID ¶
func (s *PaymentAuthSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentAuthSuccessResponse) GetPaymentMethod ¶
func (s *PaymentAuthSuccessResponse) GetPaymentMethod() OptPaymentMethod
GetPaymentMethod returns the value of PaymentMethod.
func (*PaymentAuthSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentAuthSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentAuthSuccessResponse) GetProviderData ¶
func (s *PaymentAuthSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentAuthSuccessResponse) GetProviderSpecificData ¶
func (s *PaymentAuthSuccessResponse) GetProviderSpecificData() OptPaymentAuthSuccessResponseProviderSpecificData
GetProviderSpecificData returns the value of ProviderSpecificData.
func (*PaymentAuthSuccessResponse) GetReconciliationID ¶
func (s *PaymentAuthSuccessResponse) GetReconciliationID() OptString
GetReconciliationID returns the value of ReconciliationID.
func (*PaymentAuthSuccessResponse) GetResult ¶
func (s *PaymentAuthSuccessResponse) GetResult() OptPaymentAuthSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentAuthSuccessResponse) MarshalJSON ¶
func (s *PaymentAuthSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentAuthSuccessResponse) SetAmount ¶
func (s *PaymentAuthSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentAuthSuccessResponse) SetAuthorizationType ¶
func (s *PaymentAuthSuccessResponse) SetAuthorizationType(val OptString)
SetAuthorizationType sets the value of AuthorizationType.
func (*PaymentAuthSuccessResponse) SetCreated ¶
func (s *PaymentAuthSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentAuthSuccessResponse) SetID ¶
func (s *PaymentAuthSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentAuthSuccessResponse) SetPaymentMethod ¶
func (s *PaymentAuthSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
SetPaymentMethod sets the value of PaymentMethod.
func (*PaymentAuthSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentAuthSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentAuthSuccessResponse) SetProviderData ¶
func (s *PaymentAuthSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentAuthSuccessResponse) SetProviderSpecificData ¶
func (s *PaymentAuthSuccessResponse) SetProviderSpecificData(val OptPaymentAuthSuccessResponseProviderSpecificData)
SetProviderSpecificData sets the value of ProviderSpecificData.
func (*PaymentAuthSuccessResponse) SetReconciliationID ¶
func (s *PaymentAuthSuccessResponse) SetReconciliationID(val OptString)
SetReconciliationID sets the value of ReconciliationID.
func (*PaymentAuthSuccessResponse) SetResult ¶
func (s *PaymentAuthSuccessResponse) SetResult(val OptPaymentAuthSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentAuthSuccessResponse) UnmarshalJSON ¶
func (s *PaymentAuthSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentAuthSuccessResponse) Validate ¶
func (s *PaymentAuthSuccessResponse) Validate() error
type PaymentAuthSuccessResponseProviderSpecificData ¶
func (*PaymentAuthSuccessResponseProviderSpecificData) Decode ¶
func (s *PaymentAuthSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentAuthSuccessResponseProviderSpecificData from json.
func (PaymentAuthSuccessResponseProviderSpecificData) Encode ¶
func (s PaymentAuthSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PaymentAuthSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s PaymentAuthSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *PaymentAuthSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentAuthSuccessResponseResult ¶
type PaymentAuthSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentAuthSuccessResponseResult) Decode ¶
func (s *PaymentAuthSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentAuthSuccessResponseResult from json.
func (*PaymentAuthSuccessResponseResult) Encode ¶
func (s *PaymentAuthSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentAuthSuccessResponseResult) GetStatus ¶
func (s *PaymentAuthSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentAuthSuccessResponseResult) MarshalJSON ¶
func (s *PaymentAuthSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentAuthSuccessResponseResult) SetStatus ¶
func (s *PaymentAuthSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentAuthSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentAuthSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentCapturesSuccessResponse ¶
type PaymentCapturesSuccessResponse struct { ID OptString `json:"id"` Created OptString `json:"created"` Result OptPaymentCapturesSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` Amount OptFloat64 `json:"amount"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` }
Ref: #/components/schemas/PaymentCapturesSuccessResponse
func (*PaymentCapturesSuccessResponse) Decode ¶
func (s *PaymentCapturesSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentCapturesSuccessResponse from json.
func (*PaymentCapturesSuccessResponse) Encode ¶
func (s *PaymentCapturesSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentCapturesSuccessResponse) GetAmount ¶
func (s *PaymentCapturesSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentCapturesSuccessResponse) GetCreated ¶
func (s *PaymentCapturesSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentCapturesSuccessResponse) GetID ¶
func (s *PaymentCapturesSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentCapturesSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentCapturesSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentCapturesSuccessResponse) GetProviderData ¶
func (s *PaymentCapturesSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentCapturesSuccessResponse) GetResult ¶
func (s *PaymentCapturesSuccessResponse) GetResult() OptPaymentCapturesSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentCapturesSuccessResponse) MarshalJSON ¶
func (s *PaymentCapturesSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentCapturesSuccessResponse) SetAmount ¶
func (s *PaymentCapturesSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentCapturesSuccessResponse) SetCreated ¶
func (s *PaymentCapturesSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentCapturesSuccessResponse) SetID ¶
func (s *PaymentCapturesSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentCapturesSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentCapturesSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentCapturesSuccessResponse) SetProviderData ¶
func (s *PaymentCapturesSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentCapturesSuccessResponse) SetResult ¶
func (s *PaymentCapturesSuccessResponse) SetResult(val OptPaymentCapturesSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentCapturesSuccessResponse) UnmarshalJSON ¶
func (s *PaymentCapturesSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentCapturesSuccessResponse) Validate ¶
func (s *PaymentCapturesSuccessResponse) Validate() error
type PaymentCapturesSuccessResponseResult ¶
type PaymentCapturesSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentCapturesSuccessResponseResult) Decode ¶
func (s *PaymentCapturesSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentCapturesSuccessResponseResult from json.
func (*PaymentCapturesSuccessResponseResult) Encode ¶
func (s *PaymentCapturesSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentCapturesSuccessResponseResult) GetStatus ¶
func (s *PaymentCapturesSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentCapturesSuccessResponseResult) MarshalJSON ¶
func (s *PaymentCapturesSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentCapturesSuccessResponseResult) SetStatus ¶
func (s *PaymentCapturesSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentCapturesSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentCapturesSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentChargesSuccessResponse ¶
type PaymentChargesSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of payment auth creation. Created OptString `json:"created"` ProviderSpecificData OptPaymentChargesSuccessResponseProviderSpecificData `json:"provider_specific_data"` PaymentMethod OptPaymentMethod `json:"payment_method"` Result OptPaymentChargesSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` Amount OptFloat64 `json:"amount"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` }
Ref: #/components/schemas/PaymentChargesSuccessResponse
func (*PaymentChargesSuccessResponse) Decode ¶
func (s *PaymentChargesSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentChargesSuccessResponse from json.
func (*PaymentChargesSuccessResponse) Encode ¶
func (s *PaymentChargesSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentChargesSuccessResponse) GetAmount ¶
func (s *PaymentChargesSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentChargesSuccessResponse) GetCreated ¶
func (s *PaymentChargesSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentChargesSuccessResponse) GetID ¶
func (s *PaymentChargesSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentChargesSuccessResponse) GetPaymentMethod ¶
func (s *PaymentChargesSuccessResponse) GetPaymentMethod() OptPaymentMethod
GetPaymentMethod returns the value of PaymentMethod.
func (*PaymentChargesSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentChargesSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentChargesSuccessResponse) GetProviderData ¶
func (s *PaymentChargesSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentChargesSuccessResponse) GetProviderSpecificData ¶
func (s *PaymentChargesSuccessResponse) GetProviderSpecificData() OptPaymentChargesSuccessResponseProviderSpecificData
GetProviderSpecificData returns the value of ProviderSpecificData.
func (*PaymentChargesSuccessResponse) GetResult ¶
func (s *PaymentChargesSuccessResponse) GetResult() OptPaymentChargesSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentChargesSuccessResponse) MarshalJSON ¶
func (s *PaymentChargesSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentChargesSuccessResponse) SetAmount ¶
func (s *PaymentChargesSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentChargesSuccessResponse) SetCreated ¶
func (s *PaymentChargesSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentChargesSuccessResponse) SetID ¶
func (s *PaymentChargesSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentChargesSuccessResponse) SetPaymentMethod ¶
func (s *PaymentChargesSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
SetPaymentMethod sets the value of PaymentMethod.
func (*PaymentChargesSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentChargesSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentChargesSuccessResponse) SetProviderData ¶
func (s *PaymentChargesSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentChargesSuccessResponse) SetProviderSpecificData ¶
func (s *PaymentChargesSuccessResponse) SetProviderSpecificData(val OptPaymentChargesSuccessResponseProviderSpecificData)
SetProviderSpecificData sets the value of ProviderSpecificData.
func (*PaymentChargesSuccessResponse) SetResult ¶
func (s *PaymentChargesSuccessResponse) SetResult(val OptPaymentChargesSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentChargesSuccessResponse) UnmarshalJSON ¶
func (s *PaymentChargesSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentChargesSuccessResponse) Validate ¶
func (s *PaymentChargesSuccessResponse) Validate() error
type PaymentChargesSuccessResponseProviderSpecificData ¶
func (*PaymentChargesSuccessResponseProviderSpecificData) Decode ¶
func (s *PaymentChargesSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentChargesSuccessResponseProviderSpecificData from json.
func (PaymentChargesSuccessResponseProviderSpecificData) Encode ¶
func (s PaymentChargesSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PaymentChargesSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s PaymentChargesSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *PaymentChargesSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentChargesSuccessResponseResult ¶
type PaymentChargesSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentChargesSuccessResponseResult) Decode ¶
func (s *PaymentChargesSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentChargesSuccessResponseResult from json.
func (*PaymentChargesSuccessResponseResult) Encode ¶
func (s *PaymentChargesSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentChargesSuccessResponseResult) GetStatus ¶
func (s *PaymentChargesSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentChargesSuccessResponseResult) MarshalJSON ¶
func (s *PaymentChargesSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentChargesSuccessResponseResult) SetStatus ¶
func (s *PaymentChargesSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentChargesSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentChargesSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentCreditsSuccessResponse ¶
type PaymentCreditsSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of payment auth creation. Created OptString `json:"created"` ReconciliationID OptString `json:"reconciliation_id"` ProviderSpecificData OptPaymentCreditsSuccessResponseProviderSpecificData `json:"provider_specific_data"` PaymentMethod OptPaymentMethod `json:"payment_method"` Result OptPaymentCreditsSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` Amount OptFloat64 `json:"amount"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` }
Ref: #/components/schemas/PaymentCreditsSuccessResponse
func (*PaymentCreditsSuccessResponse) Decode ¶
func (s *PaymentCreditsSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentCreditsSuccessResponse from json.
func (*PaymentCreditsSuccessResponse) Encode ¶
func (s *PaymentCreditsSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentCreditsSuccessResponse) GetAmount ¶
func (s *PaymentCreditsSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentCreditsSuccessResponse) GetCreated ¶
func (s *PaymentCreditsSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentCreditsSuccessResponse) GetID ¶
func (s *PaymentCreditsSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentCreditsSuccessResponse) GetPaymentMethod ¶
func (s *PaymentCreditsSuccessResponse) GetPaymentMethod() OptPaymentMethod
GetPaymentMethod returns the value of PaymentMethod.
func (*PaymentCreditsSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentCreditsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentCreditsSuccessResponse) GetProviderData ¶
func (s *PaymentCreditsSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentCreditsSuccessResponse) GetProviderSpecificData ¶
func (s *PaymentCreditsSuccessResponse) GetProviderSpecificData() OptPaymentCreditsSuccessResponseProviderSpecificData
GetProviderSpecificData returns the value of ProviderSpecificData.
func (*PaymentCreditsSuccessResponse) GetReconciliationID ¶
func (s *PaymentCreditsSuccessResponse) GetReconciliationID() OptString
GetReconciliationID returns the value of ReconciliationID.
func (*PaymentCreditsSuccessResponse) GetResult ¶
func (s *PaymentCreditsSuccessResponse) GetResult() OptPaymentCreditsSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentCreditsSuccessResponse) MarshalJSON ¶
func (s *PaymentCreditsSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentCreditsSuccessResponse) SetAmount ¶
func (s *PaymentCreditsSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentCreditsSuccessResponse) SetCreated ¶
func (s *PaymentCreditsSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentCreditsSuccessResponse) SetID ¶
func (s *PaymentCreditsSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentCreditsSuccessResponse) SetPaymentMethod ¶
func (s *PaymentCreditsSuccessResponse) SetPaymentMethod(val OptPaymentMethod)
SetPaymentMethod sets the value of PaymentMethod.
func (*PaymentCreditsSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentCreditsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentCreditsSuccessResponse) SetProviderData ¶
func (s *PaymentCreditsSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentCreditsSuccessResponse) SetProviderSpecificData ¶
func (s *PaymentCreditsSuccessResponse) SetProviderSpecificData(val OptPaymentCreditsSuccessResponseProviderSpecificData)
SetProviderSpecificData sets the value of ProviderSpecificData.
func (*PaymentCreditsSuccessResponse) SetReconciliationID ¶
func (s *PaymentCreditsSuccessResponse) SetReconciliationID(val OptString)
SetReconciliationID sets the value of ReconciliationID.
func (*PaymentCreditsSuccessResponse) SetResult ¶
func (s *PaymentCreditsSuccessResponse) SetResult(val OptPaymentCreditsSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentCreditsSuccessResponse) UnmarshalJSON ¶
func (s *PaymentCreditsSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentCreditsSuccessResponse) Validate ¶
func (s *PaymentCreditsSuccessResponse) Validate() error
type PaymentCreditsSuccessResponseProviderSpecificData ¶
func (*PaymentCreditsSuccessResponseProviderSpecificData) Decode ¶
func (s *PaymentCreditsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentCreditsSuccessResponseProviderSpecificData from json.
func (PaymentCreditsSuccessResponseProviderSpecificData) Encode ¶
func (s PaymentCreditsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s PaymentCreditsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *PaymentCreditsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentCreditsSuccessResponseResult ¶
type PaymentCreditsSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentCreditsSuccessResponseResult) Decode ¶
func (s *PaymentCreditsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentCreditsSuccessResponseResult from json.
func (*PaymentCreditsSuccessResponseResult) Encode ¶
func (s *PaymentCreditsSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentCreditsSuccessResponseResult) GetStatus ¶
func (s *PaymentCreditsSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentCreditsSuccessResponseResult) MarshalJSON ¶
func (s *PaymentCreditsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentCreditsSuccessResponseResult) SetStatus ¶
func (s *PaymentCreditsSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentCreditsSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentCreditsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentMethod ¶
type PaymentMethod struct { Type OptString `json:"type"` Token OptString `json:"token"` TokenType OptTokenType `json:"token_type"` HolderName OptString `json:"holder_name"` ExpirationDate OptString `json:"expiration_date"` Last4Digits OptString `json:"last_4_digits"` PassLuhnValidation OptBool `json:"pass_luhn_validation"` Fingerprint OptString `json:"fingerprint"` BinNumber OptString `json:"bin_number"` Vendor OptString `json:"vendor"` Issuer OptString `json:"issuer"` CardType OptString `json:"card_type"` Level OptString `json:"level"` CountryCode OptString `json:"country_code"` Created OptString `json:"created"` BillingAddress OptBillingAddress `json:"billing_address"` Href OptString `json:"href"` Customer OptString `json:"customer"` }
Ref: #/components/schemas/PaymentMethod
func (*PaymentMethod) Decode ¶
func (s *PaymentMethod) Decode(d *jx.Decoder) error
Decode decodes PaymentMethod from json.
func (*PaymentMethod) Encode ¶
func (s *PaymentMethod) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentMethod) GetBillingAddress ¶
func (s *PaymentMethod) GetBillingAddress() OptBillingAddress
GetBillingAddress returns the value of BillingAddress.
func (*PaymentMethod) GetBinNumber ¶
func (s *PaymentMethod) GetBinNumber() OptString
GetBinNumber returns the value of BinNumber.
func (*PaymentMethod) GetCardType ¶
func (s *PaymentMethod) GetCardType() OptString
GetCardType returns the value of CardType.
func (*PaymentMethod) GetCountryCode ¶
func (s *PaymentMethod) GetCountryCode() OptString
GetCountryCode returns the value of CountryCode.
func (*PaymentMethod) GetCreated ¶
func (s *PaymentMethod) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentMethod) GetCustomer ¶
func (s *PaymentMethod) GetCustomer() OptString
GetCustomer returns the value of Customer.
func (*PaymentMethod) GetExpirationDate ¶
func (s *PaymentMethod) GetExpirationDate() OptString
GetExpirationDate returns the value of ExpirationDate.
func (*PaymentMethod) GetFingerprint ¶
func (s *PaymentMethod) GetFingerprint() OptString
GetFingerprint returns the value of Fingerprint.
func (*PaymentMethod) GetHolderName ¶
func (s *PaymentMethod) GetHolderName() OptString
GetHolderName returns the value of HolderName.
func (*PaymentMethod) GetHref ¶
func (s *PaymentMethod) GetHref() OptString
GetHref returns the value of Href.
func (*PaymentMethod) GetIssuer ¶
func (s *PaymentMethod) GetIssuer() OptString
GetIssuer returns the value of Issuer.
func (*PaymentMethod) GetLast4Digits ¶
func (s *PaymentMethod) GetLast4Digits() OptString
GetLast4Digits returns the value of Last4Digits.
func (*PaymentMethod) GetLevel ¶
func (s *PaymentMethod) GetLevel() OptString
GetLevel returns the value of Level.
func (*PaymentMethod) GetPassLuhnValidation ¶
func (s *PaymentMethod) GetPassLuhnValidation() OptBool
GetPassLuhnValidation returns the value of PassLuhnValidation.
func (*PaymentMethod) GetToken ¶
func (s *PaymentMethod) GetToken() OptString
GetToken returns the value of Token.
func (*PaymentMethod) GetTokenType ¶
func (s *PaymentMethod) GetTokenType() OptTokenType
GetTokenType returns the value of TokenType.
func (*PaymentMethod) GetType ¶
func (s *PaymentMethod) GetType() OptString
GetType returns the value of Type.
func (*PaymentMethod) GetVendor ¶
func (s *PaymentMethod) GetVendor() OptString
GetVendor returns the value of Vendor.
func (*PaymentMethod) MarshalJSON ¶
func (s *PaymentMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentMethod) SetBillingAddress ¶
func (s *PaymentMethod) SetBillingAddress(val OptBillingAddress)
SetBillingAddress sets the value of BillingAddress.
func (*PaymentMethod) SetBinNumber ¶
func (s *PaymentMethod) SetBinNumber(val OptString)
SetBinNumber sets the value of BinNumber.
func (*PaymentMethod) SetCardType ¶
func (s *PaymentMethod) SetCardType(val OptString)
SetCardType sets the value of CardType.
func (*PaymentMethod) SetCountryCode ¶
func (s *PaymentMethod) SetCountryCode(val OptString)
SetCountryCode sets the value of CountryCode.
func (*PaymentMethod) SetCreated ¶
func (s *PaymentMethod) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentMethod) SetCustomer ¶
func (s *PaymentMethod) SetCustomer(val OptString)
SetCustomer sets the value of Customer.
func (*PaymentMethod) SetExpirationDate ¶
func (s *PaymentMethod) SetExpirationDate(val OptString)
SetExpirationDate sets the value of ExpirationDate.
func (*PaymentMethod) SetFingerprint ¶
func (s *PaymentMethod) SetFingerprint(val OptString)
SetFingerprint sets the value of Fingerprint.
func (*PaymentMethod) SetHolderName ¶
func (s *PaymentMethod) SetHolderName(val OptString)
SetHolderName sets the value of HolderName.
func (*PaymentMethod) SetHref ¶
func (s *PaymentMethod) SetHref(val OptString)
SetHref sets the value of Href.
func (*PaymentMethod) SetIssuer ¶
func (s *PaymentMethod) SetIssuer(val OptString)
SetIssuer sets the value of Issuer.
func (*PaymentMethod) SetLast4Digits ¶
func (s *PaymentMethod) SetLast4Digits(val OptString)
SetLast4Digits sets the value of Last4Digits.
func (*PaymentMethod) SetLevel ¶
func (s *PaymentMethod) SetLevel(val OptString)
SetLevel sets the value of Level.
func (*PaymentMethod) SetPassLuhnValidation ¶
func (s *PaymentMethod) SetPassLuhnValidation(val OptBool)
SetPassLuhnValidation sets the value of PassLuhnValidation.
func (*PaymentMethod) SetToken ¶
func (s *PaymentMethod) SetToken(val OptString)
SetToken sets the value of Token.
func (*PaymentMethod) SetTokenType ¶
func (s *PaymentMethod) SetTokenType(val OptTokenType)
SetTokenType sets the value of TokenType.
func (*PaymentMethod) SetType ¶
func (s *PaymentMethod) SetType(val OptString)
SetType sets the value of Type.
func (*PaymentMethod) SetVendor ¶
func (s *PaymentMethod) SetVendor(val OptString)
SetVendor sets the value of Vendor.
func (*PaymentMethod) UnmarshalJSON ¶
func (s *PaymentMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentMethod) Validate ¶
func (s *PaymentMethod) Validate() error
type PaymentRefundsSuccessResponse ¶
type PaymentRefundsSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of payment auth creation. Created OptString `json:"created"` Result OptPaymentRefundsSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` Amount OptFloat64 `json:"amount"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` }
Ref: #/components/schemas/PaymentRefundsSuccessResponse
func (*PaymentRefundsSuccessResponse) Decode ¶
func (s *PaymentRefundsSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentRefundsSuccessResponse from json.
func (*PaymentRefundsSuccessResponse) Encode ¶
func (s *PaymentRefundsSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentRefundsSuccessResponse) GetAmount ¶
func (s *PaymentRefundsSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentRefundsSuccessResponse) GetCreated ¶
func (s *PaymentRefundsSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentRefundsSuccessResponse) GetID ¶
func (s *PaymentRefundsSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentRefundsSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentRefundsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentRefundsSuccessResponse) GetProviderData ¶
func (s *PaymentRefundsSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentRefundsSuccessResponse) GetResult ¶
func (s *PaymentRefundsSuccessResponse) GetResult() OptPaymentRefundsSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentRefundsSuccessResponse) MarshalJSON ¶
func (s *PaymentRefundsSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentRefundsSuccessResponse) SetAmount ¶
func (s *PaymentRefundsSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentRefundsSuccessResponse) SetCreated ¶
func (s *PaymentRefundsSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentRefundsSuccessResponse) SetID ¶
func (s *PaymentRefundsSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentRefundsSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentRefundsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentRefundsSuccessResponse) SetProviderData ¶
func (s *PaymentRefundsSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentRefundsSuccessResponse) SetResult ¶
func (s *PaymentRefundsSuccessResponse) SetResult(val OptPaymentRefundsSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentRefundsSuccessResponse) UnmarshalJSON ¶
func (s *PaymentRefundsSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentRefundsSuccessResponse) Validate ¶
func (s *PaymentRefundsSuccessResponse) Validate() error
type PaymentRefundsSuccessResponseResult ¶
type PaymentRefundsSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentRefundsSuccessResponseResult) Decode ¶
func (s *PaymentRefundsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentRefundsSuccessResponseResult from json.
func (*PaymentRefundsSuccessResponseResult) Encode ¶
func (s *PaymentRefundsSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentRefundsSuccessResponseResult) GetStatus ¶
func (s *PaymentRefundsSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentRefundsSuccessResponseResult) MarshalJSON ¶
func (s *PaymentRefundsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentRefundsSuccessResponseResult) SetStatus ¶
func (s *PaymentRefundsSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentRefundsSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentRefundsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentSuccessResponse ¶
type PaymentSuccessResponse struct { // Payment id. ID OptString `json:"id"` // Payment currency code. Currency OptString `json:"currency"` // Timestamp of payment creation. Created OptString `json:"created"` // Timestamp of payment modification. Modified OptString `json:"modified"` IsDisputed OptBool `json:"is_disputed"` // Status of the payment. Status OptString `json:"status"` BillingAddress OptPaymentSuccessResponseBillingAddress `json:"billing_address"` PossibleNextActions *PossibleNextActions `json:"possible_next_actions"` Order OptPaymentSuccessResponseOrder `json:"order"` // Amount to pay. Amount OptFloat64 `json:"amount"` }
Ref: #/components/schemas/PaymentSuccessResponse
func (*PaymentSuccessResponse) Decode ¶
func (s *PaymentSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentSuccessResponse from json.
func (*PaymentSuccessResponse) Encode ¶
func (s *PaymentSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentSuccessResponse) GetAmount ¶
func (s *PaymentSuccessResponse) GetAmount() OptFloat64
GetAmount returns the value of Amount.
func (*PaymentSuccessResponse) GetBillingAddress ¶
func (s *PaymentSuccessResponse) GetBillingAddress() OptPaymentSuccessResponseBillingAddress
GetBillingAddress returns the value of BillingAddress.
func (*PaymentSuccessResponse) GetCreated ¶
func (s *PaymentSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentSuccessResponse) GetCurrency ¶
func (s *PaymentSuccessResponse) GetCurrency() OptString
GetCurrency returns the value of Currency.
func (*PaymentSuccessResponse) GetID ¶
func (s *PaymentSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentSuccessResponse) GetIsDisputed ¶
func (s *PaymentSuccessResponse) GetIsDisputed() OptBool
GetIsDisputed returns the value of IsDisputed.
func (*PaymentSuccessResponse) GetModified ¶
func (s *PaymentSuccessResponse) GetModified() OptString
GetModified returns the value of Modified.
func (*PaymentSuccessResponse) GetOrder ¶
func (s *PaymentSuccessResponse) GetOrder() OptPaymentSuccessResponseOrder
GetOrder returns the value of Order.
func (*PaymentSuccessResponse) GetPossibleNextActions ¶
func (s *PaymentSuccessResponse) GetPossibleNextActions() *PossibleNextActions
GetPossibleNextActions returns the value of PossibleNextActions.
func (*PaymentSuccessResponse) GetStatus ¶
func (s *PaymentSuccessResponse) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentSuccessResponse) MarshalJSON ¶
func (s *PaymentSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentSuccessResponse) SetAmount ¶
func (s *PaymentSuccessResponse) SetAmount(val OptFloat64)
SetAmount sets the value of Amount.
func (*PaymentSuccessResponse) SetBillingAddress ¶
func (s *PaymentSuccessResponse) SetBillingAddress(val OptPaymentSuccessResponseBillingAddress)
SetBillingAddress sets the value of BillingAddress.
func (*PaymentSuccessResponse) SetCreated ¶
func (s *PaymentSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentSuccessResponse) SetCurrency ¶
func (s *PaymentSuccessResponse) SetCurrency(val OptString)
SetCurrency sets the value of Currency.
func (*PaymentSuccessResponse) SetID ¶
func (s *PaymentSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentSuccessResponse) SetIsDisputed ¶
func (s *PaymentSuccessResponse) SetIsDisputed(val OptBool)
SetIsDisputed sets the value of IsDisputed.
func (*PaymentSuccessResponse) SetModified ¶
func (s *PaymentSuccessResponse) SetModified(val OptString)
SetModified sets the value of Modified.
func (*PaymentSuccessResponse) SetOrder ¶
func (s *PaymentSuccessResponse) SetOrder(val OptPaymentSuccessResponseOrder)
SetOrder sets the value of Order.
func (*PaymentSuccessResponse) SetPossibleNextActions ¶
func (s *PaymentSuccessResponse) SetPossibleNextActions(val *PossibleNextActions)
SetPossibleNextActions sets the value of PossibleNextActions.
func (*PaymentSuccessResponse) SetStatus ¶
func (s *PaymentSuccessResponse) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentSuccessResponse) UnmarshalJSON ¶
func (s *PaymentSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PaymentSuccessResponse) Validate ¶
func (s *PaymentSuccessResponse) Validate() error
type PaymentSuccessResponseBillingAddress ¶
type PaymentSuccessResponseBillingAddress struct { // Phone of the customer. Phone OptString `json:"phone"` }
func (*PaymentSuccessResponseBillingAddress) Decode ¶
func (s *PaymentSuccessResponseBillingAddress) Decode(d *jx.Decoder) error
Decode decodes PaymentSuccessResponseBillingAddress from json.
func (*PaymentSuccessResponseBillingAddress) Encode ¶
func (s *PaymentSuccessResponseBillingAddress) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentSuccessResponseBillingAddress) GetPhone ¶
func (s *PaymentSuccessResponseBillingAddress) GetPhone() OptString
GetPhone returns the value of Phone.
func (*PaymentSuccessResponseBillingAddress) MarshalJSON ¶
func (s *PaymentSuccessResponseBillingAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentSuccessResponseBillingAddress) SetPhone ¶
func (s *PaymentSuccessResponseBillingAddress) SetPhone(val OptString)
SetPhone sets the value of Phone.
func (*PaymentSuccessResponseBillingAddress) UnmarshalJSON ¶
func (s *PaymentSuccessResponseBillingAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentSuccessResponseOrder ¶
type PaymentSuccessResponseOrder struct {
ID OptString `json:"id"`
}
func (*PaymentSuccessResponseOrder) Decode ¶
func (s *PaymentSuccessResponseOrder) Decode(d *jx.Decoder) error
Decode decodes PaymentSuccessResponseOrder from json.
func (*PaymentSuccessResponseOrder) Encode ¶
func (s *PaymentSuccessResponseOrder) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentSuccessResponseOrder) GetID ¶
func (s *PaymentSuccessResponseOrder) GetID() OptString
GetID returns the value of ID.
func (*PaymentSuccessResponseOrder) MarshalJSON ¶
func (s *PaymentSuccessResponseOrder) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentSuccessResponseOrder) SetID ¶
func (s *PaymentSuccessResponseOrder) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentSuccessResponseOrder) UnmarshalJSON ¶
func (s *PaymentSuccessResponseOrder) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentVoidsSuccessResponse ¶
type PaymentVoidsSuccessResponse struct { // Payment ID. ID OptString `json:"id"` // Timestamp of payment auth creation. Created OptString `json:"created"` ReconciliationID OptString `json:"reconciliation_id"` ProviderSpecificData OptPaymentVoidsSuccessResponseProviderSpecificData `json:"provider_specific_data"` Result OptPaymentVoidsSuccessResponseResult `json:"result"` ProviderData OptProviderData `json:"provider_data"` ProviderConfiguration OptProviderConfiguration `json:"provider_configuration"` }
Ref: #/components/schemas/PaymentVoidsSuccessResponse
func (*PaymentVoidsSuccessResponse) Decode ¶
func (s *PaymentVoidsSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes PaymentVoidsSuccessResponse from json.
func (*PaymentVoidsSuccessResponse) Encode ¶
func (s *PaymentVoidsSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentVoidsSuccessResponse) GetCreated ¶
func (s *PaymentVoidsSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*PaymentVoidsSuccessResponse) GetID ¶
func (s *PaymentVoidsSuccessResponse) GetID() OptString
GetID returns the value of ID.
func (*PaymentVoidsSuccessResponse) GetProviderConfiguration ¶
func (s *PaymentVoidsSuccessResponse) GetProviderConfiguration() OptProviderConfiguration
GetProviderConfiguration returns the value of ProviderConfiguration.
func (*PaymentVoidsSuccessResponse) GetProviderData ¶
func (s *PaymentVoidsSuccessResponse) GetProviderData() OptProviderData
GetProviderData returns the value of ProviderData.
func (*PaymentVoidsSuccessResponse) GetProviderSpecificData ¶
func (s *PaymentVoidsSuccessResponse) GetProviderSpecificData() OptPaymentVoidsSuccessResponseProviderSpecificData
GetProviderSpecificData returns the value of ProviderSpecificData.
func (*PaymentVoidsSuccessResponse) GetReconciliationID ¶
func (s *PaymentVoidsSuccessResponse) GetReconciliationID() OptString
GetReconciliationID returns the value of ReconciliationID.
func (*PaymentVoidsSuccessResponse) GetResult ¶
func (s *PaymentVoidsSuccessResponse) GetResult() OptPaymentVoidsSuccessResponseResult
GetResult returns the value of Result.
func (*PaymentVoidsSuccessResponse) MarshalJSON ¶
func (s *PaymentVoidsSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentVoidsSuccessResponse) SetCreated ¶
func (s *PaymentVoidsSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*PaymentVoidsSuccessResponse) SetID ¶
func (s *PaymentVoidsSuccessResponse) SetID(val OptString)
SetID sets the value of ID.
func (*PaymentVoidsSuccessResponse) SetProviderConfiguration ¶
func (s *PaymentVoidsSuccessResponse) SetProviderConfiguration(val OptProviderConfiguration)
SetProviderConfiguration sets the value of ProviderConfiguration.
func (*PaymentVoidsSuccessResponse) SetProviderData ¶
func (s *PaymentVoidsSuccessResponse) SetProviderData(val OptProviderData)
SetProviderData sets the value of ProviderData.
func (*PaymentVoidsSuccessResponse) SetProviderSpecificData ¶
func (s *PaymentVoidsSuccessResponse) SetProviderSpecificData(val OptPaymentVoidsSuccessResponseProviderSpecificData)
SetProviderSpecificData sets the value of ProviderSpecificData.
func (*PaymentVoidsSuccessResponse) SetReconciliationID ¶
func (s *PaymentVoidsSuccessResponse) SetReconciliationID(val OptString)
SetReconciliationID sets the value of ReconciliationID.
func (*PaymentVoidsSuccessResponse) SetResult ¶
func (s *PaymentVoidsSuccessResponse) SetResult(val OptPaymentVoidsSuccessResponseResult)
SetResult sets the value of Result.
func (*PaymentVoidsSuccessResponse) UnmarshalJSON ¶
func (s *PaymentVoidsSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentVoidsSuccessResponseProviderSpecificData ¶
func (*PaymentVoidsSuccessResponseProviderSpecificData) Decode ¶
func (s *PaymentVoidsSuccessResponseProviderSpecificData) Decode(d *jx.Decoder) error
Decode decodes PaymentVoidsSuccessResponseProviderSpecificData from json.
func (PaymentVoidsSuccessResponseProviderSpecificData) Encode ¶
func (s PaymentVoidsSuccessResponseProviderSpecificData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON ¶
func (s PaymentVoidsSuccessResponseProviderSpecificData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON ¶
func (s *PaymentVoidsSuccessResponseProviderSpecificData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentVoidsSuccessResponseResult ¶
type PaymentVoidsSuccessResponseResult struct {
Status OptString `json:"status"`
}
func (*PaymentVoidsSuccessResponseResult) Decode ¶
func (s *PaymentVoidsSuccessResponseResult) Decode(d *jx.Decoder) error
Decode decodes PaymentVoidsSuccessResponseResult from json.
func (*PaymentVoidsSuccessResponseResult) Encode ¶
func (s *PaymentVoidsSuccessResponseResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentVoidsSuccessResponseResult) GetStatus ¶
func (s *PaymentVoidsSuccessResponseResult) GetStatus() OptString
GetStatus returns the value of Status.
func (*PaymentVoidsSuccessResponseResult) MarshalJSON ¶
func (s *PaymentVoidsSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentVoidsSuccessResponseResult) SetStatus ¶
func (s *PaymentVoidsSuccessResponseResult) SetStatus(val OptString)
SetStatus sets the value of Status.
func (*PaymentVoidsSuccessResponseResult) UnmarshalJSON ¶
func (s *PaymentVoidsSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidAuthorizationsPostParams ¶
type PaymentsPaymentidAuthorizationsPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidAuthorizationsPostParams is parameters of POST /payments/{paymentid}/authorizations operation.
type PaymentsPaymentidAuthorizationsPostReq ¶
type PaymentsPaymentidAuthorizationsPostReq struct { PaymentMethod PaymentsPaymentidAuthorizationsPostReqPaymentMethod `json:"payment_method"` ReconciliationID string `json:"reconciliation_id"` }
func (*PaymentsPaymentidAuthorizationsPostReq) Decode ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidAuthorizationsPostReq from json.
func (*PaymentsPaymentidAuthorizationsPostReq) Encode ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidAuthorizationsPostReq) GetPaymentMethod ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) GetPaymentMethod() PaymentsPaymentidAuthorizationsPostReqPaymentMethod
GetPaymentMethod returns the value of PaymentMethod.
func (*PaymentsPaymentidAuthorizationsPostReq) GetReconciliationID ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) GetReconciliationID() string
GetReconciliationID returns the value of ReconciliationID.
func (*PaymentsPaymentidAuthorizationsPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidAuthorizationsPostReq) SetPaymentMethod ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) SetPaymentMethod(val PaymentsPaymentidAuthorizationsPostReqPaymentMethod)
SetPaymentMethod sets the value of PaymentMethod.
func (*PaymentsPaymentidAuthorizationsPostReq) SetReconciliationID ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) SetReconciliationID(val string)
SetReconciliationID sets the value of ReconciliationID.
func (*PaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidAuthorizationsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidAuthorizationsPostReqPaymentMethod ¶
type PaymentsPaymentidAuthorizationsPostReqPaymentMethod struct { // Payment token. Token string `json:"token"` Type string `json:"type"` CreditCardCvv string `json:"credit_card_cvv"` }
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Decode ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidAuthorizationsPostReqPaymentMethod from json.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Encode ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetCreditCardCvv ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetCreditCardCvv() string
GetCreditCardCvv returns the value of CreditCardCvv.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetToken ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetToken() string
GetToken returns the value of Token.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetType ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) GetType() string
GetType returns the value of Type.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) MarshalJSON ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetCreditCardCvv ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetCreditCardCvv(val string)
SetCreditCardCvv sets the value of CreditCardCvv.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetToken ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetToken(val string)
SetToken sets the value of Token.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetType ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) SetType(val string)
SetType sets the value of Type.
func (*PaymentsPaymentidAuthorizationsPostReqPaymentMethod) UnmarshalJSON ¶
func (s *PaymentsPaymentidAuthorizationsPostReqPaymentMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidCapturesPostParams ¶
type PaymentsPaymentidCapturesPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidCapturesPostParams is parameters of POST /payments/{paymentid}/captures operation.
type PaymentsPaymentidCapturesPostReq ¶
type PaymentsPaymentidCapturesPostReq struct{}
func (*PaymentsPaymentidCapturesPostReq) Decode ¶
func (s *PaymentsPaymentidCapturesPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidCapturesPostReq from json.
func (*PaymentsPaymentidCapturesPostReq) Encode ¶
func (s *PaymentsPaymentidCapturesPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidCapturesPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidCapturesPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidCapturesPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidCapturesPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidChargesPostParams ¶
type PaymentsPaymentidChargesPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidChargesPostParams is parameters of POST /payments/{paymentid}/charges operation.
type PaymentsPaymentidChargesPostReq ¶
type PaymentsPaymentidChargesPostReq struct{}
func (*PaymentsPaymentidChargesPostReq) Decode ¶
func (s *PaymentsPaymentidChargesPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidChargesPostReq from json.
func (*PaymentsPaymentidChargesPostReq) Encode ¶
func (s *PaymentsPaymentidChargesPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidChargesPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidChargesPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidChargesPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidChargesPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidCreditsPostParams ¶
type PaymentsPaymentidCreditsPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidCreditsPostParams is parameters of POST /payments/{paymentid}/credits operation.
type PaymentsPaymentidCreditsPostReq ¶
type PaymentsPaymentidCreditsPostReq struct{}
func (*PaymentsPaymentidCreditsPostReq) Decode ¶
func (s *PaymentsPaymentidCreditsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidCreditsPostReq from json.
func (*PaymentsPaymentidCreditsPostReq) Encode ¶
func (s *PaymentsPaymentidCreditsPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidCreditsPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidCreditsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidCreditsPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidCreditsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidRefundsPostParams ¶
type PaymentsPaymentidRefundsPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidRefundsPostParams is parameters of POST /payments/{paymentid}/refunds operation.
type PaymentsPaymentidRefundsPostReq ¶
type PaymentsPaymentidRefundsPostReq struct{}
func (*PaymentsPaymentidRefundsPostReq) Decode ¶
func (s *PaymentsPaymentidRefundsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidRefundsPostReq from json.
func (*PaymentsPaymentidRefundsPostReq) Encode ¶
func (s *PaymentsPaymentidRefundsPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidRefundsPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidRefundsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidRefundsPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidRefundsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPaymentidVoidsPostParams ¶
type PaymentsPaymentidVoidsPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString Paymentid string }
PaymentsPaymentidVoidsPostParams is parameters of POST /payments/{paymentid}/voids operation.
type PaymentsPaymentidVoidsPostReq ¶
type PaymentsPaymentidVoidsPostReq struct{}
func (*PaymentsPaymentidVoidsPostReq) Decode ¶
func (s *PaymentsPaymentidVoidsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPaymentidVoidsPostReq from json.
func (*PaymentsPaymentidVoidsPostReq) Encode ¶
func (s *PaymentsPaymentidVoidsPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPaymentidVoidsPostReq) MarshalJSON ¶
func (s *PaymentsPaymentidVoidsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPaymentidVoidsPostReq) UnmarshalJSON ¶
func (s *PaymentsPaymentidVoidsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PaymentsPostParams ¶
type PaymentsPostParams struct { AppID OptString PrivateKey OptString APIVersion OptString XPaymentsOsEnv OptString IdempotencyKey OptString }
PaymentsPostParams is parameters of POST /payments operation.
type PaymentsPostReq ¶
type PaymentsPostReq struct{}
func (*PaymentsPostReq) Decode ¶
func (s *PaymentsPostReq) Decode(d *jx.Decoder) error
Decode decodes PaymentsPostReq from json.
func (*PaymentsPostReq) Encode ¶
func (s *PaymentsPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaymentsPostReq) MarshalJSON ¶
func (s *PaymentsPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaymentsPostReq) UnmarshalJSON ¶
func (s *PaymentsPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PossibleNextActions ¶
type PossibleNextActions []NextAction
func (*PossibleNextActions) Decode ¶
func (s *PossibleNextActions) Decode(d *jx.Decoder) error
Decode decodes PossibleNextActions from json.
func (PossibleNextActions) Encode ¶
func (s PossibleNextActions) Encode(e *jx.Encoder)
Encode encodes PossibleNextActions as json.
func (PossibleNextActions) MarshalJSON ¶
func (s PossibleNextActions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PossibleNextActions) UnmarshalJSON ¶
func (s *PossibleNextActions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (PossibleNextActions) Validate ¶
func (s PossibleNextActions) Validate() error
type ProviderConfiguration ¶
type ProviderConfiguration struct { ID OptString `json:"id"` Name OptString `json:"name"` Created OptString `json:"created"` Modified OptString `json:"modified"` AccountID OptString `json:"account_id"` ProviderID OptString `json:"provider_id"` Type OptString `json:"type"` Href OptString `json:"href"` }
Ref: #/components/schemas/ProviderConfiguration
func (*ProviderConfiguration) Decode ¶
func (s *ProviderConfiguration) Decode(d *jx.Decoder) error
Decode decodes ProviderConfiguration from json.
func (*ProviderConfiguration) Encode ¶
func (s *ProviderConfiguration) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProviderConfiguration) GetAccountID ¶
func (s *ProviderConfiguration) GetAccountID() OptString
GetAccountID returns the value of AccountID.
func (*ProviderConfiguration) GetCreated ¶
func (s *ProviderConfiguration) GetCreated() OptString
GetCreated returns the value of Created.
func (*ProviderConfiguration) GetHref ¶
func (s *ProviderConfiguration) GetHref() OptString
GetHref returns the value of Href.
func (*ProviderConfiguration) GetID ¶
func (s *ProviderConfiguration) GetID() OptString
GetID returns the value of ID.
func (*ProviderConfiguration) GetModified ¶
func (s *ProviderConfiguration) GetModified() OptString
GetModified returns the value of Modified.
func (*ProviderConfiguration) GetName ¶
func (s *ProviderConfiguration) GetName() OptString
GetName returns the value of Name.
func (*ProviderConfiguration) GetProviderID ¶
func (s *ProviderConfiguration) GetProviderID() OptString
GetProviderID returns the value of ProviderID.
func (*ProviderConfiguration) GetType ¶
func (s *ProviderConfiguration) GetType() OptString
GetType returns the value of Type.
func (*ProviderConfiguration) MarshalJSON ¶
func (s *ProviderConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProviderConfiguration) SetAccountID ¶
func (s *ProviderConfiguration) SetAccountID(val OptString)
SetAccountID sets the value of AccountID.
func (*ProviderConfiguration) SetCreated ¶
func (s *ProviderConfiguration) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*ProviderConfiguration) SetHref ¶
func (s *ProviderConfiguration) SetHref(val OptString)
SetHref sets the value of Href.
func (*ProviderConfiguration) SetID ¶
func (s *ProviderConfiguration) SetID(val OptString)
SetID sets the value of ID.
func (*ProviderConfiguration) SetModified ¶
func (s *ProviderConfiguration) SetModified(val OptString)
SetModified sets the value of Modified.
func (*ProviderConfiguration) SetName ¶
func (s *ProviderConfiguration) SetName(val OptString)
SetName sets the value of Name.
func (*ProviderConfiguration) SetProviderID ¶
func (s *ProviderConfiguration) SetProviderID(val OptString)
SetProviderID sets the value of ProviderID.
func (*ProviderConfiguration) SetType ¶
func (s *ProviderConfiguration) SetType(val OptString)
SetType sets the value of Type.
func (*ProviderConfiguration) UnmarshalJSON ¶
func (s *ProviderConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProviderData ¶
type ProviderData struct { ProviderName OptString `json:"provider_name"` ResponseCode OptString `json:"response_code"` Description OptString `json:"description"` RawResponse OptString `json:"raw_response"` AuthorizationCode OptString `json:"authorization_code"` TransactionID OptString `json:"transaction_id"` ExternalID OptString `json:"external_id"` }
Ref: #/components/schemas/ProviderData
func (*ProviderData) Decode ¶
func (s *ProviderData) Decode(d *jx.Decoder) error
Decode decodes ProviderData from json.
func (*ProviderData) Encode ¶
func (s *ProviderData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProviderData) GetAuthorizationCode ¶
func (s *ProviderData) GetAuthorizationCode() OptString
GetAuthorizationCode returns the value of AuthorizationCode.
func (*ProviderData) GetDescription ¶
func (s *ProviderData) GetDescription() OptString
GetDescription returns the value of Description.
func (*ProviderData) GetExternalID ¶
func (s *ProviderData) GetExternalID() OptString
GetExternalID returns the value of ExternalID.
func (*ProviderData) GetProviderName ¶
func (s *ProviderData) GetProviderName() OptString
GetProviderName returns the value of ProviderName.
func (*ProviderData) GetRawResponse ¶
func (s *ProviderData) GetRawResponse() OptString
GetRawResponse returns the value of RawResponse.
func (*ProviderData) GetResponseCode ¶
func (s *ProviderData) GetResponseCode() OptString
GetResponseCode returns the value of ResponseCode.
func (*ProviderData) GetTransactionID ¶
func (s *ProviderData) GetTransactionID() OptString
GetTransactionID returns the value of TransactionID.
func (*ProviderData) MarshalJSON ¶
func (s *ProviderData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProviderData) SetAuthorizationCode ¶
func (s *ProviderData) SetAuthorizationCode(val OptString)
SetAuthorizationCode sets the value of AuthorizationCode.
func (*ProviderData) SetDescription ¶
func (s *ProviderData) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*ProviderData) SetExternalID ¶
func (s *ProviderData) SetExternalID(val OptString)
SetExternalID sets the value of ExternalID.
func (*ProviderData) SetProviderName ¶
func (s *ProviderData) SetProviderName(val OptString)
SetProviderName sets the value of ProviderName.
func (*ProviderData) SetRawResponse ¶
func (s *ProviderData) SetRawResponse(val OptString)
SetRawResponse sets the value of RawResponse.
func (*ProviderData) SetResponseCode ¶
func (s *ProviderData) SetResponseCode(val OptString)
SetResponseCode sets the value of ResponseCode.
func (*ProviderData) SetTransactionID ¶
func (s *ProviderData) SetTransactionID(val OptString)
SetTransactionID sets the value of TransactionID.
func (*ProviderData) UnmarshalJSON ¶
func (s *ProviderData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TokenSuccessResponse ¶
type TokenSuccessResponse struct { // PayU Token. Token OptString `json:"token"` // Timestamp of token creation. Created OptString `json:"created"` PassLuhnValidation OptBool `json:"pass_luhn_validation"` TokenType OptTokenType `json:"token_type"` Type OptString `json:"type"` State OptString `json:"state"` BinNumber OptString `json:"bin_number"` Vendor OptString `json:"vendor"` CardType OptString `json:"card_type"` Issuer OptString `json:"issuer"` Level OptString `json:"level"` CountryCode OptString `json:"country_code"` BillingAddress OptBillingAddress `json:"billing_address"` HolderName OptString `json:"holder_name"` ExpirationDate OptString `json:"expiration_date"` Last4Digits OptString `json:"last_4_digits"` EncryptedCvv OptString `json:"encrypted_cvv"` }
Ref: #/components/schemas/TokenSuccessResponse
func (*TokenSuccessResponse) Decode ¶
func (s *TokenSuccessResponse) Decode(d *jx.Decoder) error
Decode decodes TokenSuccessResponse from json.
func (*TokenSuccessResponse) Encode ¶
func (s *TokenSuccessResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenSuccessResponse) GetBillingAddress ¶
func (s *TokenSuccessResponse) GetBillingAddress() OptBillingAddress
GetBillingAddress returns the value of BillingAddress.
func (*TokenSuccessResponse) GetBinNumber ¶
func (s *TokenSuccessResponse) GetBinNumber() OptString
GetBinNumber returns the value of BinNumber.
func (*TokenSuccessResponse) GetCardType ¶
func (s *TokenSuccessResponse) GetCardType() OptString
GetCardType returns the value of CardType.
func (*TokenSuccessResponse) GetCountryCode ¶
func (s *TokenSuccessResponse) GetCountryCode() OptString
GetCountryCode returns the value of CountryCode.
func (*TokenSuccessResponse) GetCreated ¶
func (s *TokenSuccessResponse) GetCreated() OptString
GetCreated returns the value of Created.
func (*TokenSuccessResponse) GetEncryptedCvv ¶
func (s *TokenSuccessResponse) GetEncryptedCvv() OptString
GetEncryptedCvv returns the value of EncryptedCvv.
func (*TokenSuccessResponse) GetExpirationDate ¶
func (s *TokenSuccessResponse) GetExpirationDate() OptString
GetExpirationDate returns the value of ExpirationDate.
func (*TokenSuccessResponse) GetHolderName ¶
func (s *TokenSuccessResponse) GetHolderName() OptString
GetHolderName returns the value of HolderName.
func (*TokenSuccessResponse) GetIssuer ¶
func (s *TokenSuccessResponse) GetIssuer() OptString
GetIssuer returns the value of Issuer.
func (*TokenSuccessResponse) GetLast4Digits ¶
func (s *TokenSuccessResponse) GetLast4Digits() OptString
GetLast4Digits returns the value of Last4Digits.
func (*TokenSuccessResponse) GetLevel ¶
func (s *TokenSuccessResponse) GetLevel() OptString
GetLevel returns the value of Level.
func (*TokenSuccessResponse) GetPassLuhnValidation ¶
func (s *TokenSuccessResponse) GetPassLuhnValidation() OptBool
GetPassLuhnValidation returns the value of PassLuhnValidation.
func (*TokenSuccessResponse) GetState ¶
func (s *TokenSuccessResponse) GetState() OptString
GetState returns the value of State.
func (*TokenSuccessResponse) GetToken ¶
func (s *TokenSuccessResponse) GetToken() OptString
GetToken returns the value of Token.
func (*TokenSuccessResponse) GetTokenType ¶
func (s *TokenSuccessResponse) GetTokenType() OptTokenType
GetTokenType returns the value of TokenType.
func (*TokenSuccessResponse) GetType ¶
func (s *TokenSuccessResponse) GetType() OptString
GetType returns the value of Type.
func (*TokenSuccessResponse) GetVendor ¶
func (s *TokenSuccessResponse) GetVendor() OptString
GetVendor returns the value of Vendor.
func (*TokenSuccessResponse) MarshalJSON ¶
func (s *TokenSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenSuccessResponse) SetBillingAddress ¶
func (s *TokenSuccessResponse) SetBillingAddress(val OptBillingAddress)
SetBillingAddress sets the value of BillingAddress.
func (*TokenSuccessResponse) SetBinNumber ¶
func (s *TokenSuccessResponse) SetBinNumber(val OptString)
SetBinNumber sets the value of BinNumber.
func (*TokenSuccessResponse) SetCardType ¶
func (s *TokenSuccessResponse) SetCardType(val OptString)
SetCardType sets the value of CardType.
func (*TokenSuccessResponse) SetCountryCode ¶
func (s *TokenSuccessResponse) SetCountryCode(val OptString)
SetCountryCode sets the value of CountryCode.
func (*TokenSuccessResponse) SetCreated ¶
func (s *TokenSuccessResponse) SetCreated(val OptString)
SetCreated sets the value of Created.
func (*TokenSuccessResponse) SetEncryptedCvv ¶
func (s *TokenSuccessResponse) SetEncryptedCvv(val OptString)
SetEncryptedCvv sets the value of EncryptedCvv.
func (*TokenSuccessResponse) SetExpirationDate ¶
func (s *TokenSuccessResponse) SetExpirationDate(val OptString)
SetExpirationDate sets the value of ExpirationDate.
func (*TokenSuccessResponse) SetHolderName ¶
func (s *TokenSuccessResponse) SetHolderName(val OptString)
SetHolderName sets the value of HolderName.
func (*TokenSuccessResponse) SetIssuer ¶
func (s *TokenSuccessResponse) SetIssuer(val OptString)
SetIssuer sets the value of Issuer.
func (*TokenSuccessResponse) SetLast4Digits ¶
func (s *TokenSuccessResponse) SetLast4Digits(val OptString)
SetLast4Digits sets the value of Last4Digits.
func (*TokenSuccessResponse) SetLevel ¶
func (s *TokenSuccessResponse) SetLevel(val OptString)
SetLevel sets the value of Level.
func (*TokenSuccessResponse) SetPassLuhnValidation ¶
func (s *TokenSuccessResponse) SetPassLuhnValidation(val OptBool)
SetPassLuhnValidation sets the value of PassLuhnValidation.
func (*TokenSuccessResponse) SetState ¶
func (s *TokenSuccessResponse) SetState(val OptString)
SetState sets the value of State.
func (*TokenSuccessResponse) SetToken ¶
func (s *TokenSuccessResponse) SetToken(val OptString)
SetToken sets the value of Token.
func (*TokenSuccessResponse) SetTokenType ¶
func (s *TokenSuccessResponse) SetTokenType(val OptTokenType)
SetTokenType sets the value of TokenType.
func (*TokenSuccessResponse) SetType ¶
func (s *TokenSuccessResponse) SetType(val OptString)
SetType sets the value of Type.
func (*TokenSuccessResponse) SetVendor ¶
func (s *TokenSuccessResponse) SetVendor(val OptString)
SetVendor sets the value of Vendor.
func (*TokenSuccessResponse) UnmarshalJSON ¶
func (s *TokenSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenSuccessResponse) Validate ¶
func (s *TokenSuccessResponse) Validate() error
type TokenType ¶
type TokenType string
Ref: #/components/schemas/TokenType
func (TokenType) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (TokenType) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*TokenType) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenType) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type TokensPostParams ¶
type TokensPostParams struct { AppID OptString PublicKey OptString APIVersion OptString XPaymentsOsEnv OptString }
TokensPostParams is parameters of POST /tokens operation.
type TokensPostReq ¶
type TokensPostReq struct { TokenType TokenType `json:"token_type"` CreditCardCvv string `json:"credit_card_cvv"` CardNumber string `json:"card_number"` ExpirationDate string `json:"expiration_date"` HolderName string `json:"holder_name"` BillingAddress BillingAddress `json:"billing_address"` }
func (*TokensPostReq) Decode ¶
func (s *TokensPostReq) Decode(d *jx.Decoder) error
Decode decodes TokensPostReq from json.
func (*TokensPostReq) Encode ¶
func (s *TokensPostReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokensPostReq) GetBillingAddress ¶
func (s *TokensPostReq) GetBillingAddress() BillingAddress
GetBillingAddress returns the value of BillingAddress.
func (*TokensPostReq) GetCardNumber ¶
func (s *TokensPostReq) GetCardNumber() string
GetCardNumber returns the value of CardNumber.
func (*TokensPostReq) GetCreditCardCvv ¶
func (s *TokensPostReq) GetCreditCardCvv() string
GetCreditCardCvv returns the value of CreditCardCvv.
func (*TokensPostReq) GetExpirationDate ¶
func (s *TokensPostReq) GetExpirationDate() string
GetExpirationDate returns the value of ExpirationDate.
func (*TokensPostReq) GetHolderName ¶
func (s *TokensPostReq) GetHolderName() string
GetHolderName returns the value of HolderName.
func (*TokensPostReq) GetTokenType ¶
func (s *TokensPostReq) GetTokenType() TokenType
GetTokenType returns the value of TokenType.
func (*TokensPostReq) MarshalJSON ¶
func (s *TokensPostReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokensPostReq) SetBillingAddress ¶
func (s *TokensPostReq) SetBillingAddress(val BillingAddress)
SetBillingAddress sets the value of BillingAddress.
func (*TokensPostReq) SetCardNumber ¶
func (s *TokensPostReq) SetCardNumber(val string)
SetCardNumber sets the value of CardNumber.
func (*TokensPostReq) SetCreditCardCvv ¶
func (s *TokensPostReq) SetCreditCardCvv(val string)
SetCreditCardCvv sets the value of CreditCardCvv.
func (*TokensPostReq) SetExpirationDate ¶
func (s *TokensPostReq) SetExpirationDate(val string)
SetExpirationDate sets the value of ExpirationDate.
func (*TokensPostReq) SetHolderName ¶
func (s *TokensPostReq) SetHolderName(val string)
SetHolderName sets the value of HolderName.
func (*TokensPostReq) SetTokenType ¶
func (s *TokensPostReq) SetTokenType(val TokenType)
SetTokenType sets the value of TokenType.
func (*TokensPostReq) UnmarshalJSON ¶
func (s *TokensPostReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokensPostReq) Validate ¶
func (s *TokensPostReq) Validate() error