Openapi

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 22 Imported by: 0

README ¶

Go API client for Openapi

Welcome to the Gr4vy API reference documentation. Our API is still very much a work in product and subject to change.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.1.0-beta
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://gr4vy.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./Openapi"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.plantly.gr4vy.app

Class Method HTTP request Description
APILogsApi ListApiLogs Get /api-logs List API error logs
AccountUpdaterApi NewAccountUpdaterJob Post /account-updater/jobs Create Account Updater job
AuditLogsApi ListAuditLogs Get /audit-logs List audit logs
BuyersApi DeleteBuyer Delete /buyers/{buyer_id} Delete buyer
BuyersApi DeleteBuyerShippingDetail Delete /buyers/{buyer_id}/shipping-details/{shipping_detail_id} Delete buyer shipping detail
BuyersApi GetBuyer Get /buyers/{buyer_id} Get buyer
BuyersApi ListBuyerShippingDetails Get /buyers/{buyer_id}/shipping-details List buyer shipping details
BuyersApi ListBuyers Get /buyers List buyers
BuyersApi NewBuyer Post /buyers New buyer
BuyersApi NewBuyerShippingDetail Post /buyers/{buyer_id}/shipping-details New buyer shipping detail
BuyersApi UpdateBuyer Put /buyers/{buyer_id} Update buyer
BuyersApi UpdateBuyerShippingDetail Put /buyers/{buyer_id}/shipping-details/{shipping_detail_id} Update buyer shipping details
CardSchemeDefinitionsApi ListCardSchemeDefinitions Get /card-scheme-definitions List card scheme definitions
CheckoutSessionsApi DeleteCheckoutSession Delete /checkout/sessions/{checkout_session_id} Delete checkout session
CheckoutSessionsApi GetCheckoutSession Get /checkout/sessions/{checkout_session_id} Get checkout session
CheckoutSessionsApi NewCheckoutSession Post /checkout/sessions New checkout session
CheckoutSessionsApi UpdateCheckoutSession Put /checkout/sessions/{checkout_session_id} Update checkout session
DigitalWalletsApi DeleteDigitalWallet Delete /digital-wallets/{digital_wallet_id} De-register digital wallet
DigitalWalletsApi GetDigitalWallet Get /digital-wallets/{digital_wallet_id} Get digital wallet
DigitalWalletsApi ListDigitalWallets Get /digital-wallets List digital wallets
DigitalWalletsApi NewDigitalWallet Post /digital-wallets Register digital wallet
DigitalWalletsApi UpdateDigitalWallet Put /digital-wallets/{digital_wallet_id} Update digital wallet
GiftCardServiceDefinitionsApi GetGiftCardServiceDefinition Get /gift-card-service-definitions/{gift_card_service_definition_id} Get gift card service definition
GiftCardServicesApi DeleteGiftCardService Delete /gift-card-services/{gift_card_service_id} Delete gift card service
GiftCardServicesApi GetGiftCardService Get /gift-card-services/{gift_card_service_id} Get gift card service
GiftCardServicesApi NewGiftCardService Post /gift-card-services New gift card service
GiftCardServicesApi UpdateGiftCardService Put /gift-card-services/{gift_card_service_id} Update gift card service
GiftCardServicesApi VerifyGiftCardService Post /gift-card-services/verify Verify gift card service credentials
GiftCardsApi CheckGiftCardBalances Post /gift-cards/balances Check gift card balances
GiftCardsApi DeleteGiftCard Delete /gift-cards/{gift_card_id} Delete gift card
GiftCardsApi GetGiftCard Get /gift-cards/{gift_card_id} Get gift card
GiftCardsApi ListBuyerGiftCards Get /buyers/gift-cards List gift cards buyer
GiftCardsApi ListGiftCards Get /gift-cards List gift cards
GiftCardsApi StoreGiftCard Post /gift-cards Store gift card
MerchantAccountsApi DeleteMerchantAccuont Delete /merchant-accounts/{merchant_account_id} Delete merchant account
MerchantAccountsApi GetMerchantAccount Get /merchant-accounts/{merchant_account_id} Get merchant account
MerchantAccountsApi ListMerchantAccounts Get /merchant-accounts List merchant accounts
MerchantAccountsApi NewMerchantAccount Post /merchant-accounts New merchant account
MerchantAccountsApi UpdateMerchantAccount Put /merchant-accounts/{merchant_account_id} Update merchant account
PaymentMethodDefinitionsApi ListPaymentMethodDefinitions Get /payment-method-definitions List payment method definitions
PaymentMethodsApi DeletePaymentMethod Delete /payment-methods/{payment_method_id} Delete payment method
PaymentMethodsApi GetPaymentMethod Get /payment-methods/{payment_method_id} Get payment method
PaymentMethodsApi ListBuyerPaymentMethods Get /buyers/payment-methods List payment methods for buyer
PaymentMethodsApi ListPaymentMethods Get /payment-methods List payment methods
PaymentMethodsApi NewPaymentMethod Post /payment-methods New payment method
PaymentOptionsApi ListPaymentOptions Get /payment-options List payment options
PaymentOptionsApi PostListPaymentOptions Post /payment-options List payment options with POST
PaymentServiceDefinitionsApi GetPaymentServiceDefinition Get /payment-service-definitions/{payment_service_definition_id} Get payment service definition
PaymentServiceDefinitionsApi ListPaymentServiceDefinitions Get /payment-service-definitions List payment service definitions
PaymentServicesApi DeletePaymentService Delete /payment-services/{payment_service_id} Delete payment service
PaymentServicesApi GetPaymentService Get /payment-services/{payment_service_id} Get payment service
PaymentServicesApi ListPaymentServices Get /payment-services List payment services
PaymentServicesApi NewPaymentService Post /payment-services New payment service
PaymentServicesApi UpdatePaymentService Put /payment-services/{payment_service_id} Update payment service
ReportsApi GenerateDownloadUrl Post /reports/{report_id}/executions/{report_execution_id}/url Generate report download URL
ReportsApi GetReport Get /reports/{report_id} Get report
ReportsApi GetReportExecution Get /report-executions/{report_execution_id} Get report execution
ReportsApi ListAllReportExecutions Get /report-executions List all report executions
ReportsApi ListReportExecutions Get /reports/{report_id}/executions List executions for report
ReportsApi ListReports Get /reports List reports
ReportsApi NewReport Post /reports New report
ReportsApi UpdateReport Put /reports/{report_id} Update report
RolesApi DeleteRoleAssignment Delete /roles/assignments/{role_assignment_id} Delete role assignment
RolesApi ListRoleAssignments Get /roles/assignments List role assignments
RolesApi ListRoles Get /roles List roles
RolesApi NewRoleAssignment Post /roles/assignments New role assignment
TokensApi DeleteNetworkToken Delete /payment-methods/{payment_method_id}/network-tokens/{network_token_id} Delete network token
TokensApi DeletePaymentServiceToken Delete /payment-methods/{payment_method_id}/payment-service-tokens/{payment_service_token_id} Delete payment service token
TokensApi GetNetworkTokens Get /payment-methods/{payment_method_id}/network-tokens Get network tokens
TokensApi GetPaymentServiceTokens Get /payment-methods/{payment_method_id}/payment-service-tokens Get payment service tokens
TokensApi IssueCryptogram Post /payment-methods/{payment_method_id}/network-tokens/{network_token_id}/cryptogram Issue cryptogram
TokensApi ProvisionNetworkToken Post /payment-methods/{payment_method_id}/network-tokens Provision network token
TokensApi ProvisionPaymentServiceToken Post /payment-methods/{payment_method_id}/payment-service-tokens Provision payment service token
TokensApi ResumeNetworkToken Post /payment-methods/{payment_method_id}/network-tokens/{network_token_id}/resume Resume network token
TokensApi SuspendNetworkToken Post /payment-methods/{payment_method_id}/network-tokens/{network_token_id}/suspend Suspend network token
TransactionsApi CaptureTransaction Post /transactions/{transaction_id}/capture Capture transaction
TransactionsApi GetRefund Get /transactions/{transaction_id}/refunds/{refund_id} Get refund
TransactionsApi GetTransaction Get /transactions/{transaction_id} Get transaction
TransactionsApi ListTransactionRefunds Get /transactions/{transaction_id}/refunds List refunds
TransactionsApi ListTransactions Get /transactions List transactions
TransactionsApi NewRefund Post /transactions/{transaction_id}/refunds Refund transaction
TransactionsApi NewTransaction Post /transactions New transaction
TransactionsApi RefundAll Post /transactions/{transaction_id}/refunds/all Refund all instruments in a transaction
TransactionsApi VoidTransaction Post /transactions/{transaction_id}/void Void transaction
VaultForwardApi MakeVaultForward Post /vault-forward Forward PCI data

Documentation For Models

Documentation For Authorization

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARERTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

code@gr4vy.com

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions ¶

func CacheExpires ¶ added in v0.2.1

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool ¶ added in v0.2.1

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32 ¶ added in v0.2.1

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64 ¶ added in v0.2.1

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt ¶ added in v0.2.1

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32 ¶ added in v0.2.1

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64 ¶ added in v0.2.1

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString ¶ added in v0.2.1

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime ¶ added in v0.2.1

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types ¶

type APIClient ¶ added in v0.2.1

type APIClient struct {
	APILogsApi *APILogsApiService

	AccountUpdaterApi *AccountUpdaterApiService

	AuditLogsApi *AuditLogsApiService

	BuyersApi *BuyersApiService

	CardSchemeDefinitionsApi *CardSchemeDefinitionsApiService

	CheckoutSessionsApi *CheckoutSessionsApiService

	DigitalWalletsApi *DigitalWalletsApiService

	GiftCardServiceDefinitionsApi *GiftCardServiceDefinitionsApiService

	GiftCardServicesApi *GiftCardServicesApiService

	GiftCardsApi *GiftCardsApiService

	MerchantAccountsApi *MerchantAccountsApiService

	PaymentMethodDefinitionsApi *PaymentMethodDefinitionsApiService

	PaymentMethodsApi *PaymentMethodsApiService

	PaymentOptionsApi *PaymentOptionsApiService

	PaymentServiceDefinitionsApi *PaymentServiceDefinitionsApiService

	PaymentServicesApi *PaymentServicesApiService

	ReportsApi *ReportsApiService

	RolesApi *RolesApiService

	TokensApi *TokensApiService

	TransactionsApi *TransactionsApiService

	VaultForwardApi *VaultForwardApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Gr4vy API API v1.1.0-beta In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶ added in v0.2.1

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig ¶ added in v0.2.1

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey ¶ added in v0.2.1

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIKeyPairCreate ¶ added in v0.22.0

type APIKeyPairCreate struct {
	// A name for this key-pair which is used in the Gr4vy admin panel to give the key-pair a human readable name.
	DisplayName *string `json:"display_name,omitempty"`
	// The algorithm to use for the API Key Pair. The recommended value is `ECDSA`. You should only use the `RSA` algorithm in environments that do not support `ECDSA`.
	Algorithm *string `json:"algorithm,omitempty"`
	// A list of role IDs that will be assigned to the API Key Pair being created. Only the \"Administrator\" and \"Integration\" roles are supported.
	RoleIds *[]string `json:"role_ids,omitempty"`
	// The optional ID of the merchant account this API Key Pair should be assigned to. Leave this unset to create an API key that works across all merchant accounts.
	MerchantAccountId NullableString `json:"merchant_account_id,omitempty"`
}

APIKeyPairCreate A request to create an API key-pair.

func NewAPIKeyPairCreate ¶ added in v0.22.0

func NewAPIKeyPairCreate() *APIKeyPairCreate

NewAPIKeyPairCreate instantiates a new APIKeyPairCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIKeyPairCreateWithDefaults ¶ added in v0.22.0

func NewAPIKeyPairCreateWithDefaults() *APIKeyPairCreate

NewAPIKeyPairCreateWithDefaults instantiates a new APIKeyPairCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIKeyPairCreate) GetAlgorithm ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*APIKeyPairCreate) GetAlgorithmOk ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetAlgorithmOk() (*string, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIKeyPairCreate) GetDisplayName ¶ added in v0.22.0

func (o *APIKeyPairCreate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*APIKeyPairCreate) GetDisplayNameOk ¶ added in v0.22.0

func (o *APIKeyPairCreate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIKeyPairCreate) GetMerchantAccountId ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*APIKeyPairCreate) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*APIKeyPairCreate) GetRoleIds ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetRoleIds() []string

GetRoleIds returns the RoleIds field value if set, zero value otherwise.

func (*APIKeyPairCreate) GetRoleIdsOk ¶ added in v0.27.0

func (o *APIKeyPairCreate) GetRoleIdsOk() (*[]string, bool)

GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIKeyPairCreate) HasAlgorithm ¶ added in v0.27.0

func (o *APIKeyPairCreate) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*APIKeyPairCreate) HasDisplayName ¶ added in v0.22.0

func (o *APIKeyPairCreate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*APIKeyPairCreate) HasMerchantAccountId ¶ added in v0.27.0

func (o *APIKeyPairCreate) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*APIKeyPairCreate) HasRoleIds ¶ added in v0.27.0

func (o *APIKeyPairCreate) HasRoleIds() bool

HasRoleIds returns a boolean if a field has been set.

func (APIKeyPairCreate) MarshalJSON ¶ added in v0.22.0

func (o APIKeyPairCreate) MarshalJSON() ([]byte, error)

func (*APIKeyPairCreate) SetAlgorithm ¶ added in v0.27.0

func (o *APIKeyPairCreate) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*APIKeyPairCreate) SetDisplayName ¶ added in v0.22.0

func (o *APIKeyPairCreate) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*APIKeyPairCreate) SetMerchantAccountId ¶ added in v0.27.0

func (o *APIKeyPairCreate) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given NullableString and assigns it to the MerchantAccountId field.

func (*APIKeyPairCreate) SetMerchantAccountIdNil ¶ added in v0.27.0

func (o *APIKeyPairCreate) SetMerchantAccountIdNil()

SetMerchantAccountIdNil sets the value for MerchantAccountId to be an explicit nil

func (*APIKeyPairCreate) SetRoleIds ¶ added in v0.27.0

func (o *APIKeyPairCreate) SetRoleIds(v []string)

SetRoleIds gets a reference to the given []string and assigns it to the RoleIds field.

func (*APIKeyPairCreate) UnsetMerchantAccountId ¶ added in v0.27.0

func (o *APIKeyPairCreate) UnsetMerchantAccountId()

UnsetMerchantAccountId ensures that no value is present for MerchantAccountId, not even an explicit nil

type APIKeyPairUpdate ¶ added in v0.22.0

type APIKeyPairUpdate struct {
	// A name for this key-pair which is used in the Gr4vy admin panel to give the key-pair a human readable name.
	DisplayName string `json:"display_name"`
}

APIKeyPairUpdate A request to update an API key-pair.

func NewAPIKeyPairUpdate ¶ added in v0.22.0

func NewAPIKeyPairUpdate(displayName string) *APIKeyPairUpdate

NewAPIKeyPairUpdate instantiates a new APIKeyPairUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIKeyPairUpdateWithDefaults ¶ added in v0.22.0

func NewAPIKeyPairUpdateWithDefaults() *APIKeyPairUpdate

NewAPIKeyPairUpdateWithDefaults instantiates a new APIKeyPairUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIKeyPairUpdate) GetDisplayName ¶ added in v0.22.0

func (o *APIKeyPairUpdate) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*APIKeyPairUpdate) GetDisplayNameOk ¶ added in v0.22.0

func (o *APIKeyPairUpdate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (APIKeyPairUpdate) MarshalJSON ¶ added in v0.22.0

func (o APIKeyPairUpdate) MarshalJSON() ([]byte, error)

func (*APIKeyPairUpdate) SetDisplayName ¶ added in v0.22.0

func (o *APIKeyPairUpdate) SetDisplayName(v string)

SetDisplayName sets field value

type APILogsApiService ¶ added in v0.22.0

type APILogsApiService service

APILogsApiService APILogsApi service

func (*APILogsApiService) ListApiLogs ¶ added in v0.22.0

* ListApiLogs List API error logs * Returns a list of API 4XX and 5XX logs. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListApiLogsRequest

func (*APILogsApiService) ListApiLogsExecute ¶ added in v0.22.0

func (a *APILogsApiService) ListApiLogsExecute(r ApiListApiLogsRequest) (ApiLogs, *_nethttp.Response, error)

* Execute executes the request * @return ApiLogs

type APIResponse ¶ added in v0.2.1

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse ¶ added in v0.2.1

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError ¶ added in v0.2.1

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AccountUpdaterApiService ¶ added in v0.31.0

type AccountUpdaterApiService service

AccountUpdaterApiService AccountUpdaterApi service

func (*AccountUpdaterApiService) NewAccountUpdaterJob ¶ added in v0.31.0

  • NewAccountUpdaterJob Create Account Updater job
  • Creates an Account Updater job.

A request is submitted to a third-party service, containing inquiries for a given set of payment methods. The job is not processed right away, but once created, it will store new card details automatically, if there are, when results are ready.

A payment method is considered for the job if the following conditions are met: * It exists. * It's in a valid state: `status` is either `succeeded` or `processing`. * It corresponds to a card: `method` is `card`. * Its scheme is supported: `scheme` is `amex`, `discover`, `mastercard` or `visa`. * It doesn't have an in-progress inquiry already.

The endpoint works in a best-efforts basis and it doesn't return any error when a payment method doesn't qualify for an inquiry. To determine what payment methods were considered for the job, an `inquiries` field, returned in the response body, contains the submitted inquiries. If none of the payment methods qualified for an inquiry, the job is not created and a `204 No Content` status code is returned.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiNewAccountUpdaterJobRequest

func (*AccountUpdaterApiService) NewAccountUpdaterJobExecute ¶ added in v0.31.0

* Execute executes the request * @return AccountUpdaterJob

type AccountUpdaterInquirySummary ¶ added in v0.31.0

type AccountUpdaterInquirySummary struct {
	// The type of this resource. Is always `account-updater-inquiry`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this Account Updater inquiry.
	Id *string `json:"id,omitempty"`
	// The ID of the payment method associated with this Account Updater inquiry.
	PaymentMethodId *string `json:"payment_method_id,omitempty"`
}

AccountUpdaterInquirySummary An Account Updater inquiry summary.

func NewAccountUpdaterInquirySummary ¶ added in v0.31.0

func NewAccountUpdaterInquirySummary() *AccountUpdaterInquirySummary

NewAccountUpdaterInquirySummary instantiates a new AccountUpdaterInquirySummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountUpdaterInquirySummaryWithDefaults ¶ added in v0.31.0

func NewAccountUpdaterInquirySummaryWithDefaults() *AccountUpdaterInquirySummary

NewAccountUpdaterInquirySummaryWithDefaults instantiates a new AccountUpdaterInquirySummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountUpdaterInquirySummary) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*AccountUpdaterInquirySummary) GetIdOk ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterInquirySummary) GetPaymentMethodId ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*AccountUpdaterInquirySummary) GetPaymentMethodIdOk ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterInquirySummary) GetType ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AccountUpdaterInquirySummary) GetTypeOk ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterInquirySummary) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*AccountUpdaterInquirySummary) HasPaymentMethodId ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*AccountUpdaterInquirySummary) HasType ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) HasType() bool

HasType returns a boolean if a field has been set.

func (AccountUpdaterInquirySummary) MarshalJSON ¶ added in v0.31.0

func (o AccountUpdaterInquirySummary) MarshalJSON() ([]byte, error)

func (*AccountUpdaterInquirySummary) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*AccountUpdaterInquirySummary) SetPaymentMethodId ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*AccountUpdaterInquirySummary) SetType ¶ added in v0.31.0

func (o *AccountUpdaterInquirySummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AccountUpdaterJob ¶ added in v0.31.0

type AccountUpdaterJob struct {
	// The type of this resource. Is always `account-updater-job`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this Account Updater job.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The date and time when this Account Updater job was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this Account Updater job was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// A list of inquiries associated with this Account Updater job.
	Inquiries *[]AccountUpdaterInquirySummary `json:"inquiries,omitempty"`
}

AccountUpdaterJob An Account Updater job.

func NewAccountUpdaterJob ¶ added in v0.31.0

func NewAccountUpdaterJob() *AccountUpdaterJob

NewAccountUpdaterJob instantiates a new AccountUpdaterJob object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountUpdaterJobWithDefaults ¶ added in v0.31.0

func NewAccountUpdaterJobWithDefaults() *AccountUpdaterJob

NewAccountUpdaterJobWithDefaults instantiates a new AccountUpdaterJob object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountUpdaterJob) GetCreatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetCreatedAtOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) GetId ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetIdOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) GetInquiries ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetInquiries() []AccountUpdaterInquirySummary

GetInquiries returns the Inquiries field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetInquiriesOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetInquiriesOk() (*[]AccountUpdaterInquirySummary, bool)

GetInquiriesOk returns a tuple with the Inquiries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) GetMerchantAccountId ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetMerchantAccountIdOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) GetType ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetTypeOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) GetUpdatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*AccountUpdaterJob) GetUpdatedAtOk ¶ added in v0.31.0

func (o *AccountUpdaterJob) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountUpdaterJob) HasCreatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AccountUpdaterJob) HasId ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccountUpdaterJob) HasInquiries ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasInquiries() bool

HasInquiries returns a boolean if a field has been set.

func (*AccountUpdaterJob) HasMerchantAccountId ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*AccountUpdaterJob) HasType ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasType() bool

HasType returns a boolean if a field has been set.

func (*AccountUpdaterJob) HasUpdatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (AccountUpdaterJob) MarshalJSON ¶ added in v0.31.0

func (o AccountUpdaterJob) MarshalJSON() ([]byte, error)

func (*AccountUpdaterJob) SetCreatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AccountUpdaterJob) SetId ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AccountUpdaterJob) SetInquiries ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetInquiries(v []AccountUpdaterInquirySummary)

SetInquiries gets a reference to the given []AccountUpdaterInquirySummary and assigns it to the Inquiries field.

func (*AccountUpdaterJob) SetMerchantAccountId ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*AccountUpdaterJob) SetType ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*AccountUpdaterJob) SetUpdatedAt ¶ added in v0.31.0

func (o *AccountUpdaterJob) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type AccountUpdaterJobCreate ¶ added in v0.31.0

type AccountUpdaterJobCreate struct {
	// A list of unique payment method identifiers used to create the Account Updater job. A payment method will be considered only if it qualifies for an inquiry.
	PaymentMethodIds []string `json:"payment_method_ids"`
}

AccountUpdaterJobCreate A request to create an Account Updater job.

func NewAccountUpdaterJobCreate ¶ added in v0.31.0

func NewAccountUpdaterJobCreate(paymentMethodIds []string) *AccountUpdaterJobCreate

NewAccountUpdaterJobCreate instantiates a new AccountUpdaterJobCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountUpdaterJobCreateWithDefaults ¶ added in v0.31.0

func NewAccountUpdaterJobCreateWithDefaults() *AccountUpdaterJobCreate

NewAccountUpdaterJobCreateWithDefaults instantiates a new AccountUpdaterJobCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountUpdaterJobCreate) GetPaymentMethodIds ¶ added in v0.31.0

func (o *AccountUpdaterJobCreate) GetPaymentMethodIds() []string

GetPaymentMethodIds returns the PaymentMethodIds field value

func (*AccountUpdaterJobCreate) GetPaymentMethodIdsOk ¶ added in v0.31.0

func (o *AccountUpdaterJobCreate) GetPaymentMethodIdsOk() (*[]string, bool)

GetPaymentMethodIdsOk returns a tuple with the PaymentMethodIds field value and a boolean to check if the value has been set.

func (AccountUpdaterJobCreate) MarshalJSON ¶ added in v0.31.0

func (o AccountUpdaterJobCreate) MarshalJSON() ([]byte, error)

func (*AccountUpdaterJobCreate) SetPaymentMethodIds ¶ added in v0.31.0

func (o *AccountUpdaterJobCreate) SetPaymentMethodIds(v []string)

SetPaymentMethodIds sets field value

type Address ¶ added in v0.3.0

type Address struct {
	// The city for the address.
	City NullableString `json:"city,omitempty"`
	// The country for the address in ISO 3166 format.
	Country NullableString `json:"country,omitempty"`
	// The postal code or zip code for the address.
	PostalCode NullableString `json:"postal_code,omitempty"`
	// The state, county, or province for the address.
	State NullableString `json:"state,omitempty"`
	// The code of state, county, or province for the address in ISO 3166-2 format.
	StateCode NullableString `json:"state_code,omitempty"`
	// The house number or name for the address. Not all payment services use this field but some do.
	HouseNumberOrName NullableString `json:"house_number_or_name,omitempty"`
	// The first line of the address.
	Line1 NullableString `json:"line1,omitempty"`
	// The second line of the address.
	Line2 NullableString `json:"line2,omitempty"`
	// The optional name of the company or organisation to add to the address.
	Organization NullableString `json:"organization,omitempty"`
}

Address An address for the buyer.

func NewAddress ¶ added in v0.3.0

func NewAddress() *Address

NewAddress instantiates a new Address object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddressWithDefaults ¶ added in v0.3.0

func NewAddressWithDefaults() *Address

NewAddressWithDefaults instantiates a new Address object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Address) GetCity ¶ added in v0.3.0

func (o *Address) GetCity() string

GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetCityOk ¶ added in v0.3.0

func (o *Address) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetCountry ¶ added in v0.3.0

func (o *Address) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetCountryOk ¶ added in v0.3.0

func (o *Address) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetHouseNumberOrName ¶ added in v0.3.0

func (o *Address) GetHouseNumberOrName() string

GetHouseNumberOrName returns the HouseNumberOrName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetHouseNumberOrNameOk ¶ added in v0.3.0

func (o *Address) GetHouseNumberOrNameOk() (*string, bool)

GetHouseNumberOrNameOk returns a tuple with the HouseNumberOrName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetLine1 ¶ added in v0.3.0

func (o *Address) GetLine1() string

GetLine1 returns the Line1 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetLine1Ok ¶ added in v0.3.0

func (o *Address) GetLine1Ok() (*string, bool)

GetLine1Ok returns a tuple with the Line1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetLine2 ¶ added in v0.3.0

func (o *Address) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetLine2Ok ¶ added in v0.3.0

func (o *Address) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetOrganization ¶ added in v0.3.0

func (o *Address) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetOrganizationOk ¶ added in v0.3.0

func (o *Address) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetPostalCode ¶ added in v0.3.0

func (o *Address) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetPostalCodeOk ¶ added in v0.3.0

func (o *Address) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetState ¶ added in v0.3.0

func (o *Address) GetState() string

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetStateCode ¶ added in v0.3.0

func (o *Address) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetStateCodeOk ¶ added in v0.3.0

func (o *Address) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetStateOk ¶ added in v0.3.0

func (o *Address) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) HasCity ¶ added in v0.17.0

func (o *Address) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Address) HasCountry ¶ added in v0.17.0

func (o *Address) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Address) HasHouseNumberOrName ¶ added in v0.3.0

func (o *Address) HasHouseNumberOrName() bool

HasHouseNumberOrName returns a boolean if a field has been set.

func (*Address) HasLine1 ¶ added in v0.17.0

func (o *Address) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*Address) HasLine2 ¶ added in v0.3.0

func (o *Address) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*Address) HasOrganization ¶ added in v0.3.0

func (o *Address) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*Address) HasPostalCode ¶ added in v0.17.0

func (o *Address) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*Address) HasState ¶ added in v0.17.0

func (o *Address) HasState() bool

HasState returns a boolean if a field has been set.

func (*Address) HasStateCode ¶ added in v0.3.0

func (o *Address) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (Address) MarshalJSON ¶ added in v0.3.0

func (o Address) MarshalJSON() ([]byte, error)

func (*Address) SetCity ¶ added in v0.3.0

func (o *Address) SetCity(v string)

SetCity gets a reference to the given NullableString and assigns it to the City field.

func (*Address) SetCityNil ¶ added in v0.21.0

func (o *Address) SetCityNil()

SetCityNil sets the value for City to be an explicit nil

func (*Address) SetCountry ¶ added in v0.3.0

func (o *Address) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*Address) SetCountryNil ¶ added in v0.21.0

func (o *Address) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*Address) SetHouseNumberOrName ¶ added in v0.3.0

func (o *Address) SetHouseNumberOrName(v string)

SetHouseNumberOrName gets a reference to the given NullableString and assigns it to the HouseNumberOrName field.

func (*Address) SetHouseNumberOrNameNil ¶ added in v0.3.0

func (o *Address) SetHouseNumberOrNameNil()

SetHouseNumberOrNameNil sets the value for HouseNumberOrName to be an explicit nil

func (*Address) SetLine1 ¶ added in v0.3.0

func (o *Address) SetLine1(v string)

SetLine1 gets a reference to the given NullableString and assigns it to the Line1 field.

func (*Address) SetLine1Nil ¶ added in v0.21.0

func (o *Address) SetLine1Nil()

SetLine1Nil sets the value for Line1 to be an explicit nil

func (*Address) SetLine2 ¶ added in v0.3.0

func (o *Address) SetLine2(v string)

SetLine2 gets a reference to the given NullableString and assigns it to the Line2 field.

func (*Address) SetLine2Nil ¶ added in v0.3.0

func (o *Address) SetLine2Nil()

SetLine2Nil sets the value for Line2 to be an explicit nil

func (*Address) SetOrganization ¶ added in v0.3.0

func (o *Address) SetOrganization(v string)

SetOrganization gets a reference to the given NullableString and assigns it to the Organization field.

func (*Address) SetOrganizationNil ¶ added in v0.3.0

func (o *Address) SetOrganizationNil()

SetOrganizationNil sets the value for Organization to be an explicit nil

func (*Address) SetPostalCode ¶ added in v0.3.0

func (o *Address) SetPostalCode(v string)

SetPostalCode gets a reference to the given NullableString and assigns it to the PostalCode field.

func (*Address) SetPostalCodeNil ¶ added in v0.21.0

func (o *Address) SetPostalCodeNil()

SetPostalCodeNil sets the value for PostalCode to be an explicit nil

func (*Address) SetState ¶ added in v0.3.0

func (o *Address) SetState(v string)

SetState gets a reference to the given NullableString and assigns it to the State field.

func (*Address) SetStateCode ¶ added in v0.3.0

func (o *Address) SetStateCode(v string)

SetStateCode gets a reference to the given NullableString and assigns it to the StateCode field.

func (*Address) SetStateCodeNil ¶ added in v0.3.0

func (o *Address) SetStateCodeNil()

SetStateCodeNil sets the value for StateCode to be an explicit nil

func (*Address) SetStateNil ¶ added in v0.21.0

func (o *Address) SetStateNil()

SetStateNil sets the value for State to be an explicit nil

func (*Address) UnsetCity ¶ added in v0.21.0

func (o *Address) UnsetCity()

UnsetCity ensures that no value is present for City, not even an explicit nil

func (*Address) UnsetCountry ¶ added in v0.21.0

func (o *Address) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*Address) UnsetHouseNumberOrName ¶ added in v0.3.0

func (o *Address) UnsetHouseNumberOrName()

UnsetHouseNumberOrName ensures that no value is present for HouseNumberOrName, not even an explicit nil

func (*Address) UnsetLine1 ¶ added in v0.21.0

func (o *Address) UnsetLine1()

UnsetLine1 ensures that no value is present for Line1, not even an explicit nil

func (*Address) UnsetLine2 ¶ added in v0.3.0

func (o *Address) UnsetLine2()

UnsetLine2 ensures that no value is present for Line2, not even an explicit nil

func (*Address) UnsetOrganization ¶ added in v0.3.0

func (o *Address) UnsetOrganization()

UnsetOrganization ensures that no value is present for Organization, not even an explicit nil

func (*Address) UnsetPostalCode ¶ added in v0.21.0

func (o *Address) UnsetPostalCode()

UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil

func (*Address) UnsetState ¶ added in v0.21.0

func (o *Address) UnsetState()

UnsetState ensures that no value is present for State, not even an explicit nil

func (*Address) UnsetStateCode ¶ added in v0.3.0

func (o *Address) UnsetStateCode()

UnsetStateCode ensures that no value is present for StateCode, not even an explicit nil

type AntiFraudDecisionErrorEvent ¶ added in v0.28.0

type AntiFraudDecisionErrorEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-decision-error`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                          `json:"created_at,omitempty"`
	Context   *AntiFraudDecisionErrorEventContext `json:"context,omitempty"`
}

AntiFraudDecisionErrorEvent This event logs the reason why we were unable to get an anti-fraud decision.

func NewAntiFraudDecisionErrorEvent ¶ added in v0.28.0

func NewAntiFraudDecisionErrorEvent() *AntiFraudDecisionErrorEvent

NewAntiFraudDecisionErrorEvent instantiates a new AntiFraudDecisionErrorEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionErrorEventWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionErrorEventWithDefaults() *AntiFraudDecisionErrorEvent

NewAntiFraudDecisionErrorEventWithDefaults instantiates a new AntiFraudDecisionErrorEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionErrorEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEvent) GetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEvent) GetIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEvent) GetName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEvent) GetNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEvent) GetType ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEvent) GetTypeOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEvent) HasContext ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEvent) HasCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEvent) HasId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEvent) HasName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEvent) HasType ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AntiFraudDecisionErrorEvent) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionErrorEvent) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionErrorEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given AntiFraudDecisionErrorEventContext and assigns it to the Context field.

func (*AntiFraudDecisionErrorEvent) SetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudDecisionErrorEvent) SetId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudDecisionErrorEvent) SetName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudDecisionErrorEvent) SetType ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudDecisionErrorEventContext ¶ added in v0.28.0

type AntiFraudDecisionErrorEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The HTTP response status code from the anti-fraud provider, if we received any.
	StatusCode *float32 `json:"status_code,omitempty"`
	// The reason we could not get the anti-fraud decision.
	Reason *string `json:"reason,omitempty"`
}

AntiFraudDecisionErrorEventContext Additional context for this event.

func NewAntiFraudDecisionErrorEventContext ¶ added in v0.28.0

func NewAntiFraudDecisionErrorEventContext() *AntiFraudDecisionErrorEventContext

NewAntiFraudDecisionErrorEventContext instantiates a new AntiFraudDecisionErrorEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionErrorEventContextWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionErrorEventContextWithDefaults() *AntiFraudDecisionErrorEventContext

NewAntiFraudDecisionErrorEventContextWithDefaults instantiates a new AntiFraudDecisionErrorEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEventContext) GetAntiFraudServiceNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEventContext) GetReason ¶ added in v0.28.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEventContext) GetReasonOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEventContext) GetStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetStatusCode() float32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*AntiFraudDecisionErrorEventContext) GetStatusCodeOk ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) GetStatusCodeOk() (*float32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionErrorEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEventContext) HasAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEventContext) HasAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEventContext) HasReason ¶ added in v0.28.0

HasReason returns a boolean if a field has been set.

func (*AntiFraudDecisionErrorEventContext) HasStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (AntiFraudDecisionErrorEventContext) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionErrorEventContext) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionErrorEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudDecisionErrorEventContext) SetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudDecisionErrorEventContext) SetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudDecisionErrorEventContext) SetReason ¶ added in v0.28.0

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*AntiFraudDecisionErrorEventContext) SetStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionErrorEventContext) SetStatusCode(v float32)

SetStatusCode gets a reference to the given float32 and assigns it to the StatusCode field.

type AntiFraudDecisionEvent ¶ added in v0.28.0

type AntiFraudDecisionEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-decision`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                     `json:"created_at,omitempty"`
	Context   *AntiFraudDecisionEventContext `json:"context,omitempty"`
}

AntiFraudDecisionEvent This event logs the request and response details of HTTP calls made to an anti-fraud provider.

func NewAntiFraudDecisionEvent ¶ added in v0.28.0

func NewAntiFraudDecisionEvent() *AntiFraudDecisionEvent

NewAntiFraudDecisionEvent instantiates a new AntiFraudDecisionEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionEventWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionEventWithDefaults() *AntiFraudDecisionEvent

NewAntiFraudDecisionEventWithDefaults instantiates a new AntiFraudDecisionEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudDecisionEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEvent) GetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudDecisionEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEvent) GetId ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudDecisionEvent) GetIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEvent) GetName ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudDecisionEvent) GetNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEvent) GetType ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudDecisionEvent) GetTypeOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEvent) HasContext ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AntiFraudDecisionEvent) HasCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudDecisionEvent) HasId ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*AntiFraudDecisionEvent) HasName ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*AntiFraudDecisionEvent) HasType ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AntiFraudDecisionEvent) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionEvent) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given AntiFraudDecisionEventContext and assigns it to the Context field.

func (*AntiFraudDecisionEvent) SetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudDecisionEvent) SetId ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudDecisionEvent) SetName ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudDecisionEvent) SetType ¶ added in v0.28.0

func (o *AntiFraudDecisionEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudDecisionEventContext ¶ added in v0.28.0

type AntiFraudDecisionEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The external ID of the decision.
	AntiFraudServiceCheckId *string `json:"anti_fraud_service_check_id,omitempty"`
	// The HTTP body sent to fetch a decision.
	Request *string `json:"request,omitempty"`
	// The HTTP body received from the anti-fraud provider.
	Response *string `json:"response,omitempty"`
	// The HTTP response status code from the anti-fraud provider.
	ResponseStatusCode *float32 `json:"response_status_code,omitempty"`
	// The parsed decision response from the anti-fraud provider response.
	Decision *string `json:"decision,omitempty"`
}

AntiFraudDecisionEventContext Additional context for this event.

func NewAntiFraudDecisionEventContext ¶ added in v0.28.0

func NewAntiFraudDecisionEventContext() *AntiFraudDecisionEventContext

NewAntiFraudDecisionEventContext instantiates a new AntiFraudDecisionEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionEventContextWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionEventContextWithDefaults() *AntiFraudDecisionEventContext

NewAntiFraudDecisionEventContextWithDefaults instantiates a new AntiFraudDecisionEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceCheckId() string

GetAntiFraudServiceCheckId returns the AntiFraudServiceCheckId field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceCheckIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceCheckIdOk() (*string, bool)

GetAntiFraudServiceCheckIdOk returns a tuple with the AntiFraudServiceCheckId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetAntiFraudServiceNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetDecision ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetDecision() string

GetDecision returns the Decision field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetDecisionOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetDecisionOk() (*string, bool)

GetDecisionOk returns a tuple with the Decision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetRequest ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetRequestOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetResponse ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetResponseOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) GetResponseStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*AntiFraudDecisionEventContext) GetResponseStatusCodeOk ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionEventContext) HasAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasAntiFraudServiceCheckId() bool

HasAntiFraudServiceCheckId returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasDecision ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasDecision() bool

HasDecision returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasRequest ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasResponse ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*AntiFraudDecisionEventContext) HasResponseStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (AntiFraudDecisionEventContext) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionEventContext) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionEventContext) SetAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetAntiFraudServiceCheckId(v string)

SetAntiFraudServiceCheckId gets a reference to the given string and assigns it to the AntiFraudServiceCheckId field.

func (*AntiFraudDecisionEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudDecisionEventContext) SetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudDecisionEventContext) SetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudDecisionEventContext) SetDecision ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetDecision(v string)

SetDecision gets a reference to the given string and assigns it to the Decision field.

func (*AntiFraudDecisionEventContext) SetRequest ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*AntiFraudDecisionEventContext) SetResponse ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetResponse(v string)

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*AntiFraudDecisionEventContext) SetResponseStatusCode ¶ added in v0.28.0

func (o *AntiFraudDecisionEventContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given float32 and assigns it to the ResponseStatusCode field.

type AntiFraudDecisionSkippedEvent ¶ added in v0.28.0

type AntiFraudDecisionSkippedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-decision-skipped`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                            `json:"created_at,omitempty"`
	Context   *AntiFraudDecisionSkippedEventContext `json:"context,omitempty"`
}

AntiFraudDecisionSkippedEvent This event logs the reason why we skipped getting an anti-fraud decision.

func NewAntiFraudDecisionSkippedEvent ¶ added in v0.28.0

func NewAntiFraudDecisionSkippedEvent() *AntiFraudDecisionSkippedEvent

NewAntiFraudDecisionSkippedEvent instantiates a new AntiFraudDecisionSkippedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionSkippedEventWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionSkippedEventWithDefaults() *AntiFraudDecisionSkippedEvent

NewAntiFraudDecisionSkippedEventWithDefaults instantiates a new AntiFraudDecisionSkippedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionSkippedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEvent) GetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEvent) GetIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEvent) GetNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEvent) GetTypeOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEvent) HasContext ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEvent) HasCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEvent) HasName ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEvent) HasType ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AntiFraudDecisionSkippedEvent) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionSkippedEvent) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionSkippedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given AntiFraudDecisionSkippedEventContext and assigns it to the Context field.

func (*AntiFraudDecisionSkippedEvent) SetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudDecisionSkippedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudDecisionSkippedEvent) SetName ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudDecisionSkippedEvent) SetType ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudDecisionSkippedEventContext ¶ added in v0.28.0

type AntiFraudDecisionSkippedEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The reason we could not get the anti-fraud decision.
	Reason *string `json:"reason,omitempty"`
}

AntiFraudDecisionSkippedEventContext Additional context for this event.

func NewAntiFraudDecisionSkippedEventContext ¶ added in v0.28.0

func NewAntiFraudDecisionSkippedEventContext() *AntiFraudDecisionSkippedEventContext

NewAntiFraudDecisionSkippedEventContext instantiates a new AntiFraudDecisionSkippedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudDecisionSkippedEventContextWithDefaults ¶ added in v0.28.0

func NewAntiFraudDecisionSkippedEventContextWithDefaults() *AntiFraudDecisionSkippedEventContext

NewAntiFraudDecisionSkippedEventContextWithDefaults instantiates a new AntiFraudDecisionSkippedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceIdOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceNameOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEventContext) GetReason ¶ added in v0.28.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*AntiFraudDecisionSkippedEventContext) GetReasonOk ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudDecisionSkippedEventContext) HasReason ¶ added in v0.28.0

HasReason returns a boolean if a field has been set.

func (AntiFraudDecisionSkippedEventContext) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudDecisionSkippedEventContext) MarshalJSON() ([]byte, error)

func (*AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudDecisionSkippedEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudDecisionSkippedEventContext) SetReason ¶ added in v0.28.0

SetReason gets a reference to the given string and assigns it to the Reason field.

type AntiFraudServiceCreate ¶ added in v0.19.0

type AntiFraudServiceCreate struct {
	// The name of the Anti-Fraud service provider. During update request, this value is used for validation only but the underlying service can not be changed for an existing service.
	AntiFraudServiceDefinitionId string `json:"anti_fraud_service_definition_id"`
	// A unique name for this anti-fraud service which is used in the Gr4vy admin panel to give a anti-fraud Service a human readable name.
	DisplayName string `json:"display_name"`
	// Defines if this service is currently active or not. There can only be one active service at any time. When updating a service to active, the current active service will be deactivated.
	Active *bool `json:"active,omitempty"`
	// Defines if this service needs to handle the review status from anti-fraud responses with a proper review workflow. If not, the review status will be treated as any other one.
	ReviewsEnabled *bool `json:"reviews_enabled,omitempty"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this anti-fraud service e.g. for Sift `api_key` must be sent within this field when creating the service.  For updates, only the fields sent here will be updated, existing ones will not be affected if not present.
	Fields []AntiFraudServiceUpdateFields `json:"fields"`
}

AntiFraudServiceCreate A request to create an anti-fraud service.

func NewAntiFraudServiceCreate ¶ added in v0.19.0

func NewAntiFraudServiceCreate(antiFraudServiceDefinitionId string, displayName string, fields []AntiFraudServiceUpdateFields) *AntiFraudServiceCreate

NewAntiFraudServiceCreate instantiates a new AntiFraudServiceCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudServiceCreateWithDefaults ¶ added in v0.19.0

func NewAntiFraudServiceCreateWithDefaults() *AntiFraudServiceCreate

NewAntiFraudServiceCreateWithDefaults instantiates a new AntiFraudServiceCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudServiceCreate) GetActive ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*AntiFraudServiceCreate) GetActiveOk ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceCreate) GetAntiFraudServiceDefinitionId ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value

func (*AntiFraudServiceCreate) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value and a boolean to check if the value has been set.

func (*AntiFraudServiceCreate) GetDisplayName ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AntiFraudServiceCreate) GetDisplayNameOk ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*AntiFraudServiceCreate) GetFields ¶ added in v0.19.0

GetFields returns the Fields field value

func (*AntiFraudServiceCreate) GetFieldsOk ¶ added in v0.19.0

GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.

func (*AntiFraudServiceCreate) GetReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceCreate) GetReviewsEnabled() bool

GetReviewsEnabled returns the ReviewsEnabled field value if set, zero value otherwise.

func (*AntiFraudServiceCreate) GetReviewsEnabledOk ¶ added in v0.27.0

func (o *AntiFraudServiceCreate) GetReviewsEnabledOk() (*bool, bool)

GetReviewsEnabledOk returns a tuple with the ReviewsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceCreate) HasActive ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*AntiFraudServiceCreate) HasReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceCreate) HasReviewsEnabled() bool

HasReviewsEnabled returns a boolean if a field has been set.

func (AntiFraudServiceCreate) MarshalJSON ¶ added in v0.19.0

func (o AntiFraudServiceCreate) MarshalJSON() ([]byte, error)

func (*AntiFraudServiceCreate) SetActive ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*AntiFraudServiceCreate) SetAntiFraudServiceDefinitionId ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId sets field value

func (*AntiFraudServiceCreate) SetDisplayName ¶ added in v0.19.0

func (o *AntiFraudServiceCreate) SetDisplayName(v string)

SetDisplayName sets field value

func (*AntiFraudServiceCreate) SetFields ¶ added in v0.19.0

SetFields sets field value

func (*AntiFraudServiceCreate) SetReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceCreate) SetReviewsEnabled(v bool)

SetReviewsEnabled gets a reference to the given bool and assigns it to the ReviewsEnabled field.

type AntiFraudServiceUpdate ¶ added in v0.19.0

type AntiFraudServiceUpdate struct {
	// The name of the Anti-Fraud service provider. During update request, this value is used for validation only but the underlying service can not be changed for an existing service.
	AntiFraudServiceDefinitionId string `json:"anti_fraud_service_definition_id"`
	// A unique name for this anti-fraud service which is used in the Gr4vy admin panel to give a anti-fraud Service a human readable name.
	DisplayName *string `json:"display_name,omitempty"`
	// Defines if this service is currently active or not. There can only be one active service at any time. When updating a service to active, the current active service will be deactivated.
	Active *bool `json:"active,omitempty"`
	// Defines if this service needs to handle the review status from anti-fraud responses with a proper review workflow. If not, the review status will be treated as any other one.
	ReviewsEnabled *bool `json:"reviews_enabled,omitempty"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this anti-fraud service e.g. for Sift `api_key` must be sent within this field when creating the service.  For updates, only the fields sent here will be updated, existing ones will not be affected if not present.
	Fields *[]AntiFraudServiceUpdateFields `json:"fields,omitempty"`
}

AntiFraudServiceUpdate A request to update an anti-fraud service.

func NewAntiFraudServiceUpdate ¶ added in v0.19.0

func NewAntiFraudServiceUpdate(antiFraudServiceDefinitionId string) *AntiFraudServiceUpdate

NewAntiFraudServiceUpdate instantiates a new AntiFraudServiceUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudServiceUpdateWithDefaults ¶ added in v0.19.0

func NewAntiFraudServiceUpdateWithDefaults() *AntiFraudServiceUpdate

NewAntiFraudServiceUpdateWithDefaults instantiates a new AntiFraudServiceUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudServiceUpdate) GetActive ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*AntiFraudServiceUpdate) GetActiveOk ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdate) GetAntiFraudServiceDefinitionId ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value

func (*AntiFraudServiceUpdate) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdate) GetDisplayName ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*AntiFraudServiceUpdate) GetDisplayNameOk ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdate) GetFields ¶ added in v0.19.0

GetFields returns the Fields field value if set, zero value otherwise.

func (*AntiFraudServiceUpdate) GetFieldsOk ¶ added in v0.19.0

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdate) GetReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceUpdate) GetReviewsEnabled() bool

GetReviewsEnabled returns the ReviewsEnabled field value if set, zero value otherwise.

func (*AntiFraudServiceUpdate) GetReviewsEnabledOk ¶ added in v0.27.0

func (o *AntiFraudServiceUpdate) GetReviewsEnabledOk() (*bool, bool)

GetReviewsEnabledOk returns a tuple with the ReviewsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdate) HasActive ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*AntiFraudServiceUpdate) HasDisplayName ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*AntiFraudServiceUpdate) HasFields ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*AntiFraudServiceUpdate) HasReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceUpdate) HasReviewsEnabled() bool

HasReviewsEnabled returns a boolean if a field has been set.

func (AntiFraudServiceUpdate) MarshalJSON ¶ added in v0.19.0

func (o AntiFraudServiceUpdate) MarshalJSON() ([]byte, error)

func (*AntiFraudServiceUpdate) SetActive ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*AntiFraudServiceUpdate) SetAntiFraudServiceDefinitionId ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId sets field value

func (*AntiFraudServiceUpdate) SetDisplayName ¶ added in v0.19.0

func (o *AntiFraudServiceUpdate) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*AntiFraudServiceUpdate) SetFields ¶ added in v0.19.0

SetFields gets a reference to the given []AntiFraudServiceUpdateFields and assigns it to the Fields field.

func (*AntiFraudServiceUpdate) SetReviewsEnabled ¶ added in v0.27.0

func (o *AntiFraudServiceUpdate) SetReviewsEnabled(v bool)

SetReviewsEnabled gets a reference to the given bool and assigns it to the ReviewsEnabled field.

type AntiFraudServiceUpdateFields ¶ added in v0.19.0

type AntiFraudServiceUpdateFields struct {
	// The key of the field to set a value for.
	Key string `json:"key"`
	// The value of a field to set.
	Value string `json:"value"`
}

AntiFraudServiceUpdateFields A key-value pair that represents a field defined in the definition for this anti-fraud service.

func NewAntiFraudServiceUpdateFields ¶ added in v0.19.0

func NewAntiFraudServiceUpdateFields(key string, value string) *AntiFraudServiceUpdateFields

NewAntiFraudServiceUpdateFields instantiates a new AntiFraudServiceUpdateFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudServiceUpdateFieldsWithDefaults ¶ added in v0.19.0

func NewAntiFraudServiceUpdateFieldsWithDefaults() *AntiFraudServiceUpdateFields

NewAntiFraudServiceUpdateFieldsWithDefaults instantiates a new AntiFraudServiceUpdateFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudServiceUpdateFields) GetKey ¶ added in v0.19.0

GetKey returns the Key field value

func (*AntiFraudServiceUpdateFields) GetKeyOk ¶ added in v0.19.0

func (o *AntiFraudServiceUpdateFields) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*AntiFraudServiceUpdateFields) GetValue ¶ added in v0.19.0

func (o *AntiFraudServiceUpdateFields) GetValue() string

GetValue returns the Value field value

func (*AntiFraudServiceUpdateFields) GetValueOk ¶ added in v0.19.0

func (o *AntiFraudServiceUpdateFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (AntiFraudServiceUpdateFields) MarshalJSON ¶ added in v0.19.0

func (o AntiFraudServiceUpdateFields) MarshalJSON() ([]byte, error)

func (*AntiFraudServiceUpdateFields) SetKey ¶ added in v0.19.0

func (o *AntiFraudServiceUpdateFields) SetKey(v string)

SetKey sets field value

func (*AntiFraudServiceUpdateFields) SetValue ¶ added in v0.19.0

func (o *AntiFraudServiceUpdateFields) SetValue(v string)

SetValue sets field value

type AntiFraudTransactionStatusUpdateErrorEvent ¶ added in v0.31.0

type AntiFraudTransactionStatusUpdateErrorEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-transaction-status-update-error`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction event was created in our system.
	CreatedAt *time.Time                                         `json:"created_at,omitempty"`
	Context   *AntiFraudTransactionStatusUpdateErrorEventContext `json:"context,omitempty"`
}

AntiFraudTransactionStatusUpdateErrorEvent This event logs the reason why we were unable to update an anti-fraud decision.

func NewAntiFraudTransactionStatusUpdateErrorEvent ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateErrorEvent() *AntiFraudTransactionStatusUpdateErrorEvent

NewAntiFraudTransactionStatusUpdateErrorEvent instantiates a new AntiFraudTransactionStatusUpdateErrorEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudTransactionStatusUpdateErrorEventWithDefaults ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateErrorEventWithDefaults() *AntiFraudTransactionStatusUpdateErrorEvent

NewAntiFraudTransactionStatusUpdateErrorEventWithDefaults instantiates a new AntiFraudTransactionStatusUpdateErrorEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetCreatedAt ¶ added in v0.31.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetCreatedAtOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetNameOk ¶ added in v0.31.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEvent) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) HasContext ¶ added in v0.31.0

HasContext returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) HasCreatedAt ¶ added in v0.31.0

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEvent) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (AntiFraudTransactionStatusUpdateErrorEvent) MarshalJSON ¶ added in v0.31.0

func (*AntiFraudTransactionStatusUpdateErrorEvent) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given AntiFraudTransactionStatusUpdateErrorEventContext and assigns it to the Context field.

func (*AntiFraudTransactionStatusUpdateErrorEvent) SetCreatedAt ¶ added in v0.31.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudTransactionStatusUpdateErrorEvent) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudTransactionStatusUpdateErrorEvent) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudTransactionStatusUpdateErrorEvent) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudTransactionStatusUpdateErrorEventContext ¶ added in v0.31.0

type AntiFraudTransactionStatusUpdateErrorEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The reason we could not get the anti-fraud decision.
	Reason *string `json:"reason,omitempty"`
	// The HTTP body sent to fetch a decision.
	Request NullableString `json:"request,omitempty"`
	// The HTTP body received from the anti-fraud provider.
	Response NullableString `json:"response,omitempty"`
	// The HTTP response status code from the anti-fraud provider.
	ResponseStatusCode NullableFloat32 `json:"response_status_code,omitempty"`
}

AntiFraudTransactionStatusUpdateErrorEventContext Additional context for this event.

func NewAntiFraudTransactionStatusUpdateErrorEventContext ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateErrorEventContext() *AntiFraudTransactionStatusUpdateErrorEventContext

NewAntiFraudTransactionStatusUpdateErrorEventContext instantiates a new AntiFraudTransactionStatusUpdateErrorEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudTransactionStatusUpdateErrorEventContextWithDefaults ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateErrorEventContextWithDefaults() *AntiFraudTransactionStatusUpdateErrorEventContext

NewAntiFraudTransactionStatusUpdateErrorEventContextWithDefaults instantiates a new AntiFraudTransactionStatusUpdateErrorEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceIdOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceNameOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetReason ¶ added in v0.31.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetReasonOk ¶ added in v0.31.0

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetRequest ¶ added in v0.31.0

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetRequestOk ¶ added in v0.31.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetResponse ¶ added in v0.31.0

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetResponseOk ¶ added in v0.31.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetResponseStatusCode ¶ added in v0.31.0

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AntiFraudTransactionStatusUpdateErrorEventContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasReason ¶ added in v0.31.0

HasReason returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasRequest ¶ added in v0.31.0

HasRequest returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasResponse ¶ added in v0.31.0

HasResponse returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (AntiFraudTransactionStatusUpdateErrorEventContext) MarshalJSON ¶ added in v0.31.0

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetReason ¶ added in v0.31.0

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetRequest ¶ added in v0.31.0

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetRequestNil ¶ added in v0.31.0

SetRequestNil sets the value for Request to be an explicit nil

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetResponse ¶ added in v0.31.0

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetResponseNil ¶ added in v0.31.0

SetResponseNil sets the value for Response to be an explicit nil

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given NullableFloat32 and assigns it to the ResponseStatusCode field.

func (*AntiFraudTransactionStatusUpdateErrorEventContext) SetResponseStatusCodeNil ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*AntiFraudTransactionStatusUpdateErrorEventContext) UnsetRequest ¶ added in v0.31.0

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*AntiFraudTransactionStatusUpdateErrorEventContext) UnsetResponse ¶ added in v0.31.0

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*AntiFraudTransactionStatusUpdateErrorEventContext) UnsetResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateErrorEventContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

type AntiFraudTransactionStatusUpdateEvent ¶ added in v0.31.0

type AntiFraudTransactionStatusUpdateEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-transaction-status-update`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction event was created in our system.
	CreatedAt *time.Time                                    `json:"created_at,omitempty"`
	Context   *AntiFraudTransactionStatusUpdateEventContext `json:"context,omitempty"`
}

AntiFraudTransactionStatusUpdateEvent This event logs the request and response details of HTTP calls made to an anti-fraud provider to update a decision.

func NewAntiFraudTransactionStatusUpdateEvent ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateEvent() *AntiFraudTransactionStatusUpdateEvent

NewAntiFraudTransactionStatusUpdateEvent instantiates a new AntiFraudTransactionStatusUpdateEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudTransactionStatusUpdateEventWithDefaults ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateEventWithDefaults() *AntiFraudTransactionStatusUpdateEvent

NewAntiFraudTransactionStatusUpdateEventWithDefaults instantiates a new AntiFraudTransactionStatusUpdateEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudTransactionStatusUpdateEvent) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEvent) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEvent) GetCreatedAt ¶ added in v0.31.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEvent) GetCreatedAtOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEvent) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEvent) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEvent) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEvent) GetNameOk ¶ added in v0.31.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEvent) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEvent) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEvent) HasContext ¶ added in v0.31.0

HasContext returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEvent) HasCreatedAt ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEvent) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEvent) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEvent) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (AntiFraudTransactionStatusUpdateEvent) MarshalJSON ¶ added in v0.31.0

func (o AntiFraudTransactionStatusUpdateEvent) MarshalJSON() ([]byte, error)

func (*AntiFraudTransactionStatusUpdateEvent) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given AntiFraudTransactionStatusUpdateEventContext and assigns it to the Context field.

func (*AntiFraudTransactionStatusUpdateEvent) SetCreatedAt ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudTransactionStatusUpdateEvent) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudTransactionStatusUpdateEvent) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudTransactionStatusUpdateEvent) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudTransactionStatusUpdateEventContext ¶ added in v0.31.0

type AntiFraudTransactionStatusUpdateEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The HTTP body sent to fetch a decision.
	Request *string `json:"request,omitempty"`
	// The HTTP body received from the anti-fraud provider.
	Response *string `json:"response,omitempty"`
	// The HTTP response status code from the anti-fraud provider.
	ResponseStatusCode *float32 `json:"response_status_code,omitempty"`
}

AntiFraudTransactionStatusUpdateEventContext Additional context for this event.

func NewAntiFraudTransactionStatusUpdateEventContext ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateEventContext() *AntiFraudTransactionStatusUpdateEventContext

NewAntiFraudTransactionStatusUpdateEventContext instantiates a new AntiFraudTransactionStatusUpdateEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudTransactionStatusUpdateEventContextWithDefaults ¶ added in v0.31.0

func NewAntiFraudTransactionStatusUpdateEventContextWithDefaults() *AntiFraudTransactionStatusUpdateEventContext

NewAntiFraudTransactionStatusUpdateEventContextWithDefaults instantiates a new AntiFraudTransactionStatusUpdateEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceIdOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceNameOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) GetRequest ¶ added in v0.31.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetRequestOk ¶ added in v0.31.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) GetResponse ¶ added in v0.31.0

GetResponse returns the Response field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetResponseOk ¶ added in v0.31.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*AntiFraudTransactionStatusUpdateEventContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasRequest ¶ added in v0.31.0

HasRequest returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasResponse ¶ added in v0.31.0

HasResponse returns a boolean if a field has been set.

func (*AntiFraudTransactionStatusUpdateEventContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (AntiFraudTransactionStatusUpdateEventContext) MarshalJSON ¶ added in v0.31.0

func (*AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceId ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceName ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudTransactionStatusUpdateEventContext) SetRequest ¶ added in v0.31.0

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*AntiFraudTransactionStatusUpdateEventContext) SetResponse ¶ added in v0.31.0

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*AntiFraudTransactionStatusUpdateEventContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *AntiFraudTransactionStatusUpdateEventContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given float32 and assigns it to the ResponseStatusCode field.

type AntiFraudWebhookEvent ¶ added in v0.28.0

type AntiFraudWebhookEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `anti-fraud-webhook`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                    `json:"created_at,omitempty"`
	Context   *AntiFraudWebhookEventContext `json:"context,omitempty"`
}

AntiFraudWebhookEvent This event logs the webhook received when an anti-fraud decision is updated.

func NewAntiFraudWebhookEvent ¶ added in v0.28.0

func NewAntiFraudWebhookEvent() *AntiFraudWebhookEvent

NewAntiFraudWebhookEvent instantiates a new AntiFraudWebhookEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudWebhookEventWithDefaults ¶ added in v0.28.0

func NewAntiFraudWebhookEventWithDefaults() *AntiFraudWebhookEvent

NewAntiFraudWebhookEventWithDefaults instantiates a new AntiFraudWebhookEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudWebhookEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*AntiFraudWebhookEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEvent) GetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AntiFraudWebhookEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEvent) GetId ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AntiFraudWebhookEvent) GetIdOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEvent) GetName ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AntiFraudWebhookEvent) GetNameOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEvent) GetType ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AntiFraudWebhookEvent) GetTypeOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEvent) HasContext ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AntiFraudWebhookEvent) HasCreatedAt ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AntiFraudWebhookEvent) HasId ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*AntiFraudWebhookEvent) HasName ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*AntiFraudWebhookEvent) HasType ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AntiFraudWebhookEvent) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudWebhookEvent) MarshalJSON() ([]byte, error)

func (*AntiFraudWebhookEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given AntiFraudWebhookEventContext and assigns it to the Context field.

func (*AntiFraudWebhookEvent) SetCreatedAt ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AntiFraudWebhookEvent) SetId ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AntiFraudWebhookEvent) SetName ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AntiFraudWebhookEvent) SetType ¶ added in v0.28.0

func (o *AntiFraudWebhookEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AntiFraudWebhookEventContext ¶ added in v0.28.0

type AntiFraudWebhookEventContext struct {
	// The unique ID of the anti-fraud service used.
	AntiFraudServiceId *string `json:"anti_fraud_service_id,omitempty"`
	// The name of the anti-fraud service used.
	AntiFraudServiceName *string `json:"anti_fraud_service_name,omitempty"`
	// The anti-fraud service definition used.
	AntiFraudServiceDefinitionId *string `json:"anti_fraud_service_definition_id,omitempty"`
	// The external ID of the decision that's being updated.
	AntiFraudServiceCheckId *string `json:"anti_fraud_service_check_id,omitempty"`
	// The raw payload sent as a webhook.
	Content *string `json:"content,omitempty"`
	// The content type of the payload sent as a webhook.
	ContentType *string `json:"content_type,omitempty"`
	// The parsed decision response from the anti-fraud provider webhook.
	Decision *string `json:"decision,omitempty"`
	// Any comment that may have come with the webhook event.
	Comment *string `json:"comment,omitempty"`
}

AntiFraudWebhookEventContext Additional context for this event.

func NewAntiFraudWebhookEventContext ¶ added in v0.28.0

func NewAntiFraudWebhookEventContext() *AntiFraudWebhookEventContext

NewAntiFraudWebhookEventContext instantiates a new AntiFraudWebhookEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAntiFraudWebhookEventContextWithDefaults ¶ added in v0.28.0

func NewAntiFraudWebhookEventContextWithDefaults() *AntiFraudWebhookEventContext

NewAntiFraudWebhookEventContextWithDefaults instantiates a new AntiFraudWebhookEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceCheckId() string

GetAntiFraudServiceCheckId returns the AntiFraudServiceCheckId field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceCheckIdOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceCheckIdOk() (*string, bool)

GetAntiFraudServiceCheckIdOk returns a tuple with the AntiFraudServiceCheckId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceDefinitionId() string

GetAntiFraudServiceDefinitionId returns the AntiFraudServiceDefinitionId field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceDefinitionIdOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceDefinitionIdOk() (*string, bool)

GetAntiFraudServiceDefinitionIdOk returns a tuple with the AntiFraudServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceId() string

GetAntiFraudServiceId returns the AntiFraudServiceId field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceIdOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceIdOk() (*string, bool)

GetAntiFraudServiceIdOk returns a tuple with the AntiFraudServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceName() string

GetAntiFraudServiceName returns the AntiFraudServiceName field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetAntiFraudServiceNameOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetAntiFraudServiceNameOk() (*string, bool)

GetAntiFraudServiceNameOk returns a tuple with the AntiFraudServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetComment ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetCommentOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetContent ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetContentOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetContentType ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetContentTypeOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) GetDecision ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetDecision() string

GetDecision returns the Decision field value if set, zero value otherwise.

func (*AntiFraudWebhookEventContext) GetDecisionOk ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) GetDecisionOk() (*string, bool)

GetDecisionOk returns a tuple with the Decision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AntiFraudWebhookEventContext) HasAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasAntiFraudServiceCheckId() bool

HasAntiFraudServiceCheckId returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasAntiFraudServiceDefinitionId() bool

HasAntiFraudServiceDefinitionId returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasAntiFraudServiceId() bool

HasAntiFraudServiceId returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasAntiFraudServiceName() bool

HasAntiFraudServiceName returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasComment ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasContent ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasContentType ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*AntiFraudWebhookEventContext) HasDecision ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) HasDecision() bool

HasDecision returns a boolean if a field has been set.

func (AntiFraudWebhookEventContext) MarshalJSON ¶ added in v0.28.0

func (o AntiFraudWebhookEventContext) MarshalJSON() ([]byte, error)

func (*AntiFraudWebhookEventContext) SetAntiFraudServiceCheckId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetAntiFraudServiceCheckId(v string)

SetAntiFraudServiceCheckId gets a reference to the given string and assigns it to the AntiFraudServiceCheckId field.

func (*AntiFraudWebhookEventContext) SetAntiFraudServiceDefinitionId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetAntiFraudServiceDefinitionId(v string)

SetAntiFraudServiceDefinitionId gets a reference to the given string and assigns it to the AntiFraudServiceDefinitionId field.

func (*AntiFraudWebhookEventContext) SetAntiFraudServiceId ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetAntiFraudServiceId(v string)

SetAntiFraudServiceId gets a reference to the given string and assigns it to the AntiFraudServiceId field.

func (*AntiFraudWebhookEventContext) SetAntiFraudServiceName ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetAntiFraudServiceName(v string)

SetAntiFraudServiceName gets a reference to the given string and assigns it to the AntiFraudServiceName field.

func (*AntiFraudWebhookEventContext) SetComment ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*AntiFraudWebhookEventContext) SetContent ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*AntiFraudWebhookEventContext) SetContentType ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*AntiFraudWebhookEventContext) SetDecision ¶ added in v0.28.0

func (o *AntiFraudWebhookEventContext) SetDecision(v string)

SetDecision gets a reference to the given string and assigns it to the Decision field.

type ApiCaptureTransactionRequest ¶ added in v0.2.1

type ApiCaptureTransactionRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiCaptureTransactionRequest) Execute ¶ added in v0.2.1

func (ApiCaptureTransactionRequest) TransactionCaptureRequest ¶ added in v0.2.1

func (r ApiCaptureTransactionRequest) TransactionCaptureRequest(transactionCaptureRequest TransactionCaptureRequest) ApiCaptureTransactionRequest

type ApiCheckGiftCardBalancesRequest ¶ added in v0.31.0

type ApiCheckGiftCardBalancesRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiCheckGiftCardBalancesRequest) Execute ¶ added in v0.31.0

func (ApiCheckGiftCardBalancesRequest) GiftCardBalancesRequest ¶ added in v0.31.0

func (r ApiCheckGiftCardBalancesRequest) GiftCardBalancesRequest(giftCardBalancesRequest GiftCardBalancesRequest) ApiCheckGiftCardBalancesRequest

type ApiDeleteBuyerRequest ¶ added in v0.2.1

type ApiDeleteBuyerRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBuyerRequest) Execute ¶ added in v0.2.1

func (r ApiDeleteBuyerRequest) Execute() (*_nethttp.Response, error)

type ApiDeleteBuyerShippingDetailRequest ¶ added in v0.22.0

type ApiDeleteBuyerShippingDetailRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBuyerShippingDetailRequest) Execute ¶ added in v0.22.0

type ApiDeleteCheckoutSessionRequest ¶ added in v0.19.0

type ApiDeleteCheckoutSessionRequest struct {
	ApiService *CheckoutSessionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteCheckoutSessionRequest) Execute ¶ added in v0.19.0

type ApiDeleteDigitalWalletRequest ¶ added in v0.27.0

type ApiDeleteDigitalWalletRequest struct {
	ApiService *DigitalWalletsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDigitalWalletRequest) Execute ¶ added in v0.27.0

type ApiDeleteGiftCardRequest ¶ added in v0.31.0

type ApiDeleteGiftCardRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGiftCardRequest) Execute ¶ added in v0.31.0

type ApiDeleteGiftCardServiceRequest ¶ added in v0.31.0

type ApiDeleteGiftCardServiceRequest struct {
	ApiService *GiftCardServicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGiftCardServiceRequest) Execute ¶ added in v0.31.0

type ApiDeleteMerchantAccuontRequest ¶ added in v0.22.0

type ApiDeleteMerchantAccuontRequest struct {
	ApiService *MerchantAccountsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMerchantAccuontRequest) Execute ¶ added in v0.22.0

type ApiDeleteNetworkTokenRequest ¶ added in v0.27.0

type ApiDeleteNetworkTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiDeleteNetworkTokenRequest) Execute ¶ added in v0.27.0

type ApiDeletePaymentMethodRequest ¶ added in v0.2.1

type ApiDeletePaymentMethodRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentMethodRequest) Execute ¶ added in v0.2.1

type ApiDeletePaymentServiceRequest ¶ added in v0.2.1

type ApiDeletePaymentServiceRequest struct {
	ApiService *PaymentServicesApiService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentServiceRequest) Execute ¶ added in v0.2.1

type ApiDeletePaymentServiceTokenRequest ¶ added in v0.27.0

type ApiDeletePaymentServiceTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentServiceTokenRequest) Execute ¶ added in v0.27.0

type ApiDeleteRoleAssignmentRequest ¶ added in v0.22.0

type ApiDeleteRoleAssignmentRequest struct {
	ApiService *RolesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRoleAssignmentRequest) Execute ¶ added in v0.22.0

type ApiGenerateDownloadUrlRequest ¶ added in v0.21.0

type ApiGenerateDownloadUrlRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiGenerateDownloadUrlRequest) Execute ¶ added in v0.21.0

type ApiGetBuyerRequest ¶ added in v0.2.1

type ApiGetBuyerRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiGetBuyerRequest) Execute ¶ added in v0.2.1

func (r ApiGetBuyerRequest) Execute() (Buyer, *_nethttp.Response, error)

type ApiGetCheckoutSessionRequest ¶ added in v0.19.0

type ApiGetCheckoutSessionRequest struct {
	ApiService *CheckoutSessionsApiService
	// contains filtered or unexported fields
}

func (ApiGetCheckoutSessionRequest) Execute ¶ added in v0.19.0

type ApiGetDigitalWalletRequest ¶ added in v0.7.0

type ApiGetDigitalWalletRequest struct {
	ApiService *DigitalWalletsApiService
	// contains filtered or unexported fields
}

func (ApiGetDigitalWalletRequest) Execute ¶ added in v0.7.0

type ApiGetGiftCardRequest ¶ added in v0.31.0

type ApiGetGiftCardRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiGetGiftCardRequest) Execute ¶ added in v0.31.0

type ApiGetGiftCardServiceDefinitionRequest ¶ added in v0.31.0

type ApiGetGiftCardServiceDefinitionRequest struct {
	ApiService *GiftCardServiceDefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiGetGiftCardServiceDefinitionRequest) Execute ¶ added in v0.31.0

type ApiGetGiftCardServiceRequest ¶ added in v0.31.0

type ApiGetGiftCardServiceRequest struct {
	ApiService *GiftCardServicesApiService
	// contains filtered or unexported fields
}

func (ApiGetGiftCardServiceRequest) Execute ¶ added in v0.31.0

type ApiGetMerchantAccountRequest ¶ added in v0.31.0

type ApiGetMerchantAccountRequest struct {
	ApiService *MerchantAccountsApiService
	// contains filtered or unexported fields
}

func (ApiGetMerchantAccountRequest) Execute ¶ added in v0.31.0

type ApiGetNetworkTokensRequest ¶ added in v0.27.0

type ApiGetNetworkTokensRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiGetNetworkTokensRequest) Execute ¶ added in v0.27.0

func (ApiGetNetworkTokensRequest) PaymentMethodId2 ¶ added in v0.27.0

func (r ApiGetNetworkTokensRequest) PaymentMethodId2(paymentMethodId2 string) ApiGetNetworkTokensRequest

type ApiGetPaymentMethodRequest ¶ added in v0.2.1

type ApiGetPaymentMethodRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentMethodRequest) Execute ¶ added in v0.2.1

type ApiGetPaymentServiceDefinitionRequest ¶ added in v0.2.1

type ApiGetPaymentServiceDefinitionRequest struct {
	ApiService *PaymentServiceDefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentServiceDefinitionRequest) Execute ¶ added in v0.2.1

type ApiGetPaymentServiceRequest ¶ added in v0.2.1

type ApiGetPaymentServiceRequest struct {
	ApiService *PaymentServicesApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentServiceRequest) Execute ¶ added in v0.2.1

type ApiGetPaymentServiceTokensRequest ¶ added in v0.27.0

type ApiGetPaymentServiceTokensRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiGetPaymentServiceTokensRequest) Execute ¶ added in v0.27.0

func (ApiGetPaymentServiceTokensRequest) PaymentMethodId2 ¶ added in v0.27.0

func (r ApiGetPaymentServiceTokensRequest) PaymentMethodId2(paymentMethodId2 string) ApiGetPaymentServiceTokensRequest

type ApiGetRefundRequest ¶ added in v0.27.0

type ApiGetRefundRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiGetRefundRequest) Execute ¶ added in v0.27.0

type ApiGetReportExecutionRequest ¶ added in v0.21.0

type ApiGetReportExecutionRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiGetReportExecutionRequest) Execute ¶ added in v0.21.0

type ApiGetReportRequest ¶ added in v0.21.0

type ApiGetReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiGetReportRequest) Execute ¶ added in v0.21.0

type ApiGetTransactionRequest ¶ added in v0.2.1

type ApiGetTransactionRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiGetTransactionRequest) Execute ¶ added in v0.2.1

type ApiIssueCryptogramRequest ¶ added in v0.27.0

type ApiIssueCryptogramRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiIssueCryptogramRequest) Execute ¶ added in v0.27.0

func (ApiIssueCryptogramRequest) IssueCryptogramRequest ¶ added in v0.27.0

func (r ApiIssueCryptogramRequest) IssueCryptogramRequest(issueCryptogramRequest IssueCryptogramRequest) ApiIssueCryptogramRequest

type ApiListAllReportExecutionsRequest ¶ added in v0.21.0

type ApiListAllReportExecutionsRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiListAllReportExecutionsRequest) CreatedAtGte ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) CreatedAtLte ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) CreatorId ¶ added in v0.27.0

func (ApiListAllReportExecutionsRequest) Cursor ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) Execute ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) Limit ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) ReportName ¶ added in v0.21.0

func (ApiListAllReportExecutionsRequest) Status ¶ added in v0.22.0

type ApiListApiLogsRequest ¶ added in v0.22.0

type ApiListApiLogsRequest struct {
	ApiService *APILogsApiService
	// contains filtered or unexported fields
}

func (ApiListApiLogsRequest) Execute ¶ added in v0.22.0

type ApiListAuditLogsRequest ¶ added in v0.19.0

type ApiListAuditLogsRequest struct {
	ApiService *AuditLogsApiService
	// contains filtered or unexported fields
}

func (ApiListAuditLogsRequest) Action ¶ added in v0.22.0

func (ApiListAuditLogsRequest) Cursor ¶ added in v0.19.0

func (ApiListAuditLogsRequest) Execute ¶ added in v0.19.0

func (ApiListAuditLogsRequest) Limit ¶ added in v0.19.0

func (ApiListAuditLogsRequest) ResourceType ¶ added in v0.22.0

func (r ApiListAuditLogsRequest) ResourceType(resourceType string) ApiListAuditLogsRequest

func (ApiListAuditLogsRequest) UserId ¶ added in v0.22.0

type ApiListBuyerGiftCardsRequest ¶ added in v0.31.0

type ApiListBuyerGiftCardsRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiListBuyerGiftCardsRequest) BuyerExternalIdentifier ¶ added in v0.31.0

func (r ApiListBuyerGiftCardsRequest) BuyerExternalIdentifier(buyerExternalIdentifier string) ApiListBuyerGiftCardsRequest

func (ApiListBuyerGiftCardsRequest) BuyerId ¶ added in v0.31.0

func (ApiListBuyerGiftCardsRequest) Execute ¶ added in v0.31.0

type ApiListBuyerPaymentMethodsRequest ¶ added in v0.2.1

type ApiListBuyerPaymentMethodsRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiListBuyerPaymentMethodsRequest) BuyerExternalIdentifier ¶ added in v0.2.1

func (r ApiListBuyerPaymentMethodsRequest) BuyerExternalIdentifier(buyerExternalIdentifier string) ApiListBuyerPaymentMethodsRequest

func (ApiListBuyerPaymentMethodsRequest) BuyerId ¶ added in v0.2.1

func (ApiListBuyerPaymentMethodsRequest) Country ¶ added in v0.2.1

func (ApiListBuyerPaymentMethodsRequest) Currency ¶ added in v0.2.1

func (ApiListBuyerPaymentMethodsRequest) Execute ¶ added in v0.2.1

type ApiListBuyerShippingDetailsRequest ¶ added in v0.27.0

type ApiListBuyerShippingDetailsRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiListBuyerShippingDetailsRequest) Execute ¶ added in v0.27.0

type ApiListBuyersRequest ¶ added in v0.2.1

type ApiListBuyersRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiListBuyersRequest) Cursor ¶ added in v0.2.1

func (ApiListBuyersRequest) Execute ¶ added in v0.2.1

func (ApiListBuyersRequest) ExternalIdentifier ¶ added in v0.32.0

func (r ApiListBuyersRequest) ExternalIdentifier(externalIdentifier string) ApiListBuyersRequest

func (ApiListBuyersRequest) Limit ¶ added in v0.2.1

func (ApiListBuyersRequest) Search ¶ added in v0.2.1

type ApiListCardSchemeDefinitionsRequest ¶ added in v0.19.0

type ApiListCardSchemeDefinitionsRequest struct {
	ApiService *CardSchemeDefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiListCardSchemeDefinitionsRequest) Execute ¶ added in v0.19.0

type ApiListDigitalWalletsRequest ¶ added in v0.7.0

type ApiListDigitalWalletsRequest struct {
	ApiService *DigitalWalletsApiService
	// contains filtered or unexported fields
}

func (ApiListDigitalWalletsRequest) Execute ¶ added in v0.7.0

type ApiListGiftCardsRequest ¶ added in v0.31.0

type ApiListGiftCardsRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiListGiftCardsRequest) BuyerExternalIdentifier ¶ added in v0.31.0

func (r ApiListGiftCardsRequest) BuyerExternalIdentifier(buyerExternalIdentifier string) ApiListGiftCardsRequest

func (ApiListGiftCardsRequest) BuyerId ¶ added in v0.31.0

func (ApiListGiftCardsRequest) Cursor ¶ added in v0.31.0

func (ApiListGiftCardsRequest) Execute ¶ added in v0.31.0

func (ApiListGiftCardsRequest) Limit ¶ added in v0.31.0

type ApiListMerchantAccountsRequest ¶ added in v0.22.0

type ApiListMerchantAccountsRequest struct {
	ApiService *MerchantAccountsApiService
	// contains filtered or unexported fields
}

func (ApiListMerchantAccountsRequest) Execute ¶ added in v0.22.0

type ApiListPaymentMethodDefinitionsRequest ¶ added in v0.19.0

type ApiListPaymentMethodDefinitionsRequest struct {
	ApiService *PaymentMethodDefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiListPaymentMethodDefinitionsRequest) Execute ¶ added in v0.19.0

type ApiListPaymentMethodsRequest ¶ added in v0.2.1

type ApiListPaymentMethodsRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiListPaymentMethodsRequest) BuyerExternalIdentifier ¶ added in v0.2.1

func (r ApiListPaymentMethodsRequest) BuyerExternalIdentifier(buyerExternalIdentifier string) ApiListPaymentMethodsRequest

func (ApiListPaymentMethodsRequest) BuyerId ¶ added in v0.2.1

func (ApiListPaymentMethodsRequest) Cursor ¶ added in v0.2.1

func (ApiListPaymentMethodsRequest) Execute ¶ added in v0.2.1

func (ApiListPaymentMethodsRequest) Limit ¶ added in v0.2.1

func (ApiListPaymentMethodsRequest) Status ¶ added in v0.14.0

type ApiListPaymentOptionsRequest ¶ added in v0.2.1

type ApiListPaymentOptionsRequest struct {
	ApiService *PaymentOptionsApiService
	// contains filtered or unexported fields
}

func (ApiListPaymentOptionsRequest) Amount ¶ added in v0.16.0

func (ApiListPaymentOptionsRequest) Country ¶ added in v0.2.1

func (ApiListPaymentOptionsRequest) Currency ¶ added in v0.2.1

func (ApiListPaymentOptionsRequest) Execute ¶ added in v0.2.1

func (ApiListPaymentOptionsRequest) Locale ¶ added in v0.2.1

func (ApiListPaymentOptionsRequest) Metadata ¶ added in v0.16.0

type ApiListPaymentServiceDefinitionsRequest ¶ added in v0.2.1

type ApiListPaymentServiceDefinitionsRequest struct {
	ApiService *PaymentServiceDefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiListPaymentServiceDefinitionsRequest) Cursor ¶ added in v0.2.1

func (ApiListPaymentServiceDefinitionsRequest) Execute ¶ added in v0.2.1

func (ApiListPaymentServiceDefinitionsRequest) Limit ¶ added in v0.2.1

type ApiListPaymentServicesRequest ¶ added in v0.2.1

type ApiListPaymentServicesRequest struct {
	ApiService *PaymentServicesApiService
	// contains filtered or unexported fields
}

func (ApiListPaymentServicesRequest) Cursor ¶ added in v0.2.1

func (ApiListPaymentServicesRequest) Deleted ¶ added in v0.19.0

func (ApiListPaymentServicesRequest) Execute ¶ added in v0.2.1

func (ApiListPaymentServicesRequest) Limit ¶ added in v0.2.1

func (ApiListPaymentServicesRequest) Method ¶ added in v0.2.1

type ApiListReportExecutionsRequest ¶ added in v0.21.0

type ApiListReportExecutionsRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiListReportExecutionsRequest) Cursor ¶ added in v0.21.0

func (ApiListReportExecutionsRequest) Execute ¶ added in v0.21.0

func (ApiListReportExecutionsRequest) Limit ¶ added in v0.21.0

type ApiListReportsRequest ¶ added in v0.21.0

type ApiListReportsRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiListReportsRequest) Cursor ¶ added in v0.21.0

func (ApiListReportsRequest) Execute ¶ added in v0.21.0

func (ApiListReportsRequest) Limit ¶ added in v0.21.0

func (ApiListReportsRequest) Name ¶ added in v0.21.0

func (ApiListReportsRequest) Schedule ¶ added in v0.21.0

func (r ApiListReportsRequest) Schedule(schedule []string) ApiListReportsRequest

func (ApiListReportsRequest) ScheduleEnabled ¶ added in v0.21.0

func (r ApiListReportsRequest) ScheduleEnabled(scheduleEnabled bool) ApiListReportsRequest

type ApiListRoleAssignmentsRequest ¶ added in v0.22.0

type ApiListRoleAssignmentsRequest struct {
	ApiService *RolesApiService
	// contains filtered or unexported fields
}

func (ApiListRoleAssignmentsRequest) AssigneeId ¶ added in v0.22.0

func (ApiListRoleAssignmentsRequest) AssigneeType ¶ added in v0.22.0

func (ApiListRoleAssignmentsRequest) Cursor ¶ added in v0.22.0

func (ApiListRoleAssignmentsRequest) Execute ¶ added in v0.22.0

func (ApiListRoleAssignmentsRequest) Limit ¶ added in v0.22.0

func (ApiListRoleAssignmentsRequest) RoleId ¶ added in v0.22.0

type ApiListRolesRequest ¶ added in v0.22.0

type ApiListRolesRequest struct {
	ApiService *RolesApiService
	// contains filtered or unexported fields
}

func (ApiListRolesRequest) Cursor ¶ added in v0.22.0

func (ApiListRolesRequest) Execute ¶ added in v0.22.0

func (r ApiListRolesRequest) Execute() (Roles, *_nethttp.Response, error)

func (ApiListRolesRequest) Limit ¶ added in v0.22.0

type ApiListTransactionRefundsRequest ¶ added in v0.14.0

type ApiListTransactionRefundsRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiListTransactionRefundsRequest) Execute ¶ added in v0.14.0

type ApiListTransactionsRequest ¶ added in v0.2.1

type ApiListTransactionsRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiListTransactionsRequest) AmountEq ¶ added in v0.19.0

func (ApiListTransactionsRequest) AmountGte ¶ added in v0.19.0

func (ApiListTransactionsRequest) AmountLte ¶ added in v0.19.0

func (ApiListTransactionsRequest) BuyerExternalIdentifier ¶ added in v0.2.1

func (r ApiListTransactionsRequest) BuyerExternalIdentifier(buyerExternalIdentifier string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) BuyerId ¶ added in v0.2.1

func (ApiListTransactionsRequest) CheckoutSessionId ¶ added in v0.27.0

func (r ApiListTransactionsRequest) CheckoutSessionId(checkoutSessionId string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) CreatedAtGte ¶ added in v0.19.0

func (r ApiListTransactionsRequest) CreatedAtGte(createdAtGte time.Time) ApiListTransactionsRequest

func (ApiListTransactionsRequest) CreatedAtLte ¶ added in v0.19.0

func (r ApiListTransactionsRequest) CreatedAtLte(createdAtLte time.Time) ApiListTransactionsRequest

func (ApiListTransactionsRequest) Currency ¶ added in v0.19.0

func (ApiListTransactionsRequest) Cursor ¶ added in v0.2.1

func (ApiListTransactionsRequest) Execute ¶ added in v0.2.1

func (ApiListTransactionsRequest) ExternalIdentifier ¶ added in v0.19.0

func (r ApiListTransactionsRequest) ExternalIdentifier(externalIdentifier string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) GiftCardId ¶ added in v0.31.0

func (ApiListTransactionsRequest) GiftCardLast4 ¶ added in v0.32.0

func (r ApiListTransactionsRequest) GiftCardLast4(giftCardLast4 string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) HasGiftCardRedemptions ¶ added in v0.31.0

func (r ApiListTransactionsRequest) HasGiftCardRedemptions(hasGiftCardRedemptions bool) ApiListTransactionsRequest

func (ApiListTransactionsRequest) HasRefunds ¶ added in v0.19.0

func (ApiListTransactionsRequest) Id ¶ added in v0.19.0

func (ApiListTransactionsRequest) Limit ¶ added in v0.2.1

func (ApiListTransactionsRequest) Metadata ¶ added in v0.19.0

func (ApiListTransactionsRequest) Method ¶ added in v0.19.0

func (ApiListTransactionsRequest) PaymentMethodId ¶ added in v0.21.0

func (r ApiListTransactionsRequest) PaymentMethodId(paymentMethodId string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) PaymentMethodLabel ¶ added in v0.22.0

func (r ApiListTransactionsRequest) PaymentMethodLabel(paymentMethodLabel string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) PaymentServiceId ¶ added in v0.19.0

func (r ApiListTransactionsRequest) PaymentServiceId(paymentServiceId []string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) PaymentServiceTransactionId ¶ added in v0.19.0

func (r ApiListTransactionsRequest) PaymentServiceTransactionId(paymentServiceTransactionId string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) PendingReview ¶ added in v0.27.0

func (r ApiListTransactionsRequest) PendingReview(pendingReview bool) ApiListTransactionsRequest

func (ApiListTransactionsRequest) ReconciliationId ¶ added in v0.31.0

func (r ApiListTransactionsRequest) ReconciliationId(reconciliationId string) ApiListTransactionsRequest

func (ApiListTransactionsRequest) Search ¶ added in v0.2.1

func (ApiListTransactionsRequest) Status ¶ added in v0.19.0

func (ApiListTransactionsRequest) UpdatedAtGte ¶ added in v0.19.0

func (r ApiListTransactionsRequest) UpdatedAtGte(updatedAtGte time.Time) ApiListTransactionsRequest

func (ApiListTransactionsRequest) UpdatedAtLte ¶ added in v0.19.0

func (r ApiListTransactionsRequest) UpdatedAtLte(updatedAtLte time.Time) ApiListTransactionsRequest

type ApiLog ¶ added in v0.22.0

type ApiLog struct {
	// `api-log`.
	Type *string `json:"type,omitempty"`
	// The ID of the API log entry.
	Id *string `json:"id,omitempty"`
	// The http request method that generated the log entry.
	RequestMethod *string `json:"request_method,omitempty"`
	// The http request URL which trigged the error log.
	RequestUrl *string `json:"request_url,omitempty"`
	// The date and time that the request was received.
	RequestReceivedAt *time.Time `json:"request_received_at,omitempty"`
	// The http request status code.
	ResponseStatusCode *float32            `json:"response_status_code,omitempty"`
	ResponseBody       *ApiLogResponseBody `json:"response_body,omitempty"`
	// date-time of when the response was sent.
	ResponseSentAt *time.Time `json:"response_sent_at,omitempty"`
}

ApiLog A log of an error that happened in the API call.

func NewApiLog ¶ added in v0.22.0

func NewApiLog() *ApiLog

NewApiLog instantiates a new ApiLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApiLogWithDefaults ¶ added in v0.22.0

func NewApiLogWithDefaults() *ApiLog

NewApiLogWithDefaults instantiates a new ApiLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApiLog) GetId ¶ added in v0.22.0

func (o *ApiLog) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ApiLog) GetIdOk ¶ added in v0.22.0

func (o *ApiLog) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetRequestMethod ¶ added in v0.22.0

func (o *ApiLog) GetRequestMethod() string

GetRequestMethod returns the RequestMethod field value if set, zero value otherwise.

func (*ApiLog) GetRequestMethodOk ¶ added in v0.22.0

func (o *ApiLog) GetRequestMethodOk() (*string, bool)

GetRequestMethodOk returns a tuple with the RequestMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetRequestReceivedAt ¶ added in v0.22.0

func (o *ApiLog) GetRequestReceivedAt() time.Time

GetRequestReceivedAt returns the RequestReceivedAt field value if set, zero value otherwise.

func (*ApiLog) GetRequestReceivedAtOk ¶ added in v0.22.0

func (o *ApiLog) GetRequestReceivedAtOk() (*time.Time, bool)

GetRequestReceivedAtOk returns a tuple with the RequestReceivedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetRequestUrl ¶ added in v0.22.0

func (o *ApiLog) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*ApiLog) GetRequestUrlOk ¶ added in v0.22.0

func (o *ApiLog) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetResponseBody ¶ added in v0.22.0

func (o *ApiLog) GetResponseBody() ApiLogResponseBody

GetResponseBody returns the ResponseBody field value if set, zero value otherwise.

func (*ApiLog) GetResponseBodyOk ¶ added in v0.22.0

func (o *ApiLog) GetResponseBodyOk() (*ApiLogResponseBody, bool)

GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetResponseSentAt ¶ added in v0.22.0

func (o *ApiLog) GetResponseSentAt() time.Time

GetResponseSentAt returns the ResponseSentAt field value if set, zero value otherwise.

func (*ApiLog) GetResponseSentAtOk ¶ added in v0.22.0

func (o *ApiLog) GetResponseSentAtOk() (*time.Time, bool)

GetResponseSentAtOk returns a tuple with the ResponseSentAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetResponseStatusCode ¶ added in v0.22.0

func (o *ApiLog) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*ApiLog) GetResponseStatusCodeOk ¶ added in v0.22.0

func (o *ApiLog) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) GetType ¶ added in v0.22.0

func (o *ApiLog) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ApiLog) GetTypeOk ¶ added in v0.22.0

func (o *ApiLog) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLog) HasId ¶ added in v0.22.0

func (o *ApiLog) HasId() bool

HasId returns a boolean if a field has been set.

func (*ApiLog) HasRequestMethod ¶ added in v0.22.0

func (o *ApiLog) HasRequestMethod() bool

HasRequestMethod returns a boolean if a field has been set.

func (*ApiLog) HasRequestReceivedAt ¶ added in v0.22.0

func (o *ApiLog) HasRequestReceivedAt() bool

HasRequestReceivedAt returns a boolean if a field has been set.

func (*ApiLog) HasRequestUrl ¶ added in v0.22.0

func (o *ApiLog) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*ApiLog) HasResponseBody ¶ added in v0.22.0

func (o *ApiLog) HasResponseBody() bool

HasResponseBody returns a boolean if a field has been set.

func (*ApiLog) HasResponseSentAt ¶ added in v0.22.0

func (o *ApiLog) HasResponseSentAt() bool

HasResponseSentAt returns a boolean if a field has been set.

func (*ApiLog) HasResponseStatusCode ¶ added in v0.22.0

func (o *ApiLog) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*ApiLog) HasType ¶ added in v0.22.0

func (o *ApiLog) HasType() bool

HasType returns a boolean if a field has been set.

func (ApiLog) MarshalJSON ¶ added in v0.22.0

func (o ApiLog) MarshalJSON() ([]byte, error)

func (*ApiLog) SetId ¶ added in v0.22.0

func (o *ApiLog) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ApiLog) SetRequestMethod ¶ added in v0.22.0

func (o *ApiLog) SetRequestMethod(v string)

SetRequestMethod gets a reference to the given string and assigns it to the RequestMethod field.

func (*ApiLog) SetRequestReceivedAt ¶ added in v0.22.0

func (o *ApiLog) SetRequestReceivedAt(v time.Time)

SetRequestReceivedAt gets a reference to the given time.Time and assigns it to the RequestReceivedAt field.

func (*ApiLog) SetRequestUrl ¶ added in v0.22.0

func (o *ApiLog) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*ApiLog) SetResponseBody ¶ added in v0.22.0

func (o *ApiLog) SetResponseBody(v ApiLogResponseBody)

SetResponseBody gets a reference to the given ApiLogResponseBody and assigns it to the ResponseBody field.

func (*ApiLog) SetResponseSentAt ¶ added in v0.22.0

func (o *ApiLog) SetResponseSentAt(v time.Time)

SetResponseSentAt gets a reference to the given time.Time and assigns it to the ResponseSentAt field.

func (*ApiLog) SetResponseStatusCode ¶ added in v0.22.0

func (o *ApiLog) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given float32 and assigns it to the ResponseStatusCode field.

func (*ApiLog) SetType ¶ added in v0.22.0

func (o *ApiLog) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ApiLogResponseBody ¶ added in v0.22.0

type ApiLogResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty"`
	// The HTTP error code.
	Status *float32 `json:"status,omitempty"`
	// Type of the log entry.
	Type    *string                    `json:"type,omitempty"`
	Details *ApiLogResponseBodyDetails `json:"details,omitempty"`
}

ApiLogResponseBody The JSON response body for the log entry.

func NewApiLogResponseBody ¶ added in v0.22.0

func NewApiLogResponseBody() *ApiLogResponseBody

NewApiLogResponseBody instantiates a new ApiLogResponseBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApiLogResponseBodyWithDefaults ¶ added in v0.22.0

func NewApiLogResponseBodyWithDefaults() *ApiLogResponseBody

NewApiLogResponseBodyWithDefaults instantiates a new ApiLogResponseBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApiLogResponseBody) GetCode ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ApiLogResponseBody) GetCodeOk ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBody) GetDetails ¶ added in v0.22.0

GetDetails returns the Details field value if set, zero value otherwise.

func (*ApiLogResponseBody) GetDetailsOk ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetDetailsOk() (*ApiLogResponseBodyDetails, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBody) GetMessage ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ApiLogResponseBody) GetMessageOk ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBody) GetStatus ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetStatus() float32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ApiLogResponseBody) GetStatusOk ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetStatusOk() (*float32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBody) GetType ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ApiLogResponseBody) GetTypeOk ¶ added in v0.22.0

func (o *ApiLogResponseBody) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBody) HasCode ¶ added in v0.22.0

func (o *ApiLogResponseBody) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ApiLogResponseBody) HasDetails ¶ added in v0.22.0

func (o *ApiLogResponseBody) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ApiLogResponseBody) HasMessage ¶ added in v0.22.0

func (o *ApiLogResponseBody) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ApiLogResponseBody) HasStatus ¶ added in v0.22.0

func (o *ApiLogResponseBody) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ApiLogResponseBody) HasType ¶ added in v0.22.0

func (o *ApiLogResponseBody) HasType() bool

HasType returns a boolean if a field has been set.

func (ApiLogResponseBody) MarshalJSON ¶ added in v0.22.0

func (o ApiLogResponseBody) MarshalJSON() ([]byte, error)

func (*ApiLogResponseBody) SetCode ¶ added in v0.22.0

func (o *ApiLogResponseBody) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ApiLogResponseBody) SetDetails ¶ added in v0.22.0

SetDetails gets a reference to the given ApiLogResponseBodyDetails and assigns it to the Details field.

func (*ApiLogResponseBody) SetMessage ¶ added in v0.22.0

func (o *ApiLogResponseBody) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ApiLogResponseBody) SetStatus ¶ added in v0.22.0

func (o *ApiLogResponseBody) SetStatus(v float32)

SetStatus gets a reference to the given float32 and assigns it to the Status field.

func (*ApiLogResponseBody) SetType ¶ added in v0.22.0

func (o *ApiLogResponseBody) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ApiLogResponseBodyDetails ¶ added in v0.22.0

type ApiLogResponseBodyDetails struct {
	// Log's pointer.
	Pointer *string `json:"pointer,omitempty"`
	// Detailed message on the log entry.
	Message *string `json:"message,omitempty"`
	// Location on where the error happened.
	Location *string `json:"location,omitempty"`
	// Detailed error type that is specified in the log entry.
	Type *string `json:"type,omitempty"`
}

ApiLogResponseBodyDetails Details of the log entry, stack trace and endpoint.

func NewApiLogResponseBodyDetails ¶ added in v0.22.0

func NewApiLogResponseBodyDetails() *ApiLogResponseBodyDetails

NewApiLogResponseBodyDetails instantiates a new ApiLogResponseBodyDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApiLogResponseBodyDetailsWithDefaults ¶ added in v0.22.0

func NewApiLogResponseBodyDetailsWithDefaults() *ApiLogResponseBodyDetails

NewApiLogResponseBodyDetailsWithDefaults instantiates a new ApiLogResponseBodyDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApiLogResponseBodyDetails) GetLocation ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*ApiLogResponseBodyDetails) GetLocationOk ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBodyDetails) GetMessage ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ApiLogResponseBodyDetails) GetMessageOk ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBodyDetails) GetPointer ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*ApiLogResponseBodyDetails) GetPointerOk ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetPointerOk() (*string, bool)

GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBodyDetails) GetType ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ApiLogResponseBodyDetails) GetTypeOk ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogResponseBodyDetails) HasLocation ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*ApiLogResponseBodyDetails) HasMessage ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ApiLogResponseBodyDetails) HasPointer ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (*ApiLogResponseBodyDetails) HasType ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (ApiLogResponseBodyDetails) MarshalJSON ¶ added in v0.22.0

func (o ApiLogResponseBodyDetails) MarshalJSON() ([]byte, error)

func (*ApiLogResponseBodyDetails) SetLocation ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*ApiLogResponseBodyDetails) SetMessage ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ApiLogResponseBodyDetails) SetPointer ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (*ApiLogResponseBodyDetails) SetType ¶ added in v0.22.0

func (o *ApiLogResponseBodyDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ApiLogs ¶ added in v0.22.0

type ApiLogs struct {
	// A list of API log entries.
	Items *[]ApiLog `json:"items,omitempty"`
}

ApiLogs A list of API log entries.

func NewApiLogs ¶ added in v0.22.0

func NewApiLogs() *ApiLogs

NewApiLogs instantiates a new ApiLogs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApiLogsWithDefaults ¶ added in v0.22.0

func NewApiLogsWithDefaults() *ApiLogs

NewApiLogsWithDefaults instantiates a new ApiLogs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApiLogs) GetItems ¶ added in v0.22.0

func (o *ApiLogs) GetItems() []ApiLog

GetItems returns the Items field value if set, zero value otherwise.

func (*ApiLogs) GetItemsOk ¶ added in v0.22.0

func (o *ApiLogs) GetItemsOk() (*[]ApiLog, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiLogs) HasItems ¶ added in v0.22.0

func (o *ApiLogs) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ApiLogs) MarshalJSON ¶ added in v0.22.0

func (o ApiLogs) MarshalJSON() ([]byte, error)

func (*ApiLogs) SetItems ¶ added in v0.22.0

func (o *ApiLogs) SetItems(v []ApiLog)

SetItems gets a reference to the given []ApiLog and assigns it to the Items field.

type ApiMakeVaultForwardRequest ¶ added in v0.28.0

type ApiMakeVaultForwardRequest struct {
	ApiService *VaultForwardApiService
	// contains filtered or unexported fields
}

func (ApiMakeVaultForwardRequest) Body ¶ added in v0.28.0

func (ApiMakeVaultForwardRequest) Execute ¶ added in v0.28.0

func (ApiMakeVaultForwardRequest) XVaultForwardHeaderHEADERNAME ¶ added in v0.28.0

func (r ApiMakeVaultForwardRequest) XVaultForwardHeaderHEADERNAME(xVaultForwardHeaderHEADERNAME string) ApiMakeVaultForwardRequest

func (ApiMakeVaultForwardRequest) XVaultForwardHttpMethod ¶ added in v0.28.0

func (r ApiMakeVaultForwardRequest) XVaultForwardHttpMethod(xVaultForwardHttpMethod string) ApiMakeVaultForwardRequest

func (ApiMakeVaultForwardRequest) XVaultForwardPaymentMethods ¶ added in v0.28.0

func (r ApiMakeVaultForwardRequest) XVaultForwardPaymentMethods(xVaultForwardPaymentMethods string) ApiMakeVaultForwardRequest

func (ApiMakeVaultForwardRequest) XVaultForwardTimeout ¶ added in v0.28.0

func (r ApiMakeVaultForwardRequest) XVaultForwardTimeout(xVaultForwardTimeout int32) ApiMakeVaultForwardRequest

func (ApiMakeVaultForwardRequest) XVaultForwardUrl ¶ added in v0.28.0

func (r ApiMakeVaultForwardRequest) XVaultForwardUrl(xVaultForwardUrl string) ApiMakeVaultForwardRequest

type ApiNewAccountUpdaterJobRequest ¶ added in v0.31.0

type ApiNewAccountUpdaterJobRequest struct {
	ApiService *AccountUpdaterApiService
	// contains filtered or unexported fields
}

func (ApiNewAccountUpdaterJobRequest) AccountUpdaterJobCreate ¶ added in v0.31.0

func (r ApiNewAccountUpdaterJobRequest) AccountUpdaterJobCreate(accountUpdaterJobCreate AccountUpdaterJobCreate) ApiNewAccountUpdaterJobRequest

func (ApiNewAccountUpdaterJobRequest) Execute ¶ added in v0.31.0

type ApiNewBuyerRequest ¶ added in v0.27.0

type ApiNewBuyerRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiNewBuyerRequest) BuyerRequest ¶ added in v0.27.0

func (r ApiNewBuyerRequest) BuyerRequest(buyerRequest BuyerRequest) ApiNewBuyerRequest

func (ApiNewBuyerRequest) Execute ¶ added in v0.27.0

func (r ApiNewBuyerRequest) Execute() (Buyer, *_nethttp.Response, error)

type ApiNewBuyerShippingDetailRequest ¶ added in v0.27.0

type ApiNewBuyerShippingDetailRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiNewBuyerShippingDetailRequest) Execute ¶ added in v0.27.0

func (ApiNewBuyerShippingDetailRequest) ShippingDetailRequest ¶ added in v0.27.0

func (r ApiNewBuyerShippingDetailRequest) ShippingDetailRequest(shippingDetailRequest ShippingDetailRequest) ApiNewBuyerShippingDetailRequest

type ApiNewCheckoutSessionRequest ¶ added in v0.27.0

type ApiNewCheckoutSessionRequest struct {
	ApiService *CheckoutSessionsApiService
	// contains filtered or unexported fields
}

func (ApiNewCheckoutSessionRequest) CheckoutSessionCreateRequest ¶ added in v0.28.0

func (r ApiNewCheckoutSessionRequest) CheckoutSessionCreateRequest(checkoutSessionCreateRequest CheckoutSessionCreateRequest) ApiNewCheckoutSessionRequest

func (ApiNewCheckoutSessionRequest) Execute ¶ added in v0.27.0

type ApiNewDigitalWalletRequest ¶ added in v0.27.0

type ApiNewDigitalWalletRequest struct {
	ApiService *DigitalWalletsApiService
	// contains filtered or unexported fields
}

func (ApiNewDigitalWalletRequest) DigitalWalletRequest ¶ added in v0.27.0

func (r ApiNewDigitalWalletRequest) DigitalWalletRequest(digitalWalletRequest DigitalWalletRequest) ApiNewDigitalWalletRequest

func (ApiNewDigitalWalletRequest) Execute ¶ added in v0.27.0

type ApiNewGiftCardServiceRequest ¶ added in v0.31.0

type ApiNewGiftCardServiceRequest struct {
	ApiService *GiftCardServicesApiService
	// contains filtered or unexported fields
}

func (ApiNewGiftCardServiceRequest) Execute ¶ added in v0.31.0

func (ApiNewGiftCardServiceRequest) GiftCardServiceCreateRequest ¶ added in v0.31.0

func (r ApiNewGiftCardServiceRequest) GiftCardServiceCreateRequest(giftCardServiceCreateRequest GiftCardServiceCreateRequest) ApiNewGiftCardServiceRequest

type ApiNewMerchantAccountRequest ¶ added in v0.27.0

type ApiNewMerchantAccountRequest struct {
	ApiService *MerchantAccountsApiService
	// contains filtered or unexported fields
}

func (ApiNewMerchantAccountRequest) Execute ¶ added in v0.27.0

func (ApiNewMerchantAccountRequest) MerchantAccountCreate ¶ added in v0.27.0

func (r ApiNewMerchantAccountRequest) MerchantAccountCreate(merchantAccountCreate MerchantAccountCreate) ApiNewMerchantAccountRequest

type ApiNewPaymentMethodRequest ¶ added in v0.27.0

type ApiNewPaymentMethodRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiNewPaymentMethodRequest) Execute ¶ added in v0.27.0

func (ApiNewPaymentMethodRequest) PaymentMethodRequest ¶ added in v0.27.0

func (r ApiNewPaymentMethodRequest) PaymentMethodRequest(paymentMethodRequest PaymentMethodRequest) ApiNewPaymentMethodRequest

type ApiNewPaymentServiceRequest ¶ added in v0.27.0

type ApiNewPaymentServiceRequest struct {
	ApiService *PaymentServicesApiService
	// contains filtered or unexported fields
}

func (ApiNewPaymentServiceRequest) Execute ¶ added in v0.27.0

func (ApiNewPaymentServiceRequest) PaymentServiceRequest ¶ added in v0.27.0

func (r ApiNewPaymentServiceRequest) PaymentServiceRequest(paymentServiceRequest PaymentServiceRequest) ApiNewPaymentServiceRequest

type ApiNewRefundRequest ¶ added in v0.27.0

type ApiNewRefundRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiNewRefundRequest) Execute ¶ added in v0.27.0

func (ApiNewRefundRequest) TransactionRefundRequest ¶ added in v0.27.0

func (r ApiNewRefundRequest) TransactionRefundRequest(transactionRefundRequest TransactionRefundRequest) ApiNewRefundRequest

type ApiNewReportRequest ¶ added in v0.27.0

type ApiNewReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiNewReportRequest) Execute ¶ added in v0.27.0

func (ApiNewReportRequest) ReportCreate ¶ added in v0.27.0

func (r ApiNewReportRequest) ReportCreate(reportCreate ReportCreate) ApiNewReportRequest

type ApiNewRoleAssignmentRequest ¶ added in v0.27.0

type ApiNewRoleAssignmentRequest struct {
	ApiService *RolesApiService
	// contains filtered or unexported fields
}

func (ApiNewRoleAssignmentRequest) Execute ¶ added in v0.27.0

func (ApiNewRoleAssignmentRequest) RoleAssignmentRequest ¶ added in v0.27.0

func (r ApiNewRoleAssignmentRequest) RoleAssignmentRequest(roleAssignmentRequest RoleAssignmentRequest) ApiNewRoleAssignmentRequest

type ApiNewTransactionRequest ¶ added in v0.27.0

type ApiNewTransactionRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiNewTransactionRequest) Execute ¶ added in v0.27.0

func (ApiNewTransactionRequest) IdempotencyKey ¶ added in v0.27.0

func (r ApiNewTransactionRequest) IdempotencyKey(idempotencyKey string) ApiNewTransactionRequest

func (ApiNewTransactionRequest) TransactionRequest ¶ added in v0.27.0

func (r ApiNewTransactionRequest) TransactionRequest(transactionRequest TransactionRequest) ApiNewTransactionRequest

type ApiPostListPaymentOptionsRequest ¶ added in v0.22.0

type ApiPostListPaymentOptionsRequest struct {
	ApiService *PaymentOptionsApiService
	// contains filtered or unexported fields
}

func (ApiPostListPaymentOptionsRequest) Execute ¶ added in v0.22.0

func (ApiPostListPaymentOptionsRequest) PaymentOptionsRequest ¶ added in v0.22.0

func (r ApiPostListPaymentOptionsRequest) PaymentOptionsRequest(paymentOptionsRequest PaymentOptionsRequest) ApiPostListPaymentOptionsRequest

type ApiProvisionNetworkTokenRequest ¶ added in v0.27.0

type ApiProvisionNetworkTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiProvisionNetworkTokenRequest) Execute ¶ added in v0.27.0

func (ApiProvisionNetworkTokenRequest) NetworkTokenRequest ¶ added in v0.27.0

func (r ApiProvisionNetworkTokenRequest) NetworkTokenRequest(networkTokenRequest NetworkTokenRequest) ApiProvisionNetworkTokenRequest

type ApiProvisionPaymentServiceTokenRequest ¶ added in v0.27.0

type ApiProvisionPaymentServiceTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiProvisionPaymentServiceTokenRequest) Execute ¶ added in v0.27.0

func (ApiProvisionPaymentServiceTokenRequest) PaymentServiceTokenRequest ¶ added in v0.27.0

func (r ApiProvisionPaymentServiceTokenRequest) PaymentServiceTokenRequest(paymentServiceTokenRequest PaymentServiceTokenRequest) ApiProvisionPaymentServiceTokenRequest

type ApiRefundAllRequest ¶ added in v0.31.0

type ApiRefundAllRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiRefundAllRequest) Execute ¶ added in v0.31.0

type ApiResumeNetworkTokenRequest ¶ added in v0.27.0

type ApiResumeNetworkTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiResumeNetworkTokenRequest) Execute ¶ added in v0.27.0

type ApiStoreGiftCardRequest ¶ added in v0.31.0

type ApiStoreGiftCardRequest struct {
	ApiService *GiftCardsApiService
	// contains filtered or unexported fields
}

func (ApiStoreGiftCardRequest) Execute ¶ added in v0.31.0

func (ApiStoreGiftCardRequest) GiftCardStoreRequest ¶ added in v0.31.0

func (r ApiStoreGiftCardRequest) GiftCardStoreRequest(giftCardStoreRequest GiftCardStoreRequest) ApiStoreGiftCardRequest

type ApiSuspendNetworkTokenRequest ¶ added in v0.27.0

type ApiSuspendNetworkTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiSuspendNetworkTokenRequest) Execute ¶ added in v0.27.0

type ApiUpdateBuyerRequest ¶ added in v0.2.1

type ApiUpdateBuyerRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateBuyerRequest) BuyerUpdate ¶ added in v0.2.1

func (r ApiUpdateBuyerRequest) BuyerUpdate(buyerUpdate BuyerUpdate) ApiUpdateBuyerRequest

func (ApiUpdateBuyerRequest) Execute ¶ added in v0.2.1

type ApiUpdateBuyerShippingDetailRequest ¶ added in v0.22.0

type ApiUpdateBuyerShippingDetailRequest struct {
	ApiService *BuyersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateBuyerShippingDetailRequest) Execute ¶ added in v0.22.0

func (ApiUpdateBuyerShippingDetailRequest) ShippingDetailUpdateRequest ¶ added in v0.22.0

func (r ApiUpdateBuyerShippingDetailRequest) ShippingDetailUpdateRequest(shippingDetailUpdateRequest ShippingDetailUpdateRequest) ApiUpdateBuyerShippingDetailRequest

type ApiUpdateCheckoutSessionRequest ¶ added in v0.28.0

type ApiUpdateCheckoutSessionRequest struct {
	ApiService *CheckoutSessionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCheckoutSessionRequest) CheckoutSessionUpdateRequest ¶ added in v0.28.0

func (r ApiUpdateCheckoutSessionRequest) CheckoutSessionUpdateRequest(checkoutSessionUpdateRequest CheckoutSessionUpdateRequest) ApiUpdateCheckoutSessionRequest

func (ApiUpdateCheckoutSessionRequest) Execute ¶ added in v0.28.0

type ApiUpdateDigitalWalletRequest ¶ added in v0.7.0

type ApiUpdateDigitalWalletRequest struct {
	ApiService *DigitalWalletsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDigitalWalletRequest) DigitalWalletUpdate ¶ added in v0.7.0

func (r ApiUpdateDigitalWalletRequest) DigitalWalletUpdate(digitalWalletUpdate DigitalWalletUpdate) ApiUpdateDigitalWalletRequest

func (ApiUpdateDigitalWalletRequest) Execute ¶ added in v0.7.0

type ApiUpdateGiftCardServiceRequest ¶ added in v0.31.0

type ApiUpdateGiftCardServiceRequest struct {
	ApiService *GiftCardServicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGiftCardServiceRequest) Execute ¶ added in v0.31.0

func (ApiUpdateGiftCardServiceRequest) GiftCardServiceUpdateRequest ¶ added in v0.31.0

func (r ApiUpdateGiftCardServiceRequest) GiftCardServiceUpdateRequest(giftCardServiceUpdateRequest GiftCardServiceUpdateRequest) ApiUpdateGiftCardServiceRequest

type ApiUpdateMerchantAccountRequest ¶ added in v0.27.0

type ApiUpdateMerchantAccountRequest struct {
	ApiService *MerchantAccountsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateMerchantAccountRequest) Execute ¶ added in v0.27.0

func (ApiUpdateMerchantAccountRequest) MerchantAccountUpdate ¶ added in v0.27.0

func (r ApiUpdateMerchantAccountRequest) MerchantAccountUpdate(merchantAccountUpdate MerchantAccountUpdate) ApiUpdateMerchantAccountRequest

type ApiUpdatePaymentServiceRequest ¶ added in v0.2.1

type ApiUpdatePaymentServiceRequest struct {
	ApiService *PaymentServicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdatePaymentServiceRequest) Execute ¶ added in v0.2.1

func (ApiUpdatePaymentServiceRequest) PaymentServiceUpdate ¶ added in v0.2.1

func (r ApiUpdatePaymentServiceRequest) PaymentServiceUpdate(paymentServiceUpdate PaymentServiceUpdate) ApiUpdatePaymentServiceRequest

type ApiUpdateReportRequest ¶ added in v0.21.0

type ApiUpdateReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateReportRequest) Execute ¶ added in v0.21.0

func (ApiUpdateReportRequest) ReportUpdate ¶ added in v0.21.0

func (r ApiUpdateReportRequest) ReportUpdate(reportUpdate ReportUpdate) ApiUpdateReportRequest

type ApiVerifyGiftCardServiceRequest ¶ added in v0.31.0

type ApiVerifyGiftCardServiceRequest struct {
	ApiService *GiftCardServicesApiService
	// contains filtered or unexported fields
}

func (ApiVerifyGiftCardServiceRequest) Execute ¶ added in v0.31.0

func (ApiVerifyGiftCardServiceRequest) GiftCardServiceVerifyRequest ¶ added in v0.31.0

func (r ApiVerifyGiftCardServiceRequest) GiftCardServiceVerifyRequest(giftCardServiceVerifyRequest GiftCardServiceVerifyRequest) ApiVerifyGiftCardServiceRequest

type ApiVoidTransactionRequest ¶ added in v0.14.0

type ApiVoidTransactionRequest struct {
	ApiService *TransactionsApiService
	// contains filtered or unexported fields
}

func (ApiVoidTransactionRequest) Execute ¶ added in v0.14.0

type ApplePayRequest ¶ added in v0.7.0

type ApplePayRequest struct {
	// `applepay`.
	Method string `json:"method"`
	// The encrypted (opaque) token that was passed to the `onpaymentauthorized` callback by the Apple Pay integration.
	Token map[string]interface{} `json:"token"`
}

ApplePayRequest Details for a Apple Pay payment method.

func NewApplePayRequest ¶ added in v0.7.0

func NewApplePayRequest(method string, token map[string]interface{}) *ApplePayRequest

NewApplePayRequest instantiates a new ApplePayRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplePayRequestWithDefaults ¶ added in v0.7.0

func NewApplePayRequestWithDefaults() *ApplePayRequest

NewApplePayRequestWithDefaults instantiates a new ApplePayRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplePayRequest) GetMethod ¶ added in v0.7.0

func (o *ApplePayRequest) GetMethod() string

GetMethod returns the Method field value

func (*ApplePayRequest) GetMethodOk ¶ added in v0.7.0

func (o *ApplePayRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*ApplePayRequest) GetToken ¶ added in v0.7.0

func (o *ApplePayRequest) GetToken() map[string]interface{}

GetToken returns the Token field value

func (*ApplePayRequest) GetTokenOk ¶ added in v0.7.0

func (o *ApplePayRequest) GetTokenOk() (*map[string]interface{}, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (ApplePayRequest) MarshalJSON ¶ added in v0.7.0

func (o ApplePayRequest) MarshalJSON() ([]byte, error)

func (*ApplePayRequest) SetMethod ¶ added in v0.7.0

func (o *ApplePayRequest) SetMethod(v string)

SetMethod sets field value

func (*ApplePayRequest) SetToken ¶ added in v0.7.0

func (o *ApplePayRequest) SetToken(v map[string]interface{})

SetToken sets field value

type ApplePaySessionRequest ¶ added in v0.7.0

type ApplePaySessionRequest struct {
	// Validation URL obtained from the event passed to a `onvalidatemerchant` callback.
	ValidationUrl string `json:"validation_url"`
	// Fully qualified domain name of the merchant.
	DomainName string `json:"domain_name"`
}

ApplePaySessionRequest Initiates a new session with Apple Pay.

func NewApplePaySessionRequest ¶ added in v0.7.0

func NewApplePaySessionRequest(validationUrl string, domainName string) *ApplePaySessionRequest

NewApplePaySessionRequest instantiates a new ApplePaySessionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplePaySessionRequestWithDefaults ¶ added in v0.7.0

func NewApplePaySessionRequestWithDefaults() *ApplePaySessionRequest

NewApplePaySessionRequestWithDefaults instantiates a new ApplePaySessionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplePaySessionRequest) GetDomainName ¶ added in v0.7.0

func (o *ApplePaySessionRequest) GetDomainName() string

GetDomainName returns the DomainName field value

func (*ApplePaySessionRequest) GetDomainNameOk ¶ added in v0.7.0

func (o *ApplePaySessionRequest) GetDomainNameOk() (*string, bool)

GetDomainNameOk returns a tuple with the DomainName field value and a boolean to check if the value has been set.

func (*ApplePaySessionRequest) GetValidationUrl ¶ added in v0.7.0

func (o *ApplePaySessionRequest) GetValidationUrl() string

GetValidationUrl returns the ValidationUrl field value

func (*ApplePaySessionRequest) GetValidationUrlOk ¶ added in v0.7.0

func (o *ApplePaySessionRequest) GetValidationUrlOk() (*string, bool)

GetValidationUrlOk returns a tuple with the ValidationUrl field value and a boolean to check if the value has been set.

func (ApplePaySessionRequest) MarshalJSON ¶ added in v0.7.0

func (o ApplePaySessionRequest) MarshalJSON() ([]byte, error)

func (*ApplePaySessionRequest) SetDomainName ¶ added in v0.7.0

func (o *ApplePaySessionRequest) SetDomainName(v string)

SetDomainName sets field value

func (*ApplePaySessionRequest) SetValidationUrl ¶ added in v0.7.0

func (o *ApplePaySessionRequest) SetValidationUrl(v string)

SetValidationUrl sets field value

type AuditLog ¶ added in v0.19.0

type AuditLog struct {
	// `audit-log`.
	Type *string `json:"type,omitempty"`
	// The ID of the audit log entry.
	Id *string `json:"id,omitempty"`
	// The date and time that the action was performed.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// The action that was performed.
	Action *string `json:"action,omitempty"`
	// The ID of the merchant account this entry was created for.
	MerchantAccountId NullableString    `json:"merchant_account_id,omitempty"`
	User              *AuditLogUser     `json:"user,omitempty"`
	Resource          *AuditLogResource `json:"resource,omitempty"`
}

AuditLog A log of a change that occurred in the Gr4vy instance.

func NewAuditLog ¶ added in v0.19.0

func NewAuditLog() *AuditLog

NewAuditLog instantiates a new AuditLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogWithDefaults ¶ added in v0.19.0

func NewAuditLogWithDefaults() *AuditLog

NewAuditLogWithDefaults instantiates a new AuditLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLog) GetAction ¶ added in v0.19.0

func (o *AuditLog) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*AuditLog) GetActionOk ¶ added in v0.19.0

func (o *AuditLog) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) GetId ¶ added in v0.19.0

func (o *AuditLog) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuditLog) GetIdOk ¶ added in v0.19.0

func (o *AuditLog) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) GetMerchantAccountId ¶ added in v0.28.0

func (o *AuditLog) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AuditLog) GetMerchantAccountIdOk ¶ added in v0.28.0

func (o *AuditLog) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLog) GetResource ¶ added in v0.19.0

func (o *AuditLog) GetResource() AuditLogResource

GetResource returns the Resource field value if set, zero value otherwise.

func (*AuditLog) GetResourceOk ¶ added in v0.19.0

func (o *AuditLog) GetResourceOk() (*AuditLogResource, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) GetTimestamp ¶ added in v0.19.0

func (o *AuditLog) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*AuditLog) GetTimestampOk ¶ added in v0.19.0

func (o *AuditLog) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) GetType ¶ added in v0.19.0

func (o *AuditLog) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AuditLog) GetTypeOk ¶ added in v0.19.0

func (o *AuditLog) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) GetUser ¶ added in v0.19.0

func (o *AuditLog) GetUser() AuditLogUser

GetUser returns the User field value if set, zero value otherwise.

func (*AuditLog) GetUserOk ¶ added in v0.19.0

func (o *AuditLog) GetUserOk() (*AuditLogUser, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLog) HasAction ¶ added in v0.19.0

func (o *AuditLog) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AuditLog) HasId ¶ added in v0.19.0

func (o *AuditLog) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLog) HasMerchantAccountId ¶ added in v0.28.0

func (o *AuditLog) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*AuditLog) HasResource ¶ added in v0.19.0

func (o *AuditLog) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*AuditLog) HasTimestamp ¶ added in v0.19.0

func (o *AuditLog) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*AuditLog) HasType ¶ added in v0.19.0

func (o *AuditLog) HasType() bool

HasType returns a boolean if a field has been set.

func (*AuditLog) HasUser ¶ added in v0.19.0

func (o *AuditLog) HasUser() bool

HasUser returns a boolean if a field has been set.

func (AuditLog) MarshalJSON ¶ added in v0.19.0

func (o AuditLog) MarshalJSON() ([]byte, error)

func (*AuditLog) SetAction ¶ added in v0.19.0

func (o *AuditLog) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AuditLog) SetId ¶ added in v0.19.0

func (o *AuditLog) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuditLog) SetMerchantAccountId ¶ added in v0.28.0

func (o *AuditLog) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given NullableString and assigns it to the MerchantAccountId field.

func (*AuditLog) SetMerchantAccountIdNil ¶ added in v0.28.0

func (o *AuditLog) SetMerchantAccountIdNil()

SetMerchantAccountIdNil sets the value for MerchantAccountId to be an explicit nil

func (*AuditLog) SetResource ¶ added in v0.19.0

func (o *AuditLog) SetResource(v AuditLogResource)

SetResource gets a reference to the given AuditLogResource and assigns it to the Resource field.

func (*AuditLog) SetTimestamp ¶ added in v0.19.0

func (o *AuditLog) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*AuditLog) SetType ¶ added in v0.19.0

func (o *AuditLog) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*AuditLog) SetUser ¶ added in v0.19.0

func (o *AuditLog) SetUser(v AuditLogUser)

SetUser gets a reference to the given AuditLogUser and assigns it to the User field.

func (*AuditLog) UnsetMerchantAccountId ¶ added in v0.28.0

func (o *AuditLog) UnsetMerchantAccountId()

UnsetMerchantAccountId ensures that no value is present for MerchantAccountId, not even an explicit nil

type AuditLogResource ¶ added in v0.19.0

type AuditLogResource struct {
	// The type of the resource.
	Type *string `json:"type,omitempty"`
	// The ID of the resource.
	Id *string `json:"id,omitempty"`
	// The descriptive name of the resource.
	Name *string `json:"name,omitempty"`
}

AuditLogResource The resource that was changed.

func NewAuditLogResource ¶ added in v0.19.0

func NewAuditLogResource() *AuditLogResource

NewAuditLogResource instantiates a new AuditLogResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogResourceWithDefaults ¶ added in v0.19.0

func NewAuditLogResourceWithDefaults() *AuditLogResource

NewAuditLogResourceWithDefaults instantiates a new AuditLogResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogResource) GetId ¶ added in v0.19.0

func (o *AuditLogResource) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuditLogResource) GetIdOk ¶ added in v0.19.0

func (o *AuditLogResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogResource) GetName ¶ added in v0.19.0

func (o *AuditLogResource) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AuditLogResource) GetNameOk ¶ added in v0.19.0

func (o *AuditLogResource) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogResource) GetType ¶ added in v0.19.0

func (o *AuditLogResource) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AuditLogResource) GetTypeOk ¶ added in v0.19.0

func (o *AuditLogResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogResource) HasId ¶ added in v0.19.0

func (o *AuditLogResource) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogResource) HasName ¶ added in v0.19.0

func (o *AuditLogResource) HasName() bool

HasName returns a boolean if a field has been set.

func (*AuditLogResource) HasType ¶ added in v0.19.0

func (o *AuditLogResource) HasType() bool

HasType returns a boolean if a field has been set.

func (AuditLogResource) MarshalJSON ¶ added in v0.19.0

func (o AuditLogResource) MarshalJSON() ([]byte, error)

func (*AuditLogResource) SetId ¶ added in v0.19.0

func (o *AuditLogResource) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuditLogResource) SetName ¶ added in v0.19.0

func (o *AuditLogResource) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AuditLogResource) SetType ¶ added in v0.19.0

func (o *AuditLogResource) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type AuditLogUser ¶ added in v0.19.0

type AuditLogUser struct {
	// The ID of the user.
	Id *string `json:"id,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// The email address for this user.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// Whether the user is Gr4vy staff.
	Staff *bool `json:"staff,omitempty"`
	// The status of the user.
	Status *string `json:"status,omitempty"`
}

AuditLogUser The user who performed the action.

func NewAuditLogUser ¶ added in v0.19.0

func NewAuditLogUser() *AuditLogUser

NewAuditLogUser instantiates a new AuditLogUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogUserWithDefaults ¶ added in v0.19.0

func NewAuditLogUserWithDefaults() *AuditLogUser

NewAuditLogUserWithDefaults instantiates a new AuditLogUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogUser) GetEmailAddress ¶ added in v0.22.0

func (o *AuditLogUser) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AuditLogUser) GetEmailAddressOk ¶ added in v0.22.0

func (o *AuditLogUser) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogUser) GetId ¶ added in v0.19.0

func (o *AuditLogUser) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuditLogUser) GetIdOk ¶ added in v0.19.0

func (o *AuditLogUser) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogUser) GetName ¶ added in v0.19.0

func (o *AuditLogUser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AuditLogUser) GetNameOk ¶ added in v0.19.0

func (o *AuditLogUser) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogUser) GetStaff ¶ added in v0.19.0

func (o *AuditLogUser) GetStaff() bool

GetStaff returns the Staff field value if set, zero value otherwise.

func (*AuditLogUser) GetStaffOk ¶ added in v0.19.0

func (o *AuditLogUser) GetStaffOk() (*bool, bool)

GetStaffOk returns a tuple with the Staff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogUser) GetStatus ¶ added in v0.22.0

func (o *AuditLogUser) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*AuditLogUser) GetStatusOk ¶ added in v0.22.0

func (o *AuditLogUser) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogUser) HasEmailAddress ¶ added in v0.22.0

func (o *AuditLogUser) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*AuditLogUser) HasId ¶ added in v0.19.0

func (o *AuditLogUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogUser) HasName ¶ added in v0.19.0

func (o *AuditLogUser) HasName() bool

HasName returns a boolean if a field has been set.

func (*AuditLogUser) HasStaff ¶ added in v0.19.0

func (o *AuditLogUser) HasStaff() bool

HasStaff returns a boolean if a field has been set.

func (*AuditLogUser) HasStatus ¶ added in v0.22.0

func (o *AuditLogUser) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (AuditLogUser) MarshalJSON ¶ added in v0.19.0

func (o AuditLogUser) MarshalJSON() ([]byte, error)

func (*AuditLogUser) SetEmailAddress ¶ added in v0.22.0

func (o *AuditLogUser) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*AuditLogUser) SetEmailAddressNil ¶ added in v0.22.0

func (o *AuditLogUser) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*AuditLogUser) SetId ¶ added in v0.19.0

func (o *AuditLogUser) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuditLogUser) SetName ¶ added in v0.19.0

func (o *AuditLogUser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AuditLogUser) SetStaff ¶ added in v0.19.0

func (o *AuditLogUser) SetStaff(v bool)

SetStaff gets a reference to the given bool and assigns it to the Staff field.

func (*AuditLogUser) SetStatus ¶ added in v0.22.0

func (o *AuditLogUser) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*AuditLogUser) UnsetEmailAddress ¶ added in v0.22.0

func (o *AuditLogUser) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

type AuditLogs ¶ added in v0.19.0

type AuditLogs struct {
	// A list of audit log entries.
	Items *[]AuditLog `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

AuditLogs A list of audit log entries.

func NewAuditLogs ¶ added in v0.19.0

func NewAuditLogs() *AuditLogs

NewAuditLogs instantiates a new AuditLogs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuditLogsWithDefaults ¶ added in v0.19.0

func NewAuditLogsWithDefaults() *AuditLogs

NewAuditLogsWithDefaults instantiates a new AuditLogs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuditLogs) GetItems ¶ added in v0.19.0

func (o *AuditLogs) GetItems() []AuditLog

GetItems returns the Items field value if set, zero value otherwise.

func (*AuditLogs) GetItemsOk ¶ added in v0.19.0

func (o *AuditLogs) GetItemsOk() (*[]AuditLog, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogs) GetLimit ¶ added in v0.19.0

func (o *AuditLogs) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*AuditLogs) GetLimitOk ¶ added in v0.19.0

func (o *AuditLogs) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuditLogs) GetNextCursor ¶ added in v0.19.0

func (o *AuditLogs) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AuditLogs) GetNextCursorOk ¶ added in v0.19.0

func (o *AuditLogs) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogs) GetPreviousCursor ¶ added in v0.19.0

func (o *AuditLogs) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AuditLogs) GetPreviousCursorOk ¶ added in v0.19.0

func (o *AuditLogs) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AuditLogs) HasItems ¶ added in v0.19.0

func (o *AuditLogs) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AuditLogs) HasLimit ¶ added in v0.19.0

func (o *AuditLogs) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*AuditLogs) HasNextCursor ¶ added in v0.19.0

func (o *AuditLogs) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*AuditLogs) HasPreviousCursor ¶ added in v0.19.0

func (o *AuditLogs) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (AuditLogs) MarshalJSON ¶ added in v0.19.0

func (o AuditLogs) MarshalJSON() ([]byte, error)

func (*AuditLogs) SetItems ¶ added in v0.19.0

func (o *AuditLogs) SetItems(v []AuditLog)

SetItems gets a reference to the given []AuditLog and assigns it to the Items field.

func (*AuditLogs) SetLimit ¶ added in v0.19.0

func (o *AuditLogs) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*AuditLogs) SetNextCursor ¶ added in v0.19.0

func (o *AuditLogs) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*AuditLogs) SetNextCursorNil ¶ added in v0.19.0

func (o *AuditLogs) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*AuditLogs) SetPreviousCursor ¶ added in v0.19.0

func (o *AuditLogs) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*AuditLogs) SetPreviousCursorNil ¶ added in v0.19.0

func (o *AuditLogs) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*AuditLogs) UnsetNextCursor ¶ added in v0.19.0

func (o *AuditLogs) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*AuditLogs) UnsetPreviousCursor ¶ added in v0.19.0

func (o *AuditLogs) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type AuditLogsApiService ¶ added in v0.19.0

type AuditLogsApiService service

AuditLogsApiService AuditLogsApi service

func (*AuditLogsApiService) ListAuditLogs ¶ added in v0.19.0

* ListAuditLogs List audit logs * Returns a list of audit logs. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListAuditLogsRequest

func (*AuditLogsApiService) ListAuditLogsExecute ¶ added in v0.19.0

* Execute executes the request * @return AuditLogs

type BINLookupRequest ¶ added in v0.31.0

type BINLookupRequest struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `bin-lookup-request`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time               `json:"created_at,omitempty"`
	Context   *BINLookupRequestContext `json:"context,omitempty"`
}

BINLookupRequest The result and raw data for a card BIN lookup.

func NewBINLookupRequest ¶ added in v0.31.0

func NewBINLookupRequest() *BINLookupRequest

NewBINLookupRequest instantiates a new BINLookupRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBINLookupRequestWithDefaults ¶ added in v0.31.0

func NewBINLookupRequestWithDefaults() *BINLookupRequest

NewBINLookupRequestWithDefaults instantiates a new BINLookupRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BINLookupRequest) GetContext ¶ added in v0.31.0

func (o *BINLookupRequest) GetContext() BINLookupRequestContext

GetContext returns the Context field value if set, zero value otherwise.

func (*BINLookupRequest) GetContextOk ¶ added in v0.31.0

func (o *BINLookupRequest) GetContextOk() (*BINLookupRequestContext, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequest) GetCreatedAt ¶ added in v0.31.0

func (o *BINLookupRequest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*BINLookupRequest) GetCreatedAtOk ¶ added in v0.31.0

func (o *BINLookupRequest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequest) GetId ¶ added in v0.31.0

func (o *BINLookupRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BINLookupRequest) GetIdOk ¶ added in v0.31.0

func (o *BINLookupRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequest) GetName ¶ added in v0.31.0

func (o *BINLookupRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*BINLookupRequest) GetNameOk ¶ added in v0.31.0

func (o *BINLookupRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequest) GetType ¶ added in v0.31.0

func (o *BINLookupRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*BINLookupRequest) GetTypeOk ¶ added in v0.31.0

func (o *BINLookupRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequest) HasContext ¶ added in v0.31.0

func (o *BINLookupRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*BINLookupRequest) HasCreatedAt ¶ added in v0.31.0

func (o *BINLookupRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BINLookupRequest) HasId ¶ added in v0.31.0

func (o *BINLookupRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*BINLookupRequest) HasName ¶ added in v0.31.0

func (o *BINLookupRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*BINLookupRequest) HasType ¶ added in v0.31.0

func (o *BINLookupRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (BINLookupRequest) MarshalJSON ¶ added in v0.31.0

func (o BINLookupRequest) MarshalJSON() ([]byte, error)

func (*BINLookupRequest) SetContext ¶ added in v0.31.0

func (o *BINLookupRequest) SetContext(v BINLookupRequestContext)

SetContext gets a reference to the given BINLookupRequestContext and assigns it to the Context field.

func (*BINLookupRequest) SetCreatedAt ¶ added in v0.31.0

func (o *BINLookupRequest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*BINLookupRequest) SetId ¶ added in v0.31.0

func (o *BINLookupRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BINLookupRequest) SetName ¶ added in v0.31.0

func (o *BINLookupRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*BINLookupRequest) SetType ¶ added in v0.31.0

func (o *BINLookupRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type BINLookupRequestContext ¶ added in v0.31.0

type BINLookupRequestContext struct {
	// The response body received from the `url`.
	Response NullableString `json:"response,omitempty"`
	// The response status code received from the `url`.
	ResponseStatusCode *int32 `json:"response_status_code,omitempty"`
	// Whether the BIN lookup was successful or not.
	Success *bool `json:"success,omitempty"`
	// The value used to lookup BIN details.
	Bin NullableString `json:"bin,omitempty"`
	// The type of card, i.e. credit or debit, from the lookup response.
	Type NullableString `json:"type,omitempty"`
	// The card scheme result from the lookup response.
	Scheme NullableString `json:"scheme,omitempty"`
	// The card additional schemes from the lookup response.
	AdditionalSchemes []string `json:"additional_schemes,omitempty"`
	// The card country code result from the lookup response.
	CountryCode NullableString `json:"country_code,omitempty"`
	// Whether Account Updater is enabled for this card.
	AccountUpdater NullableBool `json:"account_updater,omitempty"`
	// Whether the issuing bank supports network tokenization for this card.
	IssuerTokenization NullableBool `json:"issuer_tokenization,omitempty"`
}

BINLookupRequestContext BIN lookup request context.

func NewBINLookupRequestContext ¶ added in v0.31.0

func NewBINLookupRequestContext() *BINLookupRequestContext

NewBINLookupRequestContext instantiates a new BINLookupRequestContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBINLookupRequestContextWithDefaults ¶ added in v0.31.0

func NewBINLookupRequestContextWithDefaults() *BINLookupRequestContext

NewBINLookupRequestContextWithDefaults instantiates a new BINLookupRequestContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BINLookupRequestContext) GetAccountUpdater ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetAccountUpdater() bool

GetAccountUpdater returns the AccountUpdater field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetAccountUpdaterOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetAccountUpdaterOk() (*bool, bool)

GetAccountUpdaterOk returns a tuple with the AccountUpdater field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetAdditionalSchemes ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetAdditionalSchemes() []string

GetAdditionalSchemes returns the AdditionalSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetAdditionalSchemesOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetAdditionalSchemesOk() (*[]string, bool)

GetAdditionalSchemesOk returns a tuple with the AdditionalSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetBin ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetBinOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetBinOk() (*string, bool)

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetCountryCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetCountryCodeOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetIssuerTokenization ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetIssuerTokenization() bool

GetIssuerTokenization returns the IssuerTokenization field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetIssuerTokenizationOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetIssuerTokenizationOk() (*bool, bool)

GetIssuerTokenizationOk returns a tuple with the IssuerTokenization field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetResponse ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetResponseOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetResponseStatusCode() int32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*BINLookupRequestContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetResponseStatusCodeOk() (*int32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequestContext) GetScheme ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetSchemeOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) GetSuccess ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*BINLookupRequestContext) GetSuccessOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BINLookupRequestContext) GetType ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BINLookupRequestContext) GetTypeOk ¶ added in v0.31.0

func (o *BINLookupRequestContext) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BINLookupRequestContext) HasAccountUpdater ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasAccountUpdater() bool

HasAccountUpdater returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasAdditionalSchemes ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasAdditionalSchemes() bool

HasAdditionalSchemes returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasBin ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasCountryCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasIssuerTokenization ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasIssuerTokenization() bool

HasIssuerTokenization returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasResponse ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasScheme ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasSuccess ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (*BINLookupRequestContext) HasType ¶ added in v0.31.0

func (o *BINLookupRequestContext) HasType() bool

HasType returns a boolean if a field has been set.

func (BINLookupRequestContext) MarshalJSON ¶ added in v0.31.0

func (o BINLookupRequestContext) MarshalJSON() ([]byte, error)

func (*BINLookupRequestContext) SetAccountUpdater ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetAccountUpdater(v bool)

SetAccountUpdater gets a reference to the given NullableBool and assigns it to the AccountUpdater field.

func (*BINLookupRequestContext) SetAccountUpdaterNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetAccountUpdaterNil()

SetAccountUpdaterNil sets the value for AccountUpdater to be an explicit nil

func (*BINLookupRequestContext) SetAdditionalSchemes ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetAdditionalSchemes(v []string)

SetAdditionalSchemes gets a reference to the given []string and assigns it to the AdditionalSchemes field.

func (*BINLookupRequestContext) SetBin ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetBin(v string)

SetBin gets a reference to the given NullableString and assigns it to the Bin field.

func (*BINLookupRequestContext) SetBinNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetBinNil()

SetBinNil sets the value for Bin to be an explicit nil

func (*BINLookupRequestContext) SetCountryCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetCountryCode(v string)

SetCountryCode gets a reference to the given NullableString and assigns it to the CountryCode field.

func (*BINLookupRequestContext) SetCountryCodeNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetCountryCodeNil()

SetCountryCodeNil sets the value for CountryCode to be an explicit nil

func (*BINLookupRequestContext) SetIssuerTokenization ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetIssuerTokenization(v bool)

SetIssuerTokenization gets a reference to the given NullableBool and assigns it to the IssuerTokenization field.

func (*BINLookupRequestContext) SetIssuerTokenizationNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetIssuerTokenizationNil()

SetIssuerTokenizationNil sets the value for IssuerTokenization to be an explicit nil

func (*BINLookupRequestContext) SetResponse ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetResponse(v string)

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*BINLookupRequestContext) SetResponseNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetResponseNil()

SetResponseNil sets the value for Response to be an explicit nil

func (*BINLookupRequestContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetResponseStatusCode(v int32)

SetResponseStatusCode gets a reference to the given int32 and assigns it to the ResponseStatusCode field.

func (*BINLookupRequestContext) SetScheme ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*BINLookupRequestContext) SetSchemeNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*BINLookupRequestContext) SetSuccess ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*BINLookupRequestContext) SetType ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetType(v string)

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*BINLookupRequestContext) SetTypeNil ¶ added in v0.31.0

func (o *BINLookupRequestContext) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (*BINLookupRequestContext) UnsetAccountUpdater ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetAccountUpdater()

UnsetAccountUpdater ensures that no value is present for AccountUpdater, not even an explicit nil

func (*BINLookupRequestContext) UnsetBin ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetBin()

UnsetBin ensures that no value is present for Bin, not even an explicit nil

func (*BINLookupRequestContext) UnsetCountryCode ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetCountryCode()

UnsetCountryCode ensures that no value is present for CountryCode, not even an explicit nil

func (*BINLookupRequestContext) UnsetIssuerTokenization ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetIssuerTokenization()

UnsetIssuerTokenization ensures that no value is present for IssuerTokenization, not even an explicit nil

func (*BINLookupRequestContext) UnsetResponse ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetResponse()

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*BINLookupRequestContext) UnsetScheme ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

func (*BINLookupRequestContext) UnsetType ¶ added in v0.31.0

func (o *BINLookupRequestContext) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

type BasicAuth ¶ added in v0.2.1

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BillingDetails ¶ added in v0.3.0

type BillingDetails struct {
	// The type of this resource. Is always `billing-details`.
	Type *string `json:"type,omitempty"`
	// The first name(s) or given name of the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address of the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number of the buyer. This number is formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The billing address of the buyer.
	Address NullableAddress `json:"address,omitempty"`
	// The tax information associated with the billing details.
	TaxId NullableTaxId `json:"tax_id,omitempty"`
}

BillingDetails Billing details associated to a buyer.

func NewBillingDetails ¶ added in v0.3.0

func NewBillingDetails() *BillingDetails

NewBillingDetails instantiates a new BillingDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBillingDetailsWithDefaults ¶ added in v0.3.0

func NewBillingDetailsWithDefaults() *BillingDetails

NewBillingDetailsWithDefaults instantiates a new BillingDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BillingDetails) GetAddress ¶ added in v0.3.0

func (o *BillingDetails) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetAddressOk ¶ added in v0.3.0

func (o *BillingDetails) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetEmailAddress ¶ added in v0.3.0

func (o *BillingDetails) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetEmailAddressOk ¶ added in v0.3.0

func (o *BillingDetails) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetFirstName ¶ added in v0.3.0

func (o *BillingDetails) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetFirstNameOk ¶ added in v0.3.0

func (o *BillingDetails) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetLastName ¶ added in v0.3.0

func (o *BillingDetails) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetLastNameOk ¶ added in v0.3.0

func (o *BillingDetails) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetails) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetPhoneNumberOk ¶ added in v0.3.0

func (o *BillingDetails) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetTaxId ¶ added in v0.3.0

func (o *BillingDetails) GetTaxId() TaxId

GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetails) GetTaxIdOk ¶ added in v0.3.0

func (o *BillingDetails) GetTaxIdOk() (*TaxId, bool)

GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetails) GetType ¶ added in v0.16.0

func (o *BillingDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*BillingDetails) GetTypeOk ¶ added in v0.16.0

func (o *BillingDetails) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BillingDetails) HasAddress ¶ added in v0.3.0

func (o *BillingDetails) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*BillingDetails) HasEmailAddress ¶ added in v0.3.0

func (o *BillingDetails) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*BillingDetails) HasFirstName ¶ added in v0.3.0

func (o *BillingDetails) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*BillingDetails) HasLastName ¶ added in v0.3.0

func (o *BillingDetails) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*BillingDetails) HasPhoneNumber ¶ added in v0.3.0

func (o *BillingDetails) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*BillingDetails) HasTaxId ¶ added in v0.3.0

func (o *BillingDetails) HasTaxId() bool

HasTaxId returns a boolean if a field has been set.

func (*BillingDetails) HasType ¶ added in v0.16.0

func (o *BillingDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (BillingDetails) MarshalJSON ¶ added in v0.3.0

func (o BillingDetails) MarshalJSON() ([]byte, error)

func (*BillingDetails) SetAddress ¶ added in v0.3.0

func (o *BillingDetails) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*BillingDetails) SetAddressNil ¶ added in v0.3.0

func (o *BillingDetails) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*BillingDetails) SetEmailAddress ¶ added in v0.3.0

func (o *BillingDetails) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*BillingDetails) SetEmailAddressNil ¶ added in v0.3.0

func (o *BillingDetails) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*BillingDetails) SetFirstName ¶ added in v0.3.0

func (o *BillingDetails) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*BillingDetails) SetFirstNameNil ¶ added in v0.3.0

func (o *BillingDetails) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*BillingDetails) SetLastName ¶ added in v0.3.0

func (o *BillingDetails) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*BillingDetails) SetLastNameNil ¶ added in v0.3.0

func (o *BillingDetails) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*BillingDetails) SetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetails) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*BillingDetails) SetPhoneNumberNil ¶ added in v0.3.0

func (o *BillingDetails) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*BillingDetails) SetTaxId ¶ added in v0.3.0

func (o *BillingDetails) SetTaxId(v TaxId)

SetTaxId gets a reference to the given NullableTaxId and assigns it to the TaxId field.

func (*BillingDetails) SetTaxIdNil ¶ added in v0.3.0

func (o *BillingDetails) SetTaxIdNil()

SetTaxIdNil sets the value for TaxId to be an explicit nil

func (*BillingDetails) SetType ¶ added in v0.16.0

func (o *BillingDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*BillingDetails) UnsetAddress ¶ added in v0.3.0

func (o *BillingDetails) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*BillingDetails) UnsetEmailAddress ¶ added in v0.3.0

func (o *BillingDetails) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*BillingDetails) UnsetFirstName ¶ added in v0.3.0

func (o *BillingDetails) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*BillingDetails) UnsetLastName ¶ added in v0.3.0

func (o *BillingDetails) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*BillingDetails) UnsetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetails) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

func (*BillingDetails) UnsetTaxId ¶ added in v0.3.0

func (o *BillingDetails) UnsetTaxId()

UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil

type BillingDetailsRequest ¶ added in v0.16.0

type BillingDetailsRequest struct {
	// The first name(s) or given name for the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address for the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number for the buyer which should be formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The billing address for the buyer.
	Address NullableAddress `json:"address,omitempty"`
	// The tax ID information associated with the billing details.
	TaxId NullableTaxId `json:"tax_id,omitempty"`
}

BillingDetailsRequest Billing details to use associated to a buyer.

func NewBillingDetailsRequest ¶ added in v0.16.0

func NewBillingDetailsRequest() *BillingDetailsRequest

NewBillingDetailsRequest instantiates a new BillingDetailsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBillingDetailsRequestWithDefaults ¶ added in v0.16.0

func NewBillingDetailsRequestWithDefaults() *BillingDetailsRequest

NewBillingDetailsRequestWithDefaults instantiates a new BillingDetailsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BillingDetailsRequest) GetAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetAddressOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) GetEmailAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetEmailAddressOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) GetFirstName ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetFirstNameOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) GetLastName ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetLastNameOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) GetPhoneNumber ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetPhoneNumberOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) GetTaxId ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetTaxId() TaxId

GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsRequest) GetTaxIdOk ¶ added in v0.16.0

func (o *BillingDetailsRequest) GetTaxIdOk() (*TaxId, bool)

GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsRequest) HasAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*BillingDetailsRequest) HasEmailAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*BillingDetailsRequest) HasFirstName ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*BillingDetailsRequest) HasLastName ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*BillingDetailsRequest) HasPhoneNumber ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*BillingDetailsRequest) HasTaxId ¶ added in v0.16.0

func (o *BillingDetailsRequest) HasTaxId() bool

HasTaxId returns a boolean if a field has been set.

func (BillingDetailsRequest) MarshalJSON ¶ added in v0.16.0

func (o BillingDetailsRequest) MarshalJSON() ([]byte, error)

func (*BillingDetailsRequest) SetAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*BillingDetailsRequest) SetAddressNil ¶ added in v0.17.0

func (o *BillingDetailsRequest) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*BillingDetailsRequest) SetEmailAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*BillingDetailsRequest) SetEmailAddressNil ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*BillingDetailsRequest) SetFirstName ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*BillingDetailsRequest) SetFirstNameNil ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*BillingDetailsRequest) SetLastName ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*BillingDetailsRequest) SetLastNameNil ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*BillingDetailsRequest) SetPhoneNumber ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*BillingDetailsRequest) SetPhoneNumberNil ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*BillingDetailsRequest) SetTaxId ¶ added in v0.16.0

func (o *BillingDetailsRequest) SetTaxId(v TaxId)

SetTaxId gets a reference to the given NullableTaxId and assigns it to the TaxId field.

func (*BillingDetailsRequest) SetTaxIdNil ¶ added in v0.22.0

func (o *BillingDetailsRequest) SetTaxIdNil()

SetTaxIdNil sets the value for TaxId to be an explicit nil

func (*BillingDetailsRequest) UnsetAddress ¶ added in v0.17.0

func (o *BillingDetailsRequest) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*BillingDetailsRequest) UnsetEmailAddress ¶ added in v0.16.0

func (o *BillingDetailsRequest) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*BillingDetailsRequest) UnsetFirstName ¶ added in v0.16.0

func (o *BillingDetailsRequest) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*BillingDetailsRequest) UnsetLastName ¶ added in v0.16.0

func (o *BillingDetailsRequest) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*BillingDetailsRequest) UnsetPhoneNumber ¶ added in v0.16.0

func (o *BillingDetailsRequest) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

func (*BillingDetailsRequest) UnsetTaxId ¶ added in v0.22.0

func (o *BillingDetailsRequest) UnsetTaxId()

UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil

type BillingDetailsUpdateRequest ¶ added in v0.3.0

type BillingDetailsUpdateRequest struct {
	// The first name(s) or given name for the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address for the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number for the buyer which should be formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The billing address for the buyer.
	Address NullableAddress `json:"address,omitempty"`
	// The tax ID information associated with the billing details.
	TaxId NullableTaxId `json:"tax_id,omitempty"`
}

BillingDetailsUpdateRequest struct for BillingDetailsUpdateRequest

func NewBillingDetailsUpdateRequest ¶ added in v0.3.0

func NewBillingDetailsUpdateRequest() *BillingDetailsUpdateRequest

NewBillingDetailsUpdateRequest instantiates a new BillingDetailsUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBillingDetailsUpdateRequestWithDefaults ¶ added in v0.3.0

func NewBillingDetailsUpdateRequestWithDefaults() *BillingDetailsUpdateRequest

NewBillingDetailsUpdateRequestWithDefaults instantiates a new BillingDetailsUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BillingDetailsUpdateRequest) GetAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetAddressOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) GetEmailAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetEmailAddressOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) GetFirstName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetFirstNameOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) GetLastName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetLastNameOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) GetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetPhoneNumberOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) GetTaxId ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetTaxId() TaxId

GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingDetailsUpdateRequest) GetTaxIdOk ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) GetTaxIdOk() (*TaxId, bool)

GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingDetailsUpdateRequest) HasAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*BillingDetailsUpdateRequest) HasEmailAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*BillingDetailsUpdateRequest) HasFirstName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*BillingDetailsUpdateRequest) HasLastName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*BillingDetailsUpdateRequest) HasPhoneNumber ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*BillingDetailsUpdateRequest) HasTaxId ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) HasTaxId() bool

HasTaxId returns a boolean if a field has been set.

func (BillingDetailsUpdateRequest) MarshalJSON ¶ added in v0.3.0

func (o BillingDetailsUpdateRequest) MarshalJSON() ([]byte, error)

func (*BillingDetailsUpdateRequest) SetAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*BillingDetailsUpdateRequest) SetAddressNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*BillingDetailsUpdateRequest) SetEmailAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*BillingDetailsUpdateRequest) SetEmailAddressNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*BillingDetailsUpdateRequest) SetFirstName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*BillingDetailsUpdateRequest) SetFirstNameNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*BillingDetailsUpdateRequest) SetLastName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*BillingDetailsUpdateRequest) SetLastNameNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*BillingDetailsUpdateRequest) SetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*BillingDetailsUpdateRequest) SetPhoneNumberNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*BillingDetailsUpdateRequest) SetTaxId ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetTaxId(v TaxId)

SetTaxId gets a reference to the given NullableTaxId and assigns it to the TaxId field.

func (*BillingDetailsUpdateRequest) SetTaxIdNil ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) SetTaxIdNil()

SetTaxIdNil sets the value for TaxId to be an explicit nil

func (*BillingDetailsUpdateRequest) UnsetAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*BillingDetailsUpdateRequest) UnsetEmailAddress ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*BillingDetailsUpdateRequest) UnsetFirstName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*BillingDetailsUpdateRequest) UnsetLastName ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*BillingDetailsUpdateRequest) UnsetPhoneNumber ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

func (*BillingDetailsUpdateRequest) UnsetTaxId ¶ added in v0.3.0

func (o *BillingDetailsUpdateRequest) UnsetTaxId()

UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil

type BrowserInfo ¶ added in v0.17.0

type BrowserInfo struct {
	// Indicates whether the client browser supports Java.
	JavaEnabled bool `json:"java_enabled"`
	// Indicates whether the client browser supports JavaScript.
	JavascriptEnabled bool `json:"javascript_enabled"`
	// The preferred language of the buyer, usually the language of the browser UI.
	Language string `json:"language"`
	// The color depth of the screen.
	ColorDepth float32 `json:"color_depth"`
	// The height of the screen in pixels.
	ScreenHeight float32 `json:"screen_height"`
	// The width of the screen in pixels.
	ScreenWidth float32 `json:"screen_width"`
	// Time-zone offset in minutes between UTC and buyer location.
	TimeZoneOffset float32 `json:"time_zone_offset"`
	// The platform that is being used to access the website.
	UserDevice string `json:"user_device"`
	// The user agent string for the current browser.
	UserAgent string `json:"user_agent"`
	// The `Accept` header of the request from the buyer's browser.
	AcceptHeader *string `json:"accept_header,omitempty"`
}

BrowserInfo struct for BrowserInfo

func NewBrowserInfo ¶ added in v0.17.0

func NewBrowserInfo(javaEnabled bool, javascriptEnabled bool, language string, colorDepth float32, screenHeight float32, screenWidth float32, timeZoneOffset float32, userDevice string, userAgent string) *BrowserInfo

NewBrowserInfo instantiates a new BrowserInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBrowserInfoWithDefaults ¶ added in v0.17.0

func NewBrowserInfoWithDefaults() *BrowserInfo

NewBrowserInfoWithDefaults instantiates a new BrowserInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BrowserInfo) GetAcceptHeader ¶ added in v0.17.0

func (o *BrowserInfo) GetAcceptHeader() string

GetAcceptHeader returns the AcceptHeader field value if set, zero value otherwise.

func (*BrowserInfo) GetAcceptHeaderOk ¶ added in v0.17.0

func (o *BrowserInfo) GetAcceptHeaderOk() (*string, bool)

GetAcceptHeaderOk returns a tuple with the AcceptHeader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserInfo) GetColorDepth ¶ added in v0.17.0

func (o *BrowserInfo) GetColorDepth() float32

GetColorDepth returns the ColorDepth field value

func (*BrowserInfo) GetColorDepthOk ¶ added in v0.17.0

func (o *BrowserInfo) GetColorDepthOk() (*float32, bool)

GetColorDepthOk returns a tuple with the ColorDepth field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetJavaEnabled ¶ added in v0.17.0

func (o *BrowserInfo) GetJavaEnabled() bool

GetJavaEnabled returns the JavaEnabled field value

func (*BrowserInfo) GetJavaEnabledOk ¶ added in v0.17.0

func (o *BrowserInfo) GetJavaEnabledOk() (*bool, bool)

GetJavaEnabledOk returns a tuple with the JavaEnabled field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetJavascriptEnabled ¶ added in v0.17.0

func (o *BrowserInfo) GetJavascriptEnabled() bool

GetJavascriptEnabled returns the JavascriptEnabled field value

func (*BrowserInfo) GetJavascriptEnabledOk ¶ added in v0.17.0

func (o *BrowserInfo) GetJavascriptEnabledOk() (*bool, bool)

GetJavascriptEnabledOk returns a tuple with the JavascriptEnabled field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetLanguage ¶ added in v0.17.0

func (o *BrowserInfo) GetLanguage() string

GetLanguage returns the Language field value

func (*BrowserInfo) GetLanguageOk ¶ added in v0.17.0

func (o *BrowserInfo) GetLanguageOk() (*string, bool)

GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetScreenHeight ¶ added in v0.17.0

func (o *BrowserInfo) GetScreenHeight() float32

GetScreenHeight returns the ScreenHeight field value

func (*BrowserInfo) GetScreenHeightOk ¶ added in v0.17.0

func (o *BrowserInfo) GetScreenHeightOk() (*float32, bool)

GetScreenHeightOk returns a tuple with the ScreenHeight field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetScreenWidth ¶ added in v0.17.0

func (o *BrowserInfo) GetScreenWidth() float32

GetScreenWidth returns the ScreenWidth field value

func (*BrowserInfo) GetScreenWidthOk ¶ added in v0.17.0

func (o *BrowserInfo) GetScreenWidthOk() (*float32, bool)

GetScreenWidthOk returns a tuple with the ScreenWidth field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetTimeZoneOffset ¶ added in v0.17.0

func (o *BrowserInfo) GetTimeZoneOffset() float32

GetTimeZoneOffset returns the TimeZoneOffset field value

func (*BrowserInfo) GetTimeZoneOffsetOk ¶ added in v0.17.0

func (o *BrowserInfo) GetTimeZoneOffsetOk() (*float32, bool)

GetTimeZoneOffsetOk returns a tuple with the TimeZoneOffset field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetUserAgent ¶ added in v0.17.0

func (o *BrowserInfo) GetUserAgent() string

GetUserAgent returns the UserAgent field value

func (*BrowserInfo) GetUserAgentOk ¶ added in v0.17.0

func (o *BrowserInfo) GetUserAgentOk() (*string, bool)

GetUserAgentOk returns a tuple with the UserAgent field value and a boolean to check if the value has been set.

func (*BrowserInfo) GetUserDevice ¶ added in v0.17.0

func (o *BrowserInfo) GetUserDevice() string

GetUserDevice returns the UserDevice field value

func (*BrowserInfo) GetUserDeviceOk ¶ added in v0.17.0

func (o *BrowserInfo) GetUserDeviceOk() (*string, bool)

GetUserDeviceOk returns a tuple with the UserDevice field value and a boolean to check if the value has been set.

func (*BrowserInfo) HasAcceptHeader ¶ added in v0.17.0

func (o *BrowserInfo) HasAcceptHeader() bool

HasAcceptHeader returns a boolean if a field has been set.

func (BrowserInfo) MarshalJSON ¶ added in v0.17.0

func (o BrowserInfo) MarshalJSON() ([]byte, error)

func (*BrowserInfo) SetAcceptHeader ¶ added in v0.17.0

func (o *BrowserInfo) SetAcceptHeader(v string)

SetAcceptHeader gets a reference to the given string and assigns it to the AcceptHeader field.

func (*BrowserInfo) SetColorDepth ¶ added in v0.17.0

func (o *BrowserInfo) SetColorDepth(v float32)

SetColorDepth sets field value

func (*BrowserInfo) SetJavaEnabled ¶ added in v0.17.0

func (o *BrowserInfo) SetJavaEnabled(v bool)

SetJavaEnabled sets field value

func (*BrowserInfo) SetJavascriptEnabled ¶ added in v0.17.0

func (o *BrowserInfo) SetJavascriptEnabled(v bool)

SetJavascriptEnabled sets field value

func (*BrowserInfo) SetLanguage ¶ added in v0.17.0

func (o *BrowserInfo) SetLanguage(v string)

SetLanguage sets field value

func (*BrowserInfo) SetScreenHeight ¶ added in v0.17.0

func (o *BrowserInfo) SetScreenHeight(v float32)

SetScreenHeight sets field value

func (*BrowserInfo) SetScreenWidth ¶ added in v0.17.0

func (o *BrowserInfo) SetScreenWidth(v float32)

SetScreenWidth sets field value

func (*BrowserInfo) SetTimeZoneOffset ¶ added in v0.17.0

func (o *BrowserInfo) SetTimeZoneOffset(v float32)

SetTimeZoneOffset sets field value

func (*BrowserInfo) SetUserAgent ¶ added in v0.17.0

func (o *BrowserInfo) SetUserAgent(v string)

SetUserAgent sets field value

func (*BrowserInfo) SetUserDevice ¶ added in v0.17.0

func (o *BrowserInfo) SetUserDevice(v string)

SetUserDevice sets field value

type Buyer ¶

type Buyer struct {
	// The type of this resource. Is always `buyer`.
	Type *string `json:"type,omitempty"`
	// The unique Gr4vy ID for this buyer.
	Id *string `json:"id,omitempty"`
	// The billing details associated with a buyer.
	BillingDetails NullableBillingDetails `json:"billing_details,omitempty"`
	// The date and time when this buyer was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
	DisplayName NullableString `json:"display_name,omitempty"`
	// An external identifier that can be used to match the buyer against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The date and time when this buyer was last updated in our system.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Buyer struct for Buyer

func NewBuyer ¶ added in v0.2.1

func NewBuyer() *Buyer

NewBuyer instantiates a new Buyer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBuyerWithDefaults ¶ added in v0.2.1

func NewBuyerWithDefaults() *Buyer

NewBuyerWithDefaults instantiates a new Buyer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Buyer) GetBillingDetails ¶ added in v0.3.0

func (o *Buyer) GetBillingDetails() BillingDetails

GetBillingDetails returns the BillingDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Buyer) GetBillingDetailsOk ¶ added in v0.3.0

func (o *Buyer) GetBillingDetailsOk() (*BillingDetails, bool)

GetBillingDetailsOk returns a tuple with the BillingDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Buyer) GetCreatedAt ¶ added in v0.2.1

func (o *Buyer) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Buyer) GetCreatedAtOk ¶ added in v0.2.1

func (o *Buyer) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyer) GetDisplayName ¶ added in v0.2.1

func (o *Buyer) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Buyer) GetDisplayNameOk ¶ added in v0.2.1

func (o *Buyer) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Buyer) GetExternalIdentifier ¶ added in v0.2.1

func (o *Buyer) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Buyer) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *Buyer) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Buyer) GetId ¶ added in v0.2.1

func (o *Buyer) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Buyer) GetIdOk ¶ added in v0.2.1

func (o *Buyer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyer) GetMerchantAccountId ¶ added in v0.27.0

func (o *Buyer) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*Buyer) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *Buyer) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyer) GetType ¶ added in v0.2.1

func (o *Buyer) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Buyer) GetTypeOk ¶ added in v0.2.1

func (o *Buyer) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyer) GetUpdatedAt ¶ added in v0.2.1

func (o *Buyer) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Buyer) GetUpdatedAtOk ¶ added in v0.2.1

func (o *Buyer) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyer) HasBillingDetails ¶ added in v0.3.0

func (o *Buyer) HasBillingDetails() bool

HasBillingDetails returns a boolean if a field has been set.

func (*Buyer) HasCreatedAt ¶ added in v0.2.1

func (o *Buyer) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Buyer) HasDisplayName ¶ added in v0.2.1

func (o *Buyer) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Buyer) HasExternalIdentifier ¶ added in v0.2.1

func (o *Buyer) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*Buyer) HasId ¶ added in v0.2.1

func (o *Buyer) HasId() bool

HasId returns a boolean if a field has been set.

func (*Buyer) HasMerchantAccountId ¶ added in v0.27.0

func (o *Buyer) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*Buyer) HasType ¶ added in v0.2.1

func (o *Buyer) HasType() bool

HasType returns a boolean if a field has been set.

func (*Buyer) HasUpdatedAt ¶ added in v0.2.1

func (o *Buyer) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Buyer) MarshalJSON ¶ added in v0.2.1

func (o Buyer) MarshalJSON() ([]byte, error)

func (*Buyer) SetBillingDetails ¶ added in v0.3.0

func (o *Buyer) SetBillingDetails(v BillingDetails)

SetBillingDetails gets a reference to the given NullableBillingDetails and assigns it to the BillingDetails field.

func (*Buyer) SetBillingDetailsNil ¶ added in v0.3.0

func (o *Buyer) SetBillingDetailsNil()

SetBillingDetailsNil sets the value for BillingDetails to be an explicit nil

func (*Buyer) SetCreatedAt ¶ added in v0.2.1

func (o *Buyer) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Buyer) SetDisplayName ¶ added in v0.2.1

func (o *Buyer) SetDisplayName(v string)

SetDisplayName gets a reference to the given NullableString and assigns it to the DisplayName field.

func (*Buyer) SetDisplayNameNil ¶ added in v0.2.1

func (o *Buyer) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*Buyer) SetExternalIdentifier ¶ added in v0.2.1

func (o *Buyer) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*Buyer) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *Buyer) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*Buyer) SetId ¶ added in v0.2.1

func (o *Buyer) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Buyer) SetMerchantAccountId ¶ added in v0.27.0

func (o *Buyer) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*Buyer) SetType ¶ added in v0.2.1

func (o *Buyer) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Buyer) SetUpdatedAt ¶ added in v0.2.1

func (o *Buyer) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Buyer) UnsetBillingDetails ¶ added in v0.3.0

func (o *Buyer) UnsetBillingDetails()

UnsetBillingDetails ensures that no value is present for BillingDetails, not even an explicit nil

func (*Buyer) UnsetDisplayName ¶ added in v0.2.1

func (o *Buyer) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

func (*Buyer) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *Buyer) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type BuyerRequest ¶

type BuyerRequest struct {
	// An external identifier that can be used to match the buyer against your own records. This value needs to be unique for all buyers.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
	DisplayName NullableString `json:"display_name,omitempty"`
	// The optional billing details to associate with a buyer.
	BillingDetails NullableBillingDetailsRequest `json:"billing_details,omitempty"`
}

BuyerRequest A request to create a buyer.

func NewBuyerRequest ¶ added in v0.2.1

func NewBuyerRequest() *BuyerRequest

NewBuyerRequest instantiates a new BuyerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBuyerRequestWithDefaults ¶ added in v0.2.1

func NewBuyerRequestWithDefaults() *BuyerRequest

NewBuyerRequestWithDefaults instantiates a new BuyerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BuyerRequest) GetBillingDetails ¶ added in v0.3.0

func (o *BuyerRequest) GetBillingDetails() BillingDetailsRequest

GetBillingDetails returns the BillingDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerRequest) GetBillingDetailsOk ¶ added in v0.3.0

func (o *BuyerRequest) GetBillingDetailsOk() (*BillingDetailsRequest, bool)

GetBillingDetailsOk returns a tuple with the BillingDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerRequest) GetDisplayName ¶ added in v0.2.1

func (o *BuyerRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerRequest) GetDisplayNameOk ¶ added in v0.2.1

func (o *BuyerRequest) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *BuyerRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerRequest) HasBillingDetails ¶ added in v0.3.0

func (o *BuyerRequest) HasBillingDetails() bool

HasBillingDetails returns a boolean if a field has been set.

func (*BuyerRequest) HasDisplayName ¶ added in v0.2.1

func (o *BuyerRequest) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*BuyerRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *BuyerRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (BuyerRequest) MarshalJSON ¶ added in v0.2.1

func (o BuyerRequest) MarshalJSON() ([]byte, error)

func (*BuyerRequest) SetBillingDetails ¶ added in v0.3.0

func (o *BuyerRequest) SetBillingDetails(v BillingDetailsRequest)

SetBillingDetails gets a reference to the given NullableBillingDetailsRequest and assigns it to the BillingDetails field.

func (*BuyerRequest) SetBillingDetailsNil ¶ added in v0.3.0

func (o *BuyerRequest) SetBillingDetailsNil()

SetBillingDetailsNil sets the value for BillingDetails to be an explicit nil

func (*BuyerRequest) SetDisplayName ¶ added in v0.2.1

func (o *BuyerRequest) SetDisplayName(v string)

SetDisplayName gets a reference to the given NullableString and assigns it to the DisplayName field.

func (*BuyerRequest) SetDisplayNameNil ¶ added in v0.2.1

func (o *BuyerRequest) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*BuyerRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*BuyerRequest) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *BuyerRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*BuyerRequest) UnsetBillingDetails ¶ added in v0.3.0

func (o *BuyerRequest) UnsetBillingDetails()

UnsetBillingDetails ensures that no value is present for BillingDetails, not even an explicit nil

func (*BuyerRequest) UnsetDisplayName ¶ added in v0.2.1

func (o *BuyerRequest) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

func (*BuyerRequest) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type BuyerSnapshot ¶ added in v0.2.1

type BuyerSnapshot struct {
	// The type of this resource. Is always `buyer`.
	Type *string `json:"type,omitempty"`
	// The unique Gr4vy ID for this buyer.
	Id *string `json:"id,omitempty"`
	// The billing details associated with the buyer, which include the address and tax ID.
	BillingDetails NullableBillingDetails `json:"billing_details,omitempty"`
	// A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
	DisplayName NullableString `json:"display_name,omitempty"`
	// An external identifier that can be used to match the buyer against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
}

BuyerSnapshot Snapshot of a buyer, as used when embedded inside other resources.

func NewBuyerSnapshot ¶ added in v0.2.1

func NewBuyerSnapshot() *BuyerSnapshot

NewBuyerSnapshot instantiates a new BuyerSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBuyerSnapshotWithDefaults ¶ added in v0.2.1

func NewBuyerSnapshotWithDefaults() *BuyerSnapshot

NewBuyerSnapshotWithDefaults instantiates a new BuyerSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BuyerSnapshot) GetBillingDetails ¶ added in v0.3.0

func (o *BuyerSnapshot) GetBillingDetails() BillingDetails

GetBillingDetails returns the BillingDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerSnapshot) GetBillingDetailsOk ¶ added in v0.3.0

func (o *BuyerSnapshot) GetBillingDetailsOk() (*BillingDetails, bool)

GetBillingDetailsOk returns a tuple with the BillingDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerSnapshot) GetDisplayName ¶ added in v0.2.1

func (o *BuyerSnapshot) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerSnapshot) GetDisplayNameOk ¶ added in v0.2.1

func (o *BuyerSnapshot) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerSnapshot) GetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerSnapshot) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerSnapshot) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *BuyerSnapshot) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerSnapshot) GetId ¶ added in v0.2.1

func (o *BuyerSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BuyerSnapshot) GetIdOk ¶ added in v0.2.1

func (o *BuyerSnapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BuyerSnapshot) GetType ¶ added in v0.2.1

func (o *BuyerSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*BuyerSnapshot) GetTypeOk ¶ added in v0.2.1

func (o *BuyerSnapshot) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BuyerSnapshot) HasBillingDetails ¶ added in v0.3.0

func (o *BuyerSnapshot) HasBillingDetails() bool

HasBillingDetails returns a boolean if a field has been set.

func (*BuyerSnapshot) HasDisplayName ¶ added in v0.2.1

func (o *BuyerSnapshot) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*BuyerSnapshot) HasExternalIdentifier ¶ added in v0.2.1

func (o *BuyerSnapshot) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*BuyerSnapshot) HasId ¶ added in v0.2.1

func (o *BuyerSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*BuyerSnapshot) HasType ¶ added in v0.2.1

func (o *BuyerSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (BuyerSnapshot) MarshalJSON ¶ added in v0.2.1

func (o BuyerSnapshot) MarshalJSON() ([]byte, error)

func (*BuyerSnapshot) SetBillingDetails ¶ added in v0.3.0

func (o *BuyerSnapshot) SetBillingDetails(v BillingDetails)

SetBillingDetails gets a reference to the given NullableBillingDetails and assigns it to the BillingDetails field.

func (*BuyerSnapshot) SetBillingDetailsNil ¶ added in v0.3.0

func (o *BuyerSnapshot) SetBillingDetailsNil()

SetBillingDetailsNil sets the value for BillingDetails to be an explicit nil

func (*BuyerSnapshot) SetDisplayName ¶ added in v0.2.1

func (o *BuyerSnapshot) SetDisplayName(v string)

SetDisplayName gets a reference to the given NullableString and assigns it to the DisplayName field.

func (*BuyerSnapshot) SetDisplayNameNil ¶ added in v0.2.1

func (o *BuyerSnapshot) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*BuyerSnapshot) SetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerSnapshot) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*BuyerSnapshot) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *BuyerSnapshot) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*BuyerSnapshot) SetId ¶ added in v0.2.1

func (o *BuyerSnapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BuyerSnapshot) SetType ¶ added in v0.2.1

func (o *BuyerSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*BuyerSnapshot) UnsetBillingDetails ¶ added in v0.3.0

func (o *BuyerSnapshot) UnsetBillingDetails()

UnsetBillingDetails ensures that no value is present for BillingDetails, not even an explicit nil

func (*BuyerSnapshot) UnsetDisplayName ¶ added in v0.2.1

func (o *BuyerSnapshot) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

func (*BuyerSnapshot) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerSnapshot) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type BuyerUpdate ¶

type BuyerUpdate struct {
	// An external identifier that can be used to match the buyer against your own records. This value needs to be unique for all buyers.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
	DisplayName NullableString `json:"display_name,omitempty"`
	// The billing details of the buyer.
	BillingDetails NullableBillingDetailsUpdateRequest `json:"billing_details,omitempty"`
}

BuyerUpdate A request to update a buyer.

func NewBuyerUpdate ¶ added in v0.2.1

func NewBuyerUpdate() *BuyerUpdate

NewBuyerUpdate instantiates a new BuyerUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBuyerUpdateWithDefaults ¶ added in v0.2.1

func NewBuyerUpdateWithDefaults() *BuyerUpdate

NewBuyerUpdateWithDefaults instantiates a new BuyerUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BuyerUpdate) GetBillingDetails ¶ added in v0.3.0

func (o *BuyerUpdate) GetBillingDetails() BillingDetailsUpdateRequest

GetBillingDetails returns the BillingDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerUpdate) GetBillingDetailsOk ¶ added in v0.3.0

func (o *BuyerUpdate) GetBillingDetailsOk() (*BillingDetailsUpdateRequest, bool)

GetBillingDetailsOk returns a tuple with the BillingDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerUpdate) GetDisplayName ¶ added in v0.2.1

func (o *BuyerUpdate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerUpdate) GetDisplayNameOk ¶ added in v0.2.1

func (o *BuyerUpdate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerUpdate) GetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerUpdate) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BuyerUpdate) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *BuyerUpdate) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BuyerUpdate) HasBillingDetails ¶ added in v0.3.0

func (o *BuyerUpdate) HasBillingDetails() bool

HasBillingDetails returns a boolean if a field has been set.

func (*BuyerUpdate) HasDisplayName ¶ added in v0.2.1

func (o *BuyerUpdate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*BuyerUpdate) HasExternalIdentifier ¶ added in v0.2.1

func (o *BuyerUpdate) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (BuyerUpdate) MarshalJSON ¶ added in v0.2.1

func (o BuyerUpdate) MarshalJSON() ([]byte, error)

func (*BuyerUpdate) SetBillingDetails ¶ added in v0.3.0

func (o *BuyerUpdate) SetBillingDetails(v BillingDetailsUpdateRequest)

SetBillingDetails gets a reference to the given NullableBillingDetailsUpdateRequest and assigns it to the BillingDetails field.

func (*BuyerUpdate) SetBillingDetailsNil ¶ added in v0.3.0

func (o *BuyerUpdate) SetBillingDetailsNil()

SetBillingDetailsNil sets the value for BillingDetails to be an explicit nil

func (*BuyerUpdate) SetDisplayName ¶ added in v0.2.1

func (o *BuyerUpdate) SetDisplayName(v string)

SetDisplayName gets a reference to the given NullableString and assigns it to the DisplayName field.

func (*BuyerUpdate) SetDisplayNameNil ¶ added in v0.2.1

func (o *BuyerUpdate) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*BuyerUpdate) SetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerUpdate) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*BuyerUpdate) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *BuyerUpdate) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*BuyerUpdate) UnsetBillingDetails ¶ added in v0.3.0

func (o *BuyerUpdate) UnsetBillingDetails()

UnsetBillingDetails ensures that no value is present for BillingDetails, not even an explicit nil

func (*BuyerUpdate) UnsetDisplayName ¶ added in v0.2.1

func (o *BuyerUpdate) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

func (*BuyerUpdate) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *BuyerUpdate) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type Buyers ¶

type Buyers struct {
	// A list of buyers.
	Items *[]Buyer `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

Buyers A list of buyers.

func NewBuyers ¶ added in v0.2.1

func NewBuyers() *Buyers

NewBuyers instantiates a new Buyers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBuyersWithDefaults ¶ added in v0.2.1

func NewBuyersWithDefaults() *Buyers

NewBuyersWithDefaults instantiates a new Buyers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Buyers) GetItems ¶ added in v0.2.1

func (o *Buyers) GetItems() []Buyer

GetItems returns the Items field value if set, zero value otherwise.

func (*Buyers) GetItemsOk ¶ added in v0.2.1

func (o *Buyers) GetItemsOk() (*[]Buyer, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyers) GetLimit ¶ added in v0.2.1

func (o *Buyers) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Buyers) GetLimitOk ¶ added in v0.2.1

func (o *Buyers) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Buyers) GetNextCursor ¶ added in v0.2.1

func (o *Buyers) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Buyers) GetNextCursorOk ¶ added in v0.2.1

func (o *Buyers) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Buyers) GetPreviousCursor ¶ added in v0.2.1

func (o *Buyers) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Buyers) GetPreviousCursorOk ¶ added in v0.2.1

func (o *Buyers) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Buyers) HasItems ¶ added in v0.2.1

func (o *Buyers) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Buyers) HasLimit ¶ added in v0.2.1

func (o *Buyers) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Buyers) HasNextCursor ¶ added in v0.2.1

func (o *Buyers) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*Buyers) HasPreviousCursor ¶ added in v0.2.1

func (o *Buyers) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (Buyers) MarshalJSON ¶ added in v0.2.1

func (o Buyers) MarshalJSON() ([]byte, error)

func (*Buyers) SetItems ¶ added in v0.2.1

func (o *Buyers) SetItems(v []Buyer)

SetItems gets a reference to the given []Buyer and assigns it to the Items field.

func (*Buyers) SetLimit ¶ added in v0.2.1

func (o *Buyers) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*Buyers) SetNextCursor ¶ added in v0.2.1

func (o *Buyers) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*Buyers) SetNextCursorNil ¶ added in v0.2.1

func (o *Buyers) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*Buyers) SetPreviousCursor ¶ added in v0.2.1

func (o *Buyers) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*Buyers) SetPreviousCursorNil ¶ added in v0.2.1

func (o *Buyers) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*Buyers) UnsetNextCursor ¶ added in v0.2.1

func (o *Buyers) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*Buyers) UnsetPreviousCursor ¶ added in v0.2.1

func (o *Buyers) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type BuyersApiService ¶ added in v0.2.1

type BuyersApiService service

BuyersApiService BuyersApi service

func (*BuyersApiService) DeleteBuyer ¶ added in v0.2.1

func (a *BuyersApiService) DeleteBuyer(ctx _context.Context, buyerId string) ApiDeleteBuyerRequest
  • DeleteBuyer Delete buyer
  • Deletes a buyer record. Any associated stored payment methods will remain

in the system but no longer associated to the buyer.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buyerId The unique ID for a buyer.
  • @return ApiDeleteBuyerRequest

func (*BuyersApiService) DeleteBuyerExecute ¶ added in v0.2.1

func (a *BuyersApiService) DeleteBuyerExecute(r ApiDeleteBuyerRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*BuyersApiService) DeleteBuyerShippingDetail ¶ added in v0.22.0

func (a *BuyersApiService) DeleteBuyerShippingDetail(ctx _context.Context, buyerId string, shippingDetailId string) ApiDeleteBuyerShippingDetailRequest

* DeleteBuyerShippingDetail Delete buyer shipping detail * Deletes a buyer shipping detail. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @param shippingDetailId The unique ID for a buyer's shipping detail. * @return ApiDeleteBuyerShippingDetailRequest

func (*BuyersApiService) DeleteBuyerShippingDetailExecute ¶ added in v0.22.0

func (a *BuyersApiService) DeleteBuyerShippingDetailExecute(r ApiDeleteBuyerShippingDetailRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*BuyersApiService) GetBuyer ¶ added in v0.2.1

func (a *BuyersApiService) GetBuyer(ctx _context.Context, buyerId string) ApiGetBuyerRequest

* GetBuyer Get buyer * Gets the information about a buyer. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @return ApiGetBuyerRequest

func (*BuyersApiService) GetBuyerExecute ¶ added in v0.2.1

func (a *BuyersApiService) GetBuyerExecute(r ApiGetBuyerRequest) (Buyer, *_nethttp.Response, error)

* Execute executes the request * @return Buyer

func (*BuyersApiService) ListBuyerShippingDetails ¶ added in v0.27.0

func (a *BuyersApiService) ListBuyerShippingDetails(ctx _context.Context, buyerId string) ApiListBuyerShippingDetailsRequest

* ListBuyerShippingDetails List buyer shipping details * Retrieve all shipping details for a buyer. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @return ApiListBuyerShippingDetailsRequest

func (*BuyersApiService) ListBuyerShippingDetailsExecute ¶ added in v0.27.0

* Execute executes the request * @return ShippingDetails

func (*BuyersApiService) ListBuyers ¶ added in v0.2.1

* ListBuyers List buyers * Returns a list of buyers. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListBuyersRequest

func (*BuyersApiService) ListBuyersExecute ¶ added in v0.2.1

func (a *BuyersApiService) ListBuyersExecute(r ApiListBuyersRequest) (Buyers, *_nethttp.Response, error)

* Execute executes the request * @return Buyers

func (*BuyersApiService) NewBuyer ¶ added in v0.27.0

  • NewBuyer New buyer
  • Adds a buyer, allowing for payment methods and transactions to be associated

to this buyer.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiNewBuyerRequest

func (*BuyersApiService) NewBuyerExecute ¶ added in v0.27.0

func (a *BuyersApiService) NewBuyerExecute(r ApiNewBuyerRequest) (Buyer, *_nethttp.Response, error)

* Execute executes the request * @return Buyer

func (*BuyersApiService) NewBuyerShippingDetail ¶ added in v0.27.0

func (a *BuyersApiService) NewBuyerShippingDetail(ctx _context.Context, buyerId string) ApiNewBuyerShippingDetailRequest

* NewBuyerShippingDetail New buyer shipping detail * Adds a buyer shipping detail. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @return ApiNewBuyerShippingDetailRequest

func (*BuyersApiService) NewBuyerShippingDetailExecute ¶ added in v0.27.0

* Execute executes the request * @return ShippingDetail

func (*BuyersApiService) UpdateBuyer ¶ added in v0.2.1

func (a *BuyersApiService) UpdateBuyer(ctx _context.Context, buyerId string) ApiUpdateBuyerRequest

* UpdateBuyer Update buyer * Updates a buyer's details.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @return ApiUpdateBuyerRequest

func (*BuyersApiService) UpdateBuyerExecute ¶ added in v0.2.1

func (a *BuyersApiService) UpdateBuyerExecute(r ApiUpdateBuyerRequest) (Buyer, *_nethttp.Response, error)

* Execute executes the request * @return Buyer

func (*BuyersApiService) UpdateBuyerShippingDetail ¶ added in v0.22.0

func (a *BuyersApiService) UpdateBuyerShippingDetail(ctx _context.Context, buyerId string, shippingDetailId string) ApiUpdateBuyerShippingDetailRequest

* UpdateBuyerShippingDetail Update buyer shipping details * Updates shipping detail for a buyer. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param buyerId The unique ID for a buyer. * @param shippingDetailId The unique ID for a buyer's shipping detail. * @return ApiUpdateBuyerShippingDetailRequest

func (*BuyersApiService) UpdateBuyerShippingDetailExecute ¶ added in v0.22.0

func (a *BuyersApiService) UpdateBuyerShippingDetailExecute(r ApiUpdateBuyerShippingDetailRequest) (ShippingDetail, *_nethttp.Response, error)

* Execute executes the request * @return ShippingDetail

type CardDetails ¶

type CardDetails struct {
	// `card-detail`.
	Type *string `json:"type,omitempty"`
	// The 8 digit BIN of the card. When looking up card details using a `payment_method_id` this value will be `null`.
	Id *string `json:"id,omitempty"`
	// The type of card.
	CardType *string `json:"card_type,omitempty"`
	// The scheme/brand of the card.
	Scheme NullableString `json:"scheme,omitempty"`
	// An icon to display for the card scheme.
	SchemeIconUrl *string `json:"scheme_icon_url,omitempty"`
	// The 2-letter ISO code of the issuing country of the card.
	Country        *string         `json:"country,omitempty"`
	RequiredFields *RequiredFields `json:"required_fields,omitempty"`
}

CardDetails Details about a card.

func NewCardDetails ¶ added in v0.16.0

func NewCardDetails() *CardDetails

NewCardDetails instantiates a new CardDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardDetailsWithDefaults ¶ added in v0.16.0

func NewCardDetailsWithDefaults() *CardDetails

NewCardDetailsWithDefaults instantiates a new CardDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardDetails) GetCardType ¶ added in v0.16.0

func (o *CardDetails) GetCardType() string

GetCardType returns the CardType field value if set, zero value otherwise.

func (*CardDetails) GetCardTypeOk ¶ added in v0.16.0

func (o *CardDetails) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) GetCountry ¶ added in v0.16.0

func (o *CardDetails) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*CardDetails) GetCountryOk ¶ added in v0.16.0

func (o *CardDetails) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) GetId ¶ added in v0.16.0

func (o *CardDetails) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CardDetails) GetIdOk ¶ added in v0.16.0

func (o *CardDetails) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) GetRequiredFields ¶ added in v0.16.0

func (o *CardDetails) GetRequiredFields() RequiredFields

GetRequiredFields returns the RequiredFields field value if set, zero value otherwise.

func (*CardDetails) GetRequiredFieldsOk ¶ added in v0.16.0

func (o *CardDetails) GetRequiredFieldsOk() (*RequiredFields, bool)

GetRequiredFieldsOk returns a tuple with the RequiredFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) GetScheme ¶ added in v0.16.0

func (o *CardDetails) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardDetails) GetSchemeIconUrl ¶ added in v0.21.0

func (o *CardDetails) GetSchemeIconUrl() string

GetSchemeIconUrl returns the SchemeIconUrl field value if set, zero value otherwise.

func (*CardDetails) GetSchemeIconUrlOk ¶ added in v0.21.0

func (o *CardDetails) GetSchemeIconUrlOk() (*string, bool)

GetSchemeIconUrlOk returns a tuple with the SchemeIconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) GetSchemeOk ¶ added in v0.16.0

func (o *CardDetails) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CardDetails) GetType ¶ added in v0.16.0

func (o *CardDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CardDetails) GetTypeOk ¶ added in v0.16.0

func (o *CardDetails) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardDetails) HasCardType ¶ added in v0.16.0

func (o *CardDetails) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (*CardDetails) HasCountry ¶ added in v0.16.0

func (o *CardDetails) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CardDetails) HasId ¶ added in v0.16.0

func (o *CardDetails) HasId() bool

HasId returns a boolean if a field has been set.

func (*CardDetails) HasRequiredFields ¶ added in v0.16.0

func (o *CardDetails) HasRequiredFields() bool

HasRequiredFields returns a boolean if a field has been set.

func (*CardDetails) HasScheme ¶ added in v0.16.0

func (o *CardDetails) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*CardDetails) HasSchemeIconUrl ¶ added in v0.21.0

func (o *CardDetails) HasSchemeIconUrl() bool

HasSchemeIconUrl returns a boolean if a field has been set.

func (*CardDetails) HasType ¶ added in v0.16.0

func (o *CardDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (CardDetails) MarshalJSON ¶ added in v0.16.0

func (o CardDetails) MarshalJSON() ([]byte, error)

func (*CardDetails) SetCardType ¶ added in v0.16.0

func (o *CardDetails) SetCardType(v string)

SetCardType gets a reference to the given string and assigns it to the CardType field.

func (*CardDetails) SetCountry ¶ added in v0.16.0

func (o *CardDetails) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CardDetails) SetId ¶ added in v0.16.0

func (o *CardDetails) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CardDetails) SetRequiredFields ¶ added in v0.16.0

func (o *CardDetails) SetRequiredFields(v RequiredFields)

SetRequiredFields gets a reference to the given RequiredFields and assigns it to the RequiredFields field.

func (*CardDetails) SetScheme ¶ added in v0.16.0

func (o *CardDetails) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*CardDetails) SetSchemeIconUrl ¶ added in v0.21.0

func (o *CardDetails) SetSchemeIconUrl(v string)

SetSchemeIconUrl gets a reference to the given string and assigns it to the SchemeIconUrl field.

func (*CardDetails) SetSchemeNil ¶ added in v0.31.0

func (o *CardDetails) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*CardDetails) SetType ¶ added in v0.16.0

func (o *CardDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CardDetails) UnsetScheme ¶ added in v0.31.0

func (o *CardDetails) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

type CardRequest ¶

type CardRequest struct {
	// `card`.
	Method string `json:"method"`
	// The 13-19 digit number for this card as it can be found on the front of the card.
	Number string `json:"number"`
	// The expiration date of the card, formatted `MM/YY`.
	ExpirationDate string `json:"expiration_date"`
	// An external identifier that can be used to match the card against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The ID of the buyer to associate this payment method to. If this field is provided then the `buyer_external_identifier` field needs to be unset.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The `external_identifier` of the buyer to associate this payment method to. If this field is provided then the `buyer_id` field needs to be unset.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction or payment method. This only applies to payment methods that require buyer approval.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
}

CardRequest Details to register a new card payment method.

func NewCardRequest ¶ added in v0.2.1

func NewCardRequest(method string, number string, expirationDate string) *CardRequest

NewCardRequest instantiates a new CardRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardRequestWithDefaults ¶ added in v0.2.1

func NewCardRequestWithDefaults() *CardRequest

NewCardRequestWithDefaults instantiates a new CardRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardRequest) GetBuyerExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*CardRequest) GetBuyerExternalIdentifierOk ¶ added in v0.2.1

func (o *CardRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardRequest) GetBuyerId ¶ added in v0.2.1

func (o *CardRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*CardRequest) GetBuyerIdOk ¶ added in v0.2.1

func (o *CardRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardRequest) GetExpirationDate ¶ added in v0.2.1

func (o *CardRequest) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value

func (*CardRequest) GetExpirationDateOk ¶ added in v0.2.1

func (o *CardRequest) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.

func (*CardRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *CardRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CardRequest) GetMethod ¶ added in v0.2.1

func (o *CardRequest) GetMethod() string

GetMethod returns the Method field value

func (*CardRequest) GetMethodOk ¶ added in v0.2.1

func (o *CardRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*CardRequest) GetNumber ¶ added in v0.2.1

func (o *CardRequest) GetNumber() string

GetNumber returns the Number field value

func (*CardRequest) GetNumberOk ¶ added in v0.2.1

func (o *CardRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*CardRequest) GetRedirectUrl ¶ added in v0.3.0

func (o *CardRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardRequest) GetRedirectUrlOk ¶ added in v0.3.0

func (o *CardRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CardRequest) HasBuyerExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*CardRequest) HasBuyerId ¶ added in v0.2.1

func (o *CardRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*CardRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*CardRequest) HasRedirectUrl ¶ added in v0.3.0

func (o *CardRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (CardRequest) MarshalJSON ¶ added in v0.2.1

func (o CardRequest) MarshalJSON() ([]byte, error)

func (*CardRequest) SetBuyerExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*CardRequest) SetBuyerId ¶ added in v0.2.1

func (o *CardRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*CardRequest) SetExpirationDate ¶ added in v0.2.1

func (o *CardRequest) SetExpirationDate(v string)

SetExpirationDate sets field value

func (*CardRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*CardRequest) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *CardRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*CardRequest) SetMethod ¶ added in v0.2.1

func (o *CardRequest) SetMethod(v string)

SetMethod sets field value

func (*CardRequest) SetNumber ¶ added in v0.2.1

func (o *CardRequest) SetNumber(v string)

SetNumber sets field value

func (*CardRequest) SetRedirectUrl ¶ added in v0.3.0

func (o *CardRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*CardRequest) SetRedirectUrlNil ¶ added in v0.21.0

func (o *CardRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*CardRequest) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *CardRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*CardRequest) UnsetRedirectUrl ¶ added in v0.21.0

func (o *CardRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

type CardSchemeDefinition ¶ added in v0.19.0

type CardSchemeDefinition struct {
	// `card-scheme-definition`.
	Type *string `json:"type,omitempty"`
	// The name of this card scheme.
	Id *string `json:"id,omitempty"`
	// The icon for this card scheme.
	IconUrl *string `json:"icon_url,omitempty"`
	// The display name of this card scheme.
	DisplayName *string `json:"display_name,omitempty"`
}

CardSchemeDefinition Definitions of a card scheme including icon, label, etc.

func NewCardSchemeDefinition ¶ added in v0.19.0

func NewCardSchemeDefinition() *CardSchemeDefinition

NewCardSchemeDefinition instantiates a new CardSchemeDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardSchemeDefinitionWithDefaults ¶ added in v0.19.0

func NewCardSchemeDefinitionWithDefaults() *CardSchemeDefinition

NewCardSchemeDefinitionWithDefaults instantiates a new CardSchemeDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardSchemeDefinition) GetDisplayName ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*CardSchemeDefinition) GetDisplayNameOk ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardSchemeDefinition) GetIconUrl ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*CardSchemeDefinition) GetIconUrlOk ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardSchemeDefinition) GetId ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CardSchemeDefinition) GetIdOk ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardSchemeDefinition) GetType ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CardSchemeDefinition) GetTypeOk ¶ added in v0.19.0

func (o *CardSchemeDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardSchemeDefinition) HasDisplayName ¶ added in v0.19.0

func (o *CardSchemeDefinition) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*CardSchemeDefinition) HasIconUrl ¶ added in v0.19.0

func (o *CardSchemeDefinition) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*CardSchemeDefinition) HasId ¶ added in v0.19.0

func (o *CardSchemeDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*CardSchemeDefinition) HasType ¶ added in v0.19.0

func (o *CardSchemeDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (CardSchemeDefinition) MarshalJSON ¶ added in v0.19.0

func (o CardSchemeDefinition) MarshalJSON() ([]byte, error)

func (*CardSchemeDefinition) SetDisplayName ¶ added in v0.19.0

func (o *CardSchemeDefinition) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*CardSchemeDefinition) SetIconUrl ¶ added in v0.19.0

func (o *CardSchemeDefinition) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*CardSchemeDefinition) SetId ¶ added in v0.19.0

func (o *CardSchemeDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CardSchemeDefinition) SetType ¶ added in v0.19.0

func (o *CardSchemeDefinition) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type CardSchemeDefinitions ¶ added in v0.19.0

type CardSchemeDefinitions struct {
	Items *[]CardSchemeDefinition `json:"items,omitempty"`
}

CardSchemeDefinitions A list of available card scheme definitions.

func NewCardSchemeDefinitions ¶ added in v0.19.0

func NewCardSchemeDefinitions() *CardSchemeDefinitions

NewCardSchemeDefinitions instantiates a new CardSchemeDefinitions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCardSchemeDefinitionsWithDefaults ¶ added in v0.19.0

func NewCardSchemeDefinitionsWithDefaults() *CardSchemeDefinitions

NewCardSchemeDefinitionsWithDefaults instantiates a new CardSchemeDefinitions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CardSchemeDefinitions) GetItems ¶ added in v0.19.0

GetItems returns the Items field value if set, zero value otherwise.

func (*CardSchemeDefinitions) GetItemsOk ¶ added in v0.19.0

func (o *CardSchemeDefinitions) GetItemsOk() (*[]CardSchemeDefinition, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardSchemeDefinitions) HasItems ¶ added in v0.19.0

func (o *CardSchemeDefinitions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (CardSchemeDefinitions) MarshalJSON ¶ added in v0.19.0

func (o CardSchemeDefinitions) MarshalJSON() ([]byte, error)

func (*CardSchemeDefinitions) SetItems ¶ added in v0.19.0

SetItems gets a reference to the given []CardSchemeDefinition and assigns it to the Items field.

type CardSchemeDefinitionsApiService ¶ added in v0.19.0

type CardSchemeDefinitionsApiService service

CardSchemeDefinitionsApiService CardSchemeDefinitionsApi service

func (*CardSchemeDefinitionsApiService) ListCardSchemeDefinitions ¶ added in v0.19.0

* ListCardSchemeDefinitions List card scheme definitions * Returns a list of all available card scheme definitions. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListCardSchemeDefinitionsRequest

func (*CardSchemeDefinitionsApiService) ListCardSchemeDefinitionsExecute ¶ added in v0.19.0

* Execute executes the request * @return CardSchemeDefinitions

type CartItem ¶ added in v0.12.0

type CartItem struct {
	// The name of the cart item. The value you set for this property may be truncated if the maximum length accepted by a payment service provider is less than 255 characters.
	Name string `json:"name"`
	// The quantity of this item in the cart. This value cannot be negative or zero.
	Quantity int32 `json:"quantity"`
	// The amount for an individual item represented as a monetary amount in the smallest currency unit for the given currency, for example `1299` USD cents represents `$12.99`. The amount sent through to the payment processor as unitary amount will be calculated to include the discount and tax values sent as part of this cart item.
	UnitAmount int32 `json:"unit_amount"`
	// The amount discounted for this item represented as a monetary amount in the smallest currency unit for the given currency, for example `1299` USD cents represents `$12.99`.  Please note that this amount is for the total of the cart item and not for an individual item. For example, if the quantity is 5, this value should be the total discount amount for 5 of the cart item.  You might see unexpected failed transactions if the `discount_amount` can not be equally divided by the `quantity` value. This is due to the fact that some payment services require this amount to be specified per unit.  In this situation we recommend splitting this item into separate items, each with their own specific discount.
	DiscountAmount NullableInt32 `json:"discount_amount,omitempty"`
	// The tax amount for this item represented as a monetary amount in the smallest currency unit for the given currency, for example `1299` USD cents represents `$12.99`.  Please not that this amount is for the total of the cart item and not for an individual item. For example, if the quantity is 5, this value should be the total tax amount for 5 of the cart item.  You might see unexpected failed transactions if the `tax_amount` can not be equally divided by the `quantity` value. This is due to the fact that some payment services require this amount to be specified per unit.  In this situation we recommend splitting this item into separate items, each with their own specific tax amount.
	TaxAmount NullableInt32 `json:"tax_amount,omitempty"`
	// An external identifier for the cart item. This can be set to any value and is not sent to the payment service.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The SKU for the item.
	Sku NullableString `json:"sku,omitempty"`
	// The product URL for the item.
	ProductUrl NullableString `json:"product_url,omitempty"`
	// The URL for the image of the item.
	ImageUrl NullableString `json:"image_url,omitempty"`
	// A list of strings containing product categories for the item. Max length per item: 50.
	Categories []string `json:"categories,omitempty"`
	// The product type of the cart item.
	ProductType NullableString `json:"product_type,omitempty"`
}

CartItem A cart item that represents a single cart line item for a transaction. Note that some optional properties are required for certain payment service providers. If no value is set for these properties, we will use their default value. If the total due to be paid for the item is required by the payment service provider, generally referred to as the \"total amount\", the formula below will usually be used to calculate this amount: `(unit_amount * quantity) - discount_amount + tax_amount` It's highly recommended that the total amount to pay for all items should match the transaction's amount to reduce the risk of the transaction being declined by the payment service provider.

func NewCartItem ¶ added in v0.12.0

func NewCartItem(name string, quantity int32, unitAmount int32) *CartItem

NewCartItem instantiates a new CartItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCartItemWithDefaults ¶ added in v0.12.0

func NewCartItemWithDefaults() *CartItem

NewCartItemWithDefaults instantiates a new CartItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CartItem) GetCategories ¶ added in v0.12.0

func (o *CartItem) GetCategories() []string

GetCategories returns the Categories field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetCategoriesOk ¶ added in v0.12.0

func (o *CartItem) GetCategoriesOk() (*[]string, bool)

GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetDiscountAmount ¶ added in v0.12.0

func (o *CartItem) GetDiscountAmount() int32

GetDiscountAmount returns the DiscountAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetDiscountAmountOk ¶ added in v0.12.0

func (o *CartItem) GetDiscountAmountOk() (*int32, bool)

GetDiscountAmountOk returns a tuple with the DiscountAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetExternalIdentifier ¶ added in v0.12.0

func (o *CartItem) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetExternalIdentifierOk ¶ added in v0.12.0

func (o *CartItem) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetImageUrl ¶ added in v0.12.0

func (o *CartItem) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetImageUrlOk ¶ added in v0.12.0

func (o *CartItem) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetName ¶ added in v0.12.0

func (o *CartItem) GetName() string

GetName returns the Name field value

func (*CartItem) GetNameOk ¶ added in v0.12.0

func (o *CartItem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CartItem) GetProductType ¶ added in v0.12.0

func (o *CartItem) GetProductType() string

GetProductType returns the ProductType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetProductTypeOk ¶ added in v0.12.0

func (o *CartItem) GetProductTypeOk() (*string, bool)

GetProductTypeOk returns a tuple with the ProductType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetProductUrl ¶ added in v0.12.0

func (o *CartItem) GetProductUrl() string

GetProductUrl returns the ProductUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetProductUrlOk ¶ added in v0.12.0

func (o *CartItem) GetProductUrlOk() (*string, bool)

GetProductUrlOk returns a tuple with the ProductUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetQuantity ¶ added in v0.12.0

func (o *CartItem) GetQuantity() int32

GetQuantity returns the Quantity field value

func (*CartItem) GetQuantityOk ¶ added in v0.12.0

func (o *CartItem) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*CartItem) GetSku ¶ added in v0.12.0

func (o *CartItem) GetSku() string

GetSku returns the Sku field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetSkuOk ¶ added in v0.12.0

func (o *CartItem) GetSkuOk() (*string, bool)

GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetTaxAmount ¶ added in v0.12.0

func (o *CartItem) GetTaxAmount() int32

GetTaxAmount returns the TaxAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CartItem) GetTaxAmountOk ¶ added in v0.12.0

func (o *CartItem) GetTaxAmountOk() (*int32, bool)

GetTaxAmountOk returns a tuple with the TaxAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CartItem) GetUnitAmount ¶ added in v0.12.0

func (o *CartItem) GetUnitAmount() int32

GetUnitAmount returns the UnitAmount field value

func (*CartItem) GetUnitAmountOk ¶ added in v0.12.0

func (o *CartItem) GetUnitAmountOk() (*int32, bool)

GetUnitAmountOk returns a tuple with the UnitAmount field value and a boolean to check if the value has been set.

func (*CartItem) HasCategories ¶ added in v0.12.0

func (o *CartItem) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*CartItem) HasDiscountAmount ¶ added in v0.12.0

func (o *CartItem) HasDiscountAmount() bool

HasDiscountAmount returns a boolean if a field has been set.

func (*CartItem) HasExternalIdentifier ¶ added in v0.12.0

func (o *CartItem) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*CartItem) HasImageUrl ¶ added in v0.12.0

func (o *CartItem) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*CartItem) HasProductType ¶ added in v0.12.0

func (o *CartItem) HasProductType() bool

HasProductType returns a boolean if a field has been set.

func (*CartItem) HasProductUrl ¶ added in v0.12.0

func (o *CartItem) HasProductUrl() bool

HasProductUrl returns a boolean if a field has been set.

func (*CartItem) HasSku ¶ added in v0.12.0

func (o *CartItem) HasSku() bool

HasSku returns a boolean if a field has been set.

func (*CartItem) HasTaxAmount ¶ added in v0.12.0

func (o *CartItem) HasTaxAmount() bool

HasTaxAmount returns a boolean if a field has been set.

func (CartItem) MarshalJSON ¶ added in v0.12.0

func (o CartItem) MarshalJSON() ([]byte, error)

func (*CartItem) SetCategories ¶ added in v0.12.0

func (o *CartItem) SetCategories(v []string)

SetCategories gets a reference to the given []string and assigns it to the Categories field.

func (*CartItem) SetDiscountAmount ¶ added in v0.12.0

func (o *CartItem) SetDiscountAmount(v int32)

SetDiscountAmount gets a reference to the given NullableInt32 and assigns it to the DiscountAmount field.

func (*CartItem) SetDiscountAmountNil ¶ added in v0.12.0

func (o *CartItem) SetDiscountAmountNil()

SetDiscountAmountNil sets the value for DiscountAmount to be an explicit nil

func (*CartItem) SetExternalIdentifier ¶ added in v0.12.0

func (o *CartItem) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*CartItem) SetExternalIdentifierNil ¶ added in v0.12.0

func (o *CartItem) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*CartItem) SetImageUrl ¶ added in v0.12.0

func (o *CartItem) SetImageUrl(v string)

SetImageUrl gets a reference to the given NullableString and assigns it to the ImageUrl field.

func (*CartItem) SetImageUrlNil ¶ added in v0.12.0

func (o *CartItem) SetImageUrlNil()

SetImageUrlNil sets the value for ImageUrl to be an explicit nil

func (*CartItem) SetName ¶ added in v0.12.0

func (o *CartItem) SetName(v string)

SetName sets field value

func (*CartItem) SetProductType ¶ added in v0.12.0

func (o *CartItem) SetProductType(v string)

SetProductType gets a reference to the given NullableString and assigns it to the ProductType field.

func (*CartItem) SetProductTypeNil ¶ added in v0.12.0

func (o *CartItem) SetProductTypeNil()

SetProductTypeNil sets the value for ProductType to be an explicit nil

func (*CartItem) SetProductUrl ¶ added in v0.12.0

func (o *CartItem) SetProductUrl(v string)

SetProductUrl gets a reference to the given NullableString and assigns it to the ProductUrl field.

func (*CartItem) SetProductUrlNil ¶ added in v0.12.0

func (o *CartItem) SetProductUrlNil()

SetProductUrlNil sets the value for ProductUrl to be an explicit nil

func (*CartItem) SetQuantity ¶ added in v0.12.0

func (o *CartItem) SetQuantity(v int32)

SetQuantity sets field value

func (*CartItem) SetSku ¶ added in v0.12.0

func (o *CartItem) SetSku(v string)

SetSku gets a reference to the given NullableString and assigns it to the Sku field.

func (*CartItem) SetSkuNil ¶ added in v0.12.0

func (o *CartItem) SetSkuNil()

SetSkuNil sets the value for Sku to be an explicit nil

func (*CartItem) SetTaxAmount ¶ added in v0.12.0

func (o *CartItem) SetTaxAmount(v int32)

SetTaxAmount gets a reference to the given NullableInt32 and assigns it to the TaxAmount field.

func (*CartItem) SetTaxAmountNil ¶ added in v0.12.0

func (o *CartItem) SetTaxAmountNil()

SetTaxAmountNil sets the value for TaxAmount to be an explicit nil

func (*CartItem) SetUnitAmount ¶ added in v0.12.0

func (o *CartItem) SetUnitAmount(v int32)

SetUnitAmount sets field value

func (*CartItem) UnsetDiscountAmount ¶ added in v0.12.0

func (o *CartItem) UnsetDiscountAmount()

UnsetDiscountAmount ensures that no value is present for DiscountAmount, not even an explicit nil

func (*CartItem) UnsetExternalIdentifier ¶ added in v0.12.0

func (o *CartItem) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*CartItem) UnsetImageUrl ¶ added in v0.12.0

func (o *CartItem) UnsetImageUrl()

UnsetImageUrl ensures that no value is present for ImageUrl, not even an explicit nil

func (*CartItem) UnsetProductType ¶ added in v0.12.0

func (o *CartItem) UnsetProductType()

UnsetProductType ensures that no value is present for ProductType, not even an explicit nil

func (*CartItem) UnsetProductUrl ¶ added in v0.12.0

func (o *CartItem) UnsetProductUrl()

UnsetProductUrl ensures that no value is present for ProductUrl, not even an explicit nil

func (*CartItem) UnsetSku ¶ added in v0.12.0

func (o *CartItem) UnsetSku()

UnsetSku ensures that no value is present for Sku, not even an explicit nil

func (*CartItem) UnsetTaxAmount ¶ added in v0.12.0

func (o *CartItem) UnsetTaxAmount()

UnsetTaxAmount ensures that no value is present for TaxAmount, not even an explicit nil

type CheckoutSession ¶ added in v0.19.0

type CheckoutSession struct {
	// `checkout-session`.
	Type *string `json:"type,omitempty"`
	// The ID of the Checkout Session.
	Id *string `json:"id,omitempty"`
	// The date and time when the Checkout Session will expire. By default this will be set to 1 hour from the date of creation.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// An array of cart items that represents the line items of a transaction.
	CartItems []CartItem `json:"cart_items,omitempty"`
	// Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
	Metadata      map[string]string                    `json:"metadata,omitempty"`
	PaymentMethod NullableCheckoutSessionPaymentMethod `json:"payment_method,omitempty"`
}

CheckoutSession A short-lived checkout session.

func NewCheckoutSession ¶ added in v0.19.0

func NewCheckoutSession() *CheckoutSession

NewCheckoutSession instantiates a new CheckoutSession object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionWithDefaults ¶ added in v0.19.0

func NewCheckoutSessionWithDefaults() *CheckoutSession

NewCheckoutSessionWithDefaults instantiates a new CheckoutSession object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSession) GetCartItems ¶ added in v0.28.0

func (o *CheckoutSession) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSession) GetCartItemsOk ¶ added in v0.28.0

func (o *CheckoutSession) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSession) GetExpiresAt ¶ added in v0.19.0

func (o *CheckoutSession) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*CheckoutSession) GetExpiresAtOk ¶ added in v0.19.0

func (o *CheckoutSession) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSession) GetId ¶ added in v0.19.0

func (o *CheckoutSession) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CheckoutSession) GetIdOk ¶ added in v0.19.0

func (o *CheckoutSession) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSession) GetMetadata ¶ added in v0.28.0

func (o *CheckoutSession) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSession) GetMetadataOk ¶ added in v0.28.0

func (o *CheckoutSession) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSession) GetPaymentMethod ¶ added in v0.31.0

func (o *CheckoutSession) GetPaymentMethod() CheckoutSessionPaymentMethod

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSession) GetPaymentMethodOk ¶ added in v0.31.0

func (o *CheckoutSession) GetPaymentMethodOk() (*CheckoutSessionPaymentMethod, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSession) GetType ¶ added in v0.19.0

func (o *CheckoutSession) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CheckoutSession) GetTypeOk ¶ added in v0.19.0

func (o *CheckoutSession) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSession) HasCartItems ¶ added in v0.28.0

func (o *CheckoutSession) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*CheckoutSession) HasExpiresAt ¶ added in v0.19.0

func (o *CheckoutSession) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*CheckoutSession) HasId ¶ added in v0.19.0

func (o *CheckoutSession) HasId() bool

HasId returns a boolean if a field has been set.

func (*CheckoutSession) HasMetadata ¶ added in v0.28.0

func (o *CheckoutSession) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CheckoutSession) HasPaymentMethod ¶ added in v0.31.0

func (o *CheckoutSession) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*CheckoutSession) HasType ¶ added in v0.19.0

func (o *CheckoutSession) HasType() bool

HasType returns a boolean if a field has been set.

func (CheckoutSession) MarshalJSON ¶ added in v0.19.0

func (o CheckoutSession) MarshalJSON() ([]byte, error)

func (*CheckoutSession) SetCartItems ¶ added in v0.28.0

func (o *CheckoutSession) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*CheckoutSession) SetExpiresAt ¶ added in v0.19.0

func (o *CheckoutSession) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*CheckoutSession) SetId ¶ added in v0.19.0

func (o *CheckoutSession) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CheckoutSession) SetMetadata ¶ added in v0.28.0

func (o *CheckoutSession) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*CheckoutSession) SetPaymentMethod ¶ added in v0.31.0

func (o *CheckoutSession) SetPaymentMethod(v CheckoutSessionPaymentMethod)

SetPaymentMethod gets a reference to the given NullableCheckoutSessionPaymentMethod and assigns it to the PaymentMethod field.

func (*CheckoutSession) SetPaymentMethodNil ¶ added in v0.31.0

func (o *CheckoutSession) SetPaymentMethodNil()

SetPaymentMethodNil sets the value for PaymentMethod to be an explicit nil

func (*CheckoutSession) SetType ¶ added in v0.19.0

func (o *CheckoutSession) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CheckoutSession) UnsetPaymentMethod ¶ added in v0.31.0

func (o *CheckoutSession) UnsetPaymentMethod()

UnsetPaymentMethod ensures that no value is present for PaymentMethod, not even an explicit nil

type CheckoutSessionCreateRequest ¶ added in v0.28.0

type CheckoutSessionCreateRequest struct {
	// An array of cart items that represents the line items of a transaction.
	CartItems []CartItem `json:"cart_items,omitempty"`
	// Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
	Metadata map[string]string `json:"metadata,omitempty"`
}

CheckoutSessionCreateRequest A request to create a checkout session.

func NewCheckoutSessionCreateRequest ¶ added in v0.28.0

func NewCheckoutSessionCreateRequest() *CheckoutSessionCreateRequest

NewCheckoutSessionCreateRequest instantiates a new CheckoutSessionCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionCreateRequestWithDefaults ¶ added in v0.28.0

func NewCheckoutSessionCreateRequestWithDefaults() *CheckoutSessionCreateRequest

NewCheckoutSessionCreateRequestWithDefaults instantiates a new CheckoutSessionCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSessionCreateRequest) GetCartItems ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionCreateRequest) GetCartItemsOk ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionCreateRequest) GetMetadata ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionCreateRequest) GetMetadataOk ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionCreateRequest) HasCartItems ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*CheckoutSessionCreateRequest) HasMetadata ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (CheckoutSessionCreateRequest) MarshalJSON ¶ added in v0.28.0

func (o CheckoutSessionCreateRequest) MarshalJSON() ([]byte, error)

func (*CheckoutSessionCreateRequest) SetCartItems ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*CheckoutSessionCreateRequest) SetMetadata ¶ added in v0.28.0

func (o *CheckoutSessionCreateRequest) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

type CheckoutSessionPaymentMethod ¶ added in v0.31.0

type CheckoutSessionPaymentMethod struct {
	Type *string `json:"type,omitempty"`
	// Unique ID for the payment method.
	Id NullableString `json:"id,omitempty"`
	// Payment method type.
	Method *string `json:"method,omitempty"`
	// The scheme/brand of the card.
	Scheme NullableString `json:"scheme,omitempty"`
	// Last four digits of PAN.
	Label   NullableString                              `json:"label,omitempty"`
	Details NullableCheckoutSessionPaymentMethodDetails `json:"details,omitempty"`
	// The unique hash derived from the payment method identifier (e.g. card number).
	Fingerprint NullableString `json:"fingerprint,omitempty"`
}

CheckoutSessionPaymentMethod Details about the payment method for card type only.

func NewCheckoutSessionPaymentMethod ¶ added in v0.31.0

func NewCheckoutSessionPaymentMethod() *CheckoutSessionPaymentMethod

NewCheckoutSessionPaymentMethod instantiates a new CheckoutSessionPaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionPaymentMethodWithDefaults ¶ added in v0.31.0

func NewCheckoutSessionPaymentMethodWithDefaults() *CheckoutSessionPaymentMethod

NewCheckoutSessionPaymentMethodWithDefaults instantiates a new CheckoutSessionPaymentMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSessionPaymentMethod) GetDetails ¶ added in v0.31.0

GetDetails returns the Details field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethod) GetDetailsOk ¶ added in v0.31.0

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethod) GetFingerprint ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethod) GetFingerprintOk ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethod) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethod) GetIdOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethod) GetLabel ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethod) GetLabelOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethod) GetMethod ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*CheckoutSessionPaymentMethod) GetMethodOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSessionPaymentMethod) GetScheme ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethod) GetSchemeOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethod) GetType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CheckoutSessionPaymentMethod) GetTypeOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSessionPaymentMethod) HasDetails ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasFingerprint ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasLabel ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasMethod ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasScheme ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethod) HasType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

func (CheckoutSessionPaymentMethod) MarshalJSON ¶ added in v0.31.0

func (o CheckoutSessionPaymentMethod) MarshalJSON() ([]byte, error)

func (*CheckoutSessionPaymentMethod) SetDetails ¶ added in v0.31.0

SetDetails gets a reference to the given NullableCheckoutSessionPaymentMethodDetails and assigns it to the Details field.

func (*CheckoutSessionPaymentMethod) SetDetailsNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetDetailsNil()

SetDetailsNil sets the value for Details to be an explicit nil

func (*CheckoutSessionPaymentMethod) SetFingerprint ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) SetFingerprint(v string)

SetFingerprint gets a reference to the given NullableString and assigns it to the Fingerprint field.

func (*CheckoutSessionPaymentMethod) SetFingerprintNil ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) SetFingerprintNil()

SetFingerprintNil sets the value for Fingerprint to be an explicit nil

func (*CheckoutSessionPaymentMethod) SetId ¶ added in v0.31.0

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*CheckoutSessionPaymentMethod) SetIdNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*CheckoutSessionPaymentMethod) SetLabel ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetLabel(v string)

SetLabel gets a reference to the given NullableString and assigns it to the Label field.

func (*CheckoutSessionPaymentMethod) SetLabelNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetLabelNil()

SetLabelNil sets the value for Label to be an explicit nil

func (*CheckoutSessionPaymentMethod) SetMethod ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*CheckoutSessionPaymentMethod) SetScheme ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*CheckoutSessionPaymentMethod) SetSchemeNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*CheckoutSessionPaymentMethod) SetType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*CheckoutSessionPaymentMethod) UnsetDetails ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) UnsetDetails()

UnsetDetails ensures that no value is present for Details, not even an explicit nil

func (*CheckoutSessionPaymentMethod) UnsetFingerprint ¶ added in v0.33.0

func (o *CheckoutSessionPaymentMethod) UnsetFingerprint()

UnsetFingerprint ensures that no value is present for Fingerprint, not even an explicit nil

func (*CheckoutSessionPaymentMethod) UnsetId ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*CheckoutSessionPaymentMethod) UnsetLabel ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) UnsetLabel()

UnsetLabel ensures that no value is present for Label, not even an explicit nil

func (*CheckoutSessionPaymentMethod) UnsetScheme ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethod) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

type CheckoutSessionPaymentMethodDetails ¶ added in v0.31.0

type CheckoutSessionPaymentMethodDetails struct {
	// First six digits of PAN.
	Bin      NullableString `json:"bin,omitempty"`
	CardType NullableString `json:"card_type,omitempty"`
	// ISO 3166 two letter country code.
	CardCountry NullableString `json:"card_country,omitempty"`
}

CheckoutSessionPaymentMethodDetails struct for CheckoutSessionPaymentMethodDetails

func NewCheckoutSessionPaymentMethodDetails ¶ added in v0.31.0

func NewCheckoutSessionPaymentMethodDetails() *CheckoutSessionPaymentMethodDetails

NewCheckoutSessionPaymentMethodDetails instantiates a new CheckoutSessionPaymentMethodDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionPaymentMethodDetailsWithDefaults ¶ added in v0.31.0

func NewCheckoutSessionPaymentMethodDetailsWithDefaults() *CheckoutSessionPaymentMethodDetails

NewCheckoutSessionPaymentMethodDetailsWithDefaults instantiates a new CheckoutSessionPaymentMethodDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSessionPaymentMethodDetails) GetBin ¶ added in v0.31.0

GetBin returns the Bin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethodDetails) GetBinOk ¶ added in v0.31.0

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethodDetails) GetCardCountry ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) GetCardCountry() string

GetCardCountry returns the CardCountry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethodDetails) GetCardCountryOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) GetCardCountryOk() (*string, bool)

GetCardCountryOk returns a tuple with the CardCountry field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethodDetails) GetCardType ¶ added in v0.31.0

GetCardType returns the CardType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionPaymentMethodDetails) GetCardTypeOk ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionPaymentMethodDetails) HasBin ¶ added in v0.31.0

HasBin returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethodDetails) HasCardCountry ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) HasCardCountry() bool

HasCardCountry returns a boolean if a field has been set.

func (*CheckoutSessionPaymentMethodDetails) HasCardType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (CheckoutSessionPaymentMethodDetails) MarshalJSON ¶ added in v0.31.0

func (o CheckoutSessionPaymentMethodDetails) MarshalJSON() ([]byte, error)

func (*CheckoutSessionPaymentMethodDetails) SetBin ¶ added in v0.31.0

SetBin gets a reference to the given NullableString and assigns it to the Bin field.

func (*CheckoutSessionPaymentMethodDetails) SetBinNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) SetBinNil()

SetBinNil sets the value for Bin to be an explicit nil

func (*CheckoutSessionPaymentMethodDetails) SetCardCountry ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) SetCardCountry(v string)

SetCardCountry gets a reference to the given NullableString and assigns it to the CardCountry field.

func (*CheckoutSessionPaymentMethodDetails) SetCardCountryNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) SetCardCountryNil()

SetCardCountryNil sets the value for CardCountry to be an explicit nil

func (*CheckoutSessionPaymentMethodDetails) SetCardType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) SetCardType(v string)

SetCardType gets a reference to the given NullableString and assigns it to the CardType field.

func (*CheckoutSessionPaymentMethodDetails) SetCardTypeNil ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) SetCardTypeNil()

SetCardTypeNil sets the value for CardType to be an explicit nil

func (*CheckoutSessionPaymentMethodDetails) UnsetBin ¶ added in v0.31.0

UnsetBin ensures that no value is present for Bin, not even an explicit nil

func (*CheckoutSessionPaymentMethodDetails) UnsetCardCountry ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) UnsetCardCountry()

UnsetCardCountry ensures that no value is present for CardCountry, not even an explicit nil

func (*CheckoutSessionPaymentMethodDetails) UnsetCardType ¶ added in v0.31.0

func (o *CheckoutSessionPaymentMethodDetails) UnsetCardType()

UnsetCardType ensures that no value is present for CardType, not even an explicit nil

type CheckoutSessionRequest ¶ added in v0.19.0

type CheckoutSessionRequest struct {
	// `checkout-session`.
	Method string `json:"method"`
	// The ID of the Checkout Session.
	Id string `json:"id"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction or payment method. This only applies to payment methods that require buyer approval.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
	// An external identifier that can be used to match the card against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The ID of the buyer to associate this payment method to. If this field is provided then the `buyer_external_identifier` field needs to be unset.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The `external_identifier` of the buyer to associate this payment method to. If this field is provided then the `buyer_id` field needs to be unset.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
}

CheckoutSessionRequest Details to register a new Checkout Session payment method.

func NewCheckoutSessionRequest ¶ added in v0.19.0

func NewCheckoutSessionRequest(method string, id string) *CheckoutSessionRequest

NewCheckoutSessionRequest instantiates a new CheckoutSessionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionRequestWithDefaults ¶ added in v0.19.0

func NewCheckoutSessionRequestWithDefaults() *CheckoutSessionRequest

NewCheckoutSessionRequestWithDefaults instantiates a new CheckoutSessionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSessionRequest) GetBuyerExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*CheckoutSessionRequest) GetBuyerExternalIdentifierOk ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSessionRequest) GetBuyerId ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*CheckoutSessionRequest) GetBuyerIdOk ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckoutSessionRequest) GetExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionRequest) GetExternalIdentifierOk ¶ added in v0.21.0

func (o *CheckoutSessionRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionRequest) GetId ¶ added in v0.19.0

func (o *CheckoutSessionRequest) GetId() string

GetId returns the Id field value

func (*CheckoutSessionRequest) GetIdOk ¶ added in v0.19.0

func (o *CheckoutSessionRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CheckoutSessionRequest) GetMethod ¶ added in v0.19.0

func (o *CheckoutSessionRequest) GetMethod() string

GetMethod returns the Method field value

func (*CheckoutSessionRequest) GetMethodOk ¶ added in v0.19.0

func (o *CheckoutSessionRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*CheckoutSessionRequest) GetRedirectUrl ¶ added in v0.27.0

func (o *CheckoutSessionRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionRequest) GetRedirectUrlOk ¶ added in v0.27.0

func (o *CheckoutSessionRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionRequest) HasBuyerExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*CheckoutSessionRequest) HasBuyerId ¶ added in v0.21.0

func (o *CheckoutSessionRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*CheckoutSessionRequest) HasExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*CheckoutSessionRequest) HasRedirectUrl ¶ added in v0.27.0

func (o *CheckoutSessionRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (CheckoutSessionRequest) MarshalJSON ¶ added in v0.19.0

func (o CheckoutSessionRequest) MarshalJSON() ([]byte, error)

func (*CheckoutSessionRequest) SetBuyerExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*CheckoutSessionRequest) SetBuyerId ¶ added in v0.21.0

func (o *CheckoutSessionRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*CheckoutSessionRequest) SetExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*CheckoutSessionRequest) SetExternalIdentifierNil ¶ added in v0.21.0

func (o *CheckoutSessionRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*CheckoutSessionRequest) SetId ¶ added in v0.19.0

func (o *CheckoutSessionRequest) SetId(v string)

SetId sets field value

func (*CheckoutSessionRequest) SetMethod ¶ added in v0.19.0

func (o *CheckoutSessionRequest) SetMethod(v string)

SetMethod sets field value

func (*CheckoutSessionRequest) SetRedirectUrl ¶ added in v0.27.0

func (o *CheckoutSessionRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*CheckoutSessionRequest) SetRedirectUrlNil ¶ added in v0.27.0

func (o *CheckoutSessionRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*CheckoutSessionRequest) UnsetExternalIdentifier ¶ added in v0.21.0

func (o *CheckoutSessionRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*CheckoutSessionRequest) UnsetRedirectUrl ¶ added in v0.27.0

func (o *CheckoutSessionRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

type CheckoutSessionUpdateRequest ¶ added in v0.28.0

type CheckoutSessionUpdateRequest struct {
	// An array of cart items that represents the line items of a transaction.
	CartItems []CartItem `json:"cart_items,omitempty"`
	// Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
	Metadata map[string]string `json:"metadata,omitempty"`
}

CheckoutSessionUpdateRequest A request to update a checkout session.

func NewCheckoutSessionUpdateRequest ¶ added in v0.28.0

func NewCheckoutSessionUpdateRequest() *CheckoutSessionUpdateRequest

NewCheckoutSessionUpdateRequest instantiates a new CheckoutSessionUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCheckoutSessionUpdateRequestWithDefaults ¶ added in v0.28.0

func NewCheckoutSessionUpdateRequestWithDefaults() *CheckoutSessionUpdateRequest

NewCheckoutSessionUpdateRequestWithDefaults instantiates a new CheckoutSessionUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CheckoutSessionUpdateRequest) GetCartItems ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionUpdateRequest) GetCartItemsOk ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionUpdateRequest) GetMetadata ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CheckoutSessionUpdateRequest) GetMetadataOk ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CheckoutSessionUpdateRequest) HasCartItems ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*CheckoutSessionUpdateRequest) HasMetadata ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (CheckoutSessionUpdateRequest) MarshalJSON ¶ added in v0.28.0

func (o CheckoutSessionUpdateRequest) MarshalJSON() ([]byte, error)

func (*CheckoutSessionUpdateRequest) SetCartItems ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*CheckoutSessionUpdateRequest) SetMetadata ¶ added in v0.28.0

func (o *CheckoutSessionUpdateRequest) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

type CheckoutSessionsApiService ¶ added in v0.19.0

type CheckoutSessionsApiService service

CheckoutSessionsApiService CheckoutSessionsApi service

func (*CheckoutSessionsApiService) DeleteCheckoutSession ¶ added in v0.19.0

func (a *CheckoutSessionsApiService) DeleteCheckoutSession(ctx _context.Context, checkoutSessionId string) ApiDeleteCheckoutSessionRequest

* DeleteCheckoutSession Delete checkout session * Deletes a Checkout Session. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param checkoutSessionId The unique ID for a Checkout Session. * @return ApiDeleteCheckoutSessionRequest

func (*CheckoutSessionsApiService) DeleteCheckoutSessionExecute ¶ added in v0.19.0

func (a *CheckoutSessionsApiService) DeleteCheckoutSessionExecute(r ApiDeleteCheckoutSessionRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*CheckoutSessionsApiService) GetCheckoutSession ¶ added in v0.19.0

func (a *CheckoutSessionsApiService) GetCheckoutSession(ctx _context.Context, checkoutSessionId string) ApiGetCheckoutSessionRequest

* GetCheckoutSession Get checkout session * Gets details about a current Checkout Session. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param checkoutSessionId The unique ID for a Checkout Session. * @return ApiGetCheckoutSessionRequest

func (*CheckoutSessionsApiService) GetCheckoutSessionExecute ¶ added in v0.19.0

* Execute executes the request * @return CheckoutSession

func (*CheckoutSessionsApiService) NewCheckoutSession ¶ added in v0.27.0

* NewCheckoutSession New checkout session * Creates a new Checkout Session. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewCheckoutSessionRequest

func (*CheckoutSessionsApiService) NewCheckoutSessionExecute ¶ added in v0.27.0

* Execute executes the request * @return CheckoutSession

func (*CheckoutSessionsApiService) UpdateCheckoutSession ¶ added in v0.28.0

func (a *CheckoutSessionsApiService) UpdateCheckoutSession(ctx _context.Context, checkoutSessionId string) ApiUpdateCheckoutSessionRequest

* UpdateCheckoutSession Update checkout session * Updates a Checkout Session. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param checkoutSessionId The unique ID for a Checkout Session. * @return ApiUpdateCheckoutSessionRequest

func (*CheckoutSessionsApiService) UpdateCheckoutSessionExecute ¶ added in v0.28.0

* Execute executes the request * @return CheckoutSession

type ClickToPaySessionRequest ¶ added in v0.31.0

type ClickToPaySessionRequest struct {
	// The identifier for the current checkout session.
	CheckoutSessionId string `json:"checkout_session_id"`
}

ClickToPaySessionRequest Return digital payment application details for Click to Pay.

func NewClickToPaySessionRequest ¶ added in v0.31.0

func NewClickToPaySessionRequest(checkoutSessionId string) *ClickToPaySessionRequest

NewClickToPaySessionRequest instantiates a new ClickToPaySessionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClickToPaySessionRequestWithDefaults ¶ added in v0.31.0

func NewClickToPaySessionRequestWithDefaults() *ClickToPaySessionRequest

NewClickToPaySessionRequestWithDefaults instantiates a new ClickToPaySessionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClickToPaySessionRequest) GetCheckoutSessionId ¶ added in v0.31.0

func (o *ClickToPaySessionRequest) GetCheckoutSessionId() string

GetCheckoutSessionId returns the CheckoutSessionId field value

func (*ClickToPaySessionRequest) GetCheckoutSessionIdOk ¶ added in v0.31.0

func (o *ClickToPaySessionRequest) GetCheckoutSessionIdOk() (*string, bool)

GetCheckoutSessionIdOk returns a tuple with the CheckoutSessionId field value and a boolean to check if the value has been set.

func (ClickToPaySessionRequest) MarshalJSON ¶ added in v0.31.0

func (o ClickToPaySessionRequest) MarshalJSON() ([]byte, error)

func (*ClickToPaySessionRequest) SetCheckoutSessionId ¶ added in v0.31.0

func (o *ClickToPaySessionRequest) SetCheckoutSessionId(v string)

SetCheckoutSessionId sets field value

type Configuration ¶ added in v0.2.1

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration ¶ added in v0.2.1

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader ¶ added in v0.2.1

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL ¶ added in v0.2.1

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext ¶ added in v0.2.1

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Connection ¶ added in v0.19.0

type Connection struct {
	// The ID of the connection.
	Id *string `json:"id,omitempty"`
	// `connection`.
	Type *string `json:"type,omitempty"`
	// The name of this connection.
	Name *string `json:"name,omitempty"`
	// Whether this connection is currently in use. Connections can be deactivated to allow for them to be kept around and re-activated at a later date.
	Active     *bool                 `json:"active,omitempty"`
	Definition *ConnectionDefinition `json:"definition,omitempty"`
}

Connection A configured connection.

func NewConnection ¶ added in v0.19.0

func NewConnection() *Connection

NewConnection instantiates a new Connection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionWithDefaults ¶ added in v0.19.0

func NewConnectionWithDefaults() *Connection

NewConnectionWithDefaults instantiates a new Connection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Connection) GetActive ¶ added in v0.19.0

func (o *Connection) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Connection) GetActiveOk ¶ added in v0.19.0

func (o *Connection) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connection) GetDefinition ¶ added in v0.19.0

func (o *Connection) GetDefinition() ConnectionDefinition

GetDefinition returns the Definition field value if set, zero value otherwise.

func (*Connection) GetDefinitionOk ¶ added in v0.19.0

func (o *Connection) GetDefinitionOk() (*ConnectionDefinition, bool)

GetDefinitionOk returns a tuple with the Definition field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connection) GetId ¶ added in v0.19.0

func (o *Connection) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Connection) GetIdOk ¶ added in v0.19.0

func (o *Connection) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connection) GetName ¶ added in v0.19.0

func (o *Connection) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Connection) GetNameOk ¶ added in v0.19.0

func (o *Connection) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connection) GetType ¶ added in v0.19.0

func (o *Connection) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Connection) GetTypeOk ¶ added in v0.19.0

func (o *Connection) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connection) HasActive ¶ added in v0.19.0

func (o *Connection) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Connection) HasDefinition ¶ added in v0.19.0

func (o *Connection) HasDefinition() bool

HasDefinition returns a boolean if a field has been set.

func (*Connection) HasId ¶ added in v0.19.0

func (o *Connection) HasId() bool

HasId returns a boolean if a field has been set.

func (*Connection) HasName ¶ added in v0.19.0

func (o *Connection) HasName() bool

HasName returns a boolean if a field has been set.

func (*Connection) HasType ¶ added in v0.19.0

func (o *Connection) HasType() bool

HasType returns a boolean if a field has been set.

func (Connection) MarshalJSON ¶ added in v0.19.0

func (o Connection) MarshalJSON() ([]byte, error)

func (*Connection) SetActive ¶ added in v0.19.0

func (o *Connection) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Connection) SetDefinition ¶ added in v0.19.0

func (o *Connection) SetDefinition(v ConnectionDefinition)

SetDefinition gets a reference to the given ConnectionDefinition and assigns it to the Definition field.

func (*Connection) SetId ¶ added in v0.19.0

func (o *Connection) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Connection) SetName ¶ added in v0.19.0

func (o *Connection) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Connection) SetType ¶ added in v0.19.0

func (o *Connection) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ConnectionDefinition ¶ added in v0.19.0

type ConnectionDefinition struct {
	// The ID of the connection.
	Id *string `json:"id,omitempty"`
	// `connection-definition`.
	Type *string `json:"type,omitempty"`
	// The name of this connection.
	Name *string `json:"name,omitempty"`
	// The number of configured connections.
	Count    *float32 `json:"count,omitempty"`
	Group    *string  `json:"group,omitempty"`
	Category *string  `json:"category,omitempty"`
	// An icon to display for the connection.
	IconUrl NullableString `json:"icon_url,omitempty"`
	// The provider for this connection.
	Provider NullableString `json:"provider,omitempty"`
}

ConnectionDefinition A connection that can be configured.

func NewConnectionDefinition ¶ added in v0.19.0

func NewConnectionDefinition() *ConnectionDefinition

NewConnectionDefinition instantiates a new ConnectionDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionDefinitionWithDefaults ¶ added in v0.19.0

func NewConnectionDefinitionWithDefaults() *ConnectionDefinition

NewConnectionDefinitionWithDefaults instantiates a new ConnectionDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionDefinition) GetCategory ¶ added in v0.19.0

func (o *ConnectionDefinition) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*ConnectionDefinition) GetCategoryOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) GetCount ¶ added in v0.19.0

func (o *ConnectionDefinition) GetCount() float32

GetCount returns the Count field value if set, zero value otherwise.

func (*ConnectionDefinition) GetCountOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetCountOk() (*float32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) GetGroup ¶ added in v0.19.0

func (o *ConnectionDefinition) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*ConnectionDefinition) GetGroupOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) GetIconUrl ¶ added in v0.19.0

func (o *ConnectionDefinition) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionDefinition) GetIconUrlOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionDefinition) GetId ¶ added in v0.19.0

func (o *ConnectionDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ConnectionDefinition) GetIdOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) GetName ¶ added in v0.19.0

func (o *ConnectionDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ConnectionDefinition) GetNameOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) GetProvider ¶ added in v0.19.0

func (o *ConnectionDefinition) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionDefinition) GetProviderOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionDefinition) GetType ¶ added in v0.19.0

func (o *ConnectionDefinition) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ConnectionDefinition) GetTypeOk ¶ added in v0.19.0

func (o *ConnectionDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinition) HasCategory ¶ added in v0.19.0

func (o *ConnectionDefinition) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*ConnectionDefinition) HasCount ¶ added in v0.19.0

func (o *ConnectionDefinition) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ConnectionDefinition) HasGroup ¶ added in v0.19.0

func (o *ConnectionDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*ConnectionDefinition) HasIconUrl ¶ added in v0.19.0

func (o *ConnectionDefinition) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*ConnectionDefinition) HasId ¶ added in v0.19.0

func (o *ConnectionDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*ConnectionDefinition) HasName ¶ added in v0.19.0

func (o *ConnectionDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (*ConnectionDefinition) HasProvider ¶ added in v0.19.0

func (o *ConnectionDefinition) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*ConnectionDefinition) HasType ¶ added in v0.19.0

func (o *ConnectionDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (ConnectionDefinition) MarshalJSON ¶ added in v0.19.0

func (o ConnectionDefinition) MarshalJSON() ([]byte, error)

func (*ConnectionDefinition) SetCategory ¶ added in v0.19.0

func (o *ConnectionDefinition) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*ConnectionDefinition) SetCount ¶ added in v0.19.0

func (o *ConnectionDefinition) SetCount(v float32)

SetCount gets a reference to the given float32 and assigns it to the Count field.

func (*ConnectionDefinition) SetGroup ¶ added in v0.19.0

func (o *ConnectionDefinition) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*ConnectionDefinition) SetIconUrl ¶ added in v0.19.0

func (o *ConnectionDefinition) SetIconUrl(v string)

SetIconUrl gets a reference to the given NullableString and assigns it to the IconUrl field.

func (*ConnectionDefinition) SetIconUrlNil ¶ added in v0.19.0

func (o *ConnectionDefinition) SetIconUrlNil()

SetIconUrlNil sets the value for IconUrl to be an explicit nil

func (*ConnectionDefinition) SetId ¶ added in v0.19.0

func (o *ConnectionDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ConnectionDefinition) SetName ¶ added in v0.19.0

func (o *ConnectionDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ConnectionDefinition) SetProvider ¶ added in v0.19.0

func (o *ConnectionDefinition) SetProvider(v string)

SetProvider gets a reference to the given NullableString and assigns it to the Provider field.

func (*ConnectionDefinition) SetProviderNil ¶ added in v0.19.0

func (o *ConnectionDefinition) SetProviderNil()

SetProviderNil sets the value for Provider to be an explicit nil

func (*ConnectionDefinition) SetType ¶ added in v0.19.0

func (o *ConnectionDefinition) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ConnectionDefinition) UnsetIconUrl ¶ added in v0.19.0

func (o *ConnectionDefinition) UnsetIconUrl()

UnsetIconUrl ensures that no value is present for IconUrl, not even an explicit nil

func (*ConnectionDefinition) UnsetProvider ¶ added in v0.19.0

func (o *ConnectionDefinition) UnsetProvider()

UnsetProvider ensures that no value is present for Provider, not even an explicit nil

type ConnectionDefinitions ¶ added in v0.19.0

type ConnectionDefinitions struct {
	Items *[]ConnectionDefinition `json:"items,omitempty"`
}

ConnectionDefinitions A list of available connection definitions.

func NewConnectionDefinitions ¶ added in v0.19.0

func NewConnectionDefinitions() *ConnectionDefinitions

NewConnectionDefinitions instantiates a new ConnectionDefinitions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionDefinitionsWithDefaults ¶ added in v0.19.0

func NewConnectionDefinitionsWithDefaults() *ConnectionDefinitions

NewConnectionDefinitionsWithDefaults instantiates a new ConnectionDefinitions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionDefinitions) GetItems ¶ added in v0.19.0

GetItems returns the Items field value if set, zero value otherwise.

func (*ConnectionDefinitions) GetItemsOk ¶ added in v0.19.0

func (o *ConnectionDefinitions) GetItemsOk() (*[]ConnectionDefinition, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionDefinitions) HasItems ¶ added in v0.19.0

func (o *ConnectionDefinitions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ConnectionDefinitions) MarshalJSON ¶ added in v0.19.0

func (o ConnectionDefinitions) MarshalJSON() ([]byte, error)

func (*ConnectionDefinitions) SetItems ¶ added in v0.19.0

SetItems gets a reference to the given []ConnectionDefinition and assigns it to the Items field.

type ConnectionOptions ¶ added in v0.22.0

type ConnectionOptions struct {
	CybersourceCard      NullableConnectionOptionsCybersourceCard      `json:"cybersource-card,omitempty"`
	CybersourceAntiFraud NullableConnectionOptionsCybersourceAntiFraud `json:"cybersource-anti-fraud,omitempty"`
	ForterAntiFraud      NullableConnectionOptionsForterAntiFraud      `json:"forter-anti-fraud,omitempty"`
	AdyenCard            NullableConnectionOptionsAdyenCard            `json:"adyen-card,omitempty"`
	PaypalPaypal         NullableConnectionOptionsPaypalPaypal         `json:"paypal-paypal,omitempty"`
	PaypalPaypalpaylater NullableConnectionOptionsPaypalPaypal         `json:"paypal-paypalpaylater,omitempty"`
	StripeCard           NullableConnectionOptionsStripeCard           `json:"stripe-card,omitempty"`
}

ConnectionOptions struct for ConnectionOptions

func NewConnectionOptions ¶ added in v0.22.0

func NewConnectionOptions() *ConnectionOptions

NewConnectionOptions instantiates a new ConnectionOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsWithDefaults ¶ added in v0.22.0

func NewConnectionOptionsWithDefaults() *ConnectionOptions

NewConnectionOptionsWithDefaults instantiates a new ConnectionOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptions) GetAdyenCard ¶ added in v0.22.0

GetAdyenCard returns the AdyenCard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetAdyenCardOk ¶ added in v0.22.0

func (o *ConnectionOptions) GetAdyenCardOk() (*ConnectionOptionsAdyenCard, bool)

GetAdyenCardOk returns a tuple with the AdyenCard field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetCybersourceAntiFraud ¶ added in v0.22.0

func (o *ConnectionOptions) GetCybersourceAntiFraud() ConnectionOptionsCybersourceAntiFraud

GetCybersourceAntiFraud returns the CybersourceAntiFraud field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetCybersourceAntiFraudOk ¶ added in v0.22.0

func (o *ConnectionOptions) GetCybersourceAntiFraudOk() (*ConnectionOptionsCybersourceAntiFraud, bool)

GetCybersourceAntiFraudOk returns a tuple with the CybersourceAntiFraud field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetCybersourceCard ¶ added in v0.32.0

func (o *ConnectionOptions) GetCybersourceCard() ConnectionOptionsCybersourceCard

GetCybersourceCard returns the CybersourceCard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetCybersourceCardOk ¶ added in v0.32.0

func (o *ConnectionOptions) GetCybersourceCardOk() (*ConnectionOptionsCybersourceCard, bool)

GetCybersourceCardOk returns a tuple with the CybersourceCard field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetForterAntiFraud ¶ added in v0.28.0

func (o *ConnectionOptions) GetForterAntiFraud() ConnectionOptionsForterAntiFraud

GetForterAntiFraud returns the ForterAntiFraud field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetForterAntiFraudOk ¶ added in v0.28.0

func (o *ConnectionOptions) GetForterAntiFraudOk() (*ConnectionOptionsForterAntiFraud, bool)

GetForterAntiFraudOk returns a tuple with the ForterAntiFraud field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetPaypalPaypal ¶ added in v0.31.0

func (o *ConnectionOptions) GetPaypalPaypal() ConnectionOptionsPaypalPaypal

GetPaypalPaypal returns the PaypalPaypal field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetPaypalPaypalOk ¶ added in v0.31.0

func (o *ConnectionOptions) GetPaypalPaypalOk() (*ConnectionOptionsPaypalPaypal, bool)

GetPaypalPaypalOk returns a tuple with the PaypalPaypal field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetPaypalPaypalpaylater ¶ added in v0.31.0

func (o *ConnectionOptions) GetPaypalPaypalpaylater() ConnectionOptionsPaypalPaypal

GetPaypalPaypalpaylater returns the PaypalPaypalpaylater field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetPaypalPaypalpaylaterOk ¶ added in v0.31.0

func (o *ConnectionOptions) GetPaypalPaypalpaylaterOk() (*ConnectionOptionsPaypalPaypal, bool)

GetPaypalPaypalpaylaterOk returns a tuple with the PaypalPaypalpaylater field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) GetStripeCard ¶ added in v0.32.0

GetStripeCard returns the StripeCard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptions) GetStripeCardOk ¶ added in v0.32.0

func (o *ConnectionOptions) GetStripeCardOk() (*ConnectionOptionsStripeCard, bool)

GetStripeCardOk returns a tuple with the StripeCard field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptions) HasAdyenCard ¶ added in v0.22.0

func (o *ConnectionOptions) HasAdyenCard() bool

HasAdyenCard returns a boolean if a field has been set.

func (*ConnectionOptions) HasCybersourceAntiFraud ¶ added in v0.22.0

func (o *ConnectionOptions) HasCybersourceAntiFraud() bool

HasCybersourceAntiFraud returns a boolean if a field has been set.

func (*ConnectionOptions) HasCybersourceCard ¶ added in v0.32.0

func (o *ConnectionOptions) HasCybersourceCard() bool

HasCybersourceCard returns a boolean if a field has been set.

func (*ConnectionOptions) HasForterAntiFraud ¶ added in v0.28.0

func (o *ConnectionOptions) HasForterAntiFraud() bool

HasForterAntiFraud returns a boolean if a field has been set.

func (*ConnectionOptions) HasPaypalPaypal ¶ added in v0.31.0

func (o *ConnectionOptions) HasPaypalPaypal() bool

HasPaypalPaypal returns a boolean if a field has been set.

func (*ConnectionOptions) HasPaypalPaypalpaylater ¶ added in v0.31.0

func (o *ConnectionOptions) HasPaypalPaypalpaylater() bool

HasPaypalPaypalpaylater returns a boolean if a field has been set.

func (*ConnectionOptions) HasStripeCard ¶ added in v0.32.0

func (o *ConnectionOptions) HasStripeCard() bool

HasStripeCard returns a boolean if a field has been set.

func (ConnectionOptions) MarshalJSON ¶ added in v0.22.0

func (o ConnectionOptions) MarshalJSON() ([]byte, error)

func (*ConnectionOptions) SetAdyenCard ¶ added in v0.22.0

func (o *ConnectionOptions) SetAdyenCard(v ConnectionOptionsAdyenCard)

SetAdyenCard gets a reference to the given NullableConnectionOptionsAdyenCard and assigns it to the AdyenCard field.

func (*ConnectionOptions) SetAdyenCardNil ¶ added in v0.22.0

func (o *ConnectionOptions) SetAdyenCardNil()

SetAdyenCardNil sets the value for AdyenCard to be an explicit nil

func (*ConnectionOptions) SetCybersourceAntiFraud ¶ added in v0.22.0

func (o *ConnectionOptions) SetCybersourceAntiFraud(v ConnectionOptionsCybersourceAntiFraud)

SetCybersourceAntiFraud gets a reference to the given NullableConnectionOptionsCybersourceAntiFraud and assigns it to the CybersourceAntiFraud field.

func (*ConnectionOptions) SetCybersourceAntiFraudNil ¶ added in v0.22.0

func (o *ConnectionOptions) SetCybersourceAntiFraudNil()

SetCybersourceAntiFraudNil sets the value for CybersourceAntiFraud to be an explicit nil

func (*ConnectionOptions) SetCybersourceCard ¶ added in v0.32.0

func (o *ConnectionOptions) SetCybersourceCard(v ConnectionOptionsCybersourceCard)

SetCybersourceCard gets a reference to the given NullableConnectionOptionsCybersourceCard and assigns it to the CybersourceCard field.

func (*ConnectionOptions) SetCybersourceCardNil ¶ added in v0.32.0

func (o *ConnectionOptions) SetCybersourceCardNil()

SetCybersourceCardNil sets the value for CybersourceCard to be an explicit nil

func (*ConnectionOptions) SetForterAntiFraud ¶ added in v0.28.0

func (o *ConnectionOptions) SetForterAntiFraud(v ConnectionOptionsForterAntiFraud)

SetForterAntiFraud gets a reference to the given NullableConnectionOptionsForterAntiFraud and assigns it to the ForterAntiFraud field.

func (*ConnectionOptions) SetForterAntiFraudNil ¶ added in v0.28.0

func (o *ConnectionOptions) SetForterAntiFraudNil()

SetForterAntiFraudNil sets the value for ForterAntiFraud to be an explicit nil

func (*ConnectionOptions) SetPaypalPaypal ¶ added in v0.31.0

func (o *ConnectionOptions) SetPaypalPaypal(v ConnectionOptionsPaypalPaypal)

SetPaypalPaypal gets a reference to the given NullableConnectionOptionsPaypalPaypal and assigns it to the PaypalPaypal field.

func (*ConnectionOptions) SetPaypalPaypalNil ¶ added in v0.31.0

func (o *ConnectionOptions) SetPaypalPaypalNil()

SetPaypalPaypalNil sets the value for PaypalPaypal to be an explicit nil

func (*ConnectionOptions) SetPaypalPaypalpaylater ¶ added in v0.31.0

func (o *ConnectionOptions) SetPaypalPaypalpaylater(v ConnectionOptionsPaypalPaypal)

SetPaypalPaypalpaylater gets a reference to the given NullableConnectionOptionsPaypalPaypal and assigns it to the PaypalPaypalpaylater field.

func (*ConnectionOptions) SetPaypalPaypalpaylaterNil ¶ added in v0.31.0

func (o *ConnectionOptions) SetPaypalPaypalpaylaterNil()

SetPaypalPaypalpaylaterNil sets the value for PaypalPaypalpaylater to be an explicit nil

func (*ConnectionOptions) SetStripeCard ¶ added in v0.32.0

func (o *ConnectionOptions) SetStripeCard(v ConnectionOptionsStripeCard)

SetStripeCard gets a reference to the given NullableConnectionOptionsStripeCard and assigns it to the StripeCard field.

func (*ConnectionOptions) SetStripeCardNil ¶ added in v0.32.0

func (o *ConnectionOptions) SetStripeCardNil()

SetStripeCardNil sets the value for StripeCard to be an explicit nil

func (*ConnectionOptions) UnsetAdyenCard ¶ added in v0.22.0

func (o *ConnectionOptions) UnsetAdyenCard()

UnsetAdyenCard ensures that no value is present for AdyenCard, not even an explicit nil

func (*ConnectionOptions) UnsetCybersourceAntiFraud ¶ added in v0.22.0

func (o *ConnectionOptions) UnsetCybersourceAntiFraud()

UnsetCybersourceAntiFraud ensures that no value is present for CybersourceAntiFraud, not even an explicit nil

func (*ConnectionOptions) UnsetCybersourceCard ¶ added in v0.32.0

func (o *ConnectionOptions) UnsetCybersourceCard()

UnsetCybersourceCard ensures that no value is present for CybersourceCard, not even an explicit nil

func (*ConnectionOptions) UnsetForterAntiFraud ¶ added in v0.28.0

func (o *ConnectionOptions) UnsetForterAntiFraud()

UnsetForterAntiFraud ensures that no value is present for ForterAntiFraud, not even an explicit nil

func (*ConnectionOptions) UnsetPaypalPaypal ¶ added in v0.31.0

func (o *ConnectionOptions) UnsetPaypalPaypal()

UnsetPaypalPaypal ensures that no value is present for PaypalPaypal, not even an explicit nil

func (*ConnectionOptions) UnsetPaypalPaypalpaylater ¶ added in v0.31.0

func (o *ConnectionOptions) UnsetPaypalPaypalpaylater()

UnsetPaypalPaypalpaylater ensures that no value is present for PaypalPaypalpaylater, not even an explicit nil

func (*ConnectionOptions) UnsetStripeCard ¶ added in v0.32.0

func (o *ConnectionOptions) UnsetStripeCard()

UnsetStripeCard ensures that no value is present for StripeCard, not even an explicit nil

type ConnectionOptionsAdyenCard ¶ added in v0.22.0

type ConnectionOptionsAdyenCard struct {
	// A key-value object representing additional data to be passed to Adyen.
	AdditionalData *map[string]string `json:"additionalData,omitempty"`
}

ConnectionOptionsAdyenCard Additional options to be passed through to Adyen when processing card transactions.

func NewConnectionOptionsAdyenCard ¶ added in v0.22.0

func NewConnectionOptionsAdyenCard() *ConnectionOptionsAdyenCard

NewConnectionOptionsAdyenCard instantiates a new ConnectionOptionsAdyenCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsAdyenCardWithDefaults ¶ added in v0.22.0

func NewConnectionOptionsAdyenCardWithDefaults() *ConnectionOptionsAdyenCard

NewConnectionOptionsAdyenCardWithDefaults instantiates a new ConnectionOptionsAdyenCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsAdyenCard) GetAdditionalData ¶ added in v0.22.0

func (o *ConnectionOptionsAdyenCard) GetAdditionalData() map[string]string

GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.

func (*ConnectionOptionsAdyenCard) GetAdditionalDataOk ¶ added in v0.22.0

func (o *ConnectionOptionsAdyenCard) GetAdditionalDataOk() (*map[string]string, bool)

GetAdditionalDataOk returns a tuple with the AdditionalData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsAdyenCard) HasAdditionalData ¶ added in v0.22.0

func (o *ConnectionOptionsAdyenCard) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field has been set.

func (ConnectionOptionsAdyenCard) MarshalJSON ¶ added in v0.22.0

func (o ConnectionOptionsAdyenCard) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsAdyenCard) SetAdditionalData ¶ added in v0.22.0

func (o *ConnectionOptionsAdyenCard) SetAdditionalData(v map[string]string)

SetAdditionalData gets a reference to the given map[string]string and assigns it to the AdditionalData field.

type ConnectionOptionsCybersourceAntiFraud ¶ added in v0.22.0

type ConnectionOptionsCybersourceAntiFraud struct {
	// An override for the merchant ID configured for the connector, used in combination with meta keys.
	MetaKeyMerchantId NullableString `json:"meta_key_merchant_id,omitempty"`
	// This is a key-value object for merchant defined data. Each key needs to be a numeric string identifying the MDD field to set. For example, for field 1 set the key to \"1\".
	MerchantDefinedData *map[string]string `json:"merchant_defined_data,omitempty"`
}

ConnectionOptionsCybersourceAntiFraud Additional options for Cybersource Decision Manager (anti-fraud).

func NewConnectionOptionsCybersourceAntiFraud ¶ added in v0.22.0

func NewConnectionOptionsCybersourceAntiFraud() *ConnectionOptionsCybersourceAntiFraud

NewConnectionOptionsCybersourceAntiFraud instantiates a new ConnectionOptionsCybersourceAntiFraud object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsCybersourceAntiFraudWithDefaults ¶ added in v0.22.0

func NewConnectionOptionsCybersourceAntiFraudWithDefaults() *ConnectionOptionsCybersourceAntiFraud

NewConnectionOptionsCybersourceAntiFraudWithDefaults instantiates a new ConnectionOptionsCybersourceAntiFraud object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsCybersourceAntiFraud) GetMerchantDefinedData ¶ added in v0.22.0

func (o *ConnectionOptionsCybersourceAntiFraud) GetMerchantDefinedData() map[string]string

GetMerchantDefinedData returns the MerchantDefinedData field value if set, zero value otherwise.

func (*ConnectionOptionsCybersourceAntiFraud) GetMerchantDefinedDataOk ¶ added in v0.22.0

func (o *ConnectionOptionsCybersourceAntiFraud) GetMerchantDefinedDataOk() (*map[string]string, bool)

GetMerchantDefinedDataOk returns a tuple with the MerchantDefinedData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsCybersourceAntiFraud) GetMetaKeyMerchantId ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) GetMetaKeyMerchantId() string

GetMetaKeyMerchantId returns the MetaKeyMerchantId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsCybersourceAntiFraud) GetMetaKeyMerchantIdOk ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) GetMetaKeyMerchantIdOk() (*string, bool)

GetMetaKeyMerchantIdOk returns a tuple with the MetaKeyMerchantId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsCybersourceAntiFraud) HasMerchantDefinedData ¶ added in v0.22.0

func (o *ConnectionOptionsCybersourceAntiFraud) HasMerchantDefinedData() bool

HasMerchantDefinedData returns a boolean if a field has been set.

func (*ConnectionOptionsCybersourceAntiFraud) HasMetaKeyMerchantId ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) HasMetaKeyMerchantId() bool

HasMetaKeyMerchantId returns a boolean if a field has been set.

func (ConnectionOptionsCybersourceAntiFraud) MarshalJSON ¶ added in v0.22.0

func (o ConnectionOptionsCybersourceAntiFraud) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsCybersourceAntiFraud) SetMerchantDefinedData ¶ added in v0.22.0

func (o *ConnectionOptionsCybersourceAntiFraud) SetMerchantDefinedData(v map[string]string)

SetMerchantDefinedData gets a reference to the given map[string]string and assigns it to the MerchantDefinedData field.

func (*ConnectionOptionsCybersourceAntiFraud) SetMetaKeyMerchantId ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) SetMetaKeyMerchantId(v string)

SetMetaKeyMerchantId gets a reference to the given NullableString and assigns it to the MetaKeyMerchantId field.

func (*ConnectionOptionsCybersourceAntiFraud) SetMetaKeyMerchantIdNil ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) SetMetaKeyMerchantIdNil()

SetMetaKeyMerchantIdNil sets the value for MetaKeyMerchantId to be an explicit nil

func (*ConnectionOptionsCybersourceAntiFraud) UnsetMetaKeyMerchantId ¶ added in v0.31.0

func (o *ConnectionOptionsCybersourceAntiFraud) UnsetMetaKeyMerchantId()

UnsetMetaKeyMerchantId ensures that no value is present for MetaKeyMerchantId, not even an explicit nil

type ConnectionOptionsCybersourceCard ¶ added in v0.32.0

type ConnectionOptionsCybersourceCard struct {
	// An override for the merchant ID configured for the connector, used in combination with meta keys.
	MetaKeyMerchantId NullableString `json:"meta_key_merchant_id,omitempty"`
}

ConnectionOptionsCybersourceCard Additional options for Cybersource payment gateway.

func NewConnectionOptionsCybersourceCard ¶ added in v0.32.0

func NewConnectionOptionsCybersourceCard() *ConnectionOptionsCybersourceCard

NewConnectionOptionsCybersourceCard instantiates a new ConnectionOptionsCybersourceCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsCybersourceCardWithDefaults ¶ added in v0.32.0

func NewConnectionOptionsCybersourceCardWithDefaults() *ConnectionOptionsCybersourceCard

NewConnectionOptionsCybersourceCardWithDefaults instantiates a new ConnectionOptionsCybersourceCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsCybersourceCard) GetMetaKeyMerchantId ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) GetMetaKeyMerchantId() string

GetMetaKeyMerchantId returns the MetaKeyMerchantId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsCybersourceCard) GetMetaKeyMerchantIdOk ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) GetMetaKeyMerchantIdOk() (*string, bool)

GetMetaKeyMerchantIdOk returns a tuple with the MetaKeyMerchantId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsCybersourceCard) HasMetaKeyMerchantId ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) HasMetaKeyMerchantId() bool

HasMetaKeyMerchantId returns a boolean if a field has been set.

func (ConnectionOptionsCybersourceCard) MarshalJSON ¶ added in v0.32.0

func (o ConnectionOptionsCybersourceCard) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsCybersourceCard) SetMetaKeyMerchantId ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) SetMetaKeyMerchantId(v string)

SetMetaKeyMerchantId gets a reference to the given NullableString and assigns it to the MetaKeyMerchantId field.

func (*ConnectionOptionsCybersourceCard) SetMetaKeyMerchantIdNil ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) SetMetaKeyMerchantIdNil()

SetMetaKeyMerchantIdNil sets the value for MetaKeyMerchantId to be an explicit nil

func (*ConnectionOptionsCybersourceCard) UnsetMetaKeyMerchantId ¶ added in v0.32.0

func (o *ConnectionOptionsCybersourceCard) UnsetMetaKeyMerchantId()

UnsetMetaKeyMerchantId ensures that no value is present for MetaKeyMerchantId, not even an explicit nil

type ConnectionOptionsForterAntiFraud ¶ added in v0.28.0

type ConnectionOptionsForterAntiFraud struct {
	// Value to populate the `deliveryType` field in `primaryDeliveryDetails`.  Represents the type of delivery. This can be set to `PHYSICAL` for any type of shipped goods, `DIGITAL` for non-shipped goods (services, gift cards etc.), or `HYBRID` for others.
	DeliveryType NullableString `json:"delivery_type,omitempty"`
	// Value to populate the `deliveryMethod` field in `primaryDeliveryDetails`.  Represents the delivery method chosen by customer such as postal service, email, in game transfer, etc.
	DeliveryMethod NullableString `json:"delivery_method,omitempty"`
	// Defines if this is a guest check-out. This will redact the `accountId` and `created` fields from the `accountOwner` details sent to Forter.
	IsGuestBuyer *bool `json:"is_guest_buyer,omitempty"`
	// A list of Forter cart item objects. These will be merged into the `cart_items` passed to the transaction. Every cart item here will be merged with a cart item on the transaction with the same index.  Together, these will augment the `cartItems` values sent to the Forter validation API.
	CartItems     *[]ConnectionOptionsForterAntiFraudCartItems          `json:"cart_items,omitempty"`
	TotalDiscount NullableConnectionOptionsForterAntiFraudTotalDiscount `json:"total_discount,omitempty"`
}

ConnectionOptionsForterAntiFraud Additional options for Forter (anti-fraud).

func NewConnectionOptionsForterAntiFraud ¶ added in v0.28.0

func NewConnectionOptionsForterAntiFraud() *ConnectionOptionsForterAntiFraud

NewConnectionOptionsForterAntiFraud instantiates a new ConnectionOptionsForterAntiFraud object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudWithDefaults ¶ added in v0.28.0

func NewConnectionOptionsForterAntiFraudWithDefaults() *ConnectionOptionsForterAntiFraud

NewConnectionOptionsForterAntiFraudWithDefaults instantiates a new ConnectionOptionsForterAntiFraud object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraud) GetCartItems ¶ added in v0.31.0

GetCartItems returns the CartItems field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraud) GetCartItemsOk ¶ added in v0.31.0

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraud) GetDeliveryMethod ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) GetDeliveryMethod() string

GetDeliveryMethod returns the DeliveryMethod field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraud) GetDeliveryMethodOk ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) GetDeliveryMethodOk() (*string, bool)

GetDeliveryMethodOk returns a tuple with the DeliveryMethod field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraud) GetDeliveryType ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) GetDeliveryType() string

GetDeliveryType returns the DeliveryType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraud) GetDeliveryTypeOk ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) GetDeliveryTypeOk() (*string, bool)

GetDeliveryTypeOk returns a tuple with the DeliveryType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraud) GetIsGuestBuyer ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) GetIsGuestBuyer() bool

GetIsGuestBuyer returns the IsGuestBuyer field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraud) GetIsGuestBuyerOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) GetIsGuestBuyerOk() (*bool, bool)

GetIsGuestBuyerOk returns a tuple with the IsGuestBuyer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraud) GetTotalDiscount ¶ added in v0.31.0

GetTotalDiscount returns the TotalDiscount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraud) GetTotalDiscountOk ¶ added in v0.31.0

GetTotalDiscountOk returns a tuple with the TotalDiscount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraud) HasCartItems ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraud) HasDeliveryMethod ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) HasDeliveryMethod() bool

HasDeliveryMethod returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraud) HasDeliveryType ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) HasDeliveryType() bool

HasDeliveryType returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraud) HasIsGuestBuyer ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) HasIsGuestBuyer() bool

HasIsGuestBuyer returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraud) HasTotalDiscount ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) HasTotalDiscount() bool

HasTotalDiscount returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraud) MarshalJSON ¶ added in v0.28.0

func (o ConnectionOptionsForterAntiFraud) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsForterAntiFraud) SetCartItems ¶ added in v0.31.0

SetCartItems gets a reference to the given []ConnectionOptionsForterAntiFraudCartItems and assigns it to the CartItems field.

func (*ConnectionOptionsForterAntiFraud) SetDeliveryMethod ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) SetDeliveryMethod(v string)

SetDeliveryMethod gets a reference to the given NullableString and assigns it to the DeliveryMethod field.

func (*ConnectionOptionsForterAntiFraud) SetDeliveryMethodNil ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) SetDeliveryMethodNil()

SetDeliveryMethodNil sets the value for DeliveryMethod to be an explicit nil

func (*ConnectionOptionsForterAntiFraud) SetDeliveryType ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) SetDeliveryType(v string)

SetDeliveryType gets a reference to the given NullableString and assigns it to the DeliveryType field.

func (*ConnectionOptionsForterAntiFraud) SetDeliveryTypeNil ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) SetDeliveryTypeNil()

SetDeliveryTypeNil sets the value for DeliveryType to be an explicit nil

func (*ConnectionOptionsForterAntiFraud) SetIsGuestBuyer ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) SetIsGuestBuyer(v bool)

SetIsGuestBuyer gets a reference to the given bool and assigns it to the IsGuestBuyer field.

func (*ConnectionOptionsForterAntiFraud) SetTotalDiscount ¶ added in v0.31.0

SetTotalDiscount gets a reference to the given NullableConnectionOptionsForterAntiFraudTotalDiscount and assigns it to the TotalDiscount field.

func (*ConnectionOptionsForterAntiFraud) SetTotalDiscountNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) SetTotalDiscountNil()

SetTotalDiscountNil sets the value for TotalDiscount to be an explicit nil

func (*ConnectionOptionsForterAntiFraud) UnsetDeliveryMethod ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) UnsetDeliveryMethod()

UnsetDeliveryMethod ensures that no value is present for DeliveryMethod, not even an explicit nil

func (*ConnectionOptionsForterAntiFraud) UnsetDeliveryType ¶ added in v0.28.0

func (o *ConnectionOptionsForterAntiFraud) UnsetDeliveryType()

UnsetDeliveryType ensures that no value is present for DeliveryType, not even an explicit nil

func (*ConnectionOptionsForterAntiFraud) UnsetTotalDiscount ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraud) UnsetTotalDiscount()

UnsetTotalDiscount ensures that no value is present for TotalDiscount, not even an explicit nil

type ConnectionOptionsForterAntiFraudAddress ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudAddress struct {
	// Country, two-letter ISO 3166-1 alpha 2 country code.
	Country string `json:"country"`
	// Street-level address. Required when full address details are available.
	Address1 NullableString `json:"address1,omitempty"`
	// Unit-level address.
	Address2 NullableString `json:"address2,omitempty"`
	// Zipcode.
	Zip NullableString `json:"zip,omitempty"`
	// Top-level administrative subdivision - state/province/department/etc. Can be either abbreviated format or full name (NY/New York).
	Region NullableString `json:"region,omitempty"`
	// Company name.
	Company NullableString `json:"company,omitempty"`
	// City. Required when full address details are available.
	City NullableString `json:"city,omitempty"`
}

ConnectionOptionsForterAntiFraudAddress Address details for the beneficiary.

func NewConnectionOptionsForterAntiFraudAddress ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudAddress(country string) *ConnectionOptionsForterAntiFraudAddress

NewConnectionOptionsForterAntiFraudAddress instantiates a new ConnectionOptionsForterAntiFraudAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudAddressWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudAddressWithDefaults() *ConnectionOptionsForterAntiFraudAddress

NewConnectionOptionsForterAntiFraudAddressWithDefaults instantiates a new ConnectionOptionsForterAntiFraudAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudAddress) GetAddress1 ¶ added in v0.31.0

GetAddress1 returns the Address1 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetAddress1Ok ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) GetAddress1Ok() (*string, bool)

GetAddress1Ok returns a tuple with the Address1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) GetAddress2 ¶ added in v0.31.0

GetAddress2 returns the Address2 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetAddress2Ok ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) GetAddress2Ok() (*string, bool)

GetAddress2Ok returns a tuple with the Address2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) GetCity ¶ added in v0.31.0

GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetCityOk ¶ added in v0.31.0

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) GetCompany ¶ added in v0.31.0

GetCompany returns the Company field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetCompanyOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) GetCompanyOk() (*string, bool)

GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) GetCountry ¶ added in v0.31.0

GetCountry returns the Country field value

func (*ConnectionOptionsForterAntiFraudAddress) GetCountryOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudAddress) GetRegion ¶ added in v0.31.0

GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetRegionOk ¶ added in v0.31.0

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) GetZip ¶ added in v0.31.0

GetZip returns the Zip field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudAddress) GetZipOk ¶ added in v0.31.0

GetZipOk returns a tuple with the Zip field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudAddress) HasAddress1 ¶ added in v0.31.0

HasAddress1 returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudAddress) HasAddress2 ¶ added in v0.31.0

HasAddress2 returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudAddress) HasCity ¶ added in v0.31.0

HasCity returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudAddress) HasCompany ¶ added in v0.31.0

HasCompany returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudAddress) HasRegion ¶ added in v0.31.0

HasRegion returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudAddress) HasZip ¶ added in v0.31.0

HasZip returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudAddress) MarshalJSON ¶ added in v0.31.0

func (o ConnectionOptionsForterAntiFraudAddress) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsForterAntiFraudAddress) SetAddress1 ¶ added in v0.31.0

SetAddress1 gets a reference to the given NullableString and assigns it to the Address1 field.

func (*ConnectionOptionsForterAntiFraudAddress) SetAddress1Nil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) SetAddress1Nil()

SetAddress1Nil sets the value for Address1 to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) SetAddress2 ¶ added in v0.31.0

SetAddress2 gets a reference to the given NullableString and assigns it to the Address2 field.

func (*ConnectionOptionsForterAntiFraudAddress) SetAddress2Nil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) SetAddress2Nil()

SetAddress2Nil sets the value for Address2 to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) SetCity ¶ added in v0.31.0

SetCity gets a reference to the given NullableString and assigns it to the City field.

func (*ConnectionOptionsForterAntiFraudAddress) SetCityNil ¶ added in v0.31.0

SetCityNil sets the value for City to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) SetCompany ¶ added in v0.31.0

SetCompany gets a reference to the given NullableString and assigns it to the Company field.

func (*ConnectionOptionsForterAntiFraudAddress) SetCompanyNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) SetCompanyNil()

SetCompanyNil sets the value for Company to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) SetCountry ¶ added in v0.31.0

SetCountry sets field value

func (*ConnectionOptionsForterAntiFraudAddress) SetRegion ¶ added in v0.31.0

SetRegion gets a reference to the given NullableString and assigns it to the Region field.

func (*ConnectionOptionsForterAntiFraudAddress) SetRegionNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) SetRegionNil()

SetRegionNil sets the value for Region to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) SetZip ¶ added in v0.31.0

SetZip gets a reference to the given NullableString and assigns it to the Zip field.

func (*ConnectionOptionsForterAntiFraudAddress) SetZipNil ¶ added in v0.31.0

SetZipNil sets the value for Zip to be an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetAddress1 ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) UnsetAddress1()

UnsetAddress1 ensures that no value is present for Address1, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetAddress2 ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) UnsetAddress2()

UnsetAddress2 ensures that no value is present for Address2, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetCity ¶ added in v0.31.0

UnsetCity ensures that no value is present for City, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetCompany ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) UnsetCompany()

UnsetCompany ensures that no value is present for Company, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetRegion ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudAddress) UnsetRegion()

UnsetRegion ensures that no value is present for Region, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudAddress) UnsetZip ¶ added in v0.31.0

UnsetZip ensures that no value is present for Zip, not even an explicit nil

type ConnectionOptionsForterAntiFraudBasicItemData ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudBasicItemData struct {
	// Tangible if physical item, non-tangible if any other product.
	Type *string `json:"type,omitempty"`
}

ConnectionOptionsForterAntiFraudBasicItemData General data regarding item such as name, price, etc.

func NewConnectionOptionsForterAntiFraudBasicItemData ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudBasicItemData() *ConnectionOptionsForterAntiFraudBasicItemData

NewConnectionOptionsForterAntiFraudBasicItemData instantiates a new ConnectionOptionsForterAntiFraudBasicItemData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudBasicItemDataWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudBasicItemDataWithDefaults() *ConnectionOptionsForterAntiFraudBasicItemData

NewConnectionOptionsForterAntiFraudBasicItemDataWithDefaults instantiates a new ConnectionOptionsForterAntiFraudBasicItemData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudBasicItemData) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudBasicItemData) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudBasicItemData) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudBasicItemData) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudBasicItemData) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type ConnectionOptionsForterAntiFraudBeneficiaries ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudBeneficiaries struct {
	PersonalDetails ConnectionOptionsForterAntiFraudPersonalDetails `json:"personal_details"`
	Address         NullableConnectionOptionsForterAntiFraudAddress `json:"address,omitempty"`
	// List of all phone numbers for the beneficiary.
	Phone    *[]ConnectionOptionsForterAntiFraudPhone         `json:"phone,omitempty"`
	Comments NullableConnectionOptionsForterAntiFraudComments `json:"comments,omitempty"`
}

ConnectionOptionsForterAntiFraudBeneficiaries struct for ConnectionOptionsForterAntiFraudBeneficiaries

func NewConnectionOptionsForterAntiFraudBeneficiaries ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudBeneficiaries(personalDetails ConnectionOptionsForterAntiFraudPersonalDetails) *ConnectionOptionsForterAntiFraudBeneficiaries

NewConnectionOptionsForterAntiFraudBeneficiaries instantiates a new ConnectionOptionsForterAntiFraudBeneficiaries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudBeneficiariesWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudBeneficiariesWithDefaults() *ConnectionOptionsForterAntiFraudBeneficiaries

NewConnectionOptionsForterAntiFraudBeneficiariesWithDefaults instantiates a new ConnectionOptionsForterAntiFraudBeneficiaries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetAddress ¶ added in v0.31.0

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetAddressOk ¶ added in v0.31.0

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetComments ¶ added in v0.31.0

GetComments returns the Comments field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetCommentsOk ¶ added in v0.31.0

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetPersonalDetails ¶ added in v0.31.0

GetPersonalDetails returns the PersonalDetails field value

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetPersonalDetailsOk ¶ added in v0.31.0

GetPersonalDetailsOk returns a tuple with the PersonalDetails field value and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetPhone ¶ added in v0.31.0

GetPhone returns the Phone field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) GetPhoneOk ¶ added in v0.31.0

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) HasAddress ¶ added in v0.31.0

HasAddress returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) HasComments ¶ added in v0.31.0

HasComments returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) HasPhone ¶ added in v0.31.0

HasPhone returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudBeneficiaries) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetAddress ¶ added in v0.31.0

SetAddress gets a reference to the given NullableConnectionOptionsForterAntiFraudAddress and assigns it to the Address field.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetAddressNil ¶ added in v0.31.0

SetAddressNil sets the value for Address to be an explicit nil

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetComments ¶ added in v0.31.0

SetComments gets a reference to the given NullableConnectionOptionsForterAntiFraudComments and assigns it to the Comments field.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetCommentsNil ¶ added in v0.31.0

SetCommentsNil sets the value for Comments to be an explicit nil

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetPersonalDetails ¶ added in v0.31.0

SetPersonalDetails sets field value

func (*ConnectionOptionsForterAntiFraudBeneficiaries) SetPhone ¶ added in v0.31.0

SetPhone gets a reference to the given []ConnectionOptionsForterAntiFraudPhone and assigns it to the Phone field.

func (*ConnectionOptionsForterAntiFraudBeneficiaries) UnsetAddress ¶ added in v0.31.0

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudBeneficiaries) UnsetComments ¶ added in v0.31.0

UnsetComments ensures that no value is present for Comments, not even an explicit nil

type ConnectionOptionsForterAntiFraudCartItems ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudCartItems struct {
	BasicItemData   *ConnectionOptionsForterAntiFraudBasicItemData   `json:"basic_item_data,omitempty"`
	DeliveryDetails *ConnectionOptionsForterAntiFraudDeliveryDetails `json:"delivery_details,omitempty"`
	// List of all entities receiving or using the purchased cart item.
	Beneficiaries *[]ConnectionOptionsForterAntiFraudBeneficiaries `json:"beneficiaries,omitempty"`
}

ConnectionOptionsForterAntiFraudCartItems struct for ConnectionOptionsForterAntiFraudCartItems

func NewConnectionOptionsForterAntiFraudCartItems ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudCartItems() *ConnectionOptionsForterAntiFraudCartItems

NewConnectionOptionsForterAntiFraudCartItems instantiates a new ConnectionOptionsForterAntiFraudCartItems object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudCartItemsWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudCartItemsWithDefaults() *ConnectionOptionsForterAntiFraudCartItems

NewConnectionOptionsForterAntiFraudCartItemsWithDefaults instantiates a new ConnectionOptionsForterAntiFraudCartItems object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudCartItems) GetBasicItemData ¶ added in v0.31.0

GetBasicItemData returns the BasicItemData field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudCartItems) GetBasicItemDataOk ¶ added in v0.31.0

GetBasicItemDataOk returns a tuple with the BasicItemData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudCartItems) GetBeneficiaries ¶ added in v0.31.0

GetBeneficiaries returns the Beneficiaries field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudCartItems) GetBeneficiariesOk ¶ added in v0.31.0

GetBeneficiariesOk returns a tuple with the Beneficiaries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudCartItems) GetDeliveryDetails ¶ added in v0.31.0

GetDeliveryDetails returns the DeliveryDetails field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudCartItems) GetDeliveryDetailsOk ¶ added in v0.31.0

GetDeliveryDetailsOk returns a tuple with the DeliveryDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudCartItems) HasBasicItemData ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudCartItems) HasBasicItemData() bool

HasBasicItemData returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudCartItems) HasBeneficiaries ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudCartItems) HasBeneficiaries() bool

HasBeneficiaries returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudCartItems) HasDeliveryDetails ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudCartItems) HasDeliveryDetails() bool

HasDeliveryDetails returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudCartItems) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudCartItems) SetBasicItemData ¶ added in v0.31.0

SetBasicItemData gets a reference to the given ConnectionOptionsForterAntiFraudBasicItemData and assigns it to the BasicItemData field.

func (*ConnectionOptionsForterAntiFraudCartItems) SetBeneficiaries ¶ added in v0.31.0

SetBeneficiaries gets a reference to the given []ConnectionOptionsForterAntiFraudBeneficiaries and assigns it to the Beneficiaries field.

func (*ConnectionOptionsForterAntiFraudCartItems) SetDeliveryDetails ¶ added in v0.31.0

SetDeliveryDetails gets a reference to the given ConnectionOptionsForterAntiFraudDeliveryDetails and assigns it to the DeliveryDetails field.

type ConnectionOptionsForterAntiFraudComments ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudComments struct {
	// Comments the customer left to the merchant.
	UserCommentsToMerchant NullableString `json:"user_comments_to_merchant,omitempty"`
	// Comments the customer left to the beneficiary of the purchase made.
	MessageToBeneficiary NullableString `json:"message_to_beneficiary,omitempty"`
	// Comments by the merchant.
	MerchantComments NullableString `json:"merchant_comments,omitempty"`
}

ConnectionOptionsForterAntiFraudComments Comments to merchant or beneficiary written by customer.

func NewConnectionOptionsForterAntiFraudComments ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudComments() *ConnectionOptionsForterAntiFraudComments

NewConnectionOptionsForterAntiFraudComments instantiates a new ConnectionOptionsForterAntiFraudComments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudCommentsWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudCommentsWithDefaults() *ConnectionOptionsForterAntiFraudComments

NewConnectionOptionsForterAntiFraudCommentsWithDefaults instantiates a new ConnectionOptionsForterAntiFraudComments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudComments) GetMerchantComments ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetMerchantComments() string

GetMerchantComments returns the MerchantComments field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudComments) GetMerchantCommentsOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetMerchantCommentsOk() (*string, bool)

GetMerchantCommentsOk returns a tuple with the MerchantComments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudComments) GetMessageToBeneficiary ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetMessageToBeneficiary() string

GetMessageToBeneficiary returns the MessageToBeneficiary field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudComments) GetMessageToBeneficiaryOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetMessageToBeneficiaryOk() (*string, bool)

GetMessageToBeneficiaryOk returns a tuple with the MessageToBeneficiary field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudComments) GetUserCommentsToMerchant ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetUserCommentsToMerchant() string

GetUserCommentsToMerchant returns the UserCommentsToMerchant field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudComments) GetUserCommentsToMerchantOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) GetUserCommentsToMerchantOk() (*string, bool)

GetUserCommentsToMerchantOk returns a tuple with the UserCommentsToMerchant field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudComments) HasMerchantComments ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) HasMerchantComments() bool

HasMerchantComments returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudComments) HasMessageToBeneficiary ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) HasMessageToBeneficiary() bool

HasMessageToBeneficiary returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudComments) HasUserCommentsToMerchant ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) HasUserCommentsToMerchant() bool

HasUserCommentsToMerchant returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudComments) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudComments) SetMerchantComments ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetMerchantComments(v string)

SetMerchantComments gets a reference to the given NullableString and assigns it to the MerchantComments field.

func (*ConnectionOptionsForterAntiFraudComments) SetMerchantCommentsNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetMerchantCommentsNil()

SetMerchantCommentsNil sets the value for MerchantComments to be an explicit nil

func (*ConnectionOptionsForterAntiFraudComments) SetMessageToBeneficiary ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetMessageToBeneficiary(v string)

SetMessageToBeneficiary gets a reference to the given NullableString and assigns it to the MessageToBeneficiary field.

func (*ConnectionOptionsForterAntiFraudComments) SetMessageToBeneficiaryNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetMessageToBeneficiaryNil()

SetMessageToBeneficiaryNil sets the value for MessageToBeneficiary to be an explicit nil

func (*ConnectionOptionsForterAntiFraudComments) SetUserCommentsToMerchant ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetUserCommentsToMerchant(v string)

SetUserCommentsToMerchant gets a reference to the given NullableString and assigns it to the UserCommentsToMerchant field.

func (*ConnectionOptionsForterAntiFraudComments) SetUserCommentsToMerchantNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) SetUserCommentsToMerchantNil()

SetUserCommentsToMerchantNil sets the value for UserCommentsToMerchant to be an explicit nil

func (*ConnectionOptionsForterAntiFraudComments) UnsetMerchantComments ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) UnsetMerchantComments()

UnsetMerchantComments ensures that no value is present for MerchantComments, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudComments) UnsetMessageToBeneficiary ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) UnsetMessageToBeneficiary()

UnsetMessageToBeneficiary ensures that no value is present for MessageToBeneficiary, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudComments) UnsetUserCommentsToMerchant ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudComments) UnsetUserCommentsToMerchant()

UnsetUserCommentsToMerchant ensures that no value is present for UserCommentsToMerchant, not even an explicit nil

type ConnectionOptionsForterAntiFraudDeliveryDetails ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudDeliveryDetails struct {
	// Value to populate the `deliveryType` field for this cart item. This overrides the type set at the wider level.  Represents the type of delivery. This can be set to `PHYSICAL` for any type of shipped goods, `DIGITAL` for non-shipped goods (services, gift cards etc.), or `HYBRID` for others.
	DeliveryType NullableString `json:"delivery_type,omitempty"`
	// Value to populate the `deliveryMethod` field for this cart item. This overrides the method set at the wider level.  Represents the delivery method chosen by customer such as postal service, email, in game transfer, etc.
	DeliveryMethod *string `json:"delivery_method,omitempty"`
}

ConnectionOptionsForterAntiFraudDeliveryDetails General data regarding item such as name, price, etc.

func NewConnectionOptionsForterAntiFraudDeliveryDetails ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudDeliveryDetails() *ConnectionOptionsForterAntiFraudDeliveryDetails

NewConnectionOptionsForterAntiFraudDeliveryDetails instantiates a new ConnectionOptionsForterAntiFraudDeliveryDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudDeliveryDetailsWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudDeliveryDetailsWithDefaults() *ConnectionOptionsForterAntiFraudDeliveryDetails

NewConnectionOptionsForterAntiFraudDeliveryDetailsWithDefaults instantiates a new ConnectionOptionsForterAntiFraudDeliveryDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryMethod ¶ added in v0.31.0

GetDeliveryMethod returns the DeliveryMethod field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryMethodOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryMethodOk() (*string, bool)

GetDeliveryMethodOk returns a tuple with the DeliveryMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryType ¶ added in v0.31.0

GetDeliveryType returns the DeliveryType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryTypeOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudDeliveryDetails) GetDeliveryTypeOk() (*string, bool)

GetDeliveryTypeOk returns a tuple with the DeliveryType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) HasDeliveryMethod ¶ added in v0.31.0

HasDeliveryMethod returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) HasDeliveryType ¶ added in v0.31.0

HasDeliveryType returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudDeliveryDetails) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) SetDeliveryMethod ¶ added in v0.31.0

SetDeliveryMethod gets a reference to the given string and assigns it to the DeliveryMethod field.

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) SetDeliveryType ¶ added in v0.31.0

SetDeliveryType gets a reference to the given NullableString and assigns it to the DeliveryType field.

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) SetDeliveryTypeNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudDeliveryDetails) SetDeliveryTypeNil()

SetDeliveryTypeNil sets the value for DeliveryType to be an explicit nil

func (*ConnectionOptionsForterAntiFraudDeliveryDetails) UnsetDeliveryType ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudDeliveryDetails) UnsetDeliveryType()

UnsetDeliveryType ensures that no value is present for DeliveryType, not even an explicit nil

type ConnectionOptionsForterAntiFraudPersonalDetails ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudPersonalDetails struct {
	// First name.
	FirstName *string `json:"first_name,omitempty"`
	// Last name.
	LastName *string `json:"last_name,omitempty"`
	// Email address.
	Email *string `json:"email,omitempty"`
}

ConnectionOptionsForterAntiFraudPersonalDetails Personal details are those which contribute to building up a picture of the person as an individual, such as name, title, etc.

func NewConnectionOptionsForterAntiFraudPersonalDetails ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudPersonalDetails() *ConnectionOptionsForterAntiFraudPersonalDetails

NewConnectionOptionsForterAntiFraudPersonalDetails instantiates a new ConnectionOptionsForterAntiFraudPersonalDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudPersonalDetailsWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudPersonalDetailsWithDefaults() *ConnectionOptionsForterAntiFraudPersonalDetails

NewConnectionOptionsForterAntiFraudPersonalDetailsWithDefaults instantiates a new ConnectionOptionsForterAntiFraudPersonalDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetEmail ¶ added in v0.31.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetEmailOk ¶ added in v0.31.0

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetFirstName ¶ added in v0.31.0

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetFirstNameOk ¶ added in v0.31.0

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetLastName ¶ added in v0.31.0

GetLastName returns the LastName field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) GetLastNameOk ¶ added in v0.31.0

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) HasEmail ¶ added in v0.31.0

HasEmail returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) HasFirstName ¶ added in v0.31.0

HasFirstName returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) HasLastName ¶ added in v0.31.0

HasLastName returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudPersonalDetails) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudPersonalDetails) SetEmail ¶ added in v0.31.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) SetFirstName ¶ added in v0.31.0

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*ConnectionOptionsForterAntiFraudPersonalDetails) SetLastName ¶ added in v0.31.0

SetLastName gets a reference to the given string and assigns it to the LastName field.

type ConnectionOptionsForterAntiFraudPhone ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudPhone struct {
	// Phone number including all country and local access codes.
	Phone string `json:"phone"`
}

ConnectionOptionsForterAntiFraudPhone struct for ConnectionOptionsForterAntiFraudPhone

func NewConnectionOptionsForterAntiFraudPhone ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudPhone(phone string) *ConnectionOptionsForterAntiFraudPhone

NewConnectionOptionsForterAntiFraudPhone instantiates a new ConnectionOptionsForterAntiFraudPhone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudPhoneWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudPhoneWithDefaults() *ConnectionOptionsForterAntiFraudPhone

NewConnectionOptionsForterAntiFraudPhoneWithDefaults instantiates a new ConnectionOptionsForterAntiFraudPhone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudPhone) GetPhone ¶ added in v0.31.0

GetPhone returns the Phone field value

func (*ConnectionOptionsForterAntiFraudPhone) GetPhoneOk ¶ added in v0.31.0

GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.

func (ConnectionOptionsForterAntiFraudPhone) MarshalJSON ¶ added in v0.31.0

func (o ConnectionOptionsForterAntiFraudPhone) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsForterAntiFraudPhone) SetPhone ¶ added in v0.31.0

SetPhone sets field value

type ConnectionOptionsForterAntiFraudTotalDiscount ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudTotalDiscount struct {
	// The coupon code used.
	CouponCodeUsed *string `json:"coupon_code_used,omitempty"`
	// The discount type.
	DiscountType         string                                                                    `json:"discount_type"`
	CouponDiscountAmount NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount `json:"coupon_discount_amount,omitempty"`
	// Coupon discount percentage.
	CouponDiscountPercent NullableString `json:"coupon_discount_percent,omitempty"`
}

ConnectionOptionsForterAntiFraudTotalDiscount The `totalDiscount` object that's sent to Forter's validation API. It represents the discount that was given to the customer.

func NewConnectionOptionsForterAntiFraudTotalDiscount ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudTotalDiscount(discountType string) *ConnectionOptionsForterAntiFraudTotalDiscount

NewConnectionOptionsForterAntiFraudTotalDiscount instantiates a new ConnectionOptionsForterAntiFraudTotalDiscount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudTotalDiscountWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudTotalDiscountWithDefaults() *ConnectionOptionsForterAntiFraudTotalDiscount

NewConnectionOptionsForterAntiFraudTotalDiscountWithDefaults instantiates a new ConnectionOptionsForterAntiFraudTotalDiscount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponCodeUsed ¶ added in v0.31.0

GetCouponCodeUsed returns the CouponCodeUsed field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponCodeUsedOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponCodeUsedOk() (*string, bool)

GetCouponCodeUsedOk returns a tuple with the CouponCodeUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountAmount ¶ added in v0.31.0

GetCouponDiscountAmount returns the CouponDiscountAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountAmountOk ¶ added in v0.31.0

GetCouponDiscountAmountOk returns a tuple with the CouponDiscountAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountPercent ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountPercent() string

GetCouponDiscountPercent returns the CouponDiscountPercent field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountPercentOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) GetCouponDiscountPercentOk() (*string, bool)

GetCouponDiscountPercentOk returns a tuple with the CouponDiscountPercent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetDiscountType ¶ added in v0.31.0

GetDiscountType returns the DiscountType field value

func (*ConnectionOptionsForterAntiFraudTotalDiscount) GetDiscountTypeOk ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) GetDiscountTypeOk() (*string, bool)

GetDiscountTypeOk returns a tuple with the DiscountType field value and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponCodeUsed ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponCodeUsed() bool

HasCouponCodeUsed returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponDiscountAmount ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponDiscountAmount() bool

HasCouponDiscountAmount returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponDiscountPercent ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) HasCouponDiscountPercent() bool

HasCouponDiscountPercent returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudTotalDiscount) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponCodeUsed ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponCodeUsed(v string)

SetCouponCodeUsed gets a reference to the given string and assigns it to the CouponCodeUsed field.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountAmount ¶ added in v0.31.0

SetCouponDiscountAmount gets a reference to the given NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount and assigns it to the CouponDiscountAmount field.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountAmountNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountAmountNil()

SetCouponDiscountAmountNil sets the value for CouponDiscountAmount to be an explicit nil

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountPercent ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountPercent(v string)

SetCouponDiscountPercent gets a reference to the given NullableString and assigns it to the CouponDiscountPercent field.

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountPercentNil ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) SetCouponDiscountPercentNil()

SetCouponDiscountPercentNil sets the value for CouponDiscountPercent to be an explicit nil

func (*ConnectionOptionsForterAntiFraudTotalDiscount) SetDiscountType ¶ added in v0.31.0

SetDiscountType sets field value

func (*ConnectionOptionsForterAntiFraudTotalDiscount) UnsetCouponDiscountAmount ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) UnsetCouponDiscountAmount()

UnsetCouponDiscountAmount ensures that no value is present for CouponDiscountAmount, not even an explicit nil

func (*ConnectionOptionsForterAntiFraudTotalDiscount) UnsetCouponDiscountPercent ¶ added in v0.31.0

func (o *ConnectionOptionsForterAntiFraudTotalDiscount) UnsetCouponDiscountPercent()

UnsetCouponDiscountPercent ensures that no value is present for CouponDiscountPercent, not even an explicit nil

type ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount ¶ added in v0.31.0

type ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount struct {
	// Transaction amount in USD.
	AmountUsd *string `json:"amount_usd,omitempty"`
	// Transaction amount in currency chosen by the buyer.
	AmountLocalCurrency *string `json:"amount_local_currency,omitempty"`
	// Transaction currency chosen by the buyer, 3-letter ISO-4217 format currency code.
	Currency *string `json:"currency,omitempty"`
}

ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount A monetary amount in USD or local currency.

func NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount() *ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount

NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount instantiates a new ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmountWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmountWithDefaults() *ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount

NewConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmountWithDefaults instantiates a new ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetAmountLocalCurrency ¶ added in v0.31.0

GetAmountLocalCurrency returns the AmountLocalCurrency field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetAmountLocalCurrencyOk ¶ added in v0.31.0

GetAmountLocalCurrencyOk returns a tuple with the AmountLocalCurrency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetAmountUsd ¶ added in v0.31.0

GetAmountUsd returns the AmountUsd field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetAmountUsdOk ¶ added in v0.31.0

GetAmountUsdOk returns a tuple with the AmountUsd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetCurrency ¶ added in v0.31.0

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) GetCurrencyOk ¶ added in v0.31.0

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) HasAmountLocalCurrency ¶ added in v0.31.0

HasAmountLocalCurrency returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) HasAmountUsd ¶ added in v0.31.0

HasAmountUsd returns a boolean if a field has been set.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) HasCurrency ¶ added in v0.31.0

HasCurrency returns a boolean if a field has been set.

func (ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) SetAmountLocalCurrency ¶ added in v0.31.0

SetAmountLocalCurrency gets a reference to the given string and assigns it to the AmountLocalCurrency field.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) SetAmountUsd ¶ added in v0.31.0

SetAmountUsd gets a reference to the given string and assigns it to the AmountUsd field.

func (*ConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) SetCurrency ¶ added in v0.31.0

SetCurrency gets a reference to the given string and assigns it to the Currency field.

type ConnectionOptionsPaypalPaypal ¶ added in v0.31.0

type ConnectionOptionsPaypalPaypal struct {
	// An array with key-value objects representing additional data to be passed to PayPal.
	AdditionalData *[]ConnectionOptionsPaypalPaypalAdditionalData `json:"additional_data,omitempty"`
}

ConnectionOptionsPaypalPaypal Additional options to be passed through to PayPal when processing transactions.

func NewConnectionOptionsPaypalPaypal ¶ added in v0.31.0

func NewConnectionOptionsPaypalPaypal() *ConnectionOptionsPaypalPaypal

NewConnectionOptionsPaypalPaypal instantiates a new ConnectionOptionsPaypalPaypal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsPaypalPaypalWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsPaypalPaypalWithDefaults() *ConnectionOptionsPaypalPaypal

NewConnectionOptionsPaypalPaypalWithDefaults instantiates a new ConnectionOptionsPaypalPaypal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsPaypalPaypal) GetAdditionalData ¶ added in v0.31.0

GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.

func (*ConnectionOptionsPaypalPaypal) GetAdditionalDataOk ¶ added in v0.31.0

GetAdditionalDataOk returns a tuple with the AdditionalData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsPaypalPaypal) HasAdditionalData ¶ added in v0.31.0

func (o *ConnectionOptionsPaypalPaypal) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field has been set.

func (ConnectionOptionsPaypalPaypal) MarshalJSON ¶ added in v0.31.0

func (o ConnectionOptionsPaypalPaypal) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsPaypalPaypal) SetAdditionalData ¶ added in v0.31.0

SetAdditionalData gets a reference to the given []ConnectionOptionsPaypalPaypalAdditionalData and assigns it to the AdditionalData field.

type ConnectionOptionsPaypalPaypalAdditionalData ¶ added in v0.31.0

type ConnectionOptionsPaypalPaypalAdditionalData struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

ConnectionOptionsPaypalPaypalAdditionalData struct for ConnectionOptionsPaypalPaypalAdditionalData

func NewConnectionOptionsPaypalPaypalAdditionalData ¶ added in v0.31.0

func NewConnectionOptionsPaypalPaypalAdditionalData() *ConnectionOptionsPaypalPaypalAdditionalData

NewConnectionOptionsPaypalPaypalAdditionalData instantiates a new ConnectionOptionsPaypalPaypalAdditionalData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsPaypalPaypalAdditionalDataWithDefaults ¶ added in v0.31.0

func NewConnectionOptionsPaypalPaypalAdditionalDataWithDefaults() *ConnectionOptionsPaypalPaypalAdditionalData

NewConnectionOptionsPaypalPaypalAdditionalDataWithDefaults instantiates a new ConnectionOptionsPaypalPaypalAdditionalData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsPaypalPaypalAdditionalData) GetKey ¶ added in v0.31.0

GetKey returns the Key field value if set, zero value otherwise.

func (*ConnectionOptionsPaypalPaypalAdditionalData) GetKeyOk ¶ added in v0.31.0

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsPaypalPaypalAdditionalData) GetValue ¶ added in v0.31.0

GetValue returns the Value field value if set, zero value otherwise.

func (*ConnectionOptionsPaypalPaypalAdditionalData) GetValueOk ¶ added in v0.31.0

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsPaypalPaypalAdditionalData) HasKey ¶ added in v0.31.0

HasKey returns a boolean if a field has been set.

func (*ConnectionOptionsPaypalPaypalAdditionalData) HasValue ¶ added in v0.31.0

HasValue returns a boolean if a field has been set.

func (ConnectionOptionsPaypalPaypalAdditionalData) MarshalJSON ¶ added in v0.31.0

func (*ConnectionOptionsPaypalPaypalAdditionalData) SetKey ¶ added in v0.31.0

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ConnectionOptionsPaypalPaypalAdditionalData) SetValue ¶ added in v0.31.0

SetValue gets a reference to the given string and assigns it to the Value field.

type ConnectionOptionsStripeCard ¶ added in v0.32.0

type ConnectionOptionsStripeCard struct {
	// Defines if Stripe should automatically fail the payment if it requires two-factor authentication from the user.
	ErrorOnRequiresAction *bool                                            `json:"error_on_requires_action,omitempty"`
	StripeConnect         NullableConnectionOptionsStripeCardStripeConnect `json:"stripe_connect,omitempty"`
}

ConnectionOptionsStripeCard Additional options to be passed through to Stripe when processing transactions.

func NewConnectionOptionsStripeCard ¶ added in v0.32.0

func NewConnectionOptionsStripeCard() *ConnectionOptionsStripeCard

NewConnectionOptionsStripeCard instantiates a new ConnectionOptionsStripeCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsStripeCardWithDefaults ¶ added in v0.32.0

func NewConnectionOptionsStripeCardWithDefaults() *ConnectionOptionsStripeCard

NewConnectionOptionsStripeCardWithDefaults instantiates a new ConnectionOptionsStripeCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsStripeCard) GetErrorOnRequiresAction ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) GetErrorOnRequiresAction() bool

GetErrorOnRequiresAction returns the ErrorOnRequiresAction field value if set, zero value otherwise.

func (*ConnectionOptionsStripeCard) GetErrorOnRequiresActionOk ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) GetErrorOnRequiresActionOk() (*bool, bool)

GetErrorOnRequiresActionOk returns a tuple with the ErrorOnRequiresAction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionOptionsStripeCard) GetStripeConnect ¶ added in v0.32.0

GetStripeConnect returns the StripeConnect field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsStripeCard) GetStripeConnectOk ¶ added in v0.32.0

GetStripeConnectOk returns a tuple with the StripeConnect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsStripeCard) HasErrorOnRequiresAction ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) HasErrorOnRequiresAction() bool

HasErrorOnRequiresAction returns a boolean if a field has been set.

func (*ConnectionOptionsStripeCard) HasStripeConnect ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) HasStripeConnect() bool

HasStripeConnect returns a boolean if a field has been set.

func (ConnectionOptionsStripeCard) MarshalJSON ¶ added in v0.32.0

func (o ConnectionOptionsStripeCard) MarshalJSON() ([]byte, error)

func (*ConnectionOptionsStripeCard) SetErrorOnRequiresAction ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) SetErrorOnRequiresAction(v bool)

SetErrorOnRequiresAction gets a reference to the given bool and assigns it to the ErrorOnRequiresAction field.

func (*ConnectionOptionsStripeCard) SetStripeConnect ¶ added in v0.32.0

SetStripeConnect gets a reference to the given NullableConnectionOptionsStripeCardStripeConnect and assigns it to the StripeConnect field.

func (*ConnectionOptionsStripeCard) SetStripeConnectNil ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) SetStripeConnectNil()

SetStripeConnectNil sets the value for StripeConnect to be an explicit nil

func (*ConnectionOptionsStripeCard) UnsetStripeConnect ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCard) UnsetStripeConnect()

UnsetStripeConnect ensures that no value is present for StripeConnect, not even an explicit nil

type ConnectionOptionsStripeCardStripeConnect ¶ added in v0.32.0

type ConnectionOptionsStripeCardStripeConnect struct {
	// The ID of the connected Stripe account to process for.
	StripeAccount NullableString `json:"stripe_account,omitempty"`
	// The application fee to charge when processing for a connected account.
	ApplicationFeeAmount NullableFloat32 `json:"application_fee_amount,omitempty"`
}

ConnectionOptionsStripeCardStripeConnect Stripe Connect configuration options.

func NewConnectionOptionsStripeCardStripeConnect ¶ added in v0.32.0

func NewConnectionOptionsStripeCardStripeConnect() *ConnectionOptionsStripeCardStripeConnect

NewConnectionOptionsStripeCardStripeConnect instantiates a new ConnectionOptionsStripeCardStripeConnect object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionOptionsStripeCardStripeConnectWithDefaults ¶ added in v0.32.0

func NewConnectionOptionsStripeCardStripeConnectWithDefaults() *ConnectionOptionsStripeCardStripeConnect

NewConnectionOptionsStripeCardStripeConnectWithDefaults instantiates a new ConnectionOptionsStripeCardStripeConnect object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConnectionOptionsStripeCardStripeConnect) GetApplicationFeeAmount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) GetApplicationFeeAmount() float32

GetApplicationFeeAmount returns the ApplicationFeeAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsStripeCardStripeConnect) GetApplicationFeeAmountOk ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) GetApplicationFeeAmountOk() (*float32, bool)

GetApplicationFeeAmountOk returns a tuple with the ApplicationFeeAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsStripeCardStripeConnect) GetStripeAccount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) GetStripeAccount() string

GetStripeAccount returns the StripeAccount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ConnectionOptionsStripeCardStripeConnect) GetStripeAccountOk ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) GetStripeAccountOk() (*string, bool)

GetStripeAccountOk returns a tuple with the StripeAccount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ConnectionOptionsStripeCardStripeConnect) HasApplicationFeeAmount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) HasApplicationFeeAmount() bool

HasApplicationFeeAmount returns a boolean if a field has been set.

func (*ConnectionOptionsStripeCardStripeConnect) HasStripeAccount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) HasStripeAccount() bool

HasStripeAccount returns a boolean if a field has been set.

func (ConnectionOptionsStripeCardStripeConnect) MarshalJSON ¶ added in v0.32.0

func (*ConnectionOptionsStripeCardStripeConnect) SetApplicationFeeAmount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) SetApplicationFeeAmount(v float32)

SetApplicationFeeAmount gets a reference to the given NullableFloat32 and assigns it to the ApplicationFeeAmount field.

func (*ConnectionOptionsStripeCardStripeConnect) SetApplicationFeeAmountNil ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) SetApplicationFeeAmountNil()

SetApplicationFeeAmountNil sets the value for ApplicationFeeAmount to be an explicit nil

func (*ConnectionOptionsStripeCardStripeConnect) SetStripeAccount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) SetStripeAccount(v string)

SetStripeAccount gets a reference to the given NullableString and assigns it to the StripeAccount field.

func (*ConnectionOptionsStripeCardStripeConnect) SetStripeAccountNil ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) SetStripeAccountNil()

SetStripeAccountNil sets the value for StripeAccount to be an explicit nil

func (*ConnectionOptionsStripeCardStripeConnect) UnsetApplicationFeeAmount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) UnsetApplicationFeeAmount()

UnsetApplicationFeeAmount ensures that no value is present for ApplicationFeeAmount, not even an explicit nil

func (*ConnectionOptionsStripeCardStripeConnect) UnsetStripeAccount ¶ added in v0.32.0

func (o *ConnectionOptionsStripeCardStripeConnect) UnsetStripeAccount()

UnsetStripeAccount ensures that no value is present for StripeAccount, not even an explicit nil

type Connections ¶ added in v0.19.0

type Connections struct {
	Items *[]Connection `json:"items,omitempty"`
}

Connections A list of configured connections.

func NewConnections ¶ added in v0.19.0

func NewConnections() *Connections

NewConnections instantiates a new Connections object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConnectionsWithDefaults ¶ added in v0.19.0

func NewConnectionsWithDefaults() *Connections

NewConnectionsWithDefaults instantiates a new Connections object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Connections) GetItems ¶ added in v0.19.0

func (o *Connections) GetItems() []Connection

GetItems returns the Items field value if set, zero value otherwise.

func (*Connections) GetItemsOk ¶ added in v0.19.0

func (o *Connections) GetItemsOk() (*[]Connection, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Connections) HasItems ¶ added in v0.19.0

func (o *Connections) HasItems() bool

HasItems returns a boolean if a field has been set.

func (Connections) MarshalJSON ¶ added in v0.19.0

func (o Connections) MarshalJSON() ([]byte, error)

func (*Connections) SetItems ¶ added in v0.19.0

func (o *Connections) SetItems(v []Connection)

SetItems gets a reference to the given []Connection and assigns it to the Items field.

type Cryptogram ¶ added in v0.27.0

type Cryptogram struct {
	// The cryptogram of the network token.
	Cryptogram *string `json:"cryptogram,omitempty"`
}

Cryptogram A network token cryptogram.

func NewCryptogram ¶ added in v0.27.0

func NewCryptogram() *Cryptogram

NewCryptogram instantiates a new Cryptogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCryptogramWithDefaults ¶ added in v0.27.0

func NewCryptogramWithDefaults() *Cryptogram

NewCryptogramWithDefaults instantiates a new Cryptogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Cryptogram) GetCryptogram ¶ added in v0.27.0

func (o *Cryptogram) GetCryptogram() string

GetCryptogram returns the Cryptogram field value if set, zero value otherwise.

func (*Cryptogram) GetCryptogramOk ¶ added in v0.27.0

func (o *Cryptogram) GetCryptogramOk() (*string, bool)

GetCryptogramOk returns a tuple with the Cryptogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Cryptogram) HasCryptogram ¶ added in v0.27.0

func (o *Cryptogram) HasCryptogram() bool

HasCryptogram returns a boolean if a field has been set.

func (Cryptogram) MarshalJSON ¶ added in v0.27.0

func (o Cryptogram) MarshalJSON() ([]byte, error)

func (*Cryptogram) SetCryptogram ¶ added in v0.27.0

func (o *Cryptogram) SetCryptogram(v string)

SetCryptogram gets a reference to the given string and assigns it to the Cryptogram field.

type DigitalWallet ¶ added in v0.7.0

type DigitalWallet struct {
	// `digital-wallet`.
	Type *string `json:"type,omitempty"`
	// The ID of the registered digital wallet.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The name of the digital wallet provider.
	Provider *string `json:"provider,omitempty"`
	// The name of the merchant the digital wallet is registered to.
	MerchantName *string `json:"merchant_name,omitempty"`
	// The main URL of the merchant.
	MerchantUrl NullableString `json:"merchant_url,omitempty"`
	// The consumer facing name of the merchant.
	MerchantDisplayName NullableString `json:"merchant_display_name,omitempty"`
	// The country code where the merchant is registered.
	MerchantCountryCode NullableString `json:"merchant_country_code,omitempty"`
	// The list of domain names that a digital wallet can be used on. To use a digital wallet on a website, the domain of the site is required to be in this list.
	DomainNames *[]string                      `json:"domain_names,omitempty"`
	Fields      *DigitalWalletClickToPayFields `json:"fields,omitempty"`
	// The date and time when this digital wallet was registered.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this digital wallet was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The number of active custom certificates registered for this digital wallet (Apple Pay only).
	ActiveCertificateCount *int32 `json:"active_certificate_count,omitempty"`
	// The number of pending custom certificates registered for this digital wallet (Apple Pay only).
	PendingCertificateCount *int32 `json:"pending_certificate_count,omitempty"`
	// The number of expired custom certificates registered for this digital wallet (Apple Pay only).
	ExpiredCertificateCount *int32 `json:"expired_certificate_count,omitempty"`
}

DigitalWallet A digital wallet (e.g. Apple Pay) that has been registered.

func NewDigitalWallet ¶ added in v0.7.0

func NewDigitalWallet() *DigitalWallet

NewDigitalWallet instantiates a new DigitalWallet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletWithDefaults ¶ added in v0.7.0

func NewDigitalWalletWithDefaults() *DigitalWallet

NewDigitalWalletWithDefaults instantiates a new DigitalWallet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWallet) GetActiveCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) GetActiveCertificateCount() int32

GetActiveCertificateCount returns the ActiveCertificateCount field value if set, zero value otherwise.

func (*DigitalWallet) GetActiveCertificateCountOk ¶ added in v0.22.0

func (o *DigitalWallet) GetActiveCertificateCountOk() (*int32, bool)

GetActiveCertificateCountOk returns a tuple with the ActiveCertificateCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetCreatedAt ¶ added in v0.7.0

func (o *DigitalWallet) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DigitalWallet) GetCreatedAtOk ¶ added in v0.7.0

func (o *DigitalWallet) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetDomainNames ¶ added in v0.7.0

func (o *DigitalWallet) GetDomainNames() []string

GetDomainNames returns the DomainNames field value if set, zero value otherwise.

func (*DigitalWallet) GetDomainNamesOk ¶ added in v0.7.0

func (o *DigitalWallet) GetDomainNamesOk() (*[]string, bool)

GetDomainNamesOk returns a tuple with the DomainNames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetExpiredCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) GetExpiredCertificateCount() int32

GetExpiredCertificateCount returns the ExpiredCertificateCount field value if set, zero value otherwise.

func (*DigitalWallet) GetExpiredCertificateCountOk ¶ added in v0.22.0

func (o *DigitalWallet) GetExpiredCertificateCountOk() (*int32, bool)

GetExpiredCertificateCountOk returns a tuple with the ExpiredCertificateCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetFields ¶ added in v0.31.0

GetFields returns the Fields field value if set, zero value otherwise.

func (*DigitalWallet) GetFieldsOk ¶ added in v0.31.0

func (o *DigitalWallet) GetFieldsOk() (*DigitalWalletClickToPayFields, bool)

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetId ¶ added in v0.7.0

func (o *DigitalWallet) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DigitalWallet) GetIdOk ¶ added in v0.7.0

func (o *DigitalWallet) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetMerchantAccountId ¶ added in v0.27.0

func (o *DigitalWallet) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*DigitalWallet) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *DigitalWallet) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWallet) GetMerchantCountryCode() string

GetMerchantCountryCode returns the MerchantCountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWallet) GetMerchantCountryCodeOk ¶ added in v0.31.0

func (o *DigitalWallet) GetMerchantCountryCodeOk() (*string, bool)

GetMerchantCountryCodeOk returns a tuple with the MerchantCountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWallet) GetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWallet) GetMerchantDisplayName() string

GetMerchantDisplayName returns the MerchantDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWallet) GetMerchantDisplayNameOk ¶ added in v0.31.0

func (o *DigitalWallet) GetMerchantDisplayNameOk() (*string, bool)

GetMerchantDisplayNameOk returns a tuple with the MerchantDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWallet) GetMerchantName ¶ added in v0.7.0

func (o *DigitalWallet) GetMerchantName() string

GetMerchantName returns the MerchantName field value if set, zero value otherwise.

func (*DigitalWallet) GetMerchantNameOk ¶ added in v0.7.0

func (o *DigitalWallet) GetMerchantNameOk() (*string, bool)

GetMerchantNameOk returns a tuple with the MerchantName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWallet) GetMerchantUrl() string

GetMerchantUrl returns the MerchantUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWallet) GetMerchantUrlOk ¶ added in v0.7.0

func (o *DigitalWallet) GetMerchantUrlOk() (*string, bool)

GetMerchantUrlOk returns a tuple with the MerchantUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWallet) GetPendingCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) GetPendingCertificateCount() int32

GetPendingCertificateCount returns the PendingCertificateCount field value if set, zero value otherwise.

func (*DigitalWallet) GetPendingCertificateCountOk ¶ added in v0.22.0

func (o *DigitalWallet) GetPendingCertificateCountOk() (*int32, bool)

GetPendingCertificateCountOk returns a tuple with the PendingCertificateCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetProvider ¶ added in v0.7.0

func (o *DigitalWallet) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*DigitalWallet) GetProviderOk ¶ added in v0.7.0

func (o *DigitalWallet) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetType ¶ added in v0.7.0

func (o *DigitalWallet) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DigitalWallet) GetTypeOk ¶ added in v0.7.0

func (o *DigitalWallet) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) GetUpdatedAt ¶ added in v0.7.0

func (o *DigitalWallet) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DigitalWallet) GetUpdatedAtOk ¶ added in v0.7.0

func (o *DigitalWallet) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallet) HasActiveCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) HasActiveCertificateCount() bool

HasActiveCertificateCount returns a boolean if a field has been set.

func (*DigitalWallet) HasCreatedAt ¶ added in v0.7.0

func (o *DigitalWallet) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DigitalWallet) HasDomainNames ¶ added in v0.7.0

func (o *DigitalWallet) HasDomainNames() bool

HasDomainNames returns a boolean if a field has been set.

func (*DigitalWallet) HasExpiredCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) HasExpiredCertificateCount() bool

HasExpiredCertificateCount returns a boolean if a field has been set.

func (*DigitalWallet) HasFields ¶ added in v0.31.0

func (o *DigitalWallet) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*DigitalWallet) HasId ¶ added in v0.7.0

func (o *DigitalWallet) HasId() bool

HasId returns a boolean if a field has been set.

func (*DigitalWallet) HasMerchantAccountId ¶ added in v0.27.0

func (o *DigitalWallet) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*DigitalWallet) HasMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWallet) HasMerchantCountryCode() bool

HasMerchantCountryCode returns a boolean if a field has been set.

func (*DigitalWallet) HasMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWallet) HasMerchantDisplayName() bool

HasMerchantDisplayName returns a boolean if a field has been set.

func (*DigitalWallet) HasMerchantName ¶ added in v0.7.0

func (o *DigitalWallet) HasMerchantName() bool

HasMerchantName returns a boolean if a field has been set.

func (*DigitalWallet) HasMerchantUrl ¶ added in v0.7.0

func (o *DigitalWallet) HasMerchantUrl() bool

HasMerchantUrl returns a boolean if a field has been set.

func (*DigitalWallet) HasPendingCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) HasPendingCertificateCount() bool

HasPendingCertificateCount returns a boolean if a field has been set.

func (*DigitalWallet) HasProvider ¶ added in v0.7.0

func (o *DigitalWallet) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*DigitalWallet) HasType ¶ added in v0.7.0

func (o *DigitalWallet) HasType() bool

HasType returns a boolean if a field has been set.

func (*DigitalWallet) HasUpdatedAt ¶ added in v0.7.0

func (o *DigitalWallet) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DigitalWallet) MarshalJSON ¶ added in v0.7.0

func (o DigitalWallet) MarshalJSON() ([]byte, error)

func (*DigitalWallet) SetActiveCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) SetActiveCertificateCount(v int32)

SetActiveCertificateCount gets a reference to the given int32 and assigns it to the ActiveCertificateCount field.

func (*DigitalWallet) SetCreatedAt ¶ added in v0.7.0

func (o *DigitalWallet) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DigitalWallet) SetDomainNames ¶ added in v0.7.0

func (o *DigitalWallet) SetDomainNames(v []string)

SetDomainNames gets a reference to the given []string and assigns it to the DomainNames field.

func (*DigitalWallet) SetExpiredCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) SetExpiredCertificateCount(v int32)

SetExpiredCertificateCount gets a reference to the given int32 and assigns it to the ExpiredCertificateCount field.

func (*DigitalWallet) SetFields ¶ added in v0.31.0

SetFields gets a reference to the given DigitalWalletClickToPayFields and assigns it to the Fields field.

func (*DigitalWallet) SetId ¶ added in v0.7.0

func (o *DigitalWallet) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DigitalWallet) SetMerchantAccountId ¶ added in v0.27.0

func (o *DigitalWallet) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*DigitalWallet) SetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWallet) SetMerchantCountryCode(v string)

SetMerchantCountryCode gets a reference to the given NullableString and assigns it to the MerchantCountryCode field.

func (*DigitalWallet) SetMerchantCountryCodeNil ¶ added in v0.31.0

func (o *DigitalWallet) SetMerchantCountryCodeNil()

SetMerchantCountryCodeNil sets the value for MerchantCountryCode to be an explicit nil

func (*DigitalWallet) SetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWallet) SetMerchantDisplayName(v string)

SetMerchantDisplayName gets a reference to the given NullableString and assigns it to the MerchantDisplayName field.

func (*DigitalWallet) SetMerchantDisplayNameNil ¶ added in v0.31.0

func (o *DigitalWallet) SetMerchantDisplayNameNil()

SetMerchantDisplayNameNil sets the value for MerchantDisplayName to be an explicit nil

func (*DigitalWallet) SetMerchantName ¶ added in v0.7.0

func (o *DigitalWallet) SetMerchantName(v string)

SetMerchantName gets a reference to the given string and assigns it to the MerchantName field.

func (*DigitalWallet) SetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWallet) SetMerchantUrl(v string)

SetMerchantUrl gets a reference to the given NullableString and assigns it to the MerchantUrl field.

func (*DigitalWallet) SetMerchantUrlNil ¶ added in v0.7.0

func (o *DigitalWallet) SetMerchantUrlNil()

SetMerchantUrlNil sets the value for MerchantUrl to be an explicit nil

func (*DigitalWallet) SetPendingCertificateCount ¶ added in v0.22.0

func (o *DigitalWallet) SetPendingCertificateCount(v int32)

SetPendingCertificateCount gets a reference to the given int32 and assigns it to the PendingCertificateCount field.

func (*DigitalWallet) SetProvider ¶ added in v0.7.0

func (o *DigitalWallet) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*DigitalWallet) SetType ¶ added in v0.7.0

func (o *DigitalWallet) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*DigitalWallet) SetUpdatedAt ¶ added in v0.7.0

func (o *DigitalWallet) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*DigitalWallet) UnsetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWallet) UnsetMerchantCountryCode()

UnsetMerchantCountryCode ensures that no value is present for MerchantCountryCode, not even an explicit nil

func (*DigitalWallet) UnsetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWallet) UnsetMerchantDisplayName()

UnsetMerchantDisplayName ensures that no value is present for MerchantDisplayName, not even an explicit nil

func (*DigitalWallet) UnsetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWallet) UnsetMerchantUrl()

UnsetMerchantUrl ensures that no value is present for MerchantUrl, not even an explicit nil

type DigitalWalletApplePayTokenDecrypted ¶ added in v0.31.0

type DigitalWalletApplePayTokenDecrypted struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `digital-wallet-apple-pay-token-decrypted`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                  `json:"created_at,omitempty"`
	Context   *DigitalWalletApplePayTokenDecryptedContext `json:"context,omitempty"`
}

DigitalWalletApplePayTokenDecrypted The result after decrypting an Apple Pay token.

func NewDigitalWalletApplePayTokenDecrypted ¶ added in v0.31.0

func NewDigitalWalletApplePayTokenDecrypted() *DigitalWalletApplePayTokenDecrypted

NewDigitalWalletApplePayTokenDecrypted instantiates a new DigitalWalletApplePayTokenDecrypted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletApplePayTokenDecryptedWithDefaults ¶ added in v0.31.0

func NewDigitalWalletApplePayTokenDecryptedWithDefaults() *DigitalWalletApplePayTokenDecrypted

NewDigitalWalletApplePayTokenDecryptedWithDefaults instantiates a new DigitalWalletApplePayTokenDecrypted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletApplePayTokenDecrypted) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecrypted) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecrypted) GetCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecrypted) GetCreatedAtOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecrypted) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecrypted) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecrypted) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecrypted) GetNameOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecrypted) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecrypted) GetTypeOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecrypted) HasContext ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecrypted) HasCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecrypted) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecrypted) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecrypted) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (DigitalWalletApplePayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (o DigitalWalletApplePayTokenDecrypted) MarshalJSON() ([]byte, error)

func (*DigitalWalletApplePayTokenDecrypted) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given DigitalWalletApplePayTokenDecryptedContext and assigns it to the Context field.

func (*DigitalWalletApplePayTokenDecrypted) SetCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecrypted) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DigitalWalletApplePayTokenDecrypted) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*DigitalWalletApplePayTokenDecrypted) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*DigitalWalletApplePayTokenDecrypted) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type DigitalWalletApplePayTokenDecryptedContext ¶ added in v0.31.0

type DigitalWalletApplePayTokenDecryptedContext struct {
	// Version information about the payment token.
	Version *string `json:"version,omitempty"`
	// The type of payment instrument.
	Type NullableString `json:"type,omitempty"`
	// Expiration of the decrypted data.
	ExpirationDate *string `json:"expiration_date,omitempty"`
	// Online payment cryptogram, as defined by 3D Secure.
	HasCryptogram *bool `json:"has_cryptogram,omitempty"`
	// ECI indicator, as defined by 3D Secure.
	Eci NullableString `json:"eci,omitempty"`
	// Hash of the application data property of the original request.
	ApplicationData NullableString `json:"application_data,omitempty"`
	// The unique identifier from Apple Pay.
	TransactionIdentifier *string `json:"transaction_identifier,omitempty"`
	// The cardholder name.
	CardholderName NullableString `json:"cardholder_name,omitempty"`
	// ISO 4217 numeric currency code for the transaction.
	CurrencyCode *string `json:"currency_code,omitempty"`
	// The amount for the transaction.
	TransactionAmount *int32 `json:"transaction_amount,omitempty"`
	// Hex-encoded device manufacturer identifier which initiated the transaction.
	DeviceManufacturerIdentifier *string `json:"device_manufacturer_identifier,omitempty"`
	// Either \"3DSecure\" or \"EMV\".
	PaymentDataType *string `json:"payment_data_type,omitempty"`
	// For a merchant token request, the provisioned merchant token identifier from the payment network.
	MerchantTokenIdentifier NullableString `json:"merchant_token_identifier,omitempty"`
	// Expiration date of card.
	CardExpirationDate NullableString `json:"card_expiration_date,omitempty"`
	// Last four digits of card PAN.
	CardSuffix NullableString `json:"card_suffix,omitempty"`
}

DigitalWalletApplePayTokenDecryptedContext Apple Pay decrypted token context.

func NewDigitalWalletApplePayTokenDecryptedContext ¶ added in v0.31.0

func NewDigitalWalletApplePayTokenDecryptedContext() *DigitalWalletApplePayTokenDecryptedContext

NewDigitalWalletApplePayTokenDecryptedContext instantiates a new DigitalWalletApplePayTokenDecryptedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletApplePayTokenDecryptedContextWithDefaults ¶ added in v0.31.0

func NewDigitalWalletApplePayTokenDecryptedContextWithDefaults() *DigitalWalletApplePayTokenDecryptedContext

NewDigitalWalletApplePayTokenDecryptedContextWithDefaults instantiates a new DigitalWalletApplePayTokenDecryptedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletApplePayTokenDecryptedContext) GetApplicationData ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetApplicationData() string

GetApplicationData returns the ApplicationData field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetApplicationDataOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetApplicationDataOk() (*string, bool)

GetApplicationDataOk returns a tuple with the ApplicationData field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCardExpirationDate() string

GetCardExpirationDate returns the CardExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardExpirationDateOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCardExpirationDateOk() (*string, bool)

GetCardExpirationDateOk returns a tuple with the CardExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardSuffix ¶ added in v0.31.0

GetCardSuffix returns the CardSuffix field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardSuffixOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCardSuffixOk() (*string, bool)

GetCardSuffixOk returns a tuple with the CardSuffix field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardholderName ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetCardholderNameOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetCurrencyCode ¶ added in v0.31.0

GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetCurrencyCodeOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetCurrencyCodeOk() (*string, bool)

GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetDeviceManufacturerIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetDeviceManufacturerIdentifier() string

GetDeviceManufacturerIdentifier returns the DeviceManufacturerIdentifier field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetDeviceManufacturerIdentifierOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetDeviceManufacturerIdentifierOk() (*string, bool)

GetDeviceManufacturerIdentifierOk returns a tuple with the DeviceManufacturerIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetEci ¶ added in v0.31.0

GetEci returns the Eci field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetEciOk ¶ added in v0.31.0

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetExpirationDateOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetHasCryptogram() bool

GetHasCryptogram returns the HasCryptogram field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetHasCryptogramOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetHasCryptogramOk() (*bool, bool)

GetHasCryptogramOk returns a tuple with the HasCryptogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetMerchantTokenIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetMerchantTokenIdentifier() string

GetMerchantTokenIdentifier returns the MerchantTokenIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetMerchantTokenIdentifierOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetMerchantTokenIdentifierOk() (*string, bool)

GetMerchantTokenIdentifierOk returns a tuple with the MerchantTokenIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetPaymentDataType ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetPaymentDataType() string

GetPaymentDataType returns the PaymentDataType field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetPaymentDataTypeOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetPaymentDataTypeOk() (*string, bool)

GetPaymentDataTypeOk returns a tuple with the PaymentDataType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetTransactionAmount ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetTransactionAmount() int32

GetTransactionAmount returns the TransactionAmount field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetTransactionAmountOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetTransactionAmountOk() (*int32, bool)

GetTransactionAmountOk returns a tuple with the TransactionAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetTransactionIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetTransactionIdentifier() string

GetTransactionIdentifier returns the TransactionIdentifier field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetTransactionIdentifierOk ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) GetTransactionIdentifierOk() (*string, bool)

GetTransactionIdentifierOk returns a tuple with the TransactionIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletApplePayTokenDecryptedContext) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletApplePayTokenDecryptedContext) GetVersion ¶ added in v0.31.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*DigitalWalletApplePayTokenDecryptedContext) GetVersionOk ¶ added in v0.31.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasApplicationData ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasApplicationData() bool

HasApplicationData returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasCardExpirationDate() bool

HasCardExpirationDate returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasCardSuffix ¶ added in v0.31.0

HasCardSuffix returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasCardholderName ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasCurrencyCode ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasCurrencyCode() bool

HasCurrencyCode returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasDeviceManufacturerIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasDeviceManufacturerIdentifier() bool

HasDeviceManufacturerIdentifier returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasEci ¶ added in v0.31.0

HasEci returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasHasCryptogram() bool

HasHasCryptogram returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasMerchantTokenIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasMerchantTokenIdentifier() bool

HasMerchantTokenIdentifier returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasPaymentDataType ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasPaymentDataType() bool

HasPaymentDataType returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasTransactionAmount ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasTransactionAmount() bool

HasTransactionAmount returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasTransactionIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) HasTransactionIdentifier() bool

HasTransactionIdentifier returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (*DigitalWalletApplePayTokenDecryptedContext) HasVersion ¶ added in v0.31.0

HasVersion returns a boolean if a field has been set.

func (DigitalWalletApplePayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*DigitalWalletApplePayTokenDecryptedContext) SetApplicationData ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetApplicationData(v string)

SetApplicationData gets a reference to the given NullableString and assigns it to the ApplicationData field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetApplicationDataNil ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetApplicationDataNil()

SetApplicationDataNil sets the value for ApplicationData to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCardExpirationDate(v string)

SetCardExpirationDate gets a reference to the given NullableString and assigns it to the CardExpirationDate field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardExpirationDateNil ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCardExpirationDateNil()

SetCardExpirationDateNil sets the value for CardExpirationDate to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardSuffix ¶ added in v0.31.0

SetCardSuffix gets a reference to the given NullableString and assigns it to the CardSuffix field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardSuffixNil ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCardSuffixNil()

SetCardSuffixNil sets the value for CardSuffix to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardholderName ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCardholderName(v string)

SetCardholderName gets a reference to the given NullableString and assigns it to the CardholderName field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetCardholderNameNil ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCardholderNameNil()

SetCardholderNameNil sets the value for CardholderName to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetCurrencyCode ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetCurrencyCode(v string)

SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetDeviceManufacturerIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetDeviceManufacturerIdentifier(v string)

SetDeviceManufacturerIdentifier gets a reference to the given string and assigns it to the DeviceManufacturerIdentifier field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetEci ¶ added in v0.31.0

SetEci gets a reference to the given NullableString and assigns it to the Eci field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetEciNil ¶ added in v0.31.0

SetEciNil sets the value for Eci to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetHasCryptogram(v bool)

SetHasCryptogram gets a reference to the given bool and assigns it to the HasCryptogram field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetMerchantTokenIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetMerchantTokenIdentifier(v string)

SetMerchantTokenIdentifier gets a reference to the given NullableString and assigns it to the MerchantTokenIdentifier field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetMerchantTokenIdentifierNil ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetMerchantTokenIdentifierNil()

SetMerchantTokenIdentifierNil sets the value for MerchantTokenIdentifier to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetPaymentDataType ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetPaymentDataType(v string)

SetPaymentDataType gets a reference to the given string and assigns it to the PaymentDataType field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetTransactionAmount ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetTransactionAmount(v int32)

SetTransactionAmount gets a reference to the given int32 and assigns it to the TransactionAmount field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetTransactionIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) SetTransactionIdentifier(v string)

SetTransactionIdentifier gets a reference to the given string and assigns it to the TransactionIdentifier field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetType ¶ added in v0.31.0

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*DigitalWalletApplePayTokenDecryptedContext) SetTypeNil ¶ added in v0.31.0

SetTypeNil sets the value for Type to be an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) SetVersion ¶ added in v0.31.0

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetApplicationData ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) UnsetApplicationData()

UnsetApplicationData ensures that no value is present for ApplicationData, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) UnsetCardExpirationDate()

UnsetCardExpirationDate ensures that no value is present for CardExpirationDate, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetCardSuffix ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) UnsetCardSuffix()

UnsetCardSuffix ensures that no value is present for CardSuffix, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetCardholderName ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) UnsetCardholderName()

UnsetCardholderName ensures that no value is present for CardholderName, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetEci ¶ added in v0.31.0

UnsetEci ensures that no value is present for Eci, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetMerchantTokenIdentifier ¶ added in v0.31.0

func (o *DigitalWalletApplePayTokenDecryptedContext) UnsetMerchantTokenIdentifier()

UnsetMerchantTokenIdentifier ensures that no value is present for MerchantTokenIdentifier, not even an explicit nil

func (*DigitalWalletApplePayTokenDecryptedContext) UnsetType ¶ added in v0.31.0

UnsetType ensures that no value is present for Type, not even an explicit nil

type DigitalWalletClickToPayFields ¶ added in v0.31.0

type DigitalWalletClickToPayFields struct {
	// Unique ID assigned for digital payment application.
	DigitalPaymentApplicationId *string `json:"digital_payment_application_id,omitempty"`
	// Name assigned for digital payment application.
	DigitalPaymentApplicationName *string `json:"digital_payment_application_name,omitempty"`
}

DigitalWalletClickToPayFields struct for DigitalWalletClickToPayFields

func NewDigitalWalletClickToPayFields ¶ added in v0.31.0

func NewDigitalWalletClickToPayFields() *DigitalWalletClickToPayFields

NewDigitalWalletClickToPayFields instantiates a new DigitalWalletClickToPayFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletClickToPayFieldsWithDefaults ¶ added in v0.31.0

func NewDigitalWalletClickToPayFieldsWithDefaults() *DigitalWalletClickToPayFields

NewDigitalWalletClickToPayFieldsWithDefaults instantiates a new DigitalWalletClickToPayFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletClickToPayFields) GetDigitalPaymentApplicationId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) GetDigitalPaymentApplicationId() string

GetDigitalPaymentApplicationId returns the DigitalPaymentApplicationId field value if set, zero value otherwise.

func (*DigitalWalletClickToPayFields) GetDigitalPaymentApplicationIdOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) GetDigitalPaymentApplicationIdOk() (*string, bool)

GetDigitalPaymentApplicationIdOk returns a tuple with the DigitalPaymentApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayFields) GetDigitalPaymentApplicationName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) GetDigitalPaymentApplicationName() string

GetDigitalPaymentApplicationName returns the DigitalPaymentApplicationName field value if set, zero value otherwise.

func (*DigitalWalletClickToPayFields) GetDigitalPaymentApplicationNameOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) GetDigitalPaymentApplicationNameOk() (*string, bool)

GetDigitalPaymentApplicationNameOk returns a tuple with the DigitalPaymentApplicationName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayFields) HasDigitalPaymentApplicationId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) HasDigitalPaymentApplicationId() bool

HasDigitalPaymentApplicationId returns a boolean if a field has been set.

func (*DigitalWalletClickToPayFields) HasDigitalPaymentApplicationName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) HasDigitalPaymentApplicationName() bool

HasDigitalPaymentApplicationName returns a boolean if a field has been set.

func (DigitalWalletClickToPayFields) MarshalJSON ¶ added in v0.31.0

func (o DigitalWalletClickToPayFields) MarshalJSON() ([]byte, error)

func (*DigitalWalletClickToPayFields) SetDigitalPaymentApplicationId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) SetDigitalPaymentApplicationId(v string)

SetDigitalPaymentApplicationId gets a reference to the given string and assigns it to the DigitalPaymentApplicationId field.

func (*DigitalWalletClickToPayFields) SetDigitalPaymentApplicationName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayFields) SetDigitalPaymentApplicationName(v string)

SetDigitalPaymentApplicationName gets a reference to the given string and assigns it to the DigitalPaymentApplicationName field.

type DigitalWalletClickToPayTokenDecrypted ¶ added in v0.31.0

type DigitalWalletClickToPayTokenDecrypted struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `digital-wallet-click-to-pay-token-decrypted`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                    `json:"created_at,omitempty"`
	Context   *DigitalWalletClickToPayTokenDecryptedContext `json:"context,omitempty"`
}

DigitalWalletClickToPayTokenDecrypted The result after decrypting an Click to Pay token.

func NewDigitalWalletClickToPayTokenDecrypted ¶ added in v0.31.0

func NewDigitalWalletClickToPayTokenDecrypted() *DigitalWalletClickToPayTokenDecrypted

NewDigitalWalletClickToPayTokenDecrypted instantiates a new DigitalWalletClickToPayTokenDecrypted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletClickToPayTokenDecryptedWithDefaults ¶ added in v0.31.0

func NewDigitalWalletClickToPayTokenDecryptedWithDefaults() *DigitalWalletClickToPayTokenDecrypted

NewDigitalWalletClickToPayTokenDecryptedWithDefaults instantiates a new DigitalWalletClickToPayTokenDecrypted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletClickToPayTokenDecrypted) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecrypted) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecrypted) GetCreatedAt ¶ added in v0.31.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecrypted) GetCreatedAtOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecrypted) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecrypted) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecrypted) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecrypted) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecrypted) GetNameOk ¶ added in v0.31.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecrypted) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecrypted) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecrypted) HasContext ¶ added in v0.31.0

HasContext returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecrypted) HasCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecrypted) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecrypted) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecrypted) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecrypted) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (DigitalWalletClickToPayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (o DigitalWalletClickToPayTokenDecrypted) MarshalJSON() ([]byte, error)

func (*DigitalWalletClickToPayTokenDecrypted) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given DigitalWalletClickToPayTokenDecryptedContext and assigns it to the Context field.

func (*DigitalWalletClickToPayTokenDecrypted) SetCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecrypted) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DigitalWalletClickToPayTokenDecrypted) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*DigitalWalletClickToPayTokenDecrypted) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*DigitalWalletClickToPayTokenDecrypted) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type DigitalWalletClickToPayTokenDecryptedContext ¶ added in v0.31.0

type DigitalWalletClickToPayTokenDecryptedContext struct {
	// Correlation ID for transaction.
	CorrelationId *string `json:"correlation_id,omitempty"`
	// Merchant Checkout Transaction Identifier which links the client-side JavaScript calls and server-side API calls for a specific transaction.
	MerchantTransactionId *string `json:"merchant_transaction_id,omitempty"`
	// The type of payment instrument.
	Type *string `json:"type,omitempty"`
	// Expiration of the card/token.
	ExpirationDate *string `json:"expiration_date,omitempty"`
	// Online payment cryptogram, as defined by 3-D Secure.
	HasCryptogram *bool `json:"has_cryptogram,omitempty"`
	// The cardholder name.
	CardholderName NullableString `json:"cardholder_name,omitempty"`
	// First six digits of underlying card.
	CardBin *string `json:"card_bin,omitempty"`
	// Last four digits of underlying card.
	CardLastFour *string `json:"card_last_four,omitempty"`
	// Expiration date of underlying card.
	CardExpirationDate *string `json:"card_expiration_date,omitempty"`
	// Card type.
	CardType *string `json:"card_type,omitempty"`
	// Address line 1.
	BillingLine1 NullableString `json:"billing_line1,omitempty"`
	// Address line 2.
	BillingLine2 NullableString `json:"billing_line2,omitempty"`
	// Address city.
	BillingCity NullableString `json:"billing_city,omitempty"`
	// Address state.
	BillingState NullableString `json:"billing_state,omitempty"`
	// Address zip/postal code.
	BillingZip NullableString `json:"billing_zip,omitempty"`
	// ISO 3166-1 alpha 2 address country code.
	BillingCountryCode NullableString `json:"billing_country_code,omitempty"`
}

DigitalWalletClickToPayTokenDecryptedContext Click to Pay decrypted token context.

func NewDigitalWalletClickToPayTokenDecryptedContext ¶ added in v0.31.0

func NewDigitalWalletClickToPayTokenDecryptedContext() *DigitalWalletClickToPayTokenDecryptedContext

NewDigitalWalletClickToPayTokenDecryptedContext instantiates a new DigitalWalletClickToPayTokenDecryptedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletClickToPayTokenDecryptedContextWithDefaults ¶ added in v0.31.0

func NewDigitalWalletClickToPayTokenDecryptedContextWithDefaults() *DigitalWalletClickToPayTokenDecryptedContext

NewDigitalWalletClickToPayTokenDecryptedContextWithDefaults instantiates a new DigitalWalletClickToPayTokenDecryptedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingCity ¶ added in v0.31.0

GetBillingCity returns the BillingCity field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingCityOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingCityOk() (*string, bool)

GetBillingCityOk returns a tuple with the BillingCity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingCountryCode ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingCountryCode() string

GetBillingCountryCode returns the BillingCountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingCountryCodeOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingCountryCodeOk() (*string, bool)

GetBillingCountryCodeOk returns a tuple with the BillingCountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine1 ¶ added in v0.31.0

GetBillingLine1 returns the BillingLine1 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine1Ok ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine1Ok() (*string, bool)

GetBillingLine1Ok returns a tuple with the BillingLine1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine2 ¶ added in v0.31.0

GetBillingLine2 returns the BillingLine2 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine2Ok ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingLine2Ok() (*string, bool)

GetBillingLine2Ok returns a tuple with the BillingLine2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingState ¶ added in v0.31.0

GetBillingState returns the BillingState field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingStateOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingStateOk() (*string, bool)

GetBillingStateOk returns a tuple with the BillingState field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingZip ¶ added in v0.31.0

GetBillingZip returns the BillingZip field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetBillingZipOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetBillingZipOk() (*string, bool)

GetBillingZipOk returns a tuple with the BillingZip field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardBin ¶ added in v0.31.0

GetCardBin returns the CardBin field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardBinOk ¶ added in v0.31.0

GetCardBinOk returns a tuple with the CardBin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetCardExpirationDate() string

GetCardExpirationDate returns the CardExpirationDate field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardExpirationDateOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetCardExpirationDateOk() (*string, bool)

GetCardExpirationDateOk returns a tuple with the CardExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardLastFour ¶ added in v0.31.0

GetCardLastFour returns the CardLastFour field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardLastFourOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetCardLastFourOk() (*string, bool)

GetCardLastFourOk returns a tuple with the CardLastFour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardType ¶ added in v0.31.0

GetCardType returns the CardType field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardTypeOk ¶ added in v0.31.0

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardholderName ¶ added in v0.31.0

GetCardholderName returns the CardholderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCardholderNameOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCorrelationId ¶ added in v0.31.0

GetCorrelationId returns the CorrelationId field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetCorrelationIdOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetCorrelationIdOk() (*string, bool)

GetCorrelationIdOk returns a tuple with the CorrelationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetExpirationDate ¶ added in v0.31.0

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetExpirationDateOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetHasCryptogram() bool

GetHasCryptogram returns the HasCryptogram field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetHasCryptogramOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetHasCryptogramOk() (*bool, bool)

GetHasCryptogramOk returns a tuple with the HasCryptogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetMerchantTransactionId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetMerchantTransactionId() string

GetMerchantTransactionId returns the MerchantTransactionId field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetMerchantTransactionIdOk ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) GetMerchantTransactionIdOk() (*string, bool)

GetMerchantTransactionIdOk returns a tuple with the MerchantTransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*DigitalWalletClickToPayTokenDecryptedContext) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingCity ¶ added in v0.31.0

HasBillingCity returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingCountryCode ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasBillingCountryCode() bool

HasBillingCountryCode returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingLine1 ¶ added in v0.31.0

HasBillingLine1 returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingLine2 ¶ added in v0.31.0

HasBillingLine2 returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingState ¶ added in v0.31.0

HasBillingState returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasBillingZip ¶ added in v0.31.0

HasBillingZip returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCardBin ¶ added in v0.31.0

HasCardBin returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasCardExpirationDate() bool

HasCardExpirationDate returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCardLastFour ¶ added in v0.31.0

HasCardLastFour returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCardType ¶ added in v0.31.0

HasCardType returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCardholderName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasCorrelationId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasCorrelationId() bool

HasCorrelationId returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasHasCryptogram() bool

HasHasCryptogram returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasMerchantTransactionId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) HasMerchantTransactionId() bool

HasMerchantTransactionId returns a boolean if a field has been set.

func (*DigitalWalletClickToPayTokenDecryptedContext) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (DigitalWalletClickToPayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingCity ¶ added in v0.31.0

SetBillingCity gets a reference to the given NullableString and assigns it to the BillingCity field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingCityNil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingCityNil()

SetBillingCityNil sets the value for BillingCity to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingCountryCode ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingCountryCode(v string)

SetBillingCountryCode gets a reference to the given NullableString and assigns it to the BillingCountryCode field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingCountryCodeNil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingCountryCodeNil()

SetBillingCountryCodeNil sets the value for BillingCountryCode to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine1 ¶ added in v0.31.0

SetBillingLine1 gets a reference to the given NullableString and assigns it to the BillingLine1 field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine1Nil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine1Nil()

SetBillingLine1Nil sets the value for BillingLine1 to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine2 ¶ added in v0.31.0

SetBillingLine2 gets a reference to the given NullableString and assigns it to the BillingLine2 field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine2Nil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingLine2Nil()

SetBillingLine2Nil sets the value for BillingLine2 to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingState ¶ added in v0.31.0

SetBillingState gets a reference to the given NullableString and assigns it to the BillingState field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingStateNil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingStateNil()

SetBillingStateNil sets the value for BillingState to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingZip ¶ added in v0.31.0

SetBillingZip gets a reference to the given NullableString and assigns it to the BillingZip field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetBillingZipNil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetBillingZipNil()

SetBillingZipNil sets the value for BillingZip to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardBin ¶ added in v0.31.0

SetCardBin gets a reference to the given string and assigns it to the CardBin field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetCardExpirationDate(v string)

SetCardExpirationDate gets a reference to the given string and assigns it to the CardExpirationDate field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardLastFour ¶ added in v0.31.0

SetCardLastFour gets a reference to the given string and assigns it to the CardLastFour field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardType ¶ added in v0.31.0

SetCardType gets a reference to the given string and assigns it to the CardType field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardholderName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetCardholderName(v string)

SetCardholderName gets a reference to the given NullableString and assigns it to the CardholderName field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCardholderNameNil ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetCardholderNameNil()

SetCardholderNameNil sets the value for CardholderName to be an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) SetCorrelationId ¶ added in v0.31.0

SetCorrelationId gets a reference to the given string and assigns it to the CorrelationId field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetHasCryptogram(v bool)

SetHasCryptogram gets a reference to the given bool and assigns it to the HasCryptogram field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetMerchantTransactionId ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) SetMerchantTransactionId(v string)

SetMerchantTransactionId gets a reference to the given string and assigns it to the MerchantTransactionId field.

func (*DigitalWalletClickToPayTokenDecryptedContext) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingCity ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingCity()

UnsetBillingCity ensures that no value is present for BillingCity, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingCountryCode ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingCountryCode()

UnsetBillingCountryCode ensures that no value is present for BillingCountryCode, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingLine1 ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingLine1()

UnsetBillingLine1 ensures that no value is present for BillingLine1, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingLine2 ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingLine2()

UnsetBillingLine2 ensures that no value is present for BillingLine2, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingState ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingState()

UnsetBillingState ensures that no value is present for BillingState, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingZip ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetBillingZip()

UnsetBillingZip ensures that no value is present for BillingZip, not even an explicit nil

func (*DigitalWalletClickToPayTokenDecryptedContext) UnsetCardholderName ¶ added in v0.31.0

func (o *DigitalWalletClickToPayTokenDecryptedContext) UnsetCardholderName()

UnsetCardholderName ensures that no value is present for CardholderName, not even an explicit nil

type DigitalWalletGooglePayTokenDecrypted ¶ added in v0.31.0

type DigitalWalletGooglePayTokenDecrypted struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `digital-wallet-google-pay-token-decrypted`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                   `json:"created_at,omitempty"`
	Context   *DigitalWalletGooglePayTokenDecryptedContext `json:"context,omitempty"`
}

DigitalWalletGooglePayTokenDecrypted The result after decrypting an Google Pay token.

func NewDigitalWalletGooglePayTokenDecrypted ¶ added in v0.31.0

func NewDigitalWalletGooglePayTokenDecrypted() *DigitalWalletGooglePayTokenDecrypted

NewDigitalWalletGooglePayTokenDecrypted instantiates a new DigitalWalletGooglePayTokenDecrypted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletGooglePayTokenDecryptedWithDefaults ¶ added in v0.31.0

func NewDigitalWalletGooglePayTokenDecryptedWithDefaults() *DigitalWalletGooglePayTokenDecrypted

NewDigitalWalletGooglePayTokenDecryptedWithDefaults instantiates a new DigitalWalletGooglePayTokenDecrypted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletGooglePayTokenDecrypted) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecrypted) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecrypted) GetCreatedAt ¶ added in v0.31.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecrypted) GetCreatedAtOk ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecrypted) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecrypted) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecrypted) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecrypted) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecrypted) GetNameOk ¶ added in v0.31.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecrypted) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecrypted) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecrypted) HasContext ¶ added in v0.31.0

HasContext returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecrypted) HasCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecrypted) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecrypted) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecrypted) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecrypted) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (DigitalWalletGooglePayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (o DigitalWalletGooglePayTokenDecrypted) MarshalJSON() ([]byte, error)

func (*DigitalWalletGooglePayTokenDecrypted) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given DigitalWalletGooglePayTokenDecryptedContext and assigns it to the Context field.

func (*DigitalWalletGooglePayTokenDecrypted) SetCreatedAt ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecrypted) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DigitalWalletGooglePayTokenDecrypted) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*DigitalWalletGooglePayTokenDecrypted) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*DigitalWalletGooglePayTokenDecrypted) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type DigitalWalletGooglePayTokenDecryptedContext ¶ added in v0.31.0

type DigitalWalletGooglePayTokenDecryptedContext struct {
	// Version information about the payment token.
	Version *string `json:"version,omitempty"`
	// The type of payment instrument.
	Type NullableString `json:"type,omitempty"`
	// Expiration of the decrypted data.
	ExpirationDate *string `json:"expiration_date,omitempty"`
	// Online payment cryptogram, as defined by 3D Secure.
	HasCryptogram *bool `json:"has_cryptogram,omitempty"`
	// ECI indicator, as defined by 3D Secure.
	Eci NullableString `json:"eci,omitempty"`
	// Date and time at which the message expires as UTC milliseconds since epoch.
	MessageExpiration *string `json:"message_expiration,omitempty"`
	// A unique ID that identifies the message in case it needs to be revoked or located at a later time.
	MessageId *string `json:"message_id,omitempty"`
	// The type of the payment credential.
	PaymentMethod *string `json:"payment_method,omitempty"`
}

DigitalWalletGooglePayTokenDecryptedContext Google Pay decrypted token context.

func NewDigitalWalletGooglePayTokenDecryptedContext ¶ added in v0.31.0

func NewDigitalWalletGooglePayTokenDecryptedContext() *DigitalWalletGooglePayTokenDecryptedContext

NewDigitalWalletGooglePayTokenDecryptedContext instantiates a new DigitalWalletGooglePayTokenDecryptedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletGooglePayTokenDecryptedContextWithDefaults ¶ added in v0.31.0

func NewDigitalWalletGooglePayTokenDecryptedContextWithDefaults() *DigitalWalletGooglePayTokenDecryptedContext

NewDigitalWalletGooglePayTokenDecryptedContextWithDefaults instantiates a new DigitalWalletGooglePayTokenDecryptedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletGooglePayTokenDecryptedContext) GetEci ¶ added in v0.31.0

GetEci returns the Eci field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletGooglePayTokenDecryptedContext) GetEciOk ¶ added in v0.31.0

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletGooglePayTokenDecryptedContext) GetExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetExpirationDateOk ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetHasCryptogram() bool

GetHasCryptogram returns the HasCryptogram field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetHasCryptogramOk ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetHasCryptogramOk() (*bool, bool)

GetHasCryptogramOk returns a tuple with the HasCryptogram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetMessageExpiration ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetMessageExpiration() string

GetMessageExpiration returns the MessageExpiration field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetMessageExpirationOk ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetMessageExpirationOk() (*string, bool)

GetMessageExpirationOk returns a tuple with the MessageExpiration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetMessageId ¶ added in v0.31.0

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetMessageIdOk ¶ added in v0.31.0

GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetPaymentMethod ¶ added in v0.31.0

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetPaymentMethodOk ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) GetPaymentMethodOk() (*string, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletGooglePayTokenDecryptedContext) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletGooglePayTokenDecryptedContext) GetVersion ¶ added in v0.31.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*DigitalWalletGooglePayTokenDecryptedContext) GetVersionOk ¶ added in v0.31.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasEci ¶ added in v0.31.0

HasEci returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) HasHasCryptogram() bool

HasHasCryptogram returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasMessageExpiration ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) HasMessageExpiration() bool

HasMessageExpiration returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasMessageId ¶ added in v0.31.0

HasMessageId returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasPaymentMethod ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (*DigitalWalletGooglePayTokenDecryptedContext) HasVersion ¶ added in v0.31.0

HasVersion returns a boolean if a field has been set.

func (DigitalWalletGooglePayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*DigitalWalletGooglePayTokenDecryptedContext) SetEci ¶ added in v0.31.0

SetEci gets a reference to the given NullableString and assigns it to the Eci field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetEciNil ¶ added in v0.31.0

SetEciNil sets the value for Eci to be an explicit nil

func (*DigitalWalletGooglePayTokenDecryptedContext) SetExpirationDate ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetHasCryptogram ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) SetHasCryptogram(v bool)

SetHasCryptogram gets a reference to the given bool and assigns it to the HasCryptogram field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetMessageExpiration ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) SetMessageExpiration(v string)

SetMessageExpiration gets a reference to the given string and assigns it to the MessageExpiration field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetMessageId ¶ added in v0.31.0

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetPaymentMethod ¶ added in v0.31.0

func (o *DigitalWalletGooglePayTokenDecryptedContext) SetPaymentMethod(v string)

SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetType ¶ added in v0.31.0

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*DigitalWalletGooglePayTokenDecryptedContext) SetTypeNil ¶ added in v0.31.0

SetTypeNil sets the value for Type to be an explicit nil

func (*DigitalWalletGooglePayTokenDecryptedContext) SetVersion ¶ added in v0.31.0

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*DigitalWalletGooglePayTokenDecryptedContext) UnsetEci ¶ added in v0.31.0

UnsetEci ensures that no value is present for Eci, not even an explicit nil

func (*DigitalWalletGooglePayTokenDecryptedContext) UnsetType ¶ added in v0.31.0

UnsetType ensures that no value is present for Type, not even an explicit nil

type DigitalWalletRequest ¶ added in v0.7.0

type DigitalWalletRequest struct {
	// The name of the digital wallet provider.
	Provider string `json:"provider"`
	// The name of the merchant. This is used to register the merchant with a digital wallet provider and this name is not displayed to the buyer.
	MerchantName string `json:"merchant_name"`
	// The main URL of the merchant.
	MerchantUrl NullableString `json:"merchant_url,omitempty"`
	// The consumer facing name of the merchant.
	MerchantDisplayName NullableString `json:"merchant_display_name,omitempty"`
	// The country code where the merchant is registered.
	MerchantCountryCode NullableString `json:"merchant_country_code,omitempty"`
	// The list of domain names that a digital wallet can be used on. To use a digital wallet on a website, the domain of the site is required to be in this list.
	DomainNames []string `json:"domain_names"`
	// The explicit acceptance of the digital wallet provider's terms and conditions by the merchant. Needs to be `true` to register a new digital wallet.
	AcceptTermsAndConditions bool `json:"accept_terms_and_conditions"`
}

DigitalWalletRequest Merchant details used to register with a digital wallet provider.

func NewDigitalWalletRequest ¶ added in v0.7.0

func NewDigitalWalletRequest(provider string, merchantName string, domainNames []string, acceptTermsAndConditions bool) *DigitalWalletRequest

NewDigitalWalletRequest instantiates a new DigitalWalletRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletRequestWithDefaults ¶ added in v0.7.0

func NewDigitalWalletRequestWithDefaults() *DigitalWalletRequest

NewDigitalWalletRequestWithDefaults instantiates a new DigitalWalletRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletRequest) GetAcceptTermsAndConditions ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetAcceptTermsAndConditions() bool

GetAcceptTermsAndConditions returns the AcceptTermsAndConditions field value

func (*DigitalWalletRequest) GetAcceptTermsAndConditionsOk ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetAcceptTermsAndConditionsOk() (*bool, bool)

GetAcceptTermsAndConditionsOk returns a tuple with the AcceptTermsAndConditions field value and a boolean to check if the value has been set.

func (*DigitalWalletRequest) GetDomainNames ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetDomainNames() []string

GetDomainNames returns the DomainNames field value

func (*DigitalWalletRequest) GetDomainNamesOk ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetDomainNamesOk() (*[]string, bool)

GetDomainNamesOk returns a tuple with the DomainNames field value and a boolean to check if the value has been set.

func (*DigitalWalletRequest) GetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletRequest) GetMerchantCountryCode() string

GetMerchantCountryCode returns the MerchantCountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletRequest) GetMerchantCountryCodeOk ¶ added in v0.31.0

func (o *DigitalWalletRequest) GetMerchantCountryCodeOk() (*string, bool)

GetMerchantCountryCodeOk returns a tuple with the MerchantCountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletRequest) GetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletRequest) GetMerchantDisplayName() string

GetMerchantDisplayName returns the MerchantDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletRequest) GetMerchantDisplayNameOk ¶ added in v0.31.0

func (o *DigitalWalletRequest) GetMerchantDisplayNameOk() (*string, bool)

GetMerchantDisplayNameOk returns a tuple with the MerchantDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletRequest) GetMerchantName ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetMerchantName() string

GetMerchantName returns the MerchantName field value

func (*DigitalWalletRequest) GetMerchantNameOk ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetMerchantNameOk() (*string, bool)

GetMerchantNameOk returns a tuple with the MerchantName field value and a boolean to check if the value has been set.

func (*DigitalWalletRequest) GetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetMerchantUrl() string

GetMerchantUrl returns the MerchantUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletRequest) GetMerchantUrlOk ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetMerchantUrlOk() (*string, bool)

GetMerchantUrlOk returns a tuple with the MerchantUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletRequest) GetProvider ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetProvider() string

GetProvider returns the Provider field value

func (*DigitalWalletRequest) GetProviderOk ¶ added in v0.7.0

func (o *DigitalWalletRequest) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*DigitalWalletRequest) HasMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletRequest) HasMerchantCountryCode() bool

HasMerchantCountryCode returns a boolean if a field has been set.

func (*DigitalWalletRequest) HasMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletRequest) HasMerchantDisplayName() bool

HasMerchantDisplayName returns a boolean if a field has been set.

func (*DigitalWalletRequest) HasMerchantUrl ¶ added in v0.7.0

func (o *DigitalWalletRequest) HasMerchantUrl() bool

HasMerchantUrl returns a boolean if a field has been set.

func (DigitalWalletRequest) MarshalJSON ¶ added in v0.7.0

func (o DigitalWalletRequest) MarshalJSON() ([]byte, error)

func (*DigitalWalletRequest) SetAcceptTermsAndConditions ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetAcceptTermsAndConditions(v bool)

SetAcceptTermsAndConditions sets field value

func (*DigitalWalletRequest) SetDomainNames ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetDomainNames(v []string)

SetDomainNames sets field value

func (*DigitalWalletRequest) SetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletRequest) SetMerchantCountryCode(v string)

SetMerchantCountryCode gets a reference to the given NullableString and assigns it to the MerchantCountryCode field.

func (*DigitalWalletRequest) SetMerchantCountryCodeNil ¶ added in v0.31.0

func (o *DigitalWalletRequest) SetMerchantCountryCodeNil()

SetMerchantCountryCodeNil sets the value for MerchantCountryCode to be an explicit nil

func (*DigitalWalletRequest) SetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletRequest) SetMerchantDisplayName(v string)

SetMerchantDisplayName gets a reference to the given NullableString and assigns it to the MerchantDisplayName field.

func (*DigitalWalletRequest) SetMerchantDisplayNameNil ¶ added in v0.31.0

func (o *DigitalWalletRequest) SetMerchantDisplayNameNil()

SetMerchantDisplayNameNil sets the value for MerchantDisplayName to be an explicit nil

func (*DigitalWalletRequest) SetMerchantName ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetMerchantName(v string)

SetMerchantName sets field value

func (*DigitalWalletRequest) SetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetMerchantUrl(v string)

SetMerchantUrl gets a reference to the given NullableString and assigns it to the MerchantUrl field.

func (*DigitalWalletRequest) SetMerchantUrlNil ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetMerchantUrlNil()

SetMerchantUrlNil sets the value for MerchantUrl to be an explicit nil

func (*DigitalWalletRequest) SetProvider ¶ added in v0.7.0

func (o *DigitalWalletRequest) SetProvider(v string)

SetProvider sets field value

func (*DigitalWalletRequest) UnsetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletRequest) UnsetMerchantCountryCode()

UnsetMerchantCountryCode ensures that no value is present for MerchantCountryCode, not even an explicit nil

func (*DigitalWalletRequest) UnsetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletRequest) UnsetMerchantDisplayName()

UnsetMerchantDisplayName ensures that no value is present for MerchantDisplayName, not even an explicit nil

func (*DigitalWalletRequest) UnsetMerchantUrl ¶ added in v0.7.0

func (o *DigitalWalletRequest) UnsetMerchantUrl()

UnsetMerchantUrl ensures that no value is present for MerchantUrl, not even an explicit nil

type DigitalWalletUpdate ¶ added in v0.7.0

type DigitalWalletUpdate struct {
	// The name of the merchant. This is used to update the value initially used to register with a digital wallet provider and this name is not displayed to the buyer.
	MerchantName *string `json:"merchant_name,omitempty"`
	// The list of domain names that a digital wallet can be used on. To use a digital wallet on a website, the domain of the site is required to be in this list.
	DomainNames *[]string `json:"domain_names,omitempty"`
	// The consumer facing name of the merchant.
	MerchantDisplayName NullableString `json:"merchant_display_name,omitempty"`
	// The country code where the merchant is registered.
	MerchantCountryCode NullableString `json:"merchant_country_code,omitempty"`
	// The main URL of the merchant.
	MerchantUrl *string `json:"merchant_url,omitempty"`
}

DigitalWalletUpdate Request body to update a registered digital wallet's details.

func NewDigitalWalletUpdate ¶ added in v0.7.0

func NewDigitalWalletUpdate() *DigitalWalletUpdate

NewDigitalWalletUpdate instantiates a new DigitalWalletUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletUpdateWithDefaults ¶ added in v0.7.0

func NewDigitalWalletUpdateWithDefaults() *DigitalWalletUpdate

NewDigitalWalletUpdateWithDefaults instantiates a new DigitalWalletUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWalletUpdate) GetDomainNames ¶ added in v0.7.0

func (o *DigitalWalletUpdate) GetDomainNames() []string

GetDomainNames returns the DomainNames field value if set, zero value otherwise.

func (*DigitalWalletUpdate) GetDomainNamesOk ¶ added in v0.7.0

func (o *DigitalWalletUpdate) GetDomainNamesOk() (*[]string, bool)

GetDomainNamesOk returns a tuple with the DomainNames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletUpdate) GetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantCountryCode() string

GetMerchantCountryCode returns the MerchantCountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletUpdate) GetMerchantCountryCodeOk ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantCountryCodeOk() (*string, bool)

GetMerchantCountryCodeOk returns a tuple with the MerchantCountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletUpdate) GetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantDisplayName() string

GetMerchantDisplayName returns the MerchantDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DigitalWalletUpdate) GetMerchantDisplayNameOk ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantDisplayNameOk() (*string, bool)

GetMerchantDisplayNameOk returns a tuple with the MerchantDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DigitalWalletUpdate) GetMerchantName ¶ added in v0.7.0

func (o *DigitalWalletUpdate) GetMerchantName() string

GetMerchantName returns the MerchantName field value if set, zero value otherwise.

func (*DigitalWalletUpdate) GetMerchantNameOk ¶ added in v0.7.0

func (o *DigitalWalletUpdate) GetMerchantNameOk() (*string, bool)

GetMerchantNameOk returns a tuple with the MerchantName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletUpdate) GetMerchantUrl ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantUrl() string

GetMerchantUrl returns the MerchantUrl field value if set, zero value otherwise.

func (*DigitalWalletUpdate) GetMerchantUrlOk ¶ added in v0.31.0

func (o *DigitalWalletUpdate) GetMerchantUrlOk() (*string, bool)

GetMerchantUrlOk returns a tuple with the MerchantUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWalletUpdate) HasDomainNames ¶ added in v0.7.0

func (o *DigitalWalletUpdate) HasDomainNames() bool

HasDomainNames returns a boolean if a field has been set.

func (*DigitalWalletUpdate) HasMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletUpdate) HasMerchantCountryCode() bool

HasMerchantCountryCode returns a boolean if a field has been set.

func (*DigitalWalletUpdate) HasMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletUpdate) HasMerchantDisplayName() bool

HasMerchantDisplayName returns a boolean if a field has been set.

func (*DigitalWalletUpdate) HasMerchantName ¶ added in v0.7.0

func (o *DigitalWalletUpdate) HasMerchantName() bool

HasMerchantName returns a boolean if a field has been set.

func (*DigitalWalletUpdate) HasMerchantUrl ¶ added in v0.31.0

func (o *DigitalWalletUpdate) HasMerchantUrl() bool

HasMerchantUrl returns a boolean if a field has been set.

func (DigitalWalletUpdate) MarshalJSON ¶ added in v0.7.0

func (o DigitalWalletUpdate) MarshalJSON() ([]byte, error)

func (*DigitalWalletUpdate) SetDomainNames ¶ added in v0.7.0

func (o *DigitalWalletUpdate) SetDomainNames(v []string)

SetDomainNames gets a reference to the given []string and assigns it to the DomainNames field.

func (*DigitalWalletUpdate) SetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletUpdate) SetMerchantCountryCode(v string)

SetMerchantCountryCode gets a reference to the given NullableString and assigns it to the MerchantCountryCode field.

func (*DigitalWalletUpdate) SetMerchantCountryCodeNil ¶ added in v0.31.0

func (o *DigitalWalletUpdate) SetMerchantCountryCodeNil()

SetMerchantCountryCodeNil sets the value for MerchantCountryCode to be an explicit nil

func (*DigitalWalletUpdate) SetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletUpdate) SetMerchantDisplayName(v string)

SetMerchantDisplayName gets a reference to the given NullableString and assigns it to the MerchantDisplayName field.

func (*DigitalWalletUpdate) SetMerchantDisplayNameNil ¶ added in v0.31.0

func (o *DigitalWalletUpdate) SetMerchantDisplayNameNil()

SetMerchantDisplayNameNil sets the value for MerchantDisplayName to be an explicit nil

func (*DigitalWalletUpdate) SetMerchantName ¶ added in v0.7.0

func (o *DigitalWalletUpdate) SetMerchantName(v string)

SetMerchantName gets a reference to the given string and assigns it to the MerchantName field.

func (*DigitalWalletUpdate) SetMerchantUrl ¶ added in v0.31.0

func (o *DigitalWalletUpdate) SetMerchantUrl(v string)

SetMerchantUrl gets a reference to the given string and assigns it to the MerchantUrl field.

func (*DigitalWalletUpdate) UnsetMerchantCountryCode ¶ added in v0.31.0

func (o *DigitalWalletUpdate) UnsetMerchantCountryCode()

UnsetMerchantCountryCode ensures that no value is present for MerchantCountryCode, not even an explicit nil

func (*DigitalWalletUpdate) UnsetMerchantDisplayName ¶ added in v0.31.0

func (o *DigitalWalletUpdate) UnsetMerchantDisplayName()

UnsetMerchantDisplayName ensures that no value is present for MerchantDisplayName, not even an explicit nil

type DigitalWallets ¶ added in v0.7.0

type DigitalWallets struct {
	// A list of registered digital wallets.
	Items *[]DigitalWallet `json:"items,omitempty"`
}

DigitalWallets A list of registered digital wallets.

func NewDigitalWallets ¶ added in v0.7.0

func NewDigitalWallets() *DigitalWallets

NewDigitalWallets instantiates a new DigitalWallets object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDigitalWalletsWithDefaults ¶ added in v0.7.0

func NewDigitalWalletsWithDefaults() *DigitalWallets

NewDigitalWalletsWithDefaults instantiates a new DigitalWallets object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DigitalWallets) GetItems ¶ added in v0.7.0

func (o *DigitalWallets) GetItems() []DigitalWallet

GetItems returns the Items field value if set, zero value otherwise.

func (*DigitalWallets) GetItemsOk ¶ added in v0.7.0

func (o *DigitalWallets) GetItemsOk() (*[]DigitalWallet, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DigitalWallets) HasItems ¶ added in v0.7.0

func (o *DigitalWallets) HasItems() bool

HasItems returns a boolean if a field has been set.

func (DigitalWallets) MarshalJSON ¶ added in v0.7.0

func (o DigitalWallets) MarshalJSON() ([]byte, error)

func (*DigitalWallets) SetItems ¶ added in v0.7.0

func (o *DigitalWallets) SetItems(v []DigitalWallet)

SetItems gets a reference to the given []DigitalWallet and assigns it to the Items field.

type DigitalWalletsApiService ¶ added in v0.7.0

type DigitalWalletsApiService service

DigitalWalletsApiService DigitalWalletsApi service

func (*DigitalWalletsApiService) DeleteDigitalWallet ¶ added in v0.27.0

func (a *DigitalWalletsApiService) DeleteDigitalWallet(ctx _context.Context, digitalWalletId string) ApiDeleteDigitalWalletRequest
  • DeleteDigitalWallet De-register digital wallet
  • De-registers a digital wallet with a provider. Upon successful

de-registration, the digital wallet's record is deleted and will no longer be available.

A digital wallet of the Apple provider may only be de-registered if there are no active Apple Pay certificates. When there are only incomplete or expired Apple Pay certificates, these certificates are deleted alongside the Apple digital wallet's record.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param digitalWalletId The ID of the registered digital wallet.
  • @return ApiDeleteDigitalWalletRequest

func (*DigitalWalletsApiService) DeleteDigitalWalletExecute ¶ added in v0.27.0

func (a *DigitalWalletsApiService) DeleteDigitalWalletExecute(r ApiDeleteDigitalWalletRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DigitalWalletsApiService) GetDigitalWallet ¶ added in v0.7.0

func (a *DigitalWalletsApiService) GetDigitalWallet(ctx _context.Context, digitalWalletId string) ApiGetDigitalWalletRequest

* GetDigitalWallet Get digital wallet * Returns a registered digital wallet. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param digitalWalletId The ID of the registered digital wallet. * @return ApiGetDigitalWalletRequest

func (*DigitalWalletsApiService) GetDigitalWalletExecute ¶ added in v0.7.0

* Execute executes the request * @return DigitalWallet

func (*DigitalWalletsApiService) ListDigitalWallets ¶ added in v0.7.0

* ListDigitalWallets List digital wallets * Returns a list of all registered digital wallets. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListDigitalWalletsRequest

func (*DigitalWalletsApiService) ListDigitalWalletsExecute ¶ added in v0.7.0

* Execute executes the request * @return DigitalWallets

func (*DigitalWalletsApiService) NewDigitalWallet ¶ added in v0.27.0

* NewDigitalWallet Register digital wallet * Register with a digital wallet provider. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewDigitalWalletRequest

func (*DigitalWalletsApiService) NewDigitalWalletExecute ¶ added in v0.27.0

* Execute executes the request * @return DigitalWallet

func (*DigitalWalletsApiService) UpdateDigitalWallet ¶ added in v0.7.0

func (a *DigitalWalletsApiService) UpdateDigitalWallet(ctx _context.Context, digitalWalletId string) ApiUpdateDigitalWalletRequest

* UpdateDigitalWallet Update digital wallet * Updates the values a digital wallet was registered with. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param digitalWalletId The ID of the registered digital wallet. * @return ApiUpdateDigitalWalletRequest

func (*DigitalWalletsApiService) UpdateDigitalWalletExecute ¶ added in v0.7.0

* Execute executes the request * @return DigitalWallet

type Error400BadRequest ¶

type Error400BadRequest struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `bad_request`.
	Code *string `json:"code,omitempty"`
	// `400`.
	Status *int32 `json:"status,omitempty"`
	// Describes the fields that are missing or incorrectly formatted in the API request.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error400BadRequest Bad Request (HTTP 400).

func NewError400BadRequest ¶ added in v0.2.1

func NewError400BadRequest() *Error400BadRequest

NewError400BadRequest instantiates a new Error400BadRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError400BadRequestWithDefaults ¶ added in v0.2.1

func NewError400BadRequestWithDefaults() *Error400BadRequest

NewError400BadRequestWithDefaults instantiates a new Error400BadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error400BadRequest) GetCode ¶ added in v0.2.1

func (o *Error400BadRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error400BadRequest) GetCodeOk ¶ added in v0.2.1

func (o *Error400BadRequest) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400BadRequest) GetDetails ¶ added in v0.2.1

func (o *Error400BadRequest) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error400BadRequest) GetDetailsOk ¶ added in v0.2.1

func (o *Error400BadRequest) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400BadRequest) GetMessage ¶ added in v0.2.1

func (o *Error400BadRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error400BadRequest) GetMessageOk ¶ added in v0.2.1

func (o *Error400BadRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400BadRequest) GetStatus ¶ added in v0.2.1

func (o *Error400BadRequest) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error400BadRequest) GetStatusOk ¶ added in v0.2.1

func (o *Error400BadRequest) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400BadRequest) GetType ¶ added in v0.2.1

func (o *Error400BadRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error400BadRequest) GetTypeOk ¶ added in v0.2.1

func (o *Error400BadRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400BadRequest) HasCode ¶ added in v0.2.1

func (o *Error400BadRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error400BadRequest) HasDetails ¶ added in v0.2.1

func (o *Error400BadRequest) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error400BadRequest) HasMessage ¶ added in v0.2.1

func (o *Error400BadRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error400BadRequest) HasStatus ¶ added in v0.2.1

func (o *Error400BadRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error400BadRequest) HasType ¶ added in v0.2.1

func (o *Error400BadRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (Error400BadRequest) MarshalJSON ¶ added in v0.2.1

func (o Error400BadRequest) MarshalJSON() ([]byte, error)

func (*Error400BadRequest) SetCode ¶ added in v0.2.1

func (o *Error400BadRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error400BadRequest) SetDetails ¶ added in v0.2.1

func (o *Error400BadRequest) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error400BadRequest) SetMessage ¶ added in v0.2.1

func (o *Error400BadRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error400BadRequest) SetStatus ¶ added in v0.2.1

func (o *Error400BadRequest) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error400BadRequest) SetType ¶ added in v0.2.1

func (o *Error400BadRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error400IncorrectJson ¶

type Error400IncorrectJson struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `incorrect_json`.
	Code *string `json:"code,omitempty"`
	// `400`.
	Status *int32 `json:"status,omitempty"`
	// Incorrect JSON. The request body could not be parsed as valid JSON.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error400IncorrectJson Incorrect JSON (HTTP 400).

func NewError400IncorrectJson ¶ added in v0.2.1

func NewError400IncorrectJson() *Error400IncorrectJson

NewError400IncorrectJson instantiates a new Error400IncorrectJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError400IncorrectJsonWithDefaults ¶ added in v0.2.1

func NewError400IncorrectJsonWithDefaults() *Error400IncorrectJson

NewError400IncorrectJsonWithDefaults instantiates a new Error400IncorrectJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error400IncorrectJson) GetCode ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error400IncorrectJson) GetCodeOk ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400IncorrectJson) GetDetails ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error400IncorrectJson) GetDetailsOk ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400IncorrectJson) GetMessage ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error400IncorrectJson) GetMessageOk ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400IncorrectJson) GetStatus ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error400IncorrectJson) GetStatusOk ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400IncorrectJson) GetType ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error400IncorrectJson) GetTypeOk ¶ added in v0.2.1

func (o *Error400IncorrectJson) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400IncorrectJson) HasCode ¶ added in v0.2.1

func (o *Error400IncorrectJson) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error400IncorrectJson) HasDetails ¶ added in v0.2.1

func (o *Error400IncorrectJson) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error400IncorrectJson) HasMessage ¶ added in v0.2.1

func (o *Error400IncorrectJson) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error400IncorrectJson) HasStatus ¶ added in v0.2.1

func (o *Error400IncorrectJson) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error400IncorrectJson) HasType ¶ added in v0.2.1

func (o *Error400IncorrectJson) HasType() bool

HasType returns a boolean if a field has been set.

func (Error400IncorrectJson) MarshalJSON ¶ added in v0.2.1

func (o Error400IncorrectJson) MarshalJSON() ([]byte, error)

func (*Error400IncorrectJson) SetCode ¶ added in v0.2.1

func (o *Error400IncorrectJson) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error400IncorrectJson) SetDetails ¶ added in v0.2.1

func (o *Error400IncorrectJson) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error400IncorrectJson) SetMessage ¶ added in v0.2.1

func (o *Error400IncorrectJson) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error400IncorrectJson) SetStatus ¶ added in v0.2.1

func (o *Error400IncorrectJson) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error400IncorrectJson) SetType ¶ added in v0.2.1

func (o *Error400IncorrectJson) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error400InvalidCredentials ¶ added in v0.16.0

type Error400InvalidCredentials struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `invalid_credentials`.
	Code *string `json:"code,omitempty"`
	// `400`.
	Status *int32 `json:"status,omitempty"`
	// The provided credentials are invalid.
	Message *string `json:"message,omitempty"`
}

Error400InvalidCredentials Invalid credentials (HTTP 400).

func NewError400InvalidCredentials ¶ added in v0.16.0

func NewError400InvalidCredentials() *Error400InvalidCredentials

NewError400InvalidCredentials instantiates a new Error400InvalidCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError400InvalidCredentialsWithDefaults ¶ added in v0.16.0

func NewError400InvalidCredentialsWithDefaults() *Error400InvalidCredentials

NewError400InvalidCredentialsWithDefaults instantiates a new Error400InvalidCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error400InvalidCredentials) GetCode ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error400InvalidCredentials) GetCodeOk ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400InvalidCredentials) GetMessage ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error400InvalidCredentials) GetMessageOk ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400InvalidCredentials) GetStatus ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error400InvalidCredentials) GetStatusOk ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400InvalidCredentials) GetType ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error400InvalidCredentials) GetTypeOk ¶ added in v0.16.0

func (o *Error400InvalidCredentials) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error400InvalidCredentials) HasCode ¶ added in v0.16.0

func (o *Error400InvalidCredentials) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error400InvalidCredentials) HasMessage ¶ added in v0.16.0

func (o *Error400InvalidCredentials) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error400InvalidCredentials) HasStatus ¶ added in v0.16.0

func (o *Error400InvalidCredentials) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error400InvalidCredentials) HasType ¶ added in v0.16.0

func (o *Error400InvalidCredentials) HasType() bool

HasType returns a boolean if a field has been set.

func (Error400InvalidCredentials) MarshalJSON ¶ added in v0.16.0

func (o Error400InvalidCredentials) MarshalJSON() ([]byte, error)

func (*Error400InvalidCredentials) SetCode ¶ added in v0.16.0

func (o *Error400InvalidCredentials) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error400InvalidCredentials) SetMessage ¶ added in v0.16.0

func (o *Error400InvalidCredentials) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error400InvalidCredentials) SetStatus ¶ added in v0.16.0

func (o *Error400InvalidCredentials) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error400InvalidCredentials) SetType ¶ added in v0.16.0

func (o *Error400InvalidCredentials) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error401Unauthorized ¶

type Error401Unauthorized struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `unauthorized`.
	Code *string `json:"code,omitempty"`
	// `401`.
	Status *int32 `json:"status,omitempty"`
	// No valid API authentication found.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error401Unauthorized Unauthorized Error (HTTP 401).

func NewError401Unauthorized ¶ added in v0.2.1

func NewError401Unauthorized() *Error401Unauthorized

NewError401Unauthorized instantiates a new Error401Unauthorized object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError401UnauthorizedWithDefaults ¶ added in v0.2.1

func NewError401UnauthorizedWithDefaults() *Error401Unauthorized

NewError401UnauthorizedWithDefaults instantiates a new Error401Unauthorized object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error401Unauthorized) GetCode ¶ added in v0.2.1

func (o *Error401Unauthorized) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error401Unauthorized) GetCodeOk ¶ added in v0.2.1

func (o *Error401Unauthorized) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error401Unauthorized) GetDetails ¶ added in v0.2.1

func (o *Error401Unauthorized) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error401Unauthorized) GetDetailsOk ¶ added in v0.2.1

func (o *Error401Unauthorized) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error401Unauthorized) GetMessage ¶ added in v0.2.1

func (o *Error401Unauthorized) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error401Unauthorized) GetMessageOk ¶ added in v0.2.1

func (o *Error401Unauthorized) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error401Unauthorized) GetStatus ¶ added in v0.2.1

func (o *Error401Unauthorized) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error401Unauthorized) GetStatusOk ¶ added in v0.2.1

func (o *Error401Unauthorized) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error401Unauthorized) GetType ¶ added in v0.2.1

func (o *Error401Unauthorized) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error401Unauthorized) GetTypeOk ¶ added in v0.2.1

func (o *Error401Unauthorized) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error401Unauthorized) HasCode ¶ added in v0.2.1

func (o *Error401Unauthorized) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error401Unauthorized) HasDetails ¶ added in v0.2.1

func (o *Error401Unauthorized) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error401Unauthorized) HasMessage ¶ added in v0.2.1

func (o *Error401Unauthorized) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error401Unauthorized) HasStatus ¶ added in v0.2.1

func (o *Error401Unauthorized) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error401Unauthorized) HasType ¶ added in v0.2.1

func (o *Error401Unauthorized) HasType() bool

HasType returns a boolean if a field has been set.

func (Error401Unauthorized) MarshalJSON ¶ added in v0.2.1

func (o Error401Unauthorized) MarshalJSON() ([]byte, error)

func (*Error401Unauthorized) SetCode ¶ added in v0.2.1

func (o *Error401Unauthorized) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error401Unauthorized) SetDetails ¶ added in v0.2.1

func (o *Error401Unauthorized) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error401Unauthorized) SetMessage ¶ added in v0.2.1

func (o *Error401Unauthorized) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error401Unauthorized) SetStatus ¶ added in v0.2.1

func (o *Error401Unauthorized) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error401Unauthorized) SetType ¶ added in v0.2.1

func (o *Error401Unauthorized) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error403Forbidden ¶ added in v0.2.1

type Error403Forbidden struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `forbidden`.
	Code *string `json:"code,omitempty"`
	// `403`.
	Status *int32 `json:"status,omitempty"`
	// Invalid credentials.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error403Forbidden Forbidden Error (HTTP 403).

func NewError403Forbidden ¶ added in v0.2.1

func NewError403Forbidden() *Error403Forbidden

NewError403Forbidden instantiates a new Error403Forbidden object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError403ForbiddenWithDefaults ¶ added in v0.2.1

func NewError403ForbiddenWithDefaults() *Error403Forbidden

NewError403ForbiddenWithDefaults instantiates a new Error403Forbidden object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error403Forbidden) GetCode ¶ added in v0.2.1

func (o *Error403Forbidden) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error403Forbidden) GetCodeOk ¶ added in v0.2.1

func (o *Error403Forbidden) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error403Forbidden) GetDetails ¶ added in v0.2.1

func (o *Error403Forbidden) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error403Forbidden) GetDetailsOk ¶ added in v0.2.1

func (o *Error403Forbidden) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error403Forbidden) GetMessage ¶ added in v0.2.1

func (o *Error403Forbidden) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error403Forbidden) GetMessageOk ¶ added in v0.2.1

func (o *Error403Forbidden) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error403Forbidden) GetStatus ¶ added in v0.2.1

func (o *Error403Forbidden) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error403Forbidden) GetStatusOk ¶ added in v0.2.1

func (o *Error403Forbidden) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error403Forbidden) GetType ¶ added in v0.2.1

func (o *Error403Forbidden) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error403Forbidden) GetTypeOk ¶ added in v0.2.1

func (o *Error403Forbidden) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error403Forbidden) HasCode ¶ added in v0.2.1

func (o *Error403Forbidden) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error403Forbidden) HasDetails ¶ added in v0.2.1

func (o *Error403Forbidden) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error403Forbidden) HasMessage ¶ added in v0.2.1

func (o *Error403Forbidden) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error403Forbidden) HasStatus ¶ added in v0.2.1

func (o *Error403Forbidden) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error403Forbidden) HasType ¶ added in v0.2.1

func (o *Error403Forbidden) HasType() bool

HasType returns a boolean if a field has been set.

func (Error403Forbidden) MarshalJSON ¶ added in v0.2.1

func (o Error403Forbidden) MarshalJSON() ([]byte, error)

func (*Error403Forbidden) SetCode ¶ added in v0.2.1

func (o *Error403Forbidden) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error403Forbidden) SetDetails ¶ added in v0.2.1

func (o *Error403Forbidden) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error403Forbidden) SetMessage ¶ added in v0.2.1

func (o *Error403Forbidden) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error403Forbidden) SetStatus ¶ added in v0.2.1

func (o *Error403Forbidden) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error403Forbidden) SetType ¶ added in v0.2.1

func (o *Error403Forbidden) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error404NotFound ¶

type Error404NotFound struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `not_found`.
	Code *string `json:"code,omitempty"`
	// `404`.
	Status *int32 `json:"status,omitempty"`
	// The resource could not be found.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error404NotFound Not Found Error (HTTP 404).

func NewError404NotFound ¶ added in v0.2.1

func NewError404NotFound() *Error404NotFound

NewError404NotFound instantiates a new Error404NotFound object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError404NotFoundWithDefaults ¶ added in v0.2.1

func NewError404NotFoundWithDefaults() *Error404NotFound

NewError404NotFoundWithDefaults instantiates a new Error404NotFound object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error404NotFound) GetCode ¶ added in v0.2.1

func (o *Error404NotFound) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error404NotFound) GetCodeOk ¶ added in v0.2.1

func (o *Error404NotFound) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404NotFound) GetDetails ¶ added in v0.2.1

func (o *Error404NotFound) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error404NotFound) GetDetailsOk ¶ added in v0.2.1

func (o *Error404NotFound) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404NotFound) GetMessage ¶ added in v0.2.1

func (o *Error404NotFound) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error404NotFound) GetMessageOk ¶ added in v0.2.1

func (o *Error404NotFound) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404NotFound) GetStatus ¶ added in v0.2.1

func (o *Error404NotFound) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error404NotFound) GetStatusOk ¶ added in v0.2.1

func (o *Error404NotFound) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404NotFound) GetType ¶ added in v0.2.1

func (o *Error404NotFound) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error404NotFound) GetTypeOk ¶ added in v0.2.1

func (o *Error404NotFound) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404NotFound) HasCode ¶ added in v0.2.1

func (o *Error404NotFound) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error404NotFound) HasDetails ¶ added in v0.2.1

func (o *Error404NotFound) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error404NotFound) HasMessage ¶ added in v0.2.1

func (o *Error404NotFound) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error404NotFound) HasStatus ¶ added in v0.2.1

func (o *Error404NotFound) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error404NotFound) HasType ¶ added in v0.2.1

func (o *Error404NotFound) HasType() bool

HasType returns a boolean if a field has been set.

func (Error404NotFound) MarshalJSON ¶ added in v0.2.1

func (o Error404NotFound) MarshalJSON() ([]byte, error)

func (*Error404NotFound) SetCode ¶ added in v0.2.1

func (o *Error404NotFound) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error404NotFound) SetDetails ¶ added in v0.2.1

func (o *Error404NotFound) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error404NotFound) SetMessage ¶ added in v0.2.1

func (o *Error404NotFound) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error404NotFound) SetStatus ¶ added in v0.2.1

func (o *Error404NotFound) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error404NotFound) SetType ¶ added in v0.2.1

func (o *Error404NotFound) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error404PendingCreation ¶

type Error404PendingCreation struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `pending_creation`.
	Code *string `json:"code,omitempty"`
	// `404`.
	Status *int32 `json:"status,omitempty"`
	// The resource is still pending.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error404PendingCreation Pending Creation Error (HTTP 404).

func NewError404PendingCreation ¶ added in v0.2.1

func NewError404PendingCreation() *Error404PendingCreation

NewError404PendingCreation instantiates a new Error404PendingCreation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError404PendingCreationWithDefaults ¶ added in v0.2.1

func NewError404PendingCreationWithDefaults() *Error404PendingCreation

NewError404PendingCreationWithDefaults instantiates a new Error404PendingCreation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error404PendingCreation) GetCode ¶ added in v0.2.1

func (o *Error404PendingCreation) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error404PendingCreation) GetCodeOk ¶ added in v0.2.1

func (o *Error404PendingCreation) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404PendingCreation) GetDetails ¶ added in v0.2.1

func (o *Error404PendingCreation) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error404PendingCreation) GetDetailsOk ¶ added in v0.2.1

func (o *Error404PendingCreation) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404PendingCreation) GetMessage ¶ added in v0.2.1

func (o *Error404PendingCreation) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error404PendingCreation) GetMessageOk ¶ added in v0.2.1

func (o *Error404PendingCreation) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404PendingCreation) GetStatus ¶ added in v0.2.1

func (o *Error404PendingCreation) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error404PendingCreation) GetStatusOk ¶ added in v0.2.1

func (o *Error404PendingCreation) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404PendingCreation) GetType ¶ added in v0.2.1

func (o *Error404PendingCreation) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error404PendingCreation) GetTypeOk ¶ added in v0.2.1

func (o *Error404PendingCreation) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error404PendingCreation) HasCode ¶ added in v0.2.1

func (o *Error404PendingCreation) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error404PendingCreation) HasDetails ¶ added in v0.2.1

func (o *Error404PendingCreation) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error404PendingCreation) HasMessage ¶ added in v0.2.1

func (o *Error404PendingCreation) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error404PendingCreation) HasStatus ¶ added in v0.2.1

func (o *Error404PendingCreation) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error404PendingCreation) HasType ¶ added in v0.2.1

func (o *Error404PendingCreation) HasType() bool

HasType returns a boolean if a field has been set.

func (Error404PendingCreation) MarshalJSON ¶ added in v0.2.1

func (o Error404PendingCreation) MarshalJSON() ([]byte, error)

func (*Error404PendingCreation) SetCode ¶ added in v0.2.1

func (o *Error404PendingCreation) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error404PendingCreation) SetDetails ¶ added in v0.2.1

func (o *Error404PendingCreation) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error404PendingCreation) SetMessage ¶ added in v0.2.1

func (o *Error404PendingCreation) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error404PendingCreation) SetStatus ¶ added in v0.2.1

func (o *Error404PendingCreation) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error404PendingCreation) SetType ¶ added in v0.2.1

func (o *Error404PendingCreation) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error409DuplicateRecord ¶

type Error409DuplicateRecord struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `duplicate_record`.
	Code *string `json:"code,omitempty"`
	// `409`.
	Status *int32 `json:"status,omitempty"`
	// Further details on the field that triggered the error.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error409DuplicateRecord Duplicate Record Error (HTTP 409).

func NewError409DuplicateRecord ¶ added in v0.2.1

func NewError409DuplicateRecord() *Error409DuplicateRecord

NewError409DuplicateRecord instantiates a new Error409DuplicateRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError409DuplicateRecordWithDefaults ¶ added in v0.2.1

func NewError409DuplicateRecordWithDefaults() *Error409DuplicateRecord

NewError409DuplicateRecordWithDefaults instantiates a new Error409DuplicateRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error409DuplicateRecord) GetCode ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error409DuplicateRecord) GetCodeOk ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error409DuplicateRecord) GetDetails ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error409DuplicateRecord) GetDetailsOk ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error409DuplicateRecord) GetMessage ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error409DuplicateRecord) GetMessageOk ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error409DuplicateRecord) GetStatus ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error409DuplicateRecord) GetStatusOk ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error409DuplicateRecord) GetType ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error409DuplicateRecord) GetTypeOk ¶ added in v0.2.1

func (o *Error409DuplicateRecord) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error409DuplicateRecord) HasCode ¶ added in v0.2.1

func (o *Error409DuplicateRecord) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error409DuplicateRecord) HasDetails ¶ added in v0.2.1

func (o *Error409DuplicateRecord) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error409DuplicateRecord) HasMessage ¶ added in v0.2.1

func (o *Error409DuplicateRecord) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error409DuplicateRecord) HasStatus ¶ added in v0.2.1

func (o *Error409DuplicateRecord) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error409DuplicateRecord) HasType ¶ added in v0.2.1

func (o *Error409DuplicateRecord) HasType() bool

HasType returns a boolean if a field has been set.

func (Error409DuplicateRecord) MarshalJSON ¶ added in v0.2.1

func (o Error409DuplicateRecord) MarshalJSON() ([]byte, error)

func (*Error409DuplicateRecord) SetCode ¶ added in v0.2.1

func (o *Error409DuplicateRecord) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error409DuplicateRecord) SetDetails ¶ added in v0.2.1

func (o *Error409DuplicateRecord) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error409DuplicateRecord) SetMessage ¶ added in v0.2.1

func (o *Error409DuplicateRecord) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error409DuplicateRecord) SetStatus ¶ added in v0.2.1

func (o *Error409DuplicateRecord) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error409DuplicateRecord) SetType ¶ added in v0.2.1

func (o *Error409DuplicateRecord) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Error429TooManyRequests ¶ added in v0.32.0

type Error429TooManyRequests struct {
	// `error`.
	Type *string `json:"type,omitempty"`
	// `too_many_requests`.
	Code *string `json:"code,omitempty"`
	// `429`.
	Status *int32 `json:"status,omitempty"`
	// Further details on the field that triggered the error.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

Error429TooManyRequests Too Many Requests Error (HTTP 429).

func NewError429TooManyRequests ¶ added in v0.32.0

func NewError429TooManyRequests() *Error429TooManyRequests

NewError429TooManyRequests instantiates a new Error429TooManyRequests object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewError429TooManyRequestsWithDefaults ¶ added in v0.32.0

func NewError429TooManyRequestsWithDefaults() *Error429TooManyRequests

NewError429TooManyRequestsWithDefaults instantiates a new Error429TooManyRequests object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error429TooManyRequests) GetCode ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Error429TooManyRequests) GetCodeOk ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error429TooManyRequests) GetDetails ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*Error429TooManyRequests) GetDetailsOk ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error429TooManyRequests) GetMessage ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error429TooManyRequests) GetMessageOk ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error429TooManyRequests) GetStatus ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*Error429TooManyRequests) GetStatusOk ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error429TooManyRequests) GetType ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Error429TooManyRequests) GetTypeOk ¶ added in v0.32.0

func (o *Error429TooManyRequests) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error429TooManyRequests) HasCode ¶ added in v0.32.0

func (o *Error429TooManyRequests) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error429TooManyRequests) HasDetails ¶ added in v0.32.0

func (o *Error429TooManyRequests) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error429TooManyRequests) HasMessage ¶ added in v0.32.0

func (o *Error429TooManyRequests) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error429TooManyRequests) HasStatus ¶ added in v0.32.0

func (o *Error429TooManyRequests) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Error429TooManyRequests) HasType ¶ added in v0.32.0

func (o *Error429TooManyRequests) HasType() bool

HasType returns a boolean if a field has been set.

func (Error429TooManyRequests) MarshalJSON ¶ added in v0.32.0

func (o Error429TooManyRequests) MarshalJSON() ([]byte, error)

func (*Error429TooManyRequests) SetCode ¶ added in v0.32.0

func (o *Error429TooManyRequests) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Error429TooManyRequests) SetDetails ¶ added in v0.32.0

func (o *Error429TooManyRequests) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*Error429TooManyRequests) SetMessage ¶ added in v0.32.0

func (o *Error429TooManyRequests) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Error429TooManyRequests) SetStatus ¶ added in v0.32.0

func (o *Error429TooManyRequests) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*Error429TooManyRequests) SetType ¶ added in v0.32.0

func (o *Error429TooManyRequests) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ErrorDetail ¶

type ErrorDetail struct {
	// The location where the error caused an issue.
	Location *string `json:"location,omitempty"`
	// A unique identifier for the type of error that occurred.
	Type *string `json:"type,omitempty"`
	// The exact item for which the validation did not succeed. This is a JSON pointer for request bodies, while for query, path, and header parameters it is the name of the parameter.
	Pointer *string `json:"pointer,omitempty"`
	// A human readable message for this error detail.
	Message *string `json:"message,omitempty"`
}

ErrorDetail Additional detail about the part of a request body that caused an issue.

func NewErrorDetail ¶ added in v0.2.1

func NewErrorDetail() *ErrorDetail

NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorDetailWithDefaults ¶ added in v0.2.1

func NewErrorDetailWithDefaults() *ErrorDetail

NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorDetail) GetLocation ¶ added in v0.2.1

func (o *ErrorDetail) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*ErrorDetail) GetLocationOk ¶ added in v0.2.1

func (o *ErrorDetail) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetMessage ¶ added in v0.2.1

func (o *ErrorDetail) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorDetail) GetMessageOk ¶ added in v0.2.1

func (o *ErrorDetail) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetPointer ¶ added in v0.2.1

func (o *ErrorDetail) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*ErrorDetail) GetPointerOk ¶ added in v0.2.1

func (o *ErrorDetail) GetPointerOk() (*string, bool)

GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) GetType ¶ added in v0.2.1

func (o *ErrorDetail) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ErrorDetail) GetTypeOk ¶ added in v0.2.1

func (o *ErrorDetail) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorDetail) HasLocation ¶ added in v0.2.1

func (o *ErrorDetail) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*ErrorDetail) HasMessage ¶ added in v0.2.1

func (o *ErrorDetail) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorDetail) HasPointer ¶ added in v0.2.1

func (o *ErrorDetail) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (*ErrorDetail) HasType ¶ added in v0.2.1

func (o *ErrorDetail) HasType() bool

HasType returns a boolean if a field has been set.

func (ErrorDetail) MarshalJSON ¶ added in v0.2.1

func (o ErrorDetail) MarshalJSON() ([]byte, error)

func (*ErrorDetail) SetLocation ¶ added in v0.2.1

func (o *ErrorDetail) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*ErrorDetail) SetMessage ¶ added in v0.2.1

func (o *ErrorDetail) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ErrorDetail) SetPointer ¶ added in v0.2.1

func (o *ErrorDetail) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (*ErrorDetail) SetType ¶ added in v0.2.1

func (o *ErrorDetail) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ErrorGeneric ¶

type ErrorGeneric struct {
	// The type of this object. This is always `error`.
	Type *string `json:"type,omitempty"`
	// A custom code to further describe the type of error being returned. This code provides further specification within the HTTP `status` code and can be used by a program to define logic based on the error.
	Code *string `json:"code,omitempty"`
	// The HTTP status code of this error.
	Status *int32 `json:"status,omitempty"`
	// A human readable message that describes the error. The content of this field should not be used to determine any business logic.
	Message *string `json:"message,omitempty"`
	// A list of detail objects that further clarify the reason for the error. Not every error supports more detail.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

ErrorGeneric A generic client error.

func NewErrorGeneric ¶ added in v0.2.1

func NewErrorGeneric() *ErrorGeneric

NewErrorGeneric instantiates a new ErrorGeneric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorGenericWithDefaults ¶ added in v0.2.1

func NewErrorGenericWithDefaults() *ErrorGeneric

NewErrorGenericWithDefaults instantiates a new ErrorGeneric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorGeneric) GetCode ¶ added in v0.2.1

func (o *ErrorGeneric) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ErrorGeneric) GetCodeOk ¶ added in v0.2.1

func (o *ErrorGeneric) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorGeneric) GetDetails ¶ added in v0.2.1

func (o *ErrorGeneric) GetDetails() []ErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*ErrorGeneric) GetDetailsOk ¶ added in v0.2.1

func (o *ErrorGeneric) GetDetailsOk() (*[]ErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorGeneric) GetMessage ¶ added in v0.2.1

func (o *ErrorGeneric) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorGeneric) GetMessageOk ¶ added in v0.2.1

func (o *ErrorGeneric) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorGeneric) GetStatus ¶ added in v0.2.1

func (o *ErrorGeneric) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ErrorGeneric) GetStatusOk ¶ added in v0.2.1

func (o *ErrorGeneric) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorGeneric) GetType ¶ added in v0.2.1

func (o *ErrorGeneric) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ErrorGeneric) GetTypeOk ¶ added in v0.2.1

func (o *ErrorGeneric) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorGeneric) HasCode ¶ added in v0.2.1

func (o *ErrorGeneric) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorGeneric) HasDetails ¶ added in v0.2.1

func (o *ErrorGeneric) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ErrorGeneric) HasMessage ¶ added in v0.2.1

func (o *ErrorGeneric) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorGeneric) HasStatus ¶ added in v0.2.1

func (o *ErrorGeneric) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ErrorGeneric) HasType ¶ added in v0.2.1

func (o *ErrorGeneric) HasType() bool

HasType returns a boolean if a field has been set.

func (ErrorGeneric) MarshalJSON ¶ added in v0.2.1

func (o ErrorGeneric) MarshalJSON() ([]byte, error)

func (*ErrorGeneric) SetCode ¶ added in v0.2.1

func (o *ErrorGeneric) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ErrorGeneric) SetDetails ¶ added in v0.2.1

func (o *ErrorGeneric) SetDetails(v []ErrorDetail)

SetDetails gets a reference to the given []ErrorDetail and assigns it to the Details field.

func (*ErrorGeneric) SetMessage ¶ added in v0.2.1

func (o *ErrorGeneric) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ErrorGeneric) SetStatus ¶ added in v0.2.1

func (o *ErrorGeneric) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*ErrorGeneric) SetType ¶ added in v0.2.1

func (o *ErrorGeneric) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GenericOpenAPIError ¶ added in v0.2.1

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body ¶ added in v0.2.1

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error ¶ added in v0.2.1

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model ¶ added in v0.2.1

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GiftCard ¶ added in v0.31.0

type GiftCard struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string          `json:"merchant_account_id,omitempty"`
	Service           *GiftCardService `json:"service,omitempty"`
	// The first 6 digits of the full gift card number.
	Bin *string `json:"bin,omitempty"`
	// The 3 digits after the `bin` of the full gift card number.
	SubBin *string `json:"sub_bin,omitempty"`
	// The last 4 digits for the gift card.
	Last4 *string `json:"last4,omitempty"`
	// The date and time when this gift card expires. This is a full date/time and may be more accurate than the actual expiry date received by the gift card service.
	ExpirationDate NullableTime `json:"expiration_date,omitempty"`
	// The optional buyer for which this payment method has been stored.
	Buyer NullableBuyer `json:"buyer,omitempty"`
	// The date and time when this gift card was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this gift card was last updated in our system.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

GiftCard A gift card stored for a buyer, or used in a transaction.

func NewGiftCard ¶ added in v0.31.0

func NewGiftCard() *GiftCard

NewGiftCard instantiates a new GiftCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardWithDefaults ¶ added in v0.31.0

func NewGiftCardWithDefaults() *GiftCard

NewGiftCardWithDefaults instantiates a new GiftCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCard) GetBin ¶ added in v0.31.0

func (o *GiftCard) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise.

func (*GiftCard) GetBinOk ¶ added in v0.31.0

func (o *GiftCard) GetBinOk() (*string, bool)

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetBuyer ¶ added in v0.31.0

func (o *GiftCard) GetBuyer() Buyer

GetBuyer returns the Buyer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCard) GetBuyerOk ¶ added in v0.31.0

func (o *GiftCard) GetBuyerOk() (*Buyer, bool)

GetBuyerOk returns a tuple with the Buyer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCard) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCard) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCard) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCard) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetExpirationDate ¶ added in v0.31.0

func (o *GiftCard) GetExpirationDate() time.Time

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCard) GetExpirationDateOk ¶ added in v0.31.0

func (o *GiftCard) GetExpirationDateOk() (*time.Time, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCard) GetId ¶ added in v0.31.0

func (o *GiftCard) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCard) GetIdOk ¶ added in v0.31.0

func (o *GiftCard) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetLast4 ¶ added in v0.31.0

func (o *GiftCard) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*GiftCard) GetLast4Ok ¶ added in v0.31.0

func (o *GiftCard) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCard) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*GiftCard) GetMerchantAccountIdOk ¶ added in v0.31.0

func (o *GiftCard) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetService ¶ added in v0.31.0

func (o *GiftCard) GetService() GiftCardService

GetService returns the Service field value if set, zero value otherwise.

func (*GiftCard) GetServiceOk ¶ added in v0.31.0

func (o *GiftCard) GetServiceOk() (*GiftCardService, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetSubBin ¶ added in v0.31.0

func (o *GiftCard) GetSubBin() string

GetSubBin returns the SubBin field value if set, zero value otherwise.

func (*GiftCard) GetSubBinOk ¶ added in v0.31.0

func (o *GiftCard) GetSubBinOk() (*string, bool)

GetSubBinOk returns a tuple with the SubBin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetType ¶ added in v0.31.0

func (o *GiftCard) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCard) GetTypeOk ¶ added in v0.31.0

func (o *GiftCard) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) GetUpdatedAt ¶ added in v0.31.0

func (o *GiftCard) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*GiftCard) GetUpdatedAtOk ¶ added in v0.31.0

func (o *GiftCard) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCard) HasBin ¶ added in v0.31.0

func (o *GiftCard) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*GiftCard) HasBuyer ¶ added in v0.31.0

func (o *GiftCard) HasBuyer() bool

HasBuyer returns a boolean if a field has been set.

func (*GiftCard) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCard) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCard) HasExpirationDate ¶ added in v0.31.0

func (o *GiftCard) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*GiftCard) HasId ¶ added in v0.31.0

func (o *GiftCard) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCard) HasLast4 ¶ added in v0.31.0

func (o *GiftCard) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*GiftCard) HasMerchantAccountId ¶ added in v0.31.0

func (o *GiftCard) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*GiftCard) HasService ¶ added in v0.31.0

func (o *GiftCard) HasService() bool

HasService returns a boolean if a field has been set.

func (*GiftCard) HasSubBin ¶ added in v0.31.0

func (o *GiftCard) HasSubBin() bool

HasSubBin returns a boolean if a field has been set.

func (*GiftCard) HasType ¶ added in v0.31.0

func (o *GiftCard) HasType() bool

HasType returns a boolean if a field has been set.

func (*GiftCard) HasUpdatedAt ¶ added in v0.31.0

func (o *GiftCard) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (GiftCard) MarshalJSON ¶ added in v0.31.0

func (o GiftCard) MarshalJSON() ([]byte, error)

func (*GiftCard) SetBin ¶ added in v0.31.0

func (o *GiftCard) SetBin(v string)

SetBin gets a reference to the given string and assigns it to the Bin field.

func (*GiftCard) SetBuyer ¶ added in v0.31.0

func (o *GiftCard) SetBuyer(v Buyer)

SetBuyer gets a reference to the given NullableBuyer and assigns it to the Buyer field.

func (*GiftCard) SetBuyerNil ¶ added in v0.31.0

func (o *GiftCard) SetBuyerNil()

SetBuyerNil sets the value for Buyer to be an explicit nil

func (*GiftCard) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCard) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCard) SetExpirationDate ¶ added in v0.31.0

func (o *GiftCard) SetExpirationDate(v time.Time)

SetExpirationDate gets a reference to the given NullableTime and assigns it to the ExpirationDate field.

func (*GiftCard) SetExpirationDateNil ¶ added in v0.31.0

func (o *GiftCard) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*GiftCard) SetId ¶ added in v0.31.0

func (o *GiftCard) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCard) SetLast4 ¶ added in v0.31.0

func (o *GiftCard) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*GiftCard) SetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCard) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*GiftCard) SetService ¶ added in v0.31.0

func (o *GiftCard) SetService(v GiftCardService)

SetService gets a reference to the given GiftCardService and assigns it to the Service field.

func (*GiftCard) SetSubBin ¶ added in v0.31.0

func (o *GiftCard) SetSubBin(v string)

SetSubBin gets a reference to the given string and assigns it to the SubBin field.

func (*GiftCard) SetType ¶ added in v0.31.0

func (o *GiftCard) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GiftCard) SetUpdatedAt ¶ added in v0.31.0

func (o *GiftCard) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*GiftCard) UnsetBuyer ¶ added in v0.31.0

func (o *GiftCard) UnsetBuyer()

UnsetBuyer ensures that no value is present for Buyer, not even an explicit nil

func (*GiftCard) UnsetExpirationDate ¶ added in v0.31.0

func (o *GiftCard) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

type GiftCardBalanceNewRequest ¶ added in v0.31.0

type GiftCardBalanceNewRequest struct {
	// The 16-19 digit number for this gift card.
	Number string `json:"number"`
	// The PIN for this gift card.
	Pin string `json:"pin"`
}

GiftCardBalanceNewRequest Check the balance for a non-stored gift card.

func NewGiftCardBalanceNewRequest ¶ added in v0.31.0

func NewGiftCardBalanceNewRequest(number string, pin string) *GiftCardBalanceNewRequest

NewGiftCardBalanceNewRequest instantiates a new GiftCardBalanceNewRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardBalanceNewRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardBalanceNewRequestWithDefaults() *GiftCardBalanceNewRequest

NewGiftCardBalanceNewRequestWithDefaults instantiates a new GiftCardBalanceNewRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardBalanceNewRequest) GetNumber ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) GetNumber() string

GetNumber returns the Number field value

func (*GiftCardBalanceNewRequest) GetNumberOk ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*GiftCardBalanceNewRequest) GetPin ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) GetPin() string

GetPin returns the Pin field value

func (*GiftCardBalanceNewRequest) GetPinOk ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value and a boolean to check if the value has been set.

func (GiftCardBalanceNewRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardBalanceNewRequest) MarshalJSON() ([]byte, error)

func (*GiftCardBalanceNewRequest) SetNumber ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) SetNumber(v string)

SetNumber sets field value

func (*GiftCardBalanceNewRequest) SetPin ¶ added in v0.31.0

func (o *GiftCardBalanceNewRequest) SetPin(v string)

SetPin sets field value

type GiftCardBalanceRequest ¶ added in v0.31.0

type GiftCardBalanceRequest struct {
	// The ID of the gift card to check a balance for. Required if `number` is not set.
	Id *string `json:"id,omitempty"`
	// The 16-19 digit number for this gift card. Required if `id` is not set.
	Number *string `json:"number,omitempty"`
	// The PIN for this gift card. Required if `number` is set.
	Pin *string `json:"pin,omitempty"`
}

GiftCardBalanceRequest Check the balance for a stored/new gift card.

func NewGiftCardBalanceRequest ¶ added in v0.31.0

func NewGiftCardBalanceRequest() *GiftCardBalanceRequest

NewGiftCardBalanceRequest instantiates a new GiftCardBalanceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardBalanceRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardBalanceRequestWithDefaults() *GiftCardBalanceRequest

NewGiftCardBalanceRequestWithDefaults instantiates a new GiftCardBalanceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardBalanceRequest) GetId ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardBalanceRequest) GetIdOk ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardBalanceRequest) GetNumber ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*GiftCardBalanceRequest) GetNumberOk ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardBalanceRequest) GetPin ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetPin() string

GetPin returns the Pin field value if set, zero value otherwise.

func (*GiftCardBalanceRequest) GetPinOk ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardBalanceRequest) HasId ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardBalanceRequest) HasNumber ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*GiftCardBalanceRequest) HasPin ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) HasPin() bool

HasPin returns a boolean if a field has been set.

func (GiftCardBalanceRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardBalanceRequest) MarshalJSON() ([]byte, error)

func (*GiftCardBalanceRequest) SetId ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardBalanceRequest) SetNumber ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*GiftCardBalanceRequest) SetPin ¶ added in v0.31.0

func (o *GiftCardBalanceRequest) SetPin(v string)

SetPin gets a reference to the given string and assigns it to the Pin field.

type GiftCardBalanceStoredRequest ¶ added in v0.31.0

type GiftCardBalanceStoredRequest struct {
	// The ID of the gift card to check a balance for.
	Id string `json:"id"`
}

GiftCardBalanceStoredRequest Check the balance for a stored gift card.

func NewGiftCardBalanceStoredRequest ¶ added in v0.31.0

func NewGiftCardBalanceStoredRequest(id string) *GiftCardBalanceStoredRequest

NewGiftCardBalanceStoredRequest instantiates a new GiftCardBalanceStoredRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardBalanceStoredRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardBalanceStoredRequestWithDefaults() *GiftCardBalanceStoredRequest

NewGiftCardBalanceStoredRequestWithDefaults instantiates a new GiftCardBalanceStoredRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardBalanceStoredRequest) GetId ¶ added in v0.31.0

GetId returns the Id field value

func (*GiftCardBalanceStoredRequest) GetIdOk ¶ added in v0.31.0

func (o *GiftCardBalanceStoredRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (GiftCardBalanceStoredRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardBalanceStoredRequest) MarshalJSON() ([]byte, error)

func (*GiftCardBalanceStoredRequest) SetId ¶ added in v0.31.0

SetId sets field value

type GiftCardBalancesRequest ¶ added in v0.31.0

type GiftCardBalancesRequest struct {
	// One or more gift cards to check balances for, up to a default limit of 10 gift cards. Please contact our team to change this limit.
	Items *[]GiftCardBalanceRequest `json:"items,omitempty"`
}

GiftCardBalancesRequest A request to check the balance for a set of stored and non-stored gift cards.

func NewGiftCardBalancesRequest ¶ added in v0.31.0

func NewGiftCardBalancesRequest() *GiftCardBalancesRequest

NewGiftCardBalancesRequest instantiates a new GiftCardBalancesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardBalancesRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardBalancesRequestWithDefaults() *GiftCardBalancesRequest

NewGiftCardBalancesRequestWithDefaults instantiates a new GiftCardBalancesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardBalancesRequest) GetItems ¶ added in v0.31.0

GetItems returns the Items field value if set, zero value otherwise.

func (*GiftCardBalancesRequest) GetItemsOk ¶ added in v0.31.0

func (o *GiftCardBalancesRequest) GetItemsOk() (*[]GiftCardBalanceRequest, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardBalancesRequest) HasItems ¶ added in v0.31.0

func (o *GiftCardBalancesRequest) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GiftCardBalancesRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardBalancesRequest) MarshalJSON() ([]byte, error)

func (*GiftCardBalancesRequest) SetItems ¶ added in v0.31.0

SetItems gets a reference to the given []GiftCardBalanceRequest and assigns it to the Items field.

type GiftCardRedemption ¶ added in v0.31.0

type GiftCardRedemption struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card redemption. This may be `null` if the no redemption happened.
	Id NullableString `json:"id,omitempty"`
	// The status of the gift card redemption for the `payment_method`.
	Status *string `json:"status,omitempty"`
	// The amount redeemed for this gift card.
	Amount *int32 `json:"amount,omitempty"`
	// The amount refunded for this gift card. This can not be larger than `amount`.
	RefundedAmount *int32 `json:"refunded_amount,omitempty"`
	// The gift card service's unique ID for the redemption.
	GiftCardServiceRedemptionId *string `json:"gift_card_service_redemption_id,omitempty"`
	// If this gift card redemption resulted in an error, this will contain the internal code for the error.
	ErrorCode NullableString `json:"error_code,omitempty"`
	// If this gift card redemption resulted in an error, this will contain the raw error code received from the gift card provider.
	RawErrorCode NullableString `json:"raw_error_code,omitempty"`
	// If this gift card redemption resulted in an error, this will contain the raw error message received from the gift card provider.
	RawErrorMessage NullableString    `json:"raw_error_message,omitempty"`
	GiftCard        *GiftCardSnapshot `json:"gift_card,omitempty"`
}

GiftCardRedemption A redemption of a gift card used in a transaction.

func NewGiftCardRedemption ¶ added in v0.31.0

func NewGiftCardRedemption() *GiftCardRedemption

NewGiftCardRedemption instantiates a new GiftCardRedemption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRedemptionWithDefaults ¶ added in v0.31.0

func NewGiftCardRedemptionWithDefaults() *GiftCardRedemption

NewGiftCardRedemptionWithDefaults instantiates a new GiftCardRedemption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRedemption) GetAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*GiftCardRedemption) GetAmountOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) GetErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemption) GetErrorCodeOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemption) GetGiftCard ¶ added in v0.31.0

func (o *GiftCardRedemption) GetGiftCard() GiftCardSnapshot

GetGiftCard returns the GiftCard field value if set, zero value otherwise.

func (*GiftCardRedemption) GetGiftCardOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetGiftCardOk() (*GiftCardSnapshot, bool)

GetGiftCardOk returns a tuple with the GiftCard field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) GetGiftCardServiceRedemptionId ¶ added in v0.31.0

func (o *GiftCardRedemption) GetGiftCardServiceRedemptionId() string

GetGiftCardServiceRedemptionId returns the GiftCardServiceRedemptionId field value if set, zero value otherwise.

func (*GiftCardRedemption) GetGiftCardServiceRedemptionIdOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetGiftCardServiceRedemptionIdOk() (*string, bool)

GetGiftCardServiceRedemptionIdOk returns a tuple with the GiftCardServiceRedemptionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) GetId ¶ added in v0.31.0

func (o *GiftCardRedemption) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemption) GetIdOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemption) GetRawErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRawErrorCode() string

GetRawErrorCode returns the RawErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemption) GetRawErrorCodeOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRawErrorCodeOk() (*string, bool)

GetRawErrorCodeOk returns a tuple with the RawErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemption) GetRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRawErrorMessage() string

GetRawErrorMessage returns the RawErrorMessage field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemption) GetRawErrorMessageOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRawErrorMessageOk() (*string, bool)

GetRawErrorMessageOk returns a tuple with the RawErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemption) GetRefundedAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRefundedAmount() int32

GetRefundedAmount returns the RefundedAmount field value if set, zero value otherwise.

func (*GiftCardRedemption) GetRefundedAmountOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetRefundedAmountOk() (*int32, bool)

GetRefundedAmountOk returns a tuple with the RefundedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) GetStatus ¶ added in v0.31.0

func (o *GiftCardRedemption) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*GiftCardRedemption) GetStatusOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) GetType ¶ added in v0.31.0

func (o *GiftCardRedemption) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardRedemption) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardRedemption) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemption) HasAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*GiftCardRedemption) HasErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GiftCardRedemption) HasGiftCard ¶ added in v0.31.0

func (o *GiftCardRedemption) HasGiftCard() bool

HasGiftCard returns a boolean if a field has been set.

func (*GiftCardRedemption) HasGiftCardServiceRedemptionId ¶ added in v0.31.0

func (o *GiftCardRedemption) HasGiftCardServiceRedemptionId() bool

HasGiftCardServiceRedemptionId returns a boolean if a field has been set.

func (*GiftCardRedemption) HasId ¶ added in v0.31.0

func (o *GiftCardRedemption) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardRedemption) HasRawErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) HasRawErrorCode() bool

HasRawErrorCode returns a boolean if a field has been set.

func (*GiftCardRedemption) HasRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardRedemption) HasRawErrorMessage() bool

HasRawErrorMessage returns a boolean if a field has been set.

func (*GiftCardRedemption) HasRefundedAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) HasRefundedAmount() bool

HasRefundedAmount returns a boolean if a field has been set.

func (*GiftCardRedemption) HasStatus ¶ added in v0.31.0

func (o *GiftCardRedemption) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GiftCardRedemption) HasType ¶ added in v0.31.0

func (o *GiftCardRedemption) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardRedemption) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRedemption) MarshalJSON() ([]byte, error)

func (*GiftCardRedemption) SetAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*GiftCardRedemption) SetErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) SetErrorCode(v string)

SetErrorCode gets a reference to the given NullableString and assigns it to the ErrorCode field.

func (*GiftCardRedemption) SetErrorCodeNil ¶ added in v0.31.0

func (o *GiftCardRedemption) SetErrorCodeNil()

SetErrorCodeNil sets the value for ErrorCode to be an explicit nil

func (*GiftCardRedemption) SetGiftCard ¶ added in v0.31.0

func (o *GiftCardRedemption) SetGiftCard(v GiftCardSnapshot)

SetGiftCard gets a reference to the given GiftCardSnapshot and assigns it to the GiftCard field.

func (*GiftCardRedemption) SetGiftCardServiceRedemptionId ¶ added in v0.31.0

func (o *GiftCardRedemption) SetGiftCardServiceRedemptionId(v string)

SetGiftCardServiceRedemptionId gets a reference to the given string and assigns it to the GiftCardServiceRedemptionId field.

func (*GiftCardRedemption) SetId ¶ added in v0.31.0

func (o *GiftCardRedemption) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*GiftCardRedemption) SetIdNil ¶ added in v0.31.0

func (o *GiftCardRedemption) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*GiftCardRedemption) SetRawErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) SetRawErrorCode(v string)

SetRawErrorCode gets a reference to the given NullableString and assigns it to the RawErrorCode field.

func (*GiftCardRedemption) SetRawErrorCodeNil ¶ added in v0.31.0

func (o *GiftCardRedemption) SetRawErrorCodeNil()

SetRawErrorCodeNil sets the value for RawErrorCode to be an explicit nil

func (*GiftCardRedemption) SetRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardRedemption) SetRawErrorMessage(v string)

SetRawErrorMessage gets a reference to the given NullableString and assigns it to the RawErrorMessage field.

func (*GiftCardRedemption) SetRawErrorMessageNil ¶ added in v0.31.0

func (o *GiftCardRedemption) SetRawErrorMessageNil()

SetRawErrorMessageNil sets the value for RawErrorMessage to be an explicit nil

func (*GiftCardRedemption) SetRefundedAmount ¶ added in v0.31.0

func (o *GiftCardRedemption) SetRefundedAmount(v int32)

SetRefundedAmount gets a reference to the given int32 and assigns it to the RefundedAmount field.

func (*GiftCardRedemption) SetStatus ¶ added in v0.31.0

func (o *GiftCardRedemption) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GiftCardRedemption) SetType ¶ added in v0.31.0

func (o *GiftCardRedemption) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GiftCardRedemption) UnsetErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) UnsetErrorCode()

UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil

func (*GiftCardRedemption) UnsetId ¶ added in v0.31.0

func (o *GiftCardRedemption) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*GiftCardRedemption) UnsetRawErrorCode ¶ added in v0.31.0

func (o *GiftCardRedemption) UnsetRawErrorCode()

UnsetRawErrorCode ensures that no value is present for RawErrorCode, not even an explicit nil

func (*GiftCardRedemption) UnsetRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardRedemption) UnsetRawErrorMessage()

UnsetRawErrorMessage ensures that no value is present for RawErrorMessage, not even an explicit nil

type GiftCardRedemptionFailed ¶ added in v0.31.0

type GiftCardRedemptionFailed struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `gift-card-redemption-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                       `json:"created_at,omitempty"`
	Context   *GiftCardRedemptionFailedContext `json:"context,omitempty"`
}

GiftCardRedemptionFailed This event logs the request and response details of HTTP calls made to redeem gift cards, in case the call failed.

func NewGiftCardRedemptionFailed ¶ added in v0.31.0

func NewGiftCardRedemptionFailed() *GiftCardRedemptionFailed

NewGiftCardRedemptionFailed instantiates a new GiftCardRedemptionFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRedemptionFailedWithDefaults ¶ added in v0.31.0

func NewGiftCardRedemptionFailedWithDefaults() *GiftCardRedemptionFailed

NewGiftCardRedemptionFailedWithDefaults instantiates a new GiftCardRedemptionFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRedemptionFailed) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*GiftCardRedemptionFailed) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailed) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCardRedemptionFailed) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailed) GetId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardRedemptionFailed) GetIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailed) GetName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GiftCardRedemptionFailed) GetNameOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailed) GetType ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardRedemptionFailed) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailed) HasContext ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*GiftCardRedemptionFailed) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCardRedemptionFailed) HasId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardRedemptionFailed) HasName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) HasName() bool

HasName returns a boolean if a field has been set.

func (*GiftCardRedemptionFailed) HasType ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardRedemptionFailed) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRedemptionFailed) MarshalJSON() ([]byte, error)

func (*GiftCardRedemptionFailed) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given GiftCardRedemptionFailedContext and assigns it to the Context field.

func (*GiftCardRedemptionFailed) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCardRedemptionFailed) SetId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardRedemptionFailed) SetName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GiftCardRedemptionFailed) SetType ¶ added in v0.31.0

func (o *GiftCardRedemptionFailed) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardRedemptionFailedContext ¶ added in v0.31.0

type GiftCardRedemptionFailedContext struct {
	// The unique ID of the Gift Card service used.
	GiftCardServiceId *string `json:"gift_card_service_id,omitempty"`
	// The name of the Gift Card service used.
	GiftCardServiceName *string `json:"gift_card_service_name,omitempty"`
	// The Gift Card service definition used.
	GiftCardServiceDefinitionId *string `json:"gift_card_service_definition_id,omitempty"`
	// The endpoint for the request, if performed.
	Url NullableString `json:"url,omitempty"`
	// The HTTP body sent to the Gift Card provider, if performed.
	Request NullableString `json:"request,omitempty"`
	// The HTTP body received from the Gift Card provider, if any.
	Response NullableString `json:"response,omitempty"`
	// The HTTP response status code from the Gift Card provider, if any.
	ResponseStatusCode NullableFloat32 `json:"response_status_code,omitempty"`
	// The reason we could not redeem the gift cards.
	Reason *string `json:"reason,omitempty"`
}

GiftCardRedemptionFailedContext Additional context for this event.

func NewGiftCardRedemptionFailedContext ¶ added in v0.31.0

func NewGiftCardRedemptionFailedContext() *GiftCardRedemptionFailedContext

NewGiftCardRedemptionFailedContext instantiates a new GiftCardRedemptionFailedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRedemptionFailedContextWithDefaults ¶ added in v0.31.0

func NewGiftCardRedemptionFailedContextWithDefaults() *GiftCardRedemptionFailedContext

NewGiftCardRedemptionFailedContextWithDefaults instantiates a new GiftCardRedemptionFailedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value if set, zero value otherwise.

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceId() string

GetGiftCardServiceId returns the GiftCardServiceId field value if set, zero value otherwise.

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceIdOk() (*string, bool)

GetGiftCardServiceIdOk returns a tuple with the GiftCardServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceName() string

GetGiftCardServiceName returns the GiftCardServiceName field value if set, zero value otherwise.

func (*GiftCardRedemptionFailedContext) GetGiftCardServiceNameOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetGiftCardServiceNameOk() (*string, bool)

GetGiftCardServiceNameOk returns a tuple with the GiftCardServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailedContext) GetReason ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*GiftCardRedemptionFailedContext) GetReasonOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionFailedContext) GetRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemptionFailedContext) GetRequestOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemptionFailedContext) GetResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemptionFailedContext) GetResponseOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemptionFailedContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemptionFailedContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemptionFailedContext) GetUrl ¶ added in v0.31.0

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemptionFailedContext) GetUrlOk ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemptionFailedContext) HasGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasGiftCardServiceDefinitionId() bool

HasGiftCardServiceDefinitionId returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasGiftCardServiceId() bool

HasGiftCardServiceId returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasGiftCardServiceName() bool

HasGiftCardServiceName returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasReason ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*GiftCardRedemptionFailedContext) HasUrl ¶ added in v0.31.0

HasUrl returns a boolean if a field has been set.

func (GiftCardRedemptionFailedContext) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRedemptionFailedContext) MarshalJSON() ([]byte, error)

func (*GiftCardRedemptionFailedContext) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId gets a reference to the given string and assigns it to the GiftCardServiceDefinitionId field.

func (*GiftCardRedemptionFailedContext) SetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetGiftCardServiceId(v string)

SetGiftCardServiceId gets a reference to the given string and assigns it to the GiftCardServiceId field.

func (*GiftCardRedemptionFailedContext) SetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetGiftCardServiceName(v string)

SetGiftCardServiceName gets a reference to the given string and assigns it to the GiftCardServiceName field.

func (*GiftCardRedemptionFailedContext) SetReason ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*GiftCardRedemptionFailedContext) SetRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetRequest(v string)

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*GiftCardRedemptionFailedContext) SetRequestNil ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetRequestNil()

SetRequestNil sets the value for Request to be an explicit nil

func (*GiftCardRedemptionFailedContext) SetResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetResponse(v string)

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*GiftCardRedemptionFailedContext) SetResponseNil ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetResponseNil()

SetResponseNil sets the value for Response to be an explicit nil

func (*GiftCardRedemptionFailedContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given NullableFloat32 and assigns it to the ResponseStatusCode field.

func (*GiftCardRedemptionFailedContext) SetResponseStatusCodeNil ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*GiftCardRedemptionFailedContext) SetUrl ¶ added in v0.31.0

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*GiftCardRedemptionFailedContext) SetUrlNil ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*GiftCardRedemptionFailedContext) UnsetRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) UnsetRequest()

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*GiftCardRedemptionFailedContext) UnsetResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) UnsetResponse()

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*GiftCardRedemptionFailedContext) UnsetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

func (*GiftCardRedemptionFailedContext) UnsetUrl ¶ added in v0.31.0

func (o *GiftCardRedemptionFailedContext) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type GiftCardRedemptionSucceeded ¶ added in v0.31.0

type GiftCardRedemptionSucceeded struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `gift-card-redemption-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                          `json:"created_at,omitempty"`
	Context   *GiftCardRedemptionSucceededContext `json:"context,omitempty"`
}

GiftCardRedemptionSucceeded This event logs the request and response details of HTTP calls made to redeem gift cards, in case the call succeeded.

func NewGiftCardRedemptionSucceeded ¶ added in v0.31.0

func NewGiftCardRedemptionSucceeded() *GiftCardRedemptionSucceeded

NewGiftCardRedemptionSucceeded instantiates a new GiftCardRedemptionSucceeded object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRedemptionSucceededWithDefaults ¶ added in v0.31.0

func NewGiftCardRedemptionSucceededWithDefaults() *GiftCardRedemptionSucceeded

NewGiftCardRedemptionSucceededWithDefaults instantiates a new GiftCardRedemptionSucceeded object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRedemptionSucceeded) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceeded) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceeded) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceeded) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceeded) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceeded) GetIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceeded) GetName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceeded) GetNameOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceeded) GetType ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceeded) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceeded) HasContext ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceeded) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceeded) HasId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceeded) HasName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) HasName() bool

HasName returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceeded) HasType ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardRedemptionSucceeded) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRedemptionSucceeded) MarshalJSON() ([]byte, error)

func (*GiftCardRedemptionSucceeded) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given GiftCardRedemptionSucceededContext and assigns it to the Context field.

func (*GiftCardRedemptionSucceeded) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCardRedemptionSucceeded) SetId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardRedemptionSucceeded) SetName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GiftCardRedemptionSucceeded) SetType ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceeded) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardRedemptionSucceededContext ¶ added in v0.31.0

type GiftCardRedemptionSucceededContext struct {
	// The unique ID of the Gift Card service used.
	GiftCardServiceId *string `json:"gift_card_service_id,omitempty"`
	// The name of the Gift Card service used.
	GiftCardServiceName *string `json:"gift_card_service_name,omitempty"`
	// The Gift Card service definition used.
	GiftCardServiceDefinitionId *string `json:"gift_card_service_definition_id,omitempty"`
	// The endpoint for the request.
	Url NullableString `json:"url,omitempty"`
	// The HTTP body sent to the Gift Card provider.
	Request *string `json:"request,omitempty"`
	// The HTTP body received from the Gift Card provider.
	Response *string `json:"response,omitempty"`
	// The HTTP response status code from the Gift Card provider.
	ResponseStatusCode *float32 `json:"response_status_code,omitempty"`
}

GiftCardRedemptionSucceededContext Additional context for this event.

func NewGiftCardRedemptionSucceededContext ¶ added in v0.31.0

func NewGiftCardRedemptionSucceededContext() *GiftCardRedemptionSucceededContext

NewGiftCardRedemptionSucceededContext instantiates a new GiftCardRedemptionSucceededContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRedemptionSucceededContextWithDefaults ¶ added in v0.31.0

func NewGiftCardRedemptionSucceededContextWithDefaults() *GiftCardRedemptionSucceededContext

NewGiftCardRedemptionSucceededContextWithDefaults instantiates a new GiftCardRedemptionSucceededContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceId() string

GetGiftCardServiceId returns the GiftCardServiceId field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceIdOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceIdOk() (*string, bool)

GetGiftCardServiceIdOk returns a tuple with the GiftCardServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceName() string

GetGiftCardServiceName returns the GiftCardServiceName field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetGiftCardServiceNameOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetGiftCardServiceNameOk() (*string, bool)

GetGiftCardServiceNameOk returns a tuple with the GiftCardServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetRequest ¶ added in v0.31.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetRequestOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetResponseOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*GiftCardRedemptionSucceededContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRedemptionSucceededContext) GetUrl ¶ added in v0.31.0

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRedemptionSucceededContext) GetUrlOk ¶ added in v0.31.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRedemptionSucceededContext) HasGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasGiftCardServiceDefinitionId() bool

HasGiftCardServiceDefinitionId returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasGiftCardServiceId() bool

HasGiftCardServiceId returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasGiftCardServiceName() bool

HasGiftCardServiceName returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*GiftCardRedemptionSucceededContext) HasUrl ¶ added in v0.31.0

HasUrl returns a boolean if a field has been set.

func (GiftCardRedemptionSucceededContext) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRedemptionSucceededContext) MarshalJSON() ([]byte, error)

func (*GiftCardRedemptionSucceededContext) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId gets a reference to the given string and assigns it to the GiftCardServiceDefinitionId field.

func (*GiftCardRedemptionSucceededContext) SetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetGiftCardServiceId(v string)

SetGiftCardServiceId gets a reference to the given string and assigns it to the GiftCardServiceId field.

func (*GiftCardRedemptionSucceededContext) SetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetGiftCardServiceName(v string)

SetGiftCardServiceName gets a reference to the given string and assigns it to the GiftCardServiceName field.

func (*GiftCardRedemptionSucceededContext) SetRequest ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*GiftCardRedemptionSucceededContext) SetResponse ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetResponse(v string)

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*GiftCardRedemptionSucceededContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given float32 and assigns it to the ResponseStatusCode field.

func (*GiftCardRedemptionSucceededContext) SetUrl ¶ added in v0.31.0

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*GiftCardRedemptionSucceededContext) SetUrlNil ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*GiftCardRedemptionSucceededContext) UnsetUrl ¶ added in v0.31.0

func (o *GiftCardRedemptionSucceededContext) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type GiftCardRefundFailed ¶ added in v0.31.0

type GiftCardRefundFailed struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `gift-card-refund-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                   `json:"created_at,omitempty"`
	Context   *GiftCardRefundFailedContext `json:"context,omitempty"`
}

GiftCardRefundFailed This event logs the request and response details of HTTP calls made to refund gift cards, in case the call failed.

func NewGiftCardRefundFailed ¶ added in v0.31.0

func NewGiftCardRefundFailed() *GiftCardRefundFailed

NewGiftCardRefundFailed instantiates a new GiftCardRefundFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRefundFailedWithDefaults ¶ added in v0.31.0

func NewGiftCardRefundFailedWithDefaults() *GiftCardRefundFailed

NewGiftCardRefundFailedWithDefaults instantiates a new GiftCardRefundFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRefundFailed) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*GiftCardRefundFailed) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailed) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCardRefundFailed) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailed) GetId ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardRefundFailed) GetIdOk ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailed) GetName ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GiftCardRefundFailed) GetNameOk ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailed) GetType ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardRefundFailed) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardRefundFailed) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailed) HasContext ¶ added in v0.31.0

func (o *GiftCardRefundFailed) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*GiftCardRefundFailed) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundFailed) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCardRefundFailed) HasId ¶ added in v0.31.0

func (o *GiftCardRefundFailed) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardRefundFailed) HasName ¶ added in v0.31.0

func (o *GiftCardRefundFailed) HasName() bool

HasName returns a boolean if a field has been set.

func (*GiftCardRefundFailed) HasType ¶ added in v0.31.0

func (o *GiftCardRefundFailed) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardRefundFailed) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRefundFailed) MarshalJSON() ([]byte, error)

func (*GiftCardRefundFailed) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given GiftCardRefundFailedContext and assigns it to the Context field.

func (*GiftCardRefundFailed) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundFailed) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCardRefundFailed) SetId ¶ added in v0.31.0

func (o *GiftCardRefundFailed) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardRefundFailed) SetName ¶ added in v0.31.0

func (o *GiftCardRefundFailed) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GiftCardRefundFailed) SetType ¶ added in v0.31.0

func (o *GiftCardRefundFailed) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardRefundFailedContext ¶ added in v0.31.0

type GiftCardRefundFailedContext struct {
	// The unique ID of the Gift Card service used.
	GiftCardServiceId *string `json:"gift_card_service_id,omitempty"`
	// The name of the Gift Card service used.
	GiftCardServiceName *string `json:"gift_card_service_name,omitempty"`
	// The Gift Card service definition used.
	GiftCardServiceDefinitionId *string `json:"gift_card_service_definition_id,omitempty"`
	// The endpoint for the request, if performed.
	Url NullableString `json:"url,omitempty"`
	// The HTTP body sent to the Gift Card provider, if performed.
	Request NullableString `json:"request,omitempty"`
	// The HTTP body received from the Gift Card provider, if any.
	Response NullableString `json:"response,omitempty"`
	// The HTTP response status code from the Gift Card provider, if any.
	ResponseStatusCode NullableFloat32 `json:"response_status_code,omitempty"`
	// The reason we could not refund the gift cards.
	Reason *string `json:"reason,omitempty"`
}

GiftCardRefundFailedContext Additional context for this event.

func NewGiftCardRefundFailedContext ¶ added in v0.31.0

func NewGiftCardRefundFailedContext() *GiftCardRefundFailedContext

NewGiftCardRefundFailedContext instantiates a new GiftCardRefundFailedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRefundFailedContextWithDefaults ¶ added in v0.31.0

func NewGiftCardRefundFailedContextWithDefaults() *GiftCardRefundFailedContext

NewGiftCardRefundFailedContextWithDefaults instantiates a new GiftCardRefundFailedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRefundFailedContext) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value if set, zero value otherwise.

func (*GiftCardRefundFailedContext) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailedContext) GetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceId() string

GetGiftCardServiceId returns the GiftCardServiceId field value if set, zero value otherwise.

func (*GiftCardRefundFailedContext) GetGiftCardServiceIdOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceIdOk() (*string, bool)

GetGiftCardServiceIdOk returns a tuple with the GiftCardServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailedContext) GetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceName() string

GetGiftCardServiceName returns the GiftCardServiceName field value if set, zero value otherwise.

func (*GiftCardRefundFailedContext) GetGiftCardServiceNameOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetGiftCardServiceNameOk() (*string, bool)

GetGiftCardServiceNameOk returns a tuple with the GiftCardServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailedContext) GetReason ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*GiftCardRefundFailedContext) GetReasonOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundFailedContext) GetRequest ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRefundFailedContext) GetRequestOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRefundFailedContext) GetResponse ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRefundFailedContext) GetResponseOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRefundFailedContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRefundFailedContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRefundFailedContext) GetUrl ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardRefundFailedContext) GetUrlOk ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardRefundFailedContext) HasGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasGiftCardServiceDefinitionId() bool

HasGiftCardServiceDefinitionId returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasGiftCardServiceId() bool

HasGiftCardServiceId returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasGiftCardServiceName() bool

HasGiftCardServiceName returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasReason ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasRequest ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasResponse ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*GiftCardRefundFailedContext) HasUrl ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (GiftCardRefundFailedContext) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRefundFailedContext) MarshalJSON() ([]byte, error)

func (*GiftCardRefundFailedContext) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId gets a reference to the given string and assigns it to the GiftCardServiceDefinitionId field.

func (*GiftCardRefundFailedContext) SetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetGiftCardServiceId(v string)

SetGiftCardServiceId gets a reference to the given string and assigns it to the GiftCardServiceId field.

func (*GiftCardRefundFailedContext) SetGiftCardServiceName ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetGiftCardServiceName(v string)

SetGiftCardServiceName gets a reference to the given string and assigns it to the GiftCardServiceName field.

func (*GiftCardRefundFailedContext) SetReason ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*GiftCardRefundFailedContext) SetRequest ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetRequest(v string)

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*GiftCardRefundFailedContext) SetRequestNil ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetRequestNil()

SetRequestNil sets the value for Request to be an explicit nil

func (*GiftCardRefundFailedContext) SetResponse ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetResponse(v string)

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*GiftCardRefundFailedContext) SetResponseNil ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetResponseNil()

SetResponseNil sets the value for Response to be an explicit nil

func (*GiftCardRefundFailedContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given NullableFloat32 and assigns it to the ResponseStatusCode field.

func (*GiftCardRefundFailedContext) SetResponseStatusCodeNil ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*GiftCardRefundFailedContext) SetUrl ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetUrl(v string)

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*GiftCardRefundFailedContext) SetUrlNil ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*GiftCardRefundFailedContext) UnsetRequest ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) UnsetRequest()

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*GiftCardRefundFailedContext) UnsetResponse ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) UnsetResponse()

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*GiftCardRefundFailedContext) UnsetResponseStatusCode ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

func (*GiftCardRefundFailedContext) UnsetUrl ¶ added in v0.31.0

func (o *GiftCardRefundFailedContext) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type GiftCardRefundSucceeded ¶ added in v0.31.0

type GiftCardRefundSucceeded struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `gift-card-refund-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                          `json:"created_at,omitempty"`
	Context   *GiftCardRedemptionSucceededContext `json:"context,omitempty"`
}

GiftCardRefundSucceeded This event logs the request and response details of HTTP calls made to refund gift cards, in case the call succeeded.

func NewGiftCardRefundSucceeded ¶ added in v0.31.0

func NewGiftCardRefundSucceeded() *GiftCardRefundSucceeded

NewGiftCardRefundSucceeded instantiates a new GiftCardRefundSucceeded object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardRefundSucceededWithDefaults ¶ added in v0.31.0

func NewGiftCardRefundSucceededWithDefaults() *GiftCardRefundSucceeded

NewGiftCardRefundSucceededWithDefaults instantiates a new GiftCardRefundSucceeded object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardRefundSucceeded) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*GiftCardRefundSucceeded) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundSucceeded) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCardRefundSucceeded) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundSucceeded) GetId ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardRefundSucceeded) GetIdOk ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundSucceeded) GetName ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GiftCardRefundSucceeded) GetNameOk ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundSucceeded) GetType ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardRefundSucceeded) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardRefundSucceeded) HasContext ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*GiftCardRefundSucceeded) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCardRefundSucceeded) HasId ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardRefundSucceeded) HasName ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) HasName() bool

HasName returns a boolean if a field has been set.

func (*GiftCardRefundSucceeded) HasType ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardRefundSucceeded) MarshalJSON ¶ added in v0.31.0

func (o GiftCardRefundSucceeded) MarshalJSON() ([]byte, error)

func (*GiftCardRefundSucceeded) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given GiftCardRedemptionSucceededContext and assigns it to the Context field.

func (*GiftCardRefundSucceeded) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCardRefundSucceeded) SetId ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardRefundSucceeded) SetName ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GiftCardRefundSucceeded) SetType ¶ added in v0.31.0

func (o *GiftCardRefundSucceeded) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardService ¶ added in v0.31.0

type GiftCardService struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card service.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The ID of the gift card service definition used to create this service.
	GiftCardServiceDefinitionId *string `json:"gift_card_service_definition_id,omitempty"`
	// The custom name set for this service.
	DisplayName *string `json:"display_name,omitempty"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
	// A list of fields, each containing a key-value pair for each field configured for this gift card service. Fields marked as `secret` are not returned.
	Fields *[]GiftCardServiceFields `json:"fields,omitempty"`
	// The date and time when this service was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this service was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

GiftCardService An configured gift card service.

func NewGiftCardService ¶ added in v0.31.0

func NewGiftCardService() *GiftCardService

NewGiftCardService instantiates a new GiftCardService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceWithDefaults() *GiftCardService

NewGiftCardServiceWithDefaults instantiates a new GiftCardService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardService) GetActive ¶ added in v0.31.0

func (o *GiftCardService) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*GiftCardService) GetActiveOk ¶ added in v0.31.0

func (o *GiftCardService) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetCreatedAt ¶ added in v0.31.0

func (o *GiftCardService) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GiftCardService) GetCreatedAtOk ¶ added in v0.31.0

func (o *GiftCardService) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardService) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GiftCardService) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardService) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetFields ¶ added in v0.31.0

func (o *GiftCardService) GetFields() []GiftCardServiceFields

GetFields returns the Fields field value if set, zero value otherwise.

func (*GiftCardService) GetFieldsOk ¶ added in v0.31.0

func (o *GiftCardService) GetFieldsOk() (*[]GiftCardServiceFields, bool)

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardService) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value if set, zero value otherwise.

func (*GiftCardService) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardService) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetId ¶ added in v0.31.0

func (o *GiftCardService) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardService) GetIdOk ¶ added in v0.31.0

func (o *GiftCardService) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardService) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*GiftCardService) GetMerchantAccountIdOk ¶ added in v0.31.0

func (o *GiftCardService) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetType ¶ added in v0.31.0

func (o *GiftCardService) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardService) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardService) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) GetUpdatedAt ¶ added in v0.31.0

func (o *GiftCardService) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*GiftCardService) GetUpdatedAtOk ¶ added in v0.31.0

func (o *GiftCardService) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardService) HasActive ¶ added in v0.31.0

func (o *GiftCardService) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*GiftCardService) HasCreatedAt ¶ added in v0.31.0

func (o *GiftCardService) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GiftCardService) HasDisplayName ¶ added in v0.31.0

func (o *GiftCardService) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GiftCardService) HasFields ¶ added in v0.31.0

func (o *GiftCardService) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*GiftCardService) HasGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardService) HasGiftCardServiceDefinitionId() bool

HasGiftCardServiceDefinitionId returns a boolean if a field has been set.

func (*GiftCardService) HasId ¶ added in v0.31.0

func (o *GiftCardService) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardService) HasMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardService) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*GiftCardService) HasType ¶ added in v0.31.0

func (o *GiftCardService) HasType() bool

HasType returns a boolean if a field has been set.

func (*GiftCardService) HasUpdatedAt ¶ added in v0.31.0

func (o *GiftCardService) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (GiftCardService) MarshalJSON ¶ added in v0.31.0

func (o GiftCardService) MarshalJSON() ([]byte, error)

func (*GiftCardService) SetActive ¶ added in v0.31.0

func (o *GiftCardService) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*GiftCardService) SetCreatedAt ¶ added in v0.31.0

func (o *GiftCardService) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GiftCardService) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardService) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GiftCardService) SetFields ¶ added in v0.31.0

func (o *GiftCardService) SetFields(v []GiftCardServiceFields)

SetFields gets a reference to the given []GiftCardServiceFields and assigns it to the Fields field.

func (*GiftCardService) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardService) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId gets a reference to the given string and assigns it to the GiftCardServiceDefinitionId field.

func (*GiftCardService) SetId ¶ added in v0.31.0

func (o *GiftCardService) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardService) SetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardService) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*GiftCardService) SetType ¶ added in v0.31.0

func (o *GiftCardService) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GiftCardService) SetUpdatedAt ¶ added in v0.31.0

func (o *GiftCardService) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type GiftCardServiceCreateRequest ¶ added in v0.31.0

type GiftCardServiceCreateRequest struct {
	// The ID of the gift card service to use.
	GiftCardServiceDefinitionId string `json:"gift_card_service_definition_id"`
	// A custom name for the service. This will be shown in the Admin UI.
	DisplayName string `json:"display_name"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this gift card service.
	Fields []GiftCardServiceCreateRequestFields `json:"fields"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
}

GiftCardServiceCreateRequest Request body for activating a gift card service.

func NewGiftCardServiceCreateRequest ¶ added in v0.31.0

func NewGiftCardServiceCreateRequest(giftCardServiceDefinitionId string, displayName string, fields []GiftCardServiceCreateRequestFields) *GiftCardServiceCreateRequest

NewGiftCardServiceCreateRequest instantiates a new GiftCardServiceCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceCreateRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceCreateRequestWithDefaults() *GiftCardServiceCreateRequest

NewGiftCardServiceCreateRequestWithDefaults instantiates a new GiftCardServiceCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceCreateRequest) GetActive ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*GiftCardServiceCreateRequest) GetActiveOk ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceCreateRequest) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*GiftCardServiceCreateRequest) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*GiftCardServiceCreateRequest) GetFields ¶ added in v0.31.0

GetFields returns the Fields field value

func (*GiftCardServiceCreateRequest) GetFieldsOk ¶ added in v0.31.0

GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.

func (*GiftCardServiceCreateRequest) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value

func (*GiftCardServiceCreateRequest) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value and a boolean to check if the value has been set.

func (*GiftCardServiceCreateRequest) HasActive ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (GiftCardServiceCreateRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceCreateRequest) MarshalJSON() ([]byte, error)

func (*GiftCardServiceCreateRequest) SetActive ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*GiftCardServiceCreateRequest) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) SetDisplayName(v string)

SetDisplayName sets field value

func (*GiftCardServiceCreateRequest) SetFields ¶ added in v0.31.0

SetFields sets field value

func (*GiftCardServiceCreateRequest) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequest) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId sets field value

type GiftCardServiceCreateRequestFields ¶ added in v0.31.0

type GiftCardServiceCreateRequestFields struct {
	// The key of the field to set a value for.
	Key string `json:"key"`
	// The value of a field to set.
	Value string `json:"value"`
}

GiftCardServiceCreateRequestFields A key-value pair that represents a field defined in the definition for this gift card service.

func NewGiftCardServiceCreateRequestFields ¶ added in v0.31.0

func NewGiftCardServiceCreateRequestFields(key string, value string) *GiftCardServiceCreateRequestFields

NewGiftCardServiceCreateRequestFields instantiates a new GiftCardServiceCreateRequestFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceCreateRequestFieldsWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceCreateRequestFieldsWithDefaults() *GiftCardServiceCreateRequestFields

NewGiftCardServiceCreateRequestFieldsWithDefaults instantiates a new GiftCardServiceCreateRequestFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceCreateRequestFields) GetKey ¶ added in v0.31.0

GetKey returns the Key field value

func (*GiftCardServiceCreateRequestFields) GetKeyOk ¶ added in v0.31.0

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*GiftCardServiceCreateRequestFields) GetValue ¶ added in v0.31.0

GetValue returns the Value field value

func (*GiftCardServiceCreateRequestFields) GetValueOk ¶ added in v0.31.0

func (o *GiftCardServiceCreateRequestFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (GiftCardServiceCreateRequestFields) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceCreateRequestFields) MarshalJSON() ([]byte, error)

func (*GiftCardServiceCreateRequestFields) SetKey ¶ added in v0.31.0

SetKey sets field value

func (*GiftCardServiceCreateRequestFields) SetValue ¶ added in v0.31.0

SetValue sets field value

type GiftCardServiceDefinition ¶ added in v0.31.0

type GiftCardServiceDefinition struct {
	// The ID of the gift card service definition.
	Id *string `json:"id,omitempty"`
	// `gift-card-service-definition`.
	Type *string `json:"type,omitempty"`
	// The display name of this service.
	DisplayName *string `json:"display_name,omitempty"`
	// A list of fields that need to be submitted when activating the payment. service.
	Fields *[]GiftCardServiceDefinitionFields `json:"fields,omitempty"`
	// An icon to display for the payment service.
	IconUrl *string `json:"icon_url,omitempty"`
}

GiftCardServiceDefinition An available gift card service that can be configured.

func NewGiftCardServiceDefinition ¶ added in v0.31.0

func NewGiftCardServiceDefinition() *GiftCardServiceDefinition

NewGiftCardServiceDefinition instantiates a new GiftCardServiceDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceDefinitionWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceDefinitionWithDefaults() *GiftCardServiceDefinition

NewGiftCardServiceDefinitionWithDefaults instantiates a new GiftCardServiceDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceDefinition) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GiftCardServiceDefinition) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinition) GetFields ¶ added in v0.31.0

GetFields returns the Fields field value if set, zero value otherwise.

func (*GiftCardServiceDefinition) GetFieldsOk ¶ added in v0.31.0

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinition) GetIconUrl ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*GiftCardServiceDefinition) GetIconUrlOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinition) GetId ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardServiceDefinition) GetIdOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinition) GetType ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardServiceDefinition) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinition) HasDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GiftCardServiceDefinition) HasFields ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*GiftCardServiceDefinition) HasIconUrl ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*GiftCardServiceDefinition) HasId ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardServiceDefinition) HasType ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardServiceDefinition) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceDefinition) MarshalJSON() ([]byte, error)

func (*GiftCardServiceDefinition) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GiftCardServiceDefinition) SetFields ¶ added in v0.31.0

SetFields gets a reference to the given []GiftCardServiceDefinitionFields and assigns it to the Fields field.

func (*GiftCardServiceDefinition) SetIconUrl ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*GiftCardServiceDefinition) SetId ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardServiceDefinition) SetType ¶ added in v0.31.0

func (o *GiftCardServiceDefinition) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardServiceDefinitionFields ¶ added in v0.31.0

type GiftCardServiceDefinitionFields struct {
	// The key of a field that needs to be submitted.
	Key *string `json:"key,omitempty"`
	// The name to display for a field in the dashboard.
	DisplayName *string `json:"display_name,omitempty"`
	// Defines if this field is required when the service is created.
	Required *bool `json:"required,omitempty"`
	// Defines the type of input that needs to be rendered for this field.
	Format *string `json:"format,omitempty"`
	// Defines if this field is secret. When `true` the field is not returned when querying the payment service.
	Secret *bool `json:"secret,omitempty"`
}

GiftCardServiceDefinitionFields A single field that needs to be submitted for a payment service when it is created.

func NewGiftCardServiceDefinitionFields ¶ added in v0.31.0

func NewGiftCardServiceDefinitionFields() *GiftCardServiceDefinitionFields

NewGiftCardServiceDefinitionFields instantiates a new GiftCardServiceDefinitionFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceDefinitionFieldsWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceDefinitionFieldsWithDefaults() *GiftCardServiceDefinitionFields

NewGiftCardServiceDefinitionFieldsWithDefaults instantiates a new GiftCardServiceDefinitionFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceDefinitionFields) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GiftCardServiceDefinitionFields) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinitionFields) GetFormat ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetFormat() string

GetFormat returns the Format field value if set, zero value otherwise.

func (*GiftCardServiceDefinitionFields) GetFormatOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetFormatOk() (*string, bool)

GetFormatOk returns a tuple with the Format field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinitionFields) GetKey ¶ added in v0.31.0

GetKey returns the Key field value if set, zero value otherwise.

func (*GiftCardServiceDefinitionFields) GetKeyOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinitionFields) GetRequired ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*GiftCardServiceDefinitionFields) GetRequiredOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinitionFields) GetSecret ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetSecret() bool

GetSecret returns the Secret field value if set, zero value otherwise.

func (*GiftCardServiceDefinitionFields) GetSecretOk ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) GetSecretOk() (*bool, bool)

GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceDefinitionFields) HasDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GiftCardServiceDefinitionFields) HasFormat ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) HasFormat() bool

HasFormat returns a boolean if a field has been set.

func (*GiftCardServiceDefinitionFields) HasKey ¶ added in v0.31.0

HasKey returns a boolean if a field has been set.

func (*GiftCardServiceDefinitionFields) HasRequired ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*GiftCardServiceDefinitionFields) HasSecret ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (GiftCardServiceDefinitionFields) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceDefinitionFields) MarshalJSON() ([]byte, error)

func (*GiftCardServiceDefinitionFields) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GiftCardServiceDefinitionFields) SetFormat ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) SetFormat(v string)

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*GiftCardServiceDefinitionFields) SetKey ¶ added in v0.31.0

SetKey gets a reference to the given string and assigns it to the Key field.

func (*GiftCardServiceDefinitionFields) SetRequired ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*GiftCardServiceDefinitionFields) SetSecret ¶ added in v0.31.0

func (o *GiftCardServiceDefinitionFields) SetSecret(v bool)

SetSecret gets a reference to the given bool and assigns it to the Secret field.

type GiftCardServiceDefinitionsApiService ¶ added in v0.31.0

type GiftCardServiceDefinitionsApiService service

GiftCardServiceDefinitionsApiService GiftCardServiceDefinitionsApi service

func (*GiftCardServiceDefinitionsApiService) GetGiftCardServiceDefinition ¶ added in v0.31.0

func (a *GiftCardServiceDefinitionsApiService) GetGiftCardServiceDefinition(ctx _context.Context, giftCardServiceDefinitionId string) ApiGetGiftCardServiceDefinitionRequest

* GetGiftCardServiceDefinition Get gift card service definition * Gets the definition for a gift card service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardServiceDefinitionId The unique ID of the gift card service definition. * @return ApiGetGiftCardServiceDefinitionRequest

func (*GiftCardServiceDefinitionsApiService) GetGiftCardServiceDefinitionExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardServiceDefinition

type GiftCardServiceFields ¶ added in v0.31.0

type GiftCardServiceFields struct {
	// The key of the field.
	Key *string `json:"key,omitempty"`
	// The value of the field.
	Value *string `json:"value,omitempty"`
}

GiftCardServiceFields struct for GiftCardServiceFields

func NewGiftCardServiceFields ¶ added in v0.31.0

func NewGiftCardServiceFields() *GiftCardServiceFields

NewGiftCardServiceFields instantiates a new GiftCardServiceFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceFieldsWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceFieldsWithDefaults() *GiftCardServiceFields

NewGiftCardServiceFieldsWithDefaults instantiates a new GiftCardServiceFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceFields) GetKey ¶ added in v0.31.0

func (o *GiftCardServiceFields) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*GiftCardServiceFields) GetKeyOk ¶ added in v0.31.0

func (o *GiftCardServiceFields) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceFields) GetValue ¶ added in v0.31.0

func (o *GiftCardServiceFields) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*GiftCardServiceFields) GetValueOk ¶ added in v0.31.0

func (o *GiftCardServiceFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceFields) HasKey ¶ added in v0.31.0

func (o *GiftCardServiceFields) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*GiftCardServiceFields) HasValue ¶ added in v0.31.0

func (o *GiftCardServiceFields) HasValue() bool

HasValue returns a boolean if a field has been set.

func (GiftCardServiceFields) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceFields) MarshalJSON() ([]byte, error)

func (*GiftCardServiceFields) SetKey ¶ added in v0.31.0

func (o *GiftCardServiceFields) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*GiftCardServiceFields) SetValue ¶ added in v0.31.0

func (o *GiftCardServiceFields) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

type GiftCardServiceSnapshot ¶ added in v0.31.0

type GiftCardServiceSnapshot struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card service.
	Id *string `json:"id,omitempty"`
	// The ID of the gift card service definition used to create this service.
	GiftCardServiceDefinitionId *string `json:"gift_card_service_definition_id,omitempty"`
	// The custom name set for this service.
	DisplayName *string `json:"display_name,omitempty"`
}

GiftCardServiceSnapshot A snapshot of a gift card service used in a transaction.

func NewGiftCardServiceSnapshot ¶ added in v0.31.0

func NewGiftCardServiceSnapshot() *GiftCardServiceSnapshot

NewGiftCardServiceSnapshot instantiates a new GiftCardServiceSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceSnapshotWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceSnapshotWithDefaults() *GiftCardServiceSnapshot

NewGiftCardServiceSnapshotWithDefaults instantiates a new GiftCardServiceSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceSnapshot) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GiftCardServiceSnapshot) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceSnapshot) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value if set, zero value otherwise.

func (*GiftCardServiceSnapshot) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceSnapshot) GetId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GiftCardServiceSnapshot) GetIdOk ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceSnapshot) GetType ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardServiceSnapshot) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceSnapshot) HasDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GiftCardServiceSnapshot) HasGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) HasGiftCardServiceDefinitionId() bool

HasGiftCardServiceDefinitionId returns a boolean if a field has been set.

func (*GiftCardServiceSnapshot) HasId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardServiceSnapshot) HasType ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardServiceSnapshot) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceSnapshot) MarshalJSON() ([]byte, error)

func (*GiftCardServiceSnapshot) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GiftCardServiceSnapshot) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId gets a reference to the given string and assigns it to the GiftCardServiceDefinitionId field.

func (*GiftCardServiceSnapshot) SetId ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GiftCardServiceSnapshot) SetType ¶ added in v0.31.0

func (o *GiftCardServiceSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GiftCardServiceUpdateRequest ¶ added in v0.31.0

type GiftCardServiceUpdateRequest struct {
	// A custom name for the gift card service. This will be shown in the Admin UI.
	DisplayName *string `json:"display_name,omitempty"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this gift card service.
	Fields *[]GiftCardServiceUpdateRequestFields `json:"fields,omitempty"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
}

GiftCardServiceUpdateRequest Request body for updating a gift card service.

func NewGiftCardServiceUpdateRequest ¶ added in v0.31.0

func NewGiftCardServiceUpdateRequest() *GiftCardServiceUpdateRequest

NewGiftCardServiceUpdateRequest instantiates a new GiftCardServiceUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceUpdateRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceUpdateRequestWithDefaults() *GiftCardServiceUpdateRequest

NewGiftCardServiceUpdateRequestWithDefaults instantiates a new GiftCardServiceUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceUpdateRequest) GetActive ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*GiftCardServiceUpdateRequest) GetActiveOk ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceUpdateRequest) GetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GiftCardServiceUpdateRequest) GetDisplayNameOk ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceUpdateRequest) GetFields ¶ added in v0.31.0

GetFields returns the Fields field value if set, zero value otherwise.

func (*GiftCardServiceUpdateRequest) GetFieldsOk ¶ added in v0.31.0

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceUpdateRequest) HasActive ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*GiftCardServiceUpdateRequest) HasDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GiftCardServiceUpdateRequest) HasFields ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) HasFields() bool

HasFields returns a boolean if a field has been set.

func (GiftCardServiceUpdateRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceUpdateRequest) MarshalJSON() ([]byte, error)

func (*GiftCardServiceUpdateRequest) SetActive ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*GiftCardServiceUpdateRequest) SetDisplayName ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequest) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GiftCardServiceUpdateRequest) SetFields ¶ added in v0.31.0

SetFields gets a reference to the given []GiftCardServiceUpdateRequestFields and assigns it to the Fields field.

type GiftCardServiceUpdateRequestFields ¶ added in v0.31.0

type GiftCardServiceUpdateRequestFields struct {
	// The key of the field to set a value for.
	Key string `json:"key"`
	// The value of a field to set; you can unset optional fields by setting this to an empty string `\"\"`.
	Value string `json:"value"`
}

GiftCardServiceUpdateRequestFields A key-value pair that represents a field defined in the definition for this gift card service.

func NewGiftCardServiceUpdateRequestFields ¶ added in v0.31.0

func NewGiftCardServiceUpdateRequestFields(key string, value string) *GiftCardServiceUpdateRequestFields

NewGiftCardServiceUpdateRequestFields instantiates a new GiftCardServiceUpdateRequestFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceUpdateRequestFieldsWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceUpdateRequestFieldsWithDefaults() *GiftCardServiceUpdateRequestFields

NewGiftCardServiceUpdateRequestFieldsWithDefaults instantiates a new GiftCardServiceUpdateRequestFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceUpdateRequestFields) GetKey ¶ added in v0.31.0

GetKey returns the Key field value

func (*GiftCardServiceUpdateRequestFields) GetKeyOk ¶ added in v0.31.0

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*GiftCardServiceUpdateRequestFields) GetValue ¶ added in v0.31.0

GetValue returns the Value field value

func (*GiftCardServiceUpdateRequestFields) GetValueOk ¶ added in v0.31.0

func (o *GiftCardServiceUpdateRequestFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (GiftCardServiceUpdateRequestFields) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceUpdateRequestFields) MarshalJSON() ([]byte, error)

func (*GiftCardServiceUpdateRequestFields) SetKey ¶ added in v0.31.0

SetKey sets field value

func (*GiftCardServiceUpdateRequestFields) SetValue ¶ added in v0.31.0

SetValue sets field value

type GiftCardServiceVerifyRequest ¶ added in v0.31.0

type GiftCardServiceVerifyRequest struct {
	// The ID of the gift card service to use.
	GiftCardServiceDefinitionId string `json:"gift_card_service_definition_id"`
	// The ID of the gift card service. Required if sending a partial set of credentials in the `fields` property. This will merge the provided fields with those already on the service.
	GiftCardServiceId *string `json:"gift_card_service_id,omitempty"`
	// A list of fields where each field is a key-value pair that represents a defined field in the definition of the service. You are not required to send the full list of fields if the credentials for the service are already stored. For example, if your credentials for `qwikcilver-gift-card` are stored and you only provide a `secret_key` in the request, it will override the stored `secret_key` and verify the resulting set of credentials against the service.
	Fields []GiftCardServiceVerifyRequestFields `json:"fields"`
}

GiftCardServiceVerifyRequest Request body for verifying credentials against a gift card service.

func NewGiftCardServiceVerifyRequest ¶ added in v0.31.0

func NewGiftCardServiceVerifyRequest(giftCardServiceDefinitionId string, fields []GiftCardServiceVerifyRequestFields) *GiftCardServiceVerifyRequest

NewGiftCardServiceVerifyRequest instantiates a new GiftCardServiceVerifyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceVerifyRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceVerifyRequestWithDefaults() *GiftCardServiceVerifyRequest

NewGiftCardServiceVerifyRequestWithDefaults instantiates a new GiftCardServiceVerifyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceVerifyRequest) GetFields ¶ added in v0.31.0

GetFields returns the Fields field value

func (*GiftCardServiceVerifyRequest) GetFieldsOk ¶ added in v0.31.0

GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.

func (*GiftCardServiceVerifyRequest) GetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) GetGiftCardServiceDefinitionId() string

GetGiftCardServiceDefinitionId returns the GiftCardServiceDefinitionId field value

func (*GiftCardServiceVerifyRequest) GetGiftCardServiceDefinitionIdOk ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) GetGiftCardServiceDefinitionIdOk() (*string, bool)

GetGiftCardServiceDefinitionIdOk returns a tuple with the GiftCardServiceDefinitionId field value and a boolean to check if the value has been set.

func (*GiftCardServiceVerifyRequest) GetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) GetGiftCardServiceId() string

GetGiftCardServiceId returns the GiftCardServiceId field value if set, zero value otherwise.

func (*GiftCardServiceVerifyRequest) GetGiftCardServiceIdOk ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) GetGiftCardServiceIdOk() (*string, bool)

GetGiftCardServiceIdOk returns a tuple with the GiftCardServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardServiceVerifyRequest) HasGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) HasGiftCardServiceId() bool

HasGiftCardServiceId returns a boolean if a field has been set.

func (GiftCardServiceVerifyRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceVerifyRequest) MarshalJSON() ([]byte, error)

func (*GiftCardServiceVerifyRequest) SetFields ¶ added in v0.31.0

SetFields sets field value

func (*GiftCardServiceVerifyRequest) SetGiftCardServiceDefinitionId ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) SetGiftCardServiceDefinitionId(v string)

SetGiftCardServiceDefinitionId sets field value

func (*GiftCardServiceVerifyRequest) SetGiftCardServiceId ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequest) SetGiftCardServiceId(v string)

SetGiftCardServiceId gets a reference to the given string and assigns it to the GiftCardServiceId field.

type GiftCardServiceVerifyRequestFields ¶ added in v0.31.0

type GiftCardServiceVerifyRequestFields struct {
	// The key of the field to set a value for.
	Key string `json:"key"`
	// The value of a field to set.
	Value string `json:"value"`
}

GiftCardServiceVerifyRequestFields A key-value pair that represents a field defined in the definition for this service.

func NewGiftCardServiceVerifyRequestFields ¶ added in v0.31.0

func NewGiftCardServiceVerifyRequestFields(key string, value string) *GiftCardServiceVerifyRequestFields

NewGiftCardServiceVerifyRequestFields instantiates a new GiftCardServiceVerifyRequestFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardServiceVerifyRequestFieldsWithDefaults ¶ added in v0.31.0

func NewGiftCardServiceVerifyRequestFieldsWithDefaults() *GiftCardServiceVerifyRequestFields

NewGiftCardServiceVerifyRequestFieldsWithDefaults instantiates a new GiftCardServiceVerifyRequestFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardServiceVerifyRequestFields) GetKey ¶ added in v0.31.0

GetKey returns the Key field value

func (*GiftCardServiceVerifyRequestFields) GetKeyOk ¶ added in v0.31.0

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*GiftCardServiceVerifyRequestFields) GetValue ¶ added in v0.31.0

GetValue returns the Value field value

func (*GiftCardServiceVerifyRequestFields) GetValueOk ¶ added in v0.31.0

func (o *GiftCardServiceVerifyRequestFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (GiftCardServiceVerifyRequestFields) MarshalJSON ¶ added in v0.31.0

func (o GiftCardServiceVerifyRequestFields) MarshalJSON() ([]byte, error)

func (*GiftCardServiceVerifyRequestFields) SetKey ¶ added in v0.31.0

SetKey sets field value

func (*GiftCardServiceVerifyRequestFields) SetValue ¶ added in v0.31.0

SetValue sets field value

type GiftCardServicesApiService ¶ added in v0.31.0

type GiftCardServicesApiService service

GiftCardServicesApiService GiftCardServicesApi service

func (*GiftCardServicesApiService) DeleteGiftCardService ¶ added in v0.31.0

func (a *GiftCardServicesApiService) DeleteGiftCardService(ctx _context.Context, giftCardServiceId string) ApiDeleteGiftCardServiceRequest

* DeleteGiftCardService Delete gift card service * Deletes a specific gift card service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardServiceId The unique ID of the gift card service. * @return ApiDeleteGiftCardServiceRequest

func (*GiftCardServicesApiService) DeleteGiftCardServiceExecute ¶ added in v0.31.0

func (a *GiftCardServicesApiService) DeleteGiftCardServiceExecute(r ApiDeleteGiftCardServiceRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*GiftCardServicesApiService) GetGiftCardService ¶ added in v0.31.0

func (a *GiftCardServicesApiService) GetGiftCardService(ctx _context.Context, giftCardServiceId string) ApiGetGiftCardServiceRequest

* GetGiftCardService Get gift card service * Retrieves the details of a single configured gift card service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardServiceId The unique ID of the gift card service. * @return ApiGetGiftCardServiceRequest

func (*GiftCardServicesApiService) GetGiftCardServiceExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardService

func (*GiftCardServicesApiService) NewGiftCardService ¶ added in v0.31.0

* NewGiftCardService New gift card service * Adds a new gift card service by providing a custom name and a value for each of the required fields. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewGiftCardServiceRequest

func (*GiftCardServicesApiService) NewGiftCardServiceExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardService

func (*GiftCardServicesApiService) UpdateGiftCardService ¶ added in v0.31.0

func (a *GiftCardServicesApiService) UpdateGiftCardService(ctx _context.Context, giftCardServiceId string) ApiUpdateGiftCardServiceRequest

* UpdateGiftCardService Update gift card service * Updates an existing gift card service. Allows all fields to be changed except for the service ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardServiceId The unique ID of the gift card service. * @return ApiUpdateGiftCardServiceRequest

func (*GiftCardServicesApiService) UpdateGiftCardServiceExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardService

func (*GiftCardServicesApiService) VerifyGiftCardService ¶ added in v0.31.0

* VerifyGiftCardService Verify gift card service credentials * Verifies a set of credentials against a gift card service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiVerifyGiftCardServiceRequest

func (*GiftCardServicesApiService) VerifyGiftCardServiceExecute ¶ added in v0.31.0

func (a *GiftCardServicesApiService) VerifyGiftCardServiceExecute(r ApiVerifyGiftCardServiceRequest) (*_nethttp.Response, error)

* Execute executes the request

type GiftCardSnapshot ¶ added in v0.31.0

type GiftCardSnapshot struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card. This may be `null` if the gift card is not stored.
	Id NullableString `json:"id,omitempty"`
	// The first 6 digits of the full gift card number.
	Bin *string `json:"bin,omitempty"`
	// The 3 digits after the `bin` of the full gift card number.
	SubBin *string `json:"sub_bin,omitempty"`
	// The last 4 digits for the gift card.
	Last4 *string `json:"last4,omitempty"`
}

GiftCardSnapshot A snapshot of a gift card used in a transaction.

func NewGiftCardSnapshot ¶ added in v0.31.0

func NewGiftCardSnapshot() *GiftCardSnapshot

NewGiftCardSnapshot instantiates a new GiftCardSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardSnapshotWithDefaults ¶ added in v0.31.0

func NewGiftCardSnapshotWithDefaults() *GiftCardSnapshot

NewGiftCardSnapshotWithDefaults instantiates a new GiftCardSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardSnapshot) GetBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise.

func (*GiftCardSnapshot) GetBinOk ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetBinOk() (*string, bool)

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSnapshot) GetId ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSnapshot) GetIdOk ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSnapshot) GetLast4 ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*GiftCardSnapshot) GetLast4Ok ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSnapshot) GetSubBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetSubBin() string

GetSubBin returns the SubBin field value if set, zero value otherwise.

func (*GiftCardSnapshot) GetSubBinOk ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetSubBinOk() (*string, bool)

GetSubBinOk returns a tuple with the SubBin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSnapshot) GetType ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardSnapshot) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardSnapshot) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSnapshot) HasBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*GiftCardSnapshot) HasId ¶ added in v0.31.0

func (o *GiftCardSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardSnapshot) HasLast4 ¶ added in v0.31.0

func (o *GiftCardSnapshot) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*GiftCardSnapshot) HasSubBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) HasSubBin() bool

HasSubBin returns a boolean if a field has been set.

func (*GiftCardSnapshot) HasType ¶ added in v0.31.0

func (o *GiftCardSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardSnapshot) MarshalJSON ¶ added in v0.31.0

func (o GiftCardSnapshot) MarshalJSON() ([]byte, error)

func (*GiftCardSnapshot) SetBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetBin(v string)

SetBin gets a reference to the given string and assigns it to the Bin field.

func (*GiftCardSnapshot) SetId ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*GiftCardSnapshot) SetIdNil ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*GiftCardSnapshot) SetLast4 ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*GiftCardSnapshot) SetSubBin ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetSubBin(v string)

SetSubBin gets a reference to the given string and assigns it to the SubBin field.

func (*GiftCardSnapshot) SetType ¶ added in v0.31.0

func (o *GiftCardSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GiftCardSnapshot) UnsetId ¶ added in v0.31.0

func (o *GiftCardSnapshot) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

type GiftCardStoreRequest ¶ added in v0.31.0

type GiftCardStoreRequest struct {
	// The 16-19 digit number for this gift card.
	Number string `json:"number"`
	// The PIN for this gift card.
	Pin string `json:"pin"`
	// The ID of the buyer to associate this gift card to. If this field is provided then the `buyer_external_identifier` field needs to be unset.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The `external_identifier` of the buyer to associate this gift card to. If this field is provided then the `buyer_id` field needs to be unset.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
}

GiftCardStoreRequest The gift card details to store.

func NewGiftCardStoreRequest ¶ added in v0.31.0

func NewGiftCardStoreRequest(number string, pin string) *GiftCardStoreRequest

NewGiftCardStoreRequest instantiates a new GiftCardStoreRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardStoreRequestWithDefaults ¶ added in v0.31.0

func NewGiftCardStoreRequestWithDefaults() *GiftCardStoreRequest

NewGiftCardStoreRequestWithDefaults instantiates a new GiftCardStoreRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardStoreRequest) GetBuyerExternalIdentifier ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*GiftCardStoreRequest) GetBuyerExternalIdentifierOk ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardStoreRequest) GetBuyerId ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*GiftCardStoreRequest) GetBuyerIdOk ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardStoreRequest) GetNumber ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetNumber() string

GetNumber returns the Number field value

func (*GiftCardStoreRequest) GetNumberOk ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*GiftCardStoreRequest) GetPin ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetPin() string

GetPin returns the Pin field value

func (*GiftCardStoreRequest) GetPinOk ¶ added in v0.31.0

func (o *GiftCardStoreRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value and a boolean to check if the value has been set.

func (*GiftCardStoreRequest) HasBuyerExternalIdentifier ¶ added in v0.31.0

func (o *GiftCardStoreRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*GiftCardStoreRequest) HasBuyerId ¶ added in v0.31.0

func (o *GiftCardStoreRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (GiftCardStoreRequest) MarshalJSON ¶ added in v0.31.0

func (o GiftCardStoreRequest) MarshalJSON() ([]byte, error)

func (*GiftCardStoreRequest) SetBuyerExternalIdentifier ¶ added in v0.31.0

func (o *GiftCardStoreRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*GiftCardStoreRequest) SetBuyerId ¶ added in v0.31.0

func (o *GiftCardStoreRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*GiftCardStoreRequest) SetNumber ¶ added in v0.31.0

func (o *GiftCardStoreRequest) SetNumber(v string)

SetNumber sets field value

func (*GiftCardStoreRequest) SetPin ¶ added in v0.31.0

func (o *GiftCardStoreRequest) SetPin(v string)

SetPin sets field value

type GiftCardSummary ¶ added in v0.31.0

type GiftCardSummary struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this gift card.
	Id NullableString `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The first 6 digits of the full gift card number.
	Bin *string `json:"bin,omitempty"`
	// The 3 digits after the `bin` of the full gift card number.
	SubBin *string `json:"sub_bin,omitempty"`
	// The last 4 digits for the gift card.
	Last4 *string `json:"last4,omitempty"`
	// The date and time when this gift card expires. This is a full date/time and may be more accurate than the actual expiry date received by the gift card service.
	ExpirationDate NullableTime `json:"expiration_date,omitempty"`
	// The amount remaining on the balance for this gift card according to the gift card service. This may be `null` if the balance could not be fetched.
	Balance NullableInt32 `json:"balance,omitempty"`
	// The ISO-4217 currency code that this gift card has a balance for.
	Currency NullableString `json:"currency,omitempty"`
	// If the last balance update failed, this will contain the internal code for this error.
	BalanceErrorCode NullableString `json:"balance_error_code,omitempty"`
	// If the last balance update failed, this will contain the the raw error code received from the gift card provider.
	BalanceRawErrorCode NullableString `json:"balance_raw_error_code,omitempty"`
	// If the last balance update failed, this will contain the the raw error message received from the gift card provider.
	BalanceRawErrorMessage NullableString `json:"balance_raw_error_message,omitempty"`
}

GiftCardSummary A gift card stored for a buyer.

func NewGiftCardSummary ¶ added in v0.31.0

func NewGiftCardSummary() *GiftCardSummary

NewGiftCardSummary instantiates a new GiftCardSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardSummaryWithDefaults ¶ added in v0.31.0

func NewGiftCardSummaryWithDefaults() *GiftCardSummary

NewGiftCardSummaryWithDefaults instantiates a new GiftCardSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardSummary) GetBalance ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalance() int32

GetBalance returns the Balance field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetBalanceErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceErrorCode() string

GetBalanceErrorCode returns the BalanceErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetBalanceErrorCodeOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceErrorCodeOk() (*string, bool)

GetBalanceErrorCodeOk returns a tuple with the BalanceErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetBalanceOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceOk() (*int32, bool)

GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetBalanceRawErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceRawErrorCode() string

GetBalanceRawErrorCode returns the BalanceRawErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetBalanceRawErrorCodeOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceRawErrorCodeOk() (*string, bool)

GetBalanceRawErrorCodeOk returns a tuple with the BalanceRawErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetBalanceRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceRawErrorMessage() string

GetBalanceRawErrorMessage returns the BalanceRawErrorMessage field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetBalanceRawErrorMessageOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetBalanceRawErrorMessageOk() (*string, bool)

GetBalanceRawErrorMessageOk returns a tuple with the BalanceRawErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetBin ¶ added in v0.31.0

func (o *GiftCardSummary) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise.

func (*GiftCardSummary) GetBinOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetBinOk() (*string, bool)

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSummary) GetCurrency ¶ added in v0.31.0

func (o *GiftCardSummary) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetCurrencyOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetExpirationDate ¶ added in v0.31.0

func (o *GiftCardSummary) GetExpirationDate() time.Time

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetExpirationDateOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetExpirationDateOk() (*time.Time, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetId ¶ added in v0.31.0

func (o *GiftCardSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCardSummary) GetIdOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCardSummary) GetLast4 ¶ added in v0.31.0

func (o *GiftCardSummary) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*GiftCardSummary) GetLast4Ok ¶ added in v0.31.0

func (o *GiftCardSummary) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSummary) GetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardSummary) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*GiftCardSummary) GetMerchantAccountIdOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSummary) GetSubBin ¶ added in v0.31.0

func (o *GiftCardSummary) GetSubBin() string

GetSubBin returns the SubBin field value if set, zero value otherwise.

func (*GiftCardSummary) GetSubBinOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetSubBinOk() (*string, bool)

GetSubBinOk returns a tuple with the SubBin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSummary) GetType ¶ added in v0.31.0

func (o *GiftCardSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GiftCardSummary) GetTypeOk ¶ added in v0.31.0

func (o *GiftCardSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardSummary) HasBalance ¶ added in v0.31.0

func (o *GiftCardSummary) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*GiftCardSummary) HasBalanceErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) HasBalanceErrorCode() bool

HasBalanceErrorCode returns a boolean if a field has been set.

func (*GiftCardSummary) HasBalanceRawErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) HasBalanceRawErrorCode() bool

HasBalanceRawErrorCode returns a boolean if a field has been set.

func (*GiftCardSummary) HasBalanceRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardSummary) HasBalanceRawErrorMessage() bool

HasBalanceRawErrorMessage returns a boolean if a field has been set.

func (*GiftCardSummary) HasBin ¶ added in v0.31.0

func (o *GiftCardSummary) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*GiftCardSummary) HasCurrency ¶ added in v0.31.0

func (o *GiftCardSummary) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*GiftCardSummary) HasExpirationDate ¶ added in v0.31.0

func (o *GiftCardSummary) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*GiftCardSummary) HasId ¶ added in v0.31.0

func (o *GiftCardSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*GiftCardSummary) HasLast4 ¶ added in v0.31.0

func (o *GiftCardSummary) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*GiftCardSummary) HasMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardSummary) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*GiftCardSummary) HasSubBin ¶ added in v0.31.0

func (o *GiftCardSummary) HasSubBin() bool

HasSubBin returns a boolean if a field has been set.

func (*GiftCardSummary) HasType ¶ added in v0.31.0

func (o *GiftCardSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (GiftCardSummary) MarshalJSON ¶ added in v0.31.0

func (o GiftCardSummary) MarshalJSON() ([]byte, error)

func (*GiftCardSummary) SetBalance ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalance(v int32)

SetBalance gets a reference to the given NullableInt32 and assigns it to the Balance field.

func (*GiftCardSummary) SetBalanceErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceErrorCode(v string)

SetBalanceErrorCode gets a reference to the given NullableString and assigns it to the BalanceErrorCode field.

func (*GiftCardSummary) SetBalanceErrorCodeNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceErrorCodeNil()

SetBalanceErrorCodeNil sets the value for BalanceErrorCode to be an explicit nil

func (*GiftCardSummary) SetBalanceNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceNil()

SetBalanceNil sets the value for Balance to be an explicit nil

func (*GiftCardSummary) SetBalanceRawErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceRawErrorCode(v string)

SetBalanceRawErrorCode gets a reference to the given NullableString and assigns it to the BalanceRawErrorCode field.

func (*GiftCardSummary) SetBalanceRawErrorCodeNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceRawErrorCodeNil()

SetBalanceRawErrorCodeNil sets the value for BalanceRawErrorCode to be an explicit nil

func (*GiftCardSummary) SetBalanceRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceRawErrorMessage(v string)

SetBalanceRawErrorMessage gets a reference to the given NullableString and assigns it to the BalanceRawErrorMessage field.

func (*GiftCardSummary) SetBalanceRawErrorMessageNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetBalanceRawErrorMessageNil()

SetBalanceRawErrorMessageNil sets the value for BalanceRawErrorMessage to be an explicit nil

func (*GiftCardSummary) SetBin ¶ added in v0.31.0

func (o *GiftCardSummary) SetBin(v string)

SetBin gets a reference to the given string and assigns it to the Bin field.

func (*GiftCardSummary) SetCurrency ¶ added in v0.31.0

func (o *GiftCardSummary) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*GiftCardSummary) SetCurrencyNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*GiftCardSummary) SetExpirationDate ¶ added in v0.31.0

func (o *GiftCardSummary) SetExpirationDate(v time.Time)

SetExpirationDate gets a reference to the given NullableTime and assigns it to the ExpirationDate field.

func (*GiftCardSummary) SetExpirationDateNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*GiftCardSummary) SetId ¶ added in v0.31.0

func (o *GiftCardSummary) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*GiftCardSummary) SetIdNil ¶ added in v0.31.0

func (o *GiftCardSummary) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*GiftCardSummary) SetLast4 ¶ added in v0.31.0

func (o *GiftCardSummary) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*GiftCardSummary) SetMerchantAccountId ¶ added in v0.31.0

func (o *GiftCardSummary) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*GiftCardSummary) SetSubBin ¶ added in v0.31.0

func (o *GiftCardSummary) SetSubBin(v string)

SetSubBin gets a reference to the given string and assigns it to the SubBin field.

func (*GiftCardSummary) SetType ¶ added in v0.31.0

func (o *GiftCardSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GiftCardSummary) UnsetBalance ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetBalance()

UnsetBalance ensures that no value is present for Balance, not even an explicit nil

func (*GiftCardSummary) UnsetBalanceErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetBalanceErrorCode()

UnsetBalanceErrorCode ensures that no value is present for BalanceErrorCode, not even an explicit nil

func (*GiftCardSummary) UnsetBalanceRawErrorCode ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetBalanceRawErrorCode()

UnsetBalanceRawErrorCode ensures that no value is present for BalanceRawErrorCode, not even an explicit nil

func (*GiftCardSummary) UnsetBalanceRawErrorMessage ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetBalanceRawErrorMessage()

UnsetBalanceRawErrorMessage ensures that no value is present for BalanceRawErrorMessage, not even an explicit nil

func (*GiftCardSummary) UnsetCurrency ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*GiftCardSummary) UnsetExpirationDate ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

func (*GiftCardSummary) UnsetId ¶ added in v0.31.0

func (o *GiftCardSummary) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

type GiftCards ¶ added in v0.31.0

type GiftCards struct {
	// A list of stored gift cards.
	Items *[]GiftCard `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

GiftCards A list of stored gift cards.

func NewGiftCards ¶ added in v0.31.0

func NewGiftCards() *GiftCards

NewGiftCards instantiates a new GiftCards object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardsWithDefaults ¶ added in v0.31.0

func NewGiftCardsWithDefaults() *GiftCards

NewGiftCardsWithDefaults instantiates a new GiftCards object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCards) GetItems ¶ added in v0.31.0

func (o *GiftCards) GetItems() []GiftCard

GetItems returns the Items field value if set, zero value otherwise.

func (*GiftCards) GetItemsOk ¶ added in v0.31.0

func (o *GiftCards) GetItemsOk() (*[]GiftCard, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCards) GetLimit ¶ added in v0.31.0

func (o *GiftCards) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*GiftCards) GetLimitOk ¶ added in v0.31.0

func (o *GiftCards) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCards) GetNextCursor ¶ added in v0.31.0

func (o *GiftCards) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCards) GetNextCursorOk ¶ added in v0.31.0

func (o *GiftCards) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCards) GetPreviousCursor ¶ added in v0.31.0

func (o *GiftCards) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GiftCards) GetPreviousCursorOk ¶ added in v0.31.0

func (o *GiftCards) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GiftCards) HasItems ¶ added in v0.31.0

func (o *GiftCards) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GiftCards) HasLimit ¶ added in v0.31.0

func (o *GiftCards) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GiftCards) HasNextCursor ¶ added in v0.31.0

func (o *GiftCards) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*GiftCards) HasPreviousCursor ¶ added in v0.31.0

func (o *GiftCards) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (GiftCards) MarshalJSON ¶ added in v0.31.0

func (o GiftCards) MarshalJSON() ([]byte, error)

func (*GiftCards) SetItems ¶ added in v0.31.0

func (o *GiftCards) SetItems(v []GiftCard)

SetItems gets a reference to the given []GiftCard and assigns it to the Items field.

func (*GiftCards) SetLimit ¶ added in v0.31.0

func (o *GiftCards) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*GiftCards) SetNextCursor ¶ added in v0.31.0

func (o *GiftCards) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*GiftCards) SetNextCursorNil ¶ added in v0.31.0

func (o *GiftCards) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*GiftCards) SetPreviousCursor ¶ added in v0.31.0

func (o *GiftCards) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*GiftCards) SetPreviousCursorNil ¶ added in v0.31.0

func (o *GiftCards) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*GiftCards) UnsetNextCursor ¶ added in v0.31.0

func (o *GiftCards) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*GiftCards) UnsetPreviousCursor ¶ added in v0.31.0

func (o *GiftCards) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type GiftCardsApiService ¶ added in v0.31.0

type GiftCardsApiService service

GiftCardsApiService GiftCardsApi service

func (*GiftCardsApiService) CheckGiftCardBalances ¶ added in v0.31.0

  • CheckGiftCardBalances Check gift card balances
  • Returns details for a list of gift cards with updated balances.

Duplicated gift card numbers are not supported. This includes both stored gift cards, as well as those directly provided via the request.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiCheckGiftCardBalancesRequest

func (*GiftCardsApiService) CheckGiftCardBalancesExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardsSummary

func (*GiftCardsApiService) DeleteGiftCard ¶ added in v0.31.0

func (a *GiftCardsApiService) DeleteGiftCard(ctx _context.Context, giftCardId string) ApiDeleteGiftCardRequest

* DeleteGiftCard Delete gift card * Removes a stored gift card. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardId The unique ID of a stored gift card. * @return ApiDeleteGiftCardRequest

func (*GiftCardsApiService) DeleteGiftCardExecute ¶ added in v0.31.0

func (a *GiftCardsApiService) DeleteGiftCardExecute(r ApiDeleteGiftCardRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*GiftCardsApiService) GetGiftCard ¶ added in v0.31.0

func (a *GiftCardsApiService) GetGiftCard(ctx _context.Context, giftCardId string) ApiGetGiftCardRequest

* GetGiftCard Get gift card * Retrieves details of a stored gift card. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param giftCardId The unique ID of a stored gift card. * @return ApiGetGiftCardRequest

func (*GiftCardsApiService) GetGiftCardExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCard

func (*GiftCardsApiService) ListBuyerGiftCards ¶ added in v0.31.0

  • ListBuyerGiftCards List gift cards buyer
  • Returns a list of all stored, not-expired gift cards and

their balances for a buyer in a summarized format.

All stored gift cards are returned, even if we were not able to fetch the latest balance.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiListBuyerGiftCardsRequest

func (*GiftCardsApiService) ListBuyerGiftCardsExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCardsSummary

func (*GiftCardsApiService) ListGiftCards ¶ added in v0.31.0

* ListGiftCards List gift cards * Returns all stored gift cards. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListGiftCardsRequest

func (*GiftCardsApiService) ListGiftCardsExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCards

func (*GiftCardsApiService) StoreGiftCard ¶ added in v0.31.0

  • StoreGiftCard Store gift card
  • Stores a gift card.

Vaulting a gift card stores and validate it against the active gift card service.

It is only possible to store a gift card against a buyer if the same card is not already stored on the buyer and the gift card has not expired yet.

Buyers by default can only have a maximum limit of 10 gift cards stored against them. Please contact our team to change this limit.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiStoreGiftCardRequest

func (*GiftCardsApiService) StoreGiftCardExecute ¶ added in v0.31.0

* Execute executes the request * @return GiftCard

type GiftCardsSummary ¶ added in v0.31.0

type GiftCardsSummary struct {
	// A list of stored gift cards.
	Items *[]GiftCardSummary `json:"items,omitempty"`
}

GiftCardsSummary A list of gift cards in a short format including the latest balance.

func NewGiftCardsSummary ¶ added in v0.31.0

func NewGiftCardsSummary() *GiftCardsSummary

NewGiftCardsSummary instantiates a new GiftCardsSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGiftCardsSummaryWithDefaults ¶ added in v0.31.0

func NewGiftCardsSummaryWithDefaults() *GiftCardsSummary

NewGiftCardsSummaryWithDefaults instantiates a new GiftCardsSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GiftCardsSummary) GetItems ¶ added in v0.31.0

func (o *GiftCardsSummary) GetItems() []GiftCardSummary

GetItems returns the Items field value if set, zero value otherwise.

func (*GiftCardsSummary) GetItemsOk ¶ added in v0.31.0

func (o *GiftCardsSummary) GetItemsOk() (*[]GiftCardSummary, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GiftCardsSummary) HasItems ¶ added in v0.31.0

func (o *GiftCardsSummary) HasItems() bool

HasItems returns a boolean if a field has been set.

func (GiftCardsSummary) MarshalJSON ¶ added in v0.31.0

func (o GiftCardsSummary) MarshalJSON() ([]byte, error)

func (*GiftCardsSummary) SetItems ¶ added in v0.31.0

func (o *GiftCardsSummary) SetItems(v []GiftCardSummary)

SetItems gets a reference to the given []GiftCardSummary and assigns it to the Items field.

type GooglePayRequest ¶ added in v0.14.0

type GooglePayRequest struct {
	// `googlepay`.
	Method string `json:"method"`
	// The encrypted (opaque) token returned by the Google Pay API that represents a payment method.
	Token            string                                   `json:"token"`
	AssuranceDetails NullableGooglePayRequestAssuranceDetails `json:"assurance_details,omitempty"`
	// Name of the card holder.
	CardHolderName NullableString `json:"card_holder_name,omitempty"`
	// We strongly recommend providing a `redirect_url` either when 3-D Secure is enabled and `three_d_secure_data` is not provided, or when using connections where 3DS is enabled. This value will be appended with both a transaction ID and status (e.g. `https://example.com/callback?gr4vy_transaction_id=123 &gr4vy_transaction_status=capture_succeeded`) after 3-D Secure has completed. For those cases, if the value is not present, the transaction will be marked as failed.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
}

GooglePayRequest Details for a Google Pay payment method.

func NewGooglePayRequest ¶ added in v0.14.0

func NewGooglePayRequest(method string, token string) *GooglePayRequest

NewGooglePayRequest instantiates a new GooglePayRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGooglePayRequestWithDefaults ¶ added in v0.14.0

func NewGooglePayRequestWithDefaults() *GooglePayRequest

NewGooglePayRequestWithDefaults instantiates a new GooglePayRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GooglePayRequest) GetAssuranceDetails ¶ added in v0.22.0

func (o *GooglePayRequest) GetAssuranceDetails() GooglePayRequestAssuranceDetails

GetAssuranceDetails returns the AssuranceDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GooglePayRequest) GetAssuranceDetailsOk ¶ added in v0.22.0

func (o *GooglePayRequest) GetAssuranceDetailsOk() (*GooglePayRequestAssuranceDetails, bool)

GetAssuranceDetailsOk returns a tuple with the AssuranceDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GooglePayRequest) GetCardHolderName ¶ added in v0.22.0

func (o *GooglePayRequest) GetCardHolderName() string

GetCardHolderName returns the CardHolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GooglePayRequest) GetCardHolderNameOk ¶ added in v0.22.0

func (o *GooglePayRequest) GetCardHolderNameOk() (*string, bool)

GetCardHolderNameOk returns a tuple with the CardHolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GooglePayRequest) GetMethod ¶ added in v0.14.0

func (o *GooglePayRequest) GetMethod() string

GetMethod returns the Method field value

func (*GooglePayRequest) GetMethodOk ¶ added in v0.14.0

func (o *GooglePayRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*GooglePayRequest) GetRedirectUrl ¶ added in v0.22.0

func (o *GooglePayRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GooglePayRequest) GetRedirectUrlOk ¶ added in v0.22.0

func (o *GooglePayRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GooglePayRequest) GetToken ¶ added in v0.14.0

func (o *GooglePayRequest) GetToken() string

GetToken returns the Token field value

func (*GooglePayRequest) GetTokenOk ¶ added in v0.14.0

func (o *GooglePayRequest) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*GooglePayRequest) HasAssuranceDetails ¶ added in v0.22.0

func (o *GooglePayRequest) HasAssuranceDetails() bool

HasAssuranceDetails returns a boolean if a field has been set.

func (*GooglePayRequest) HasCardHolderName ¶ added in v0.22.0

func (o *GooglePayRequest) HasCardHolderName() bool

HasCardHolderName returns a boolean if a field has been set.

func (*GooglePayRequest) HasRedirectUrl ¶ added in v0.22.0

func (o *GooglePayRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (GooglePayRequest) MarshalJSON ¶ added in v0.14.0

func (o GooglePayRequest) MarshalJSON() ([]byte, error)

func (*GooglePayRequest) SetAssuranceDetails ¶ added in v0.22.0

func (o *GooglePayRequest) SetAssuranceDetails(v GooglePayRequestAssuranceDetails)

SetAssuranceDetails gets a reference to the given NullableGooglePayRequestAssuranceDetails and assigns it to the AssuranceDetails field.

func (*GooglePayRequest) SetAssuranceDetailsNil ¶ added in v0.22.0

func (o *GooglePayRequest) SetAssuranceDetailsNil()

SetAssuranceDetailsNil sets the value for AssuranceDetails to be an explicit nil

func (*GooglePayRequest) SetCardHolderName ¶ added in v0.22.0

func (o *GooglePayRequest) SetCardHolderName(v string)

SetCardHolderName gets a reference to the given NullableString and assigns it to the CardHolderName field.

func (*GooglePayRequest) SetCardHolderNameNil ¶ added in v0.22.0

func (o *GooglePayRequest) SetCardHolderNameNil()

SetCardHolderNameNil sets the value for CardHolderName to be an explicit nil

func (*GooglePayRequest) SetMethod ¶ added in v0.14.0

func (o *GooglePayRequest) SetMethod(v string)

SetMethod sets field value

func (*GooglePayRequest) SetRedirectUrl ¶ added in v0.22.0

func (o *GooglePayRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*GooglePayRequest) SetRedirectUrlNil ¶ added in v0.22.0

func (o *GooglePayRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*GooglePayRequest) SetToken ¶ added in v0.14.0

func (o *GooglePayRequest) SetToken(v string)

SetToken sets field value

func (*GooglePayRequest) UnsetAssuranceDetails ¶ added in v0.22.0

func (o *GooglePayRequest) UnsetAssuranceDetails()

UnsetAssuranceDetails ensures that no value is present for AssuranceDetails, not even an explicit nil

func (*GooglePayRequest) UnsetCardHolderName ¶ added in v0.22.0

func (o *GooglePayRequest) UnsetCardHolderName()

UnsetCardHolderName ensures that no value is present for CardHolderName, not even an explicit nil

func (*GooglePayRequest) UnsetRedirectUrl ¶ added in v0.22.0

func (o *GooglePayRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

type GooglePayRequestAssuranceDetails ¶ added in v0.22.0

type GooglePayRequestAssuranceDetails struct {
	// Indicates that card holder possession validation has been performed.
	AccountVerified NullableBool `json:"account_verified,omitempty"`
	// Indicates that identification and verifications was performed.
	CardHolderAuthenticated NullableBool `json:"card_holder_authenticated,omitempty"`
}

GooglePayRequestAssuranceDetails Information about the validation performed on the payment data. (See https://developers.google.com/pay/api/web/reference/response-objects#assurance-details-specifications).

func NewGooglePayRequestAssuranceDetails ¶ added in v0.22.0

func NewGooglePayRequestAssuranceDetails() *GooglePayRequestAssuranceDetails

NewGooglePayRequestAssuranceDetails instantiates a new GooglePayRequestAssuranceDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGooglePayRequestAssuranceDetailsWithDefaults ¶ added in v0.22.0

func NewGooglePayRequestAssuranceDetailsWithDefaults() *GooglePayRequestAssuranceDetails

NewGooglePayRequestAssuranceDetailsWithDefaults instantiates a new GooglePayRequestAssuranceDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GooglePayRequestAssuranceDetails) GetAccountVerified ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) GetAccountVerified() bool

GetAccountVerified returns the AccountVerified field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GooglePayRequestAssuranceDetails) GetAccountVerifiedOk ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) GetAccountVerifiedOk() (*bool, bool)

GetAccountVerifiedOk returns a tuple with the AccountVerified field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GooglePayRequestAssuranceDetails) GetCardHolderAuthenticated ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) GetCardHolderAuthenticated() bool

GetCardHolderAuthenticated returns the CardHolderAuthenticated field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GooglePayRequestAssuranceDetails) GetCardHolderAuthenticatedOk ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) GetCardHolderAuthenticatedOk() (*bool, bool)

GetCardHolderAuthenticatedOk returns a tuple with the CardHolderAuthenticated field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GooglePayRequestAssuranceDetails) HasAccountVerified ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) HasAccountVerified() bool

HasAccountVerified returns a boolean if a field has been set.

func (*GooglePayRequestAssuranceDetails) HasCardHolderAuthenticated ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) HasCardHolderAuthenticated() bool

HasCardHolderAuthenticated returns a boolean if a field has been set.

func (GooglePayRequestAssuranceDetails) MarshalJSON ¶ added in v0.22.0

func (o GooglePayRequestAssuranceDetails) MarshalJSON() ([]byte, error)

func (*GooglePayRequestAssuranceDetails) SetAccountVerified ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) SetAccountVerified(v bool)

SetAccountVerified gets a reference to the given NullableBool and assigns it to the AccountVerified field.

func (*GooglePayRequestAssuranceDetails) SetAccountVerifiedNil ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) SetAccountVerifiedNil()

SetAccountVerifiedNil sets the value for AccountVerified to be an explicit nil

func (*GooglePayRequestAssuranceDetails) SetCardHolderAuthenticated ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) SetCardHolderAuthenticated(v bool)

SetCardHolderAuthenticated gets a reference to the given NullableBool and assigns it to the CardHolderAuthenticated field.

func (*GooglePayRequestAssuranceDetails) SetCardHolderAuthenticatedNil ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) SetCardHolderAuthenticatedNil()

SetCardHolderAuthenticatedNil sets the value for CardHolderAuthenticated to be an explicit nil

func (*GooglePayRequestAssuranceDetails) UnsetAccountVerified ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) UnsetAccountVerified()

UnsetAccountVerified ensures that no value is present for AccountVerified, not even an explicit nil

func (*GooglePayRequestAssuranceDetails) UnsetCardHolderAuthenticated ¶ added in v0.22.0

func (o *GooglePayRequestAssuranceDetails) UnsetCardHolderAuthenticated()

UnsetCardHolderAuthenticated ensures that no value is present for CardHolderAuthenticated, not even an explicit nil

type GooglePaySessionRequest ¶ added in v0.14.0

type GooglePaySessionRequest struct {
	// Fully qualified domain name of the merchant.
	OriginDomain string `json:"origin_domain"`
}

GooglePaySessionRequest Initiates a new session with Google Pay.

func NewGooglePaySessionRequest ¶ added in v0.14.0

func NewGooglePaySessionRequest(originDomain string) *GooglePaySessionRequest

NewGooglePaySessionRequest instantiates a new GooglePaySessionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGooglePaySessionRequestWithDefaults ¶ added in v0.14.0

func NewGooglePaySessionRequestWithDefaults() *GooglePaySessionRequest

NewGooglePaySessionRequestWithDefaults instantiates a new GooglePaySessionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GooglePaySessionRequest) GetOriginDomain ¶ added in v0.14.0

func (o *GooglePaySessionRequest) GetOriginDomain() string

GetOriginDomain returns the OriginDomain field value

func (*GooglePaySessionRequest) GetOriginDomainOk ¶ added in v0.14.0

func (o *GooglePaySessionRequest) GetOriginDomainOk() (*string, bool)

GetOriginDomainOk returns a tuple with the OriginDomain field value and a boolean to check if the value has been set.

func (GooglePaySessionRequest) MarshalJSON ¶ added in v0.14.0

func (o GooglePaySessionRequest) MarshalJSON() ([]byte, error)

func (*GooglePaySessionRequest) SetOriginDomain ¶ added in v0.14.0

func (o *GooglePaySessionRequest) SetOriginDomain(v string)

SetOriginDomain sets field value

type IssueCryptogramRequest ¶ added in v0.27.0

type IssueCryptogramRequest struct {
	// Defines if the request is merchant initiated or not.
	MerchantInitiated bool `json:"merchant_initiated"`
}

IssueCryptogramRequest Request body for issue a cryptogram for a network token.

func NewIssueCryptogramRequest ¶ added in v0.27.0

func NewIssueCryptogramRequest(merchantInitiated bool) *IssueCryptogramRequest

NewIssueCryptogramRequest instantiates a new IssueCryptogramRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueCryptogramRequestWithDefaults ¶ added in v0.27.0

func NewIssueCryptogramRequestWithDefaults() *IssueCryptogramRequest

NewIssueCryptogramRequestWithDefaults instantiates a new IssueCryptogramRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueCryptogramRequest) GetMerchantInitiated ¶ added in v0.27.0

func (o *IssueCryptogramRequest) GetMerchantInitiated() bool

GetMerchantInitiated returns the MerchantInitiated field value

func (*IssueCryptogramRequest) GetMerchantInitiatedOk ¶ added in v0.27.0

func (o *IssueCryptogramRequest) GetMerchantInitiatedOk() (*bool, bool)

GetMerchantInitiatedOk returns a tuple with the MerchantInitiated field value and a boolean to check if the value has been set.

func (IssueCryptogramRequest) MarshalJSON ¶ added in v0.27.0

func (o IssueCryptogramRequest) MarshalJSON() ([]byte, error)

func (*IssueCryptogramRequest) SetMerchantInitiated ¶ added in v0.27.0

func (o *IssueCryptogramRequest) SetMerchantInitiated(v bool)

SetMerchantInitiated sets field value

type MerchantAccount ¶ added in v0.22.0

type MerchantAccount struct {
	// `merchant-account`.
	Type *string `json:"type,omitempty"`
	// The ID for this merchant account.
	Id *string `json:"id,omitempty"`
	// The display name of this merchant account.
	DisplayName *string `json:"display_name,omitempty"`
	// The optional URL where webhooks will be received.
	OutboundWebhookUrl NullableString `json:"outbound_webhook_url,omitempty"`
	// The optional username to use when `outbound_webhook_url` is configured and requires basic authentication.
	OutboundWebhookUsername NullableString `json:"outbound_webhook_username,omitempty"`
	// The optional password to use when `outbound_webhook_url` is configured and requires basic authentication.  If the field is not `null`, the value is masked to avoid exposing sensitive information.
	OutboundWebhookPassword NullableString `json:"outbound_webhook_password,omitempty"`
	// Requestor ID provided for Visa after onboarding to use Network Tokens.
	VisaNetworkTokensRequestorId NullableString `json:"visa_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Visa after onboarding to use Network Tokens.
	VisaNetworkTokensAppId NullableString `json:"visa_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Amex after onboarding to use Network Tokens.
	AmexNetworkTokensRequestorId NullableString `json:"amex_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Amex after onboarding to use Network Tokens.
	AmexNetworkTokensAppId NullableString `json:"amex_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Mastercard after onboarding to use Network Tokens.
	MastercardNetworkTokensRequestorId NullableString `json:"mastercard_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Mastercard after onboarding to use Network Tokens.
	MastercardNetworkTokensAppId NullableString `json:"mastercard_network_tokens_app_id,omitempty"`
	// Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.
	LoonClientKey NullableString `json:"loon_client_key,omitempty"`
	// Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.  If the field is not `null`, the value is masked to avoid exposing sensitive information.
	LoonSecretKey NullableString `json:"loon_secret_key,omitempty"`
	// Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service used by Gr4vy.
	LoonAcceptedSchemes []string `json:"loon_accepted_schemes,omitempty"`
	// The date and time when this merchant account was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this merchant account was updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

MerchantAccount struct for MerchantAccount

func NewMerchantAccount ¶ added in v0.22.0

func NewMerchantAccount() *MerchantAccount

NewMerchantAccount instantiates a new MerchantAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantAccountWithDefaults ¶ added in v0.22.0

func NewMerchantAccountWithDefaults() *MerchantAccount

NewMerchantAccountWithDefaults instantiates a new MerchantAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantAccount) GetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) GetAmexNetworkTokensAppId() string

GetAmexNetworkTokensAppId returns the AmexNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetAmexNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetAmexNetworkTokensAppIdOk() (*string, bool)

GetAmexNetworkTokensAppIdOk returns a tuple with the AmexNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) GetAmexNetworkTokensRequestorId() string

GetAmexNetworkTokensRequestorId returns the AmexNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetAmexNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetAmexNetworkTokensRequestorIdOk() (*string, bool)

GetAmexNetworkTokensRequestorIdOk returns a tuple with the AmexNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetCreatedAt ¶ added in v0.22.0

func (o *MerchantAccount) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MerchantAccount) GetCreatedAtOk ¶ added in v0.22.0

func (o *MerchantAccount) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccount) GetDisplayName ¶ added in v0.22.0

func (o *MerchantAccount) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*MerchantAccount) GetDisplayNameOk ¶ added in v0.22.0

func (o *MerchantAccount) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccount) GetId ¶ added in v0.22.0

func (o *MerchantAccount) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MerchantAccount) GetIdOk ¶ added in v0.22.0

func (o *MerchantAccount) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccount) GetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonAcceptedSchemes() []string

GetLoonAcceptedSchemes returns the LoonAcceptedSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetLoonAcceptedSchemesOk ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonAcceptedSchemesOk() (*[]string, bool)

GetLoonAcceptedSchemesOk returns a tuple with the LoonAcceptedSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonClientKey() string

GetLoonClientKey returns the LoonClientKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetLoonClientKeyOk ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonClientKeyOk() (*string, bool)

GetLoonClientKeyOk returns a tuple with the LoonClientKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonSecretKey() string

GetLoonSecretKey returns the LoonSecretKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetLoonSecretKeyOk ¶ added in v0.31.0

func (o *MerchantAccount) GetLoonSecretKeyOk() (*string, bool)

GetLoonSecretKeyOk returns a tuple with the LoonSecretKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) GetMastercardNetworkTokensAppId() string

GetMastercardNetworkTokensAppId returns the MastercardNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetMastercardNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetMastercardNetworkTokensAppIdOk() (*string, bool)

GetMastercardNetworkTokensAppIdOk returns a tuple with the MastercardNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) GetMastercardNetworkTokensRequestorId() string

GetMastercardNetworkTokensRequestorId returns the MastercardNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetMastercardNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetMastercardNetworkTokensRequestorIdOk() (*string, bool)

GetMastercardNetworkTokensRequestorIdOk returns a tuple with the MastercardNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetOutboundWebhookPassword ¶ added in v0.31.0

func (o *MerchantAccount) GetOutboundWebhookPassword() string

GetOutboundWebhookPassword returns the OutboundWebhookPassword field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetOutboundWebhookPasswordOk ¶ added in v0.31.0

func (o *MerchantAccount) GetOutboundWebhookPasswordOk() (*string, bool)

GetOutboundWebhookPasswordOk returns a tuple with the OutboundWebhookPassword field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccount) GetOutboundWebhookUrl() string

GetOutboundWebhookUrl returns the OutboundWebhookUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetOutboundWebhookUrlOk ¶ added in v0.27.0

func (o *MerchantAccount) GetOutboundWebhookUrlOk() (*string, bool)

GetOutboundWebhookUrlOk returns a tuple with the OutboundWebhookUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccount) GetOutboundWebhookUsername() string

GetOutboundWebhookUsername returns the OutboundWebhookUsername field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetOutboundWebhookUsernameOk ¶ added in v0.27.0

func (o *MerchantAccount) GetOutboundWebhookUsernameOk() (*string, bool)

GetOutboundWebhookUsernameOk returns a tuple with the OutboundWebhookUsername field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetType ¶ added in v0.22.0

func (o *MerchantAccount) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MerchantAccount) GetTypeOk ¶ added in v0.22.0

func (o *MerchantAccount) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccount) GetUpdatedAt ¶ added in v0.22.0

func (o *MerchantAccount) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*MerchantAccount) GetUpdatedAtOk ¶ added in v0.22.0

func (o *MerchantAccount) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccount) GetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) GetVisaNetworkTokensAppId() string

GetVisaNetworkTokensAppId returns the VisaNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetVisaNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetVisaNetworkTokensAppIdOk() (*string, bool)

GetVisaNetworkTokensAppIdOk returns a tuple with the VisaNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) GetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) GetVisaNetworkTokensRequestorId() string

GetVisaNetworkTokensRequestorId returns the VisaNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccount) GetVisaNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccount) GetVisaNetworkTokensRequestorIdOk() (*string, bool)

GetVisaNetworkTokensRequestorIdOk returns a tuple with the VisaNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccount) HasAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) HasAmexNetworkTokensAppId() bool

HasAmexNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccount) HasAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) HasAmexNetworkTokensRequestorId() bool

HasAmexNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccount) HasCreatedAt ¶ added in v0.22.0

func (o *MerchantAccount) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MerchantAccount) HasDisplayName ¶ added in v0.22.0

func (o *MerchantAccount) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*MerchantAccount) HasId ¶ added in v0.22.0

func (o *MerchantAccount) HasId() bool

HasId returns a boolean if a field has been set.

func (*MerchantAccount) HasLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccount) HasLoonAcceptedSchemes() bool

HasLoonAcceptedSchemes returns a boolean if a field has been set.

func (*MerchantAccount) HasLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccount) HasLoonClientKey() bool

HasLoonClientKey returns a boolean if a field has been set.

func (*MerchantAccount) HasLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccount) HasLoonSecretKey() bool

HasLoonSecretKey returns a boolean if a field has been set.

func (*MerchantAccount) HasMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) HasMastercardNetworkTokensAppId() bool

HasMastercardNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccount) HasMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) HasMastercardNetworkTokensRequestorId() bool

HasMastercardNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccount) HasOutboundWebhookPassword ¶ added in v0.31.0

func (o *MerchantAccount) HasOutboundWebhookPassword() bool

HasOutboundWebhookPassword returns a boolean if a field has been set.

func (*MerchantAccount) HasOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccount) HasOutboundWebhookUrl() bool

HasOutboundWebhookUrl returns a boolean if a field has been set.

func (*MerchantAccount) HasOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccount) HasOutboundWebhookUsername() bool

HasOutboundWebhookUsername returns a boolean if a field has been set.

func (*MerchantAccount) HasType ¶ added in v0.22.0

func (o *MerchantAccount) HasType() bool

HasType returns a boolean if a field has been set.

func (*MerchantAccount) HasUpdatedAt ¶ added in v0.22.0

func (o *MerchantAccount) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*MerchantAccount) HasVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) HasVisaNetworkTokensAppId() bool

HasVisaNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccount) HasVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) HasVisaNetworkTokensRequestorId() bool

HasVisaNetworkTokensRequestorId returns a boolean if a field has been set.

func (MerchantAccount) MarshalJSON ¶ added in v0.22.0

func (o MerchantAccount) MarshalJSON() ([]byte, error)

func (*MerchantAccount) SetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) SetAmexNetworkTokensAppId(v string)

SetAmexNetworkTokensAppId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensAppId field.

func (*MerchantAccount) SetAmexNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetAmexNetworkTokensAppIdNil()

SetAmexNetworkTokensAppIdNil sets the value for AmexNetworkTokensAppId to be an explicit nil

func (*MerchantAccount) SetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) SetAmexNetworkTokensRequestorId(v string)

SetAmexNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensRequestorId field.

func (*MerchantAccount) SetAmexNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetAmexNetworkTokensRequestorIdNil()

SetAmexNetworkTokensRequestorIdNil sets the value for AmexNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccount) SetCreatedAt ¶ added in v0.22.0

func (o *MerchantAccount) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MerchantAccount) SetDisplayName ¶ added in v0.22.0

func (o *MerchantAccount) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*MerchantAccount) SetId ¶ added in v0.22.0

func (o *MerchantAccount) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MerchantAccount) SetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccount) SetLoonAcceptedSchemes(v []string)

SetLoonAcceptedSchemes gets a reference to the given []string and assigns it to the LoonAcceptedSchemes field.

func (*MerchantAccount) SetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccount) SetLoonClientKey(v string)

SetLoonClientKey gets a reference to the given NullableString and assigns it to the LoonClientKey field.

func (*MerchantAccount) SetLoonClientKeyNil ¶ added in v0.31.0

func (o *MerchantAccount) SetLoonClientKeyNil()

SetLoonClientKeyNil sets the value for LoonClientKey to be an explicit nil

func (*MerchantAccount) SetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccount) SetLoonSecretKey(v string)

SetLoonSecretKey gets a reference to the given NullableString and assigns it to the LoonSecretKey field.

func (*MerchantAccount) SetLoonSecretKeyNil ¶ added in v0.31.0

func (o *MerchantAccount) SetLoonSecretKeyNil()

SetLoonSecretKeyNil sets the value for LoonSecretKey to be an explicit nil

func (*MerchantAccount) SetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) SetMastercardNetworkTokensAppId(v string)

SetMastercardNetworkTokensAppId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensAppId field.

func (*MerchantAccount) SetMastercardNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetMastercardNetworkTokensAppIdNil()

SetMastercardNetworkTokensAppIdNil sets the value for MastercardNetworkTokensAppId to be an explicit nil

func (*MerchantAccount) SetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) SetMastercardNetworkTokensRequestorId(v string)

SetMastercardNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensRequestorId field.

func (*MerchantAccount) SetMastercardNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetMastercardNetworkTokensRequestorIdNil()

SetMastercardNetworkTokensRequestorIdNil sets the value for MastercardNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccount) SetOutboundWebhookPassword ¶ added in v0.31.0

func (o *MerchantAccount) SetOutboundWebhookPassword(v string)

SetOutboundWebhookPassword gets a reference to the given NullableString and assigns it to the OutboundWebhookPassword field.

func (*MerchantAccount) SetOutboundWebhookPasswordNil ¶ added in v0.31.0

func (o *MerchantAccount) SetOutboundWebhookPasswordNil()

SetOutboundWebhookPasswordNil sets the value for OutboundWebhookPassword to be an explicit nil

func (*MerchantAccount) SetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccount) SetOutboundWebhookUrl(v string)

SetOutboundWebhookUrl gets a reference to the given NullableString and assigns it to the OutboundWebhookUrl field.

func (*MerchantAccount) SetOutboundWebhookUrlNil ¶ added in v0.27.0

func (o *MerchantAccount) SetOutboundWebhookUrlNil()

SetOutboundWebhookUrlNil sets the value for OutboundWebhookUrl to be an explicit nil

func (*MerchantAccount) SetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccount) SetOutboundWebhookUsername(v string)

SetOutboundWebhookUsername gets a reference to the given NullableString and assigns it to the OutboundWebhookUsername field.

func (*MerchantAccount) SetOutboundWebhookUsernameNil ¶ added in v0.27.0

func (o *MerchantAccount) SetOutboundWebhookUsernameNil()

SetOutboundWebhookUsernameNil sets the value for OutboundWebhookUsername to be an explicit nil

func (*MerchantAccount) SetType ¶ added in v0.22.0

func (o *MerchantAccount) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MerchantAccount) SetUpdatedAt ¶ added in v0.22.0

func (o *MerchantAccount) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*MerchantAccount) SetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) SetVisaNetworkTokensAppId(v string)

SetVisaNetworkTokensAppId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensAppId field.

func (*MerchantAccount) SetVisaNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetVisaNetworkTokensAppIdNil()

SetVisaNetworkTokensAppIdNil sets the value for VisaNetworkTokensAppId to be an explicit nil

func (*MerchantAccount) SetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) SetVisaNetworkTokensRequestorId(v string)

SetVisaNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensRequestorId field.

func (*MerchantAccount) SetVisaNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccount) SetVisaNetworkTokensRequestorIdNil()

SetVisaNetworkTokensRequestorIdNil sets the value for VisaNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccount) UnsetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetAmexNetworkTokensAppId()

UnsetAmexNetworkTokensAppId ensures that no value is present for AmexNetworkTokensAppId, not even an explicit nil

func (*MerchantAccount) UnsetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetAmexNetworkTokensRequestorId()

UnsetAmexNetworkTokensRequestorId ensures that no value is present for AmexNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccount) UnsetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccount) UnsetLoonClientKey()

UnsetLoonClientKey ensures that no value is present for LoonClientKey, not even an explicit nil

func (*MerchantAccount) UnsetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccount) UnsetLoonSecretKey()

UnsetLoonSecretKey ensures that no value is present for LoonSecretKey, not even an explicit nil

func (*MerchantAccount) UnsetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetMastercardNetworkTokensAppId()

UnsetMastercardNetworkTokensAppId ensures that no value is present for MastercardNetworkTokensAppId, not even an explicit nil

func (*MerchantAccount) UnsetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetMastercardNetworkTokensRequestorId()

UnsetMastercardNetworkTokensRequestorId ensures that no value is present for MastercardNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccount) UnsetOutboundWebhookPassword ¶ added in v0.31.0

func (o *MerchantAccount) UnsetOutboundWebhookPassword()

UnsetOutboundWebhookPassword ensures that no value is present for OutboundWebhookPassword, not even an explicit nil

func (*MerchantAccount) UnsetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccount) UnsetOutboundWebhookUrl()

UnsetOutboundWebhookUrl ensures that no value is present for OutboundWebhookUrl, not even an explicit nil

func (*MerchantAccount) UnsetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccount) UnsetOutboundWebhookUsername()

UnsetOutboundWebhookUsername ensures that no value is present for OutboundWebhookUsername, not even an explicit nil

func (*MerchantAccount) UnsetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetVisaNetworkTokensAppId()

UnsetVisaNetworkTokensAppId ensures that no value is present for VisaNetworkTokensAppId, not even an explicit nil

func (*MerchantAccount) UnsetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccount) UnsetVisaNetworkTokensRequestorId()

UnsetVisaNetworkTokensRequestorId ensures that no value is present for VisaNetworkTokensRequestorId, not even an explicit nil

type MerchantAccountCreate ¶ added in v0.22.0

type MerchantAccountCreate struct {
	// The unique ID for the merchant account.
	Id *string `json:"id,omitempty"`
	// The human-readable name of the merchant account.
	DisplayName *string `json:"display_name,omitempty"`
	// The optional URL where webhooks will be received.
	OutboundWebhookUrl NullableString `json:"outbound_webhook_url,omitempty"`
	// The optional username to use when `outbound_webhook_url` is configured and requires basic authentication.
	OutboundWebhookUsername NullableString `json:"outbound_webhook_username,omitempty"`
	// The optional password to use when `outbound_webhook_url` is configured and requires basic authentication.
	OutboundWebhookPassword NullableString `json:"outbound_webhook_password,omitempty"`
	// Requestor ID provided for Visa after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	VisaNetworkTokensRequestorId NullableString `json:"visa_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Visa after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	VisaNetworkTokensAppId NullableString `json:"visa_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Amex after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	AmexNetworkTokensRequestorId NullableString `json:"amex_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Amex after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	AmexNetworkTokensAppId NullableString `json:"amex_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Mastercard after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	MastercardNetworkTokensRequestorId NullableString `json:"mastercard_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Mastercard after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	MastercardNetworkTokensAppId NullableString `json:"mastercard_network_tokens_app_id,omitempty"`
	// Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.  * If the field is not set or if it's set to `null`, the Account Updater service doesn't get configured. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonClientKey NullableString `json:"loon_client_key,omitempty"`
	// Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.  * If the field is not set or if it's set to `null`, the Account Updater service doesn't get configured. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonSecretKey NullableString `json:"loon_secret_key,omitempty"`
	// Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service used by Gr4vy.  * If the field is not set or if it's set to `null`, the Account Updater service doesn't get configured. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonAcceptedSchemes []string `json:"loon_accepted_schemes,omitempty"`
}

MerchantAccountCreate A request to create a merchant account.

func NewMerchantAccountCreate ¶ added in v0.22.0

func NewMerchantAccountCreate() *MerchantAccountCreate

NewMerchantAccountCreate instantiates a new MerchantAccountCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantAccountCreateWithDefaults ¶ added in v0.22.0

func NewMerchantAccountCreateWithDefaults() *MerchantAccountCreate

NewMerchantAccountCreateWithDefaults instantiates a new MerchantAccountCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantAccountCreate) GetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetAmexNetworkTokensAppId() string

GetAmexNetworkTokensAppId returns the AmexNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetAmexNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetAmexNetworkTokensAppIdOk() (*string, bool)

GetAmexNetworkTokensAppIdOk returns a tuple with the AmexNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetAmexNetworkTokensRequestorId() string

GetAmexNetworkTokensRequestorId returns the AmexNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetAmexNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetAmexNetworkTokensRequestorIdOk() (*string, bool)

GetAmexNetworkTokensRequestorIdOk returns a tuple with the AmexNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetDisplayName ¶ added in v0.22.0

func (o *MerchantAccountCreate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*MerchantAccountCreate) GetDisplayNameOk ¶ added in v0.22.0

func (o *MerchantAccountCreate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccountCreate) GetId ¶ added in v0.22.0

func (o *MerchantAccountCreate) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MerchantAccountCreate) GetIdOk ¶ added in v0.22.0

func (o *MerchantAccountCreate) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccountCreate) GetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonAcceptedSchemes() []string

GetLoonAcceptedSchemes returns the LoonAcceptedSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetLoonAcceptedSchemesOk ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonAcceptedSchemesOk() (*[]string, bool)

GetLoonAcceptedSchemesOk returns a tuple with the LoonAcceptedSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonClientKey() string

GetLoonClientKey returns the LoonClientKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetLoonClientKeyOk ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonClientKeyOk() (*string, bool)

GetLoonClientKeyOk returns a tuple with the LoonClientKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonSecretKey() string

GetLoonSecretKey returns the LoonSecretKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetLoonSecretKeyOk ¶ added in v0.31.0

func (o *MerchantAccountCreate) GetLoonSecretKeyOk() (*string, bool)

GetLoonSecretKeyOk returns a tuple with the LoonSecretKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetMastercardNetworkTokensAppId() string

GetMastercardNetworkTokensAppId returns the MastercardNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetMastercardNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetMastercardNetworkTokensAppIdOk() (*string, bool)

GetMastercardNetworkTokensAppIdOk returns a tuple with the MastercardNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetMastercardNetworkTokensRequestorId() string

GetMastercardNetworkTokensRequestorId returns the MastercardNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetMastercardNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetMastercardNetworkTokensRequestorIdOk() (*string, bool)

GetMastercardNetworkTokensRequestorIdOk returns a tuple with the MastercardNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookPassword() string

GetOutboundWebhookPassword returns the OutboundWebhookPassword field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetOutboundWebhookPasswordOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookPasswordOk() (*string, bool)

GetOutboundWebhookPasswordOk returns a tuple with the OutboundWebhookPassword field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookUrl() string

GetOutboundWebhookUrl returns the OutboundWebhookUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetOutboundWebhookUrlOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookUrlOk() (*string, bool)

GetOutboundWebhookUrlOk returns a tuple with the OutboundWebhookUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookUsername() string

GetOutboundWebhookUsername returns the OutboundWebhookUsername field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetOutboundWebhookUsernameOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetOutboundWebhookUsernameOk() (*string, bool)

GetOutboundWebhookUsernameOk returns a tuple with the OutboundWebhookUsername field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetVisaNetworkTokensAppId() string

GetVisaNetworkTokensAppId returns the VisaNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetVisaNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetVisaNetworkTokensAppIdOk() (*string, bool)

GetVisaNetworkTokensAppIdOk returns a tuple with the VisaNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) GetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetVisaNetworkTokensRequestorId() string

GetVisaNetworkTokensRequestorId returns the VisaNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountCreate) GetVisaNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountCreate) GetVisaNetworkTokensRequestorIdOk() (*string, bool)

GetVisaNetworkTokensRequestorIdOk returns a tuple with the VisaNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountCreate) HasAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasAmexNetworkTokensAppId() bool

HasAmexNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasAmexNetworkTokensRequestorId() bool

HasAmexNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasDisplayName ¶ added in v0.22.0

func (o *MerchantAccountCreate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasId ¶ added in v0.22.0

func (o *MerchantAccountCreate) HasId() bool

HasId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountCreate) HasLoonAcceptedSchemes() bool

HasLoonAcceptedSchemes returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) HasLoonClientKey() bool

HasLoonClientKey returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) HasLoonSecretKey() bool

HasLoonSecretKey returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasMastercardNetworkTokensAppId() bool

HasMastercardNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasMastercardNetworkTokensRequestorId() bool

HasMastercardNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasOutboundWebhookPassword() bool

HasOutboundWebhookPassword returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasOutboundWebhookUrl() bool

HasOutboundWebhookUrl returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasOutboundWebhookUsername() bool

HasOutboundWebhookUsername returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasVisaNetworkTokensAppId() bool

HasVisaNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountCreate) HasVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) HasVisaNetworkTokensRequestorId() bool

HasVisaNetworkTokensRequestorId returns a boolean if a field has been set.

func (MerchantAccountCreate) MarshalJSON ¶ added in v0.22.0

func (o MerchantAccountCreate) MarshalJSON() ([]byte, error)

func (*MerchantAccountCreate) SetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetAmexNetworkTokensAppId(v string)

SetAmexNetworkTokensAppId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensAppId field.

func (*MerchantAccountCreate) SetAmexNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetAmexNetworkTokensAppIdNil()

SetAmexNetworkTokensAppIdNil sets the value for AmexNetworkTokensAppId to be an explicit nil

func (*MerchantAccountCreate) SetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetAmexNetworkTokensRequestorId(v string)

SetAmexNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensRequestorId field.

func (*MerchantAccountCreate) SetAmexNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetAmexNetworkTokensRequestorIdNil()

SetAmexNetworkTokensRequestorIdNil sets the value for AmexNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountCreate) SetDisplayName ¶ added in v0.22.0

func (o *MerchantAccountCreate) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*MerchantAccountCreate) SetId ¶ added in v0.22.0

func (o *MerchantAccountCreate) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MerchantAccountCreate) SetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountCreate) SetLoonAcceptedSchemes(v []string)

SetLoonAcceptedSchemes gets a reference to the given []string and assigns it to the LoonAcceptedSchemes field.

func (*MerchantAccountCreate) SetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) SetLoonClientKey(v string)

SetLoonClientKey gets a reference to the given NullableString and assigns it to the LoonClientKey field.

func (*MerchantAccountCreate) SetLoonClientKeyNil ¶ added in v0.31.0

func (o *MerchantAccountCreate) SetLoonClientKeyNil()

SetLoonClientKeyNil sets the value for LoonClientKey to be an explicit nil

func (*MerchantAccountCreate) SetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) SetLoonSecretKey(v string)

SetLoonSecretKey gets a reference to the given NullableString and assigns it to the LoonSecretKey field.

func (*MerchantAccountCreate) SetLoonSecretKeyNil ¶ added in v0.31.0

func (o *MerchantAccountCreate) SetLoonSecretKeyNil()

SetLoonSecretKeyNil sets the value for LoonSecretKey to be an explicit nil

func (*MerchantAccountCreate) SetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetMastercardNetworkTokensAppId(v string)

SetMastercardNetworkTokensAppId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensAppId field.

func (*MerchantAccountCreate) SetMastercardNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetMastercardNetworkTokensAppIdNil()

SetMastercardNetworkTokensAppIdNil sets the value for MastercardNetworkTokensAppId to be an explicit nil

func (*MerchantAccountCreate) SetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetMastercardNetworkTokensRequestorId(v string)

SetMastercardNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensRequestorId field.

func (*MerchantAccountCreate) SetMastercardNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetMastercardNetworkTokensRequestorIdNil()

SetMastercardNetworkTokensRequestorIdNil sets the value for MastercardNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountCreate) SetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookPassword(v string)

SetOutboundWebhookPassword gets a reference to the given NullableString and assigns it to the OutboundWebhookPassword field.

func (*MerchantAccountCreate) SetOutboundWebhookPasswordNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookPasswordNil()

SetOutboundWebhookPasswordNil sets the value for OutboundWebhookPassword to be an explicit nil

func (*MerchantAccountCreate) SetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookUrl(v string)

SetOutboundWebhookUrl gets a reference to the given NullableString and assigns it to the OutboundWebhookUrl field.

func (*MerchantAccountCreate) SetOutboundWebhookUrlNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookUrlNil()

SetOutboundWebhookUrlNil sets the value for OutboundWebhookUrl to be an explicit nil

func (*MerchantAccountCreate) SetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookUsername(v string)

SetOutboundWebhookUsername gets a reference to the given NullableString and assigns it to the OutboundWebhookUsername field.

func (*MerchantAccountCreate) SetOutboundWebhookUsernameNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetOutboundWebhookUsernameNil()

SetOutboundWebhookUsernameNil sets the value for OutboundWebhookUsername to be an explicit nil

func (*MerchantAccountCreate) SetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetVisaNetworkTokensAppId(v string)

SetVisaNetworkTokensAppId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensAppId field.

func (*MerchantAccountCreate) SetVisaNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetVisaNetworkTokensAppIdNil()

SetVisaNetworkTokensAppIdNil sets the value for VisaNetworkTokensAppId to be an explicit nil

func (*MerchantAccountCreate) SetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetVisaNetworkTokensRequestorId(v string)

SetVisaNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensRequestorId field.

func (*MerchantAccountCreate) SetVisaNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountCreate) SetVisaNetworkTokensRequestorIdNil()

SetVisaNetworkTokensRequestorIdNil sets the value for VisaNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountCreate) UnsetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetAmexNetworkTokensAppId()

UnsetAmexNetworkTokensAppId ensures that no value is present for AmexNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountCreate) UnsetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetAmexNetworkTokensRequestorId()

UnsetAmexNetworkTokensRequestorId ensures that no value is present for AmexNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccountCreate) UnsetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) UnsetLoonClientKey()

UnsetLoonClientKey ensures that no value is present for LoonClientKey, not even an explicit nil

func (*MerchantAccountCreate) UnsetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountCreate) UnsetLoonSecretKey()

UnsetLoonSecretKey ensures that no value is present for LoonSecretKey, not even an explicit nil

func (*MerchantAccountCreate) UnsetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetMastercardNetworkTokensAppId()

UnsetMastercardNetworkTokensAppId ensures that no value is present for MastercardNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountCreate) UnsetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetMastercardNetworkTokensRequestorId()

UnsetMastercardNetworkTokensRequestorId ensures that no value is present for MastercardNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccountCreate) UnsetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetOutboundWebhookPassword()

UnsetOutboundWebhookPassword ensures that no value is present for OutboundWebhookPassword, not even an explicit nil

func (*MerchantAccountCreate) UnsetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetOutboundWebhookUrl()

UnsetOutboundWebhookUrl ensures that no value is present for OutboundWebhookUrl, not even an explicit nil

func (*MerchantAccountCreate) UnsetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetOutboundWebhookUsername()

UnsetOutboundWebhookUsername ensures that no value is present for OutboundWebhookUsername, not even an explicit nil

func (*MerchantAccountCreate) UnsetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetVisaNetworkTokensAppId()

UnsetVisaNetworkTokensAppId ensures that no value is present for VisaNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountCreate) UnsetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountCreate) UnsetVisaNetworkTokensRequestorId()

UnsetVisaNetworkTokensRequestorId ensures that no value is present for VisaNetworkTokensRequestorId, not even an explicit nil

type MerchantAccountUpdate ¶ added in v0.22.0

type MerchantAccountUpdate struct {
	// The human-readable name of the merchant account.
	DisplayName *string `json:"display_name,omitempty"`
	// The optional URL where webhooks will be received.
	OutboundWebhookUrl NullableString `json:"outbound_webhook_url,omitempty"`
	// The optional username to use when `outbound_webhook_url` is configured and requires basic authentication.
	OutboundWebhookUsername NullableString `json:"outbound_webhook_username,omitempty"`
	// The optional password to use when `outbound_webhook_url` is configured and requires basic authentication.
	OutboundWebhookPassword NullableString `json:"outbound_webhook_password,omitempty"`
	// Requestor ID provided for Visa after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	VisaNetworkTokensRequestorId NullableString `json:"visa_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Visa after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	VisaNetworkTokensAppId NullableString `json:"visa_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Amex after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	AmexNetworkTokensRequestorId NullableString `json:"amex_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Amex after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	AmexNetworkTokensAppId NullableString `json:"amex_network_tokens_app_id,omitempty"`
	// Requestor ID provided for Mastercard after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.
	MastercardNetworkTokensRequestorId NullableString `json:"mastercard_network_tokens_requestor_id,omitempty"`
	// Application ID provided for Mastercard after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.
	MastercardNetworkTokensAppId NullableString `json:"mastercard_network_tokens_app_id,omitempty"`
	// Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.  * If the field is not set, the Account Updater service configuration is not updated. * If the field is set to `null`, the Account Updater service is disabled. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonClientKey NullableString `json:"loon_client_key,omitempty"`
	// Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.  * If the field is not set, the Account Updater service configuration is not updated. * If the field is set to `null`, the Account Updater service is disabled. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonSecretKey NullableString `json:"loon_secret_key,omitempty"`
	// Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service used by Gr4vy.  * If the field is not set, the Account Updater service configuration is not updated. * If the field is set to `null`, the Account Updater service is disabled. * If the field is set to `null`, the other `loon_*` fields must be set to `null` as well.
	LoonAcceptedSchemes []string `json:"loon_accepted_schemes,omitempty"`
}

MerchantAccountUpdate A request to update a merchant account.

func NewMerchantAccountUpdate ¶ added in v0.22.0

func NewMerchantAccountUpdate() *MerchantAccountUpdate

NewMerchantAccountUpdate instantiates a new MerchantAccountUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantAccountUpdateWithDefaults ¶ added in v0.22.0

func NewMerchantAccountUpdateWithDefaults() *MerchantAccountUpdate

NewMerchantAccountUpdateWithDefaults instantiates a new MerchantAccountUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantAccountUpdate) GetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetAmexNetworkTokensAppId() string

GetAmexNetworkTokensAppId returns the AmexNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetAmexNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetAmexNetworkTokensAppIdOk() (*string, bool)

GetAmexNetworkTokensAppIdOk returns a tuple with the AmexNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetAmexNetworkTokensRequestorId() string

GetAmexNetworkTokensRequestorId returns the AmexNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetAmexNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetAmexNetworkTokensRequestorIdOk() (*string, bool)

GetAmexNetworkTokensRequestorIdOk returns a tuple with the AmexNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetDisplayName ¶ added in v0.22.0

func (o *MerchantAccountUpdate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*MerchantAccountUpdate) GetDisplayNameOk ¶ added in v0.22.0

func (o *MerchantAccountUpdate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccountUpdate) GetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonAcceptedSchemes() []string

GetLoonAcceptedSchemes returns the LoonAcceptedSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetLoonAcceptedSchemesOk ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonAcceptedSchemesOk() (*[]string, bool)

GetLoonAcceptedSchemesOk returns a tuple with the LoonAcceptedSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonClientKey() string

GetLoonClientKey returns the LoonClientKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetLoonClientKeyOk ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonClientKeyOk() (*string, bool)

GetLoonClientKeyOk returns a tuple with the LoonClientKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonSecretKey() string

GetLoonSecretKey returns the LoonSecretKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetLoonSecretKeyOk ¶ added in v0.31.0

func (o *MerchantAccountUpdate) GetLoonSecretKeyOk() (*string, bool)

GetLoonSecretKeyOk returns a tuple with the LoonSecretKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetMastercardNetworkTokensAppId() string

GetMastercardNetworkTokensAppId returns the MastercardNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetMastercardNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetMastercardNetworkTokensAppIdOk() (*string, bool)

GetMastercardNetworkTokensAppIdOk returns a tuple with the MastercardNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetMastercardNetworkTokensRequestorId() string

GetMastercardNetworkTokensRequestorId returns the MastercardNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetMastercardNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetMastercardNetworkTokensRequestorIdOk() (*string, bool)

GetMastercardNetworkTokensRequestorIdOk returns a tuple with the MastercardNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookPassword() string

GetOutboundWebhookPassword returns the OutboundWebhookPassword field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetOutboundWebhookPasswordOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookPasswordOk() (*string, bool)

GetOutboundWebhookPasswordOk returns a tuple with the OutboundWebhookPassword field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookUrl() string

GetOutboundWebhookUrl returns the OutboundWebhookUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetOutboundWebhookUrlOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookUrlOk() (*string, bool)

GetOutboundWebhookUrlOk returns a tuple with the OutboundWebhookUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookUsername() string

GetOutboundWebhookUsername returns the OutboundWebhookUsername field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetOutboundWebhookUsernameOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetOutboundWebhookUsernameOk() (*string, bool)

GetOutboundWebhookUsernameOk returns a tuple with the OutboundWebhookUsername field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetVisaNetworkTokensAppId() string

GetVisaNetworkTokensAppId returns the VisaNetworkTokensAppId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetVisaNetworkTokensAppIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetVisaNetworkTokensAppIdOk() (*string, bool)

GetVisaNetworkTokensAppIdOk returns a tuple with the VisaNetworkTokensAppId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) GetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetVisaNetworkTokensRequestorId() string

GetVisaNetworkTokensRequestorId returns the VisaNetworkTokensRequestorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccountUpdate) GetVisaNetworkTokensRequestorIdOk ¶ added in v0.27.0

func (o *MerchantAccountUpdate) GetVisaNetworkTokensRequestorIdOk() (*string, bool)

GetVisaNetworkTokensRequestorIdOk returns a tuple with the VisaNetworkTokensRequestorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccountUpdate) HasAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasAmexNetworkTokensAppId() bool

HasAmexNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasAmexNetworkTokensRequestorId() bool

HasAmexNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasDisplayName ¶ added in v0.22.0

func (o *MerchantAccountUpdate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountUpdate) HasLoonAcceptedSchemes() bool

HasLoonAcceptedSchemes returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) HasLoonClientKey() bool

HasLoonClientKey returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) HasLoonSecretKey() bool

HasLoonSecretKey returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasMastercardNetworkTokensAppId() bool

HasMastercardNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasMastercardNetworkTokensRequestorId() bool

HasMastercardNetworkTokensRequestorId returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasOutboundWebhookPassword() bool

HasOutboundWebhookPassword returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasOutboundWebhookUrl() bool

HasOutboundWebhookUrl returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasOutboundWebhookUsername() bool

HasOutboundWebhookUsername returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasVisaNetworkTokensAppId() bool

HasVisaNetworkTokensAppId returns a boolean if a field has been set.

func (*MerchantAccountUpdate) HasVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) HasVisaNetworkTokensRequestorId() bool

HasVisaNetworkTokensRequestorId returns a boolean if a field has been set.

func (MerchantAccountUpdate) MarshalJSON ¶ added in v0.22.0

func (o MerchantAccountUpdate) MarshalJSON() ([]byte, error)

func (*MerchantAccountUpdate) SetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetAmexNetworkTokensAppId(v string)

SetAmexNetworkTokensAppId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensAppId field.

func (*MerchantAccountUpdate) SetAmexNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetAmexNetworkTokensAppIdNil()

SetAmexNetworkTokensAppIdNil sets the value for AmexNetworkTokensAppId to be an explicit nil

func (*MerchantAccountUpdate) SetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetAmexNetworkTokensRequestorId(v string)

SetAmexNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the AmexNetworkTokensRequestorId field.

func (*MerchantAccountUpdate) SetAmexNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetAmexNetworkTokensRequestorIdNil()

SetAmexNetworkTokensRequestorIdNil sets the value for AmexNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountUpdate) SetDisplayName ¶ added in v0.22.0

func (o *MerchantAccountUpdate) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*MerchantAccountUpdate) SetLoonAcceptedSchemes ¶ added in v0.31.0

func (o *MerchantAccountUpdate) SetLoonAcceptedSchemes(v []string)

SetLoonAcceptedSchemes gets a reference to the given []string and assigns it to the LoonAcceptedSchemes field.

func (*MerchantAccountUpdate) SetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) SetLoonClientKey(v string)

SetLoonClientKey gets a reference to the given NullableString and assigns it to the LoonClientKey field.

func (*MerchantAccountUpdate) SetLoonClientKeyNil ¶ added in v0.31.0

func (o *MerchantAccountUpdate) SetLoonClientKeyNil()

SetLoonClientKeyNil sets the value for LoonClientKey to be an explicit nil

func (*MerchantAccountUpdate) SetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) SetLoonSecretKey(v string)

SetLoonSecretKey gets a reference to the given NullableString and assigns it to the LoonSecretKey field.

func (*MerchantAccountUpdate) SetLoonSecretKeyNil ¶ added in v0.31.0

func (o *MerchantAccountUpdate) SetLoonSecretKeyNil()

SetLoonSecretKeyNil sets the value for LoonSecretKey to be an explicit nil

func (*MerchantAccountUpdate) SetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetMastercardNetworkTokensAppId(v string)

SetMastercardNetworkTokensAppId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensAppId field.

func (*MerchantAccountUpdate) SetMastercardNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetMastercardNetworkTokensAppIdNil()

SetMastercardNetworkTokensAppIdNil sets the value for MastercardNetworkTokensAppId to be an explicit nil

func (*MerchantAccountUpdate) SetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetMastercardNetworkTokensRequestorId(v string)

SetMastercardNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the MastercardNetworkTokensRequestorId field.

func (*MerchantAccountUpdate) SetMastercardNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetMastercardNetworkTokensRequestorIdNil()

SetMastercardNetworkTokensRequestorIdNil sets the value for MastercardNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountUpdate) SetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookPassword(v string)

SetOutboundWebhookPassword gets a reference to the given NullableString and assigns it to the OutboundWebhookPassword field.

func (*MerchantAccountUpdate) SetOutboundWebhookPasswordNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookPasswordNil()

SetOutboundWebhookPasswordNil sets the value for OutboundWebhookPassword to be an explicit nil

func (*MerchantAccountUpdate) SetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookUrl(v string)

SetOutboundWebhookUrl gets a reference to the given NullableString and assigns it to the OutboundWebhookUrl field.

func (*MerchantAccountUpdate) SetOutboundWebhookUrlNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookUrlNil()

SetOutboundWebhookUrlNil sets the value for OutboundWebhookUrl to be an explicit nil

func (*MerchantAccountUpdate) SetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookUsername(v string)

SetOutboundWebhookUsername gets a reference to the given NullableString and assigns it to the OutboundWebhookUsername field.

func (*MerchantAccountUpdate) SetOutboundWebhookUsernameNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetOutboundWebhookUsernameNil()

SetOutboundWebhookUsernameNil sets the value for OutboundWebhookUsername to be an explicit nil

func (*MerchantAccountUpdate) SetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetVisaNetworkTokensAppId(v string)

SetVisaNetworkTokensAppId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensAppId field.

func (*MerchantAccountUpdate) SetVisaNetworkTokensAppIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetVisaNetworkTokensAppIdNil()

SetVisaNetworkTokensAppIdNil sets the value for VisaNetworkTokensAppId to be an explicit nil

func (*MerchantAccountUpdate) SetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetVisaNetworkTokensRequestorId(v string)

SetVisaNetworkTokensRequestorId gets a reference to the given NullableString and assigns it to the VisaNetworkTokensRequestorId field.

func (*MerchantAccountUpdate) SetVisaNetworkTokensRequestorIdNil ¶ added in v0.27.0

func (o *MerchantAccountUpdate) SetVisaNetworkTokensRequestorIdNil()

SetVisaNetworkTokensRequestorIdNil sets the value for VisaNetworkTokensRequestorId to be an explicit nil

func (*MerchantAccountUpdate) UnsetAmexNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetAmexNetworkTokensAppId()

UnsetAmexNetworkTokensAppId ensures that no value is present for AmexNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountUpdate) UnsetAmexNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetAmexNetworkTokensRequestorId()

UnsetAmexNetworkTokensRequestorId ensures that no value is present for AmexNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccountUpdate) UnsetLoonClientKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) UnsetLoonClientKey()

UnsetLoonClientKey ensures that no value is present for LoonClientKey, not even an explicit nil

func (*MerchantAccountUpdate) UnsetLoonSecretKey ¶ added in v0.31.0

func (o *MerchantAccountUpdate) UnsetLoonSecretKey()

UnsetLoonSecretKey ensures that no value is present for LoonSecretKey, not even an explicit nil

func (*MerchantAccountUpdate) UnsetMastercardNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetMastercardNetworkTokensAppId()

UnsetMastercardNetworkTokensAppId ensures that no value is present for MastercardNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountUpdate) UnsetMastercardNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetMastercardNetworkTokensRequestorId()

UnsetMastercardNetworkTokensRequestorId ensures that no value is present for MastercardNetworkTokensRequestorId, not even an explicit nil

func (*MerchantAccountUpdate) UnsetOutboundWebhookPassword ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetOutboundWebhookPassword()

UnsetOutboundWebhookPassword ensures that no value is present for OutboundWebhookPassword, not even an explicit nil

func (*MerchantAccountUpdate) UnsetOutboundWebhookUrl ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetOutboundWebhookUrl()

UnsetOutboundWebhookUrl ensures that no value is present for OutboundWebhookUrl, not even an explicit nil

func (*MerchantAccountUpdate) UnsetOutboundWebhookUsername ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetOutboundWebhookUsername()

UnsetOutboundWebhookUsername ensures that no value is present for OutboundWebhookUsername, not even an explicit nil

func (*MerchantAccountUpdate) UnsetVisaNetworkTokensAppId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetVisaNetworkTokensAppId()

UnsetVisaNetworkTokensAppId ensures that no value is present for VisaNetworkTokensAppId, not even an explicit nil

func (*MerchantAccountUpdate) UnsetVisaNetworkTokensRequestorId ¶ added in v0.27.0

func (o *MerchantAccountUpdate) UnsetVisaNetworkTokensRequestorId()

UnsetVisaNetworkTokensRequestorId ensures that no value is present for VisaNetworkTokensRequestorId, not even an explicit nil

type MerchantAccounts ¶ added in v0.22.0

type MerchantAccounts struct {
	// A list of merchant accounts.
	Items *[]MerchantAccount `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

MerchantAccounts struct for MerchantAccounts

func NewMerchantAccounts ¶ added in v0.22.0

func NewMerchantAccounts() *MerchantAccounts

NewMerchantAccounts instantiates a new MerchantAccounts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantAccountsWithDefaults ¶ added in v0.22.0

func NewMerchantAccountsWithDefaults() *MerchantAccounts

NewMerchantAccountsWithDefaults instantiates a new MerchantAccounts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantAccounts) GetItems ¶ added in v0.22.0

func (o *MerchantAccounts) GetItems() []MerchantAccount

GetItems returns the Items field value if set, zero value otherwise.

func (*MerchantAccounts) GetItemsOk ¶ added in v0.22.0

func (o *MerchantAccounts) GetItemsOk() (*[]MerchantAccount, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccounts) GetLimit ¶ added in v0.22.0

func (o *MerchantAccounts) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*MerchantAccounts) GetLimitOk ¶ added in v0.22.0

func (o *MerchantAccounts) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantAccounts) GetNextCursor ¶ added in v0.22.0

func (o *MerchantAccounts) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccounts) GetNextCursorOk ¶ added in v0.22.0

func (o *MerchantAccounts) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccounts) GetPreviousCursor ¶ added in v0.22.0

func (o *MerchantAccounts) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantAccounts) GetPreviousCursorOk ¶ added in v0.22.0

func (o *MerchantAccounts) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantAccounts) HasItems ¶ added in v0.22.0

func (o *MerchantAccounts) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*MerchantAccounts) HasLimit ¶ added in v0.22.0

func (o *MerchantAccounts) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*MerchantAccounts) HasNextCursor ¶ added in v0.22.0

func (o *MerchantAccounts) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*MerchantAccounts) HasPreviousCursor ¶ added in v0.22.0

func (o *MerchantAccounts) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (MerchantAccounts) MarshalJSON ¶ added in v0.22.0

func (o MerchantAccounts) MarshalJSON() ([]byte, error)

func (*MerchantAccounts) SetItems ¶ added in v0.22.0

func (o *MerchantAccounts) SetItems(v []MerchantAccount)

SetItems gets a reference to the given []MerchantAccount and assigns it to the Items field.

func (*MerchantAccounts) SetLimit ¶ added in v0.22.0

func (o *MerchantAccounts) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*MerchantAccounts) SetNextCursor ¶ added in v0.22.0

func (o *MerchantAccounts) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*MerchantAccounts) SetNextCursorNil ¶ added in v0.22.0

func (o *MerchantAccounts) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*MerchantAccounts) SetPreviousCursor ¶ added in v0.22.0

func (o *MerchantAccounts) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*MerchantAccounts) SetPreviousCursorNil ¶ added in v0.22.0

func (o *MerchantAccounts) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*MerchantAccounts) UnsetNextCursor ¶ added in v0.22.0

func (o *MerchantAccounts) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*MerchantAccounts) UnsetPreviousCursor ¶ added in v0.22.0

func (o *MerchantAccounts) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type MerchantAccountsApiService ¶ added in v0.22.0

type MerchantAccountsApiService service

MerchantAccountsApiService MerchantAccountsApi service

func (*MerchantAccountsApiService) DeleteMerchantAccuont ¶ added in v0.22.0

func (a *MerchantAccountsApiService) DeleteMerchantAccuont(ctx _context.Context, merchantAccountId string) ApiDeleteMerchantAccuontRequest

* DeleteMerchantAccuont Delete merchant account * Deletes a specific merchant account. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param merchantAccountId The unique ID for a merchant account. * @return ApiDeleteMerchantAccuontRequest

func (*MerchantAccountsApiService) DeleteMerchantAccuontExecute ¶ added in v0.22.0

func (a *MerchantAccountsApiService) DeleteMerchantAccuontExecute(r ApiDeleteMerchantAccuontRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*MerchantAccountsApiService) GetMerchantAccount ¶ added in v0.31.0

func (a *MerchantAccountsApiService) GetMerchantAccount(ctx _context.Context, merchantAccountId string) ApiGetMerchantAccountRequest

* GetMerchantAccount Get merchant account * Retrieves details of a merchant account. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param merchantAccountId The unique ID for a merchant account. * @return ApiGetMerchantAccountRequest

func (*MerchantAccountsApiService) GetMerchantAccountExecute ¶ added in v0.31.0

* Execute executes the request * @return MerchantAccount

func (*MerchantAccountsApiService) ListMerchantAccounts ¶ added in v0.22.0

* ListMerchantAccounts List merchant accounts * Lists all merchant accounts in an instance. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListMerchantAccountsRequest

func (*MerchantAccountsApiService) ListMerchantAccountsExecute ¶ added in v0.22.0

* Execute executes the request * @return MerchantAccounts

func (*MerchantAccountsApiService) NewMerchantAccount ¶ added in v0.27.0

  • NewMerchantAccount New merchant account
  • Create a merchant account. Optionally, provide an `outbound_webhook_url`, and

if HTTP Basic Authentication is required, provide the `outbound_webhook_username` and `outbound_webhook_password`. When retrieving a Merchant Account the `outbound_webhook_password` will be omitted.

Optionally provide Network Tokens configuration per scheme. If done, all parameters for the same scheme must be provided.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiNewMerchantAccountRequest

func (*MerchantAccountsApiService) NewMerchantAccountExecute ¶ added in v0.27.0

* Execute executes the request * @return MerchantAccount

func (*MerchantAccountsApiService) UpdateMerchantAccount ¶ added in v0.27.0

func (a *MerchantAccountsApiService) UpdateMerchantAccount(ctx _context.Context, merchantAccountId string) ApiUpdateMerchantAccountRequest
  • UpdateMerchantAccount Update merchant account
  • Update an existing merchant account. Optionally, provide an

`outbound_webhook_url`, and if HTTP Basic Authentication is required, provide the `outbound_webhook_username` and `outbound_webhook_password`. When retrieving a Merchant Account the `outbound_webhook_password` will be omitted.

Optionally provide Network Tokens configuration per scheme. If done, all parameters for the same scheme must be provided.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param merchantAccountId The unique ID for a merchant account.
  • @return ApiUpdateMerchantAccountRequest

func (*MerchantAccountsApiService) UpdateMerchantAccountExecute ¶ added in v0.27.0

* Execute executes the request * @return MerchantAccount

type MerchantProfile ¶ added in v0.22.0

type MerchantProfile struct {
	// Merchant profile for Amex.
	Amex NullableMerchantProfileScheme `json:"amex,omitempty"`
	// Merchant profile for Discover.
	Discover NullableMerchantProfileScheme `json:"discover,omitempty"`
	// Merchant profile for Mastercard.
	Mastercard NullableMerchantProfileScheme `json:"mastercard,omitempty"`
	// Merchant profile for Visa.
	Visa NullableMerchantProfileScheme `json:"visa,omitempty"`
}

MerchantProfile Merchant profile for the different card schemes.

func NewMerchantProfile ¶ added in v0.22.0

func NewMerchantProfile() *MerchantProfile

NewMerchantProfile instantiates a new MerchantProfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantProfileWithDefaults ¶ added in v0.22.0

func NewMerchantProfileWithDefaults() *MerchantProfile

NewMerchantProfileWithDefaults instantiates a new MerchantProfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantProfile) GetAmex ¶ added in v0.22.0

GetAmex returns the Amex field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantProfile) GetAmexOk ¶ added in v0.22.0

func (o *MerchantProfile) GetAmexOk() (*MerchantProfileScheme, bool)

GetAmexOk returns a tuple with the Amex field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantProfile) GetDiscover ¶ added in v0.22.0

func (o *MerchantProfile) GetDiscover() MerchantProfileScheme

GetDiscover returns the Discover field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantProfile) GetDiscoverOk ¶ added in v0.22.0

func (o *MerchantProfile) GetDiscoverOk() (*MerchantProfileScheme, bool)

GetDiscoverOk returns a tuple with the Discover field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantProfile) GetMastercard ¶ added in v0.22.0

func (o *MerchantProfile) GetMastercard() MerchantProfileScheme

GetMastercard returns the Mastercard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantProfile) GetMastercardOk ¶ added in v0.22.0

func (o *MerchantProfile) GetMastercardOk() (*MerchantProfileScheme, bool)

GetMastercardOk returns a tuple with the Mastercard field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantProfile) GetVisa ¶ added in v0.22.0

GetVisa returns the Visa field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MerchantProfile) GetVisaOk ¶ added in v0.22.0

func (o *MerchantProfile) GetVisaOk() (*MerchantProfileScheme, bool)

GetVisaOk returns a tuple with the Visa field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MerchantProfile) HasAmex ¶ added in v0.22.0

func (o *MerchantProfile) HasAmex() bool

HasAmex returns a boolean if a field has been set.

func (*MerchantProfile) HasDiscover ¶ added in v0.22.0

func (o *MerchantProfile) HasDiscover() bool

HasDiscover returns a boolean if a field has been set.

func (*MerchantProfile) HasMastercard ¶ added in v0.22.0

func (o *MerchantProfile) HasMastercard() bool

HasMastercard returns a boolean if a field has been set.

func (*MerchantProfile) HasVisa ¶ added in v0.22.0

func (o *MerchantProfile) HasVisa() bool

HasVisa returns a boolean if a field has been set.

func (MerchantProfile) MarshalJSON ¶ added in v0.22.0

func (o MerchantProfile) MarshalJSON() ([]byte, error)

func (*MerchantProfile) SetAmex ¶ added in v0.22.0

func (o *MerchantProfile) SetAmex(v MerchantProfileScheme)

SetAmex gets a reference to the given NullableMerchantProfileScheme and assigns it to the Amex field.

func (*MerchantProfile) SetAmexNil ¶ added in v0.22.0

func (o *MerchantProfile) SetAmexNil()

SetAmexNil sets the value for Amex to be an explicit nil

func (*MerchantProfile) SetDiscover ¶ added in v0.22.0

func (o *MerchantProfile) SetDiscover(v MerchantProfileScheme)

SetDiscover gets a reference to the given NullableMerchantProfileScheme and assigns it to the Discover field.

func (*MerchantProfile) SetDiscoverNil ¶ added in v0.22.0

func (o *MerchantProfile) SetDiscoverNil()

SetDiscoverNil sets the value for Discover to be an explicit nil

func (*MerchantProfile) SetMastercard ¶ added in v0.22.0

func (o *MerchantProfile) SetMastercard(v MerchantProfileScheme)

SetMastercard gets a reference to the given NullableMerchantProfileScheme and assigns it to the Mastercard field.

func (*MerchantProfile) SetMastercardNil ¶ added in v0.22.0

func (o *MerchantProfile) SetMastercardNil()

SetMastercardNil sets the value for Mastercard to be an explicit nil

func (*MerchantProfile) SetVisa ¶ added in v0.22.0

func (o *MerchantProfile) SetVisa(v MerchantProfileScheme)

SetVisa gets a reference to the given NullableMerchantProfileScheme and assigns it to the Visa field.

func (*MerchantProfile) SetVisaNil ¶ added in v0.22.0

func (o *MerchantProfile) SetVisaNil()

SetVisaNil sets the value for Visa to be an explicit nil

func (*MerchantProfile) UnsetAmex ¶ added in v0.22.0

func (o *MerchantProfile) UnsetAmex()

UnsetAmex ensures that no value is present for Amex, not even an explicit nil

func (*MerchantProfile) UnsetDiscover ¶ added in v0.22.0

func (o *MerchantProfile) UnsetDiscover()

UnsetDiscover ensures that no value is present for Discover, not even an explicit nil

func (*MerchantProfile) UnsetMastercard ¶ added in v0.22.0

func (o *MerchantProfile) UnsetMastercard()

UnsetMastercard ensures that no value is present for Mastercard, not even an explicit nil

func (*MerchantProfile) UnsetVisa ¶ added in v0.22.0

func (o *MerchantProfile) UnsetVisa()

UnsetVisa ensures that no value is present for Visa, not even an explicit nil

type MerchantProfileScheme ¶ added in v0.22.0

type MerchantProfileScheme struct {
	// Acquirer bin to use when calling 3DS through this scheme.
	MerchantAcquirerBin *string `json:"merchant_acquirer_bin,omitempty"`
	// URL to send when calling 3DS through this scheme.
	MerchantUrl *string `json:"merchant_url,omitempty"`
	// Merchant ID to use when calling 3DS through this scheme.
	MerchantAcquirerId *string `json:"merchant_acquirer_id,omitempty"`
	// Merchant name to use when calling 3DS through this scheme.
	MerchantName *string `json:"merchant_name,omitempty"`
	// Acquirer bin to use when calling 3DS through this scheme.
	MerchantCountryCode *string `json:"merchant_country_code,omitempty"`
	// Acquirer bin to use when calling 3DS through this scheme.
	MerchantCategoryCode *string `json:"merchant_category_code,omitempty"`
}

MerchantProfileScheme Merchant profile for a specific scheme.

func NewMerchantProfileScheme ¶ added in v0.22.0

func NewMerchantProfileScheme() *MerchantProfileScheme

NewMerchantProfileScheme instantiates a new MerchantProfileScheme object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMerchantProfileSchemeWithDefaults ¶ added in v0.22.0

func NewMerchantProfileSchemeWithDefaults() *MerchantProfileScheme

NewMerchantProfileSchemeWithDefaults instantiates a new MerchantProfileScheme object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MerchantProfileScheme) GetMerchantAcquirerBin ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantAcquirerBin() string

GetMerchantAcquirerBin returns the MerchantAcquirerBin field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantAcquirerBinOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantAcquirerBinOk() (*string, bool)

GetMerchantAcquirerBinOk returns a tuple with the MerchantAcquirerBin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) GetMerchantAcquirerId ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantAcquirerId() string

GetMerchantAcquirerId returns the MerchantAcquirerId field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantAcquirerIdOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantAcquirerIdOk() (*string, bool)

GetMerchantAcquirerIdOk returns a tuple with the MerchantAcquirerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) GetMerchantCategoryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantCategoryCode() string

GetMerchantCategoryCode returns the MerchantCategoryCode field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantCategoryCodeOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantCategoryCodeOk() (*string, bool)

GetMerchantCategoryCodeOk returns a tuple with the MerchantCategoryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) GetMerchantCountryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantCountryCode() string

GetMerchantCountryCode returns the MerchantCountryCode field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantCountryCodeOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantCountryCodeOk() (*string, bool)

GetMerchantCountryCodeOk returns a tuple with the MerchantCountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) GetMerchantName ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantName() string

GetMerchantName returns the MerchantName field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantNameOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantNameOk() (*string, bool)

GetMerchantNameOk returns a tuple with the MerchantName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) GetMerchantUrl ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantUrl() string

GetMerchantUrl returns the MerchantUrl field value if set, zero value otherwise.

func (*MerchantProfileScheme) GetMerchantUrlOk ¶ added in v0.22.0

func (o *MerchantProfileScheme) GetMerchantUrlOk() (*string, bool)

GetMerchantUrlOk returns a tuple with the MerchantUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MerchantProfileScheme) HasMerchantAcquirerBin ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantAcquirerBin() bool

HasMerchantAcquirerBin returns a boolean if a field has been set.

func (*MerchantProfileScheme) HasMerchantAcquirerId ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantAcquirerId() bool

HasMerchantAcquirerId returns a boolean if a field has been set.

func (*MerchantProfileScheme) HasMerchantCategoryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantCategoryCode() bool

HasMerchantCategoryCode returns a boolean if a field has been set.

func (*MerchantProfileScheme) HasMerchantCountryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantCountryCode() bool

HasMerchantCountryCode returns a boolean if a field has been set.

func (*MerchantProfileScheme) HasMerchantName ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantName() bool

HasMerchantName returns a boolean if a field has been set.

func (*MerchantProfileScheme) HasMerchantUrl ¶ added in v0.22.0

func (o *MerchantProfileScheme) HasMerchantUrl() bool

HasMerchantUrl returns a boolean if a field has been set.

func (MerchantProfileScheme) MarshalJSON ¶ added in v0.22.0

func (o MerchantProfileScheme) MarshalJSON() ([]byte, error)

func (*MerchantProfileScheme) SetMerchantAcquirerBin ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantAcquirerBin(v string)

SetMerchantAcquirerBin gets a reference to the given string and assigns it to the MerchantAcquirerBin field.

func (*MerchantProfileScheme) SetMerchantAcquirerId ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantAcquirerId(v string)

SetMerchantAcquirerId gets a reference to the given string and assigns it to the MerchantAcquirerId field.

func (*MerchantProfileScheme) SetMerchantCategoryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantCategoryCode(v string)

SetMerchantCategoryCode gets a reference to the given string and assigns it to the MerchantCategoryCode field.

func (*MerchantProfileScheme) SetMerchantCountryCode ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantCountryCode(v string)

SetMerchantCountryCode gets a reference to the given string and assigns it to the MerchantCountryCode field.

func (*MerchantProfileScheme) SetMerchantName ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantName(v string)

SetMerchantName gets a reference to the given string and assigns it to the MerchantName field.

func (*MerchantProfileScheme) SetMerchantUrl ¶ added in v0.22.0

func (o *MerchantProfileScheme) SetMerchantUrl(v string)

SetMerchantUrl gets a reference to the given string and assigns it to the MerchantUrl field.

type NetworkToken ¶ added in v0.27.0

type NetworkToken struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The unique ID of the token.
	Id *string `json:"id,omitempty"`
	// The unique ID of the payment method.
	PaymentMethodId *string `json:"payment_method_id,omitempty"`
	// The state of the network token.  - `active` - The network token is active and ready to be used. - `inactive` - The network token is being deactivated. - `suspended` - The network token is suspended. - `deleted` - The network token is deleted.
	Status *string `json:"status,omitempty"`
	// The value of the network token.
	Token *string `json:"token,omitempty"`
	// The expiration date for the network token.
	ExpirationDate NullableString `json:"expiration_date,omitempty"`
	// The date and time when this network token was first created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this network token was last updated in our system.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

NetworkToken A network token generated by an open-loop PSP.

func NewNetworkToken ¶ added in v0.27.0

func NewNetworkToken() *NetworkToken

NewNetworkToken instantiates a new NetworkToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenWithDefaults ¶ added in v0.27.0

func NewNetworkTokenWithDefaults() *NetworkToken

NewNetworkTokenWithDefaults instantiates a new NetworkToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkToken) GetCreatedAt ¶ added in v0.27.0

func (o *NetworkToken) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkToken) GetCreatedAtOk ¶ added in v0.27.0

func (o *NetworkToken) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetExpirationDate ¶ added in v0.27.0

func (o *NetworkToken) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkToken) GetExpirationDateOk ¶ added in v0.27.0

func (o *NetworkToken) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkToken) GetId ¶ added in v0.27.0

func (o *NetworkToken) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkToken) GetIdOk ¶ added in v0.27.0

func (o *NetworkToken) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetPaymentMethodId ¶ added in v0.27.0

func (o *NetworkToken) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*NetworkToken) GetPaymentMethodIdOk ¶ added in v0.27.0

func (o *NetworkToken) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetStatus ¶ added in v0.27.0

func (o *NetworkToken) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*NetworkToken) GetStatusOk ¶ added in v0.27.0

func (o *NetworkToken) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetToken ¶ added in v0.27.0

func (o *NetworkToken) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*NetworkToken) GetTokenOk ¶ added in v0.27.0

func (o *NetworkToken) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetType ¶ added in v0.31.0

func (o *NetworkToken) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkToken) GetTypeOk ¶ added in v0.31.0

func (o *NetworkToken) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) GetUpdatedAt ¶ added in v0.27.0

func (o *NetworkToken) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NetworkToken) GetUpdatedAtOk ¶ added in v0.27.0

func (o *NetworkToken) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkToken) HasCreatedAt ¶ added in v0.27.0

func (o *NetworkToken) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkToken) HasExpirationDate ¶ added in v0.27.0

func (o *NetworkToken) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*NetworkToken) HasId ¶ added in v0.27.0

func (o *NetworkToken) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkToken) HasPaymentMethodId ¶ added in v0.27.0

func (o *NetworkToken) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*NetworkToken) HasStatus ¶ added in v0.27.0

func (o *NetworkToken) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NetworkToken) HasToken ¶ added in v0.27.0

func (o *NetworkToken) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*NetworkToken) HasType ¶ added in v0.31.0

func (o *NetworkToken) HasType() bool

HasType returns a boolean if a field has been set.

func (*NetworkToken) HasUpdatedAt ¶ added in v0.27.0

func (o *NetworkToken) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (NetworkToken) MarshalJSON ¶ added in v0.27.0

func (o NetworkToken) MarshalJSON() ([]byte, error)

func (*NetworkToken) SetCreatedAt ¶ added in v0.27.0

func (o *NetworkToken) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkToken) SetExpirationDate ¶ added in v0.27.0

func (o *NetworkToken) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given NullableString and assigns it to the ExpirationDate field.

func (*NetworkToken) SetExpirationDateNil ¶ added in v0.27.0

func (o *NetworkToken) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*NetworkToken) SetId ¶ added in v0.27.0

func (o *NetworkToken) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*NetworkToken) SetPaymentMethodId ¶ added in v0.27.0

func (o *NetworkToken) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*NetworkToken) SetStatus ¶ added in v0.27.0

func (o *NetworkToken) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*NetworkToken) SetToken ¶ added in v0.27.0

func (o *NetworkToken) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*NetworkToken) SetType ¶ added in v0.31.0

func (o *NetworkToken) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*NetworkToken) SetUpdatedAt ¶ added in v0.27.0

func (o *NetworkToken) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*NetworkToken) UnsetExpirationDate ¶ added in v0.27.0

func (o *NetworkToken) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

type NetworkTokenCryptogramProvisionFailed ¶ added in v0.32.0

type NetworkTokenCryptogramProvisionFailed struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `network-token-cryptogram-provision-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                    `json:"created_at,omitempty"`
	Context   *NetworkTokenCryptogramProvisionFailedContext `json:"context,omitempty"`
}

NetworkTokenCryptogramProvisionFailed This event logs the request and response details of HTTP calls made to provision a cryptogram for a network token, in case the call failed.

func NewNetworkTokenCryptogramProvisionFailed ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionFailed() *NetworkTokenCryptogramProvisionFailed

NewNetworkTokenCryptogramProvisionFailed instantiates a new NetworkTokenCryptogramProvisionFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenCryptogramProvisionFailedWithDefaults ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionFailedWithDefaults() *NetworkTokenCryptogramProvisionFailed

NewNetworkTokenCryptogramProvisionFailedWithDefaults instantiates a new NetworkTokenCryptogramProvisionFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenCryptogramProvisionFailed) GetContext ¶ added in v0.32.0

GetContext returns the Context field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailed) GetContextOk ¶ added in v0.32.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailed) GetCreatedAt ¶ added in v0.32.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailed) GetCreatedAtOk ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailed) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailed) GetId ¶ added in v0.32.0

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailed) GetIdOk ¶ added in v0.32.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailed) GetName ¶ added in v0.32.0

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailed) GetNameOk ¶ added in v0.32.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailed) GetType ¶ added in v0.32.0

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailed) GetTypeOk ¶ added in v0.32.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailed) HasContext ¶ added in v0.32.0

HasContext returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailed) HasCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailed) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailed) HasId ¶ added in v0.32.0

HasId returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailed) HasName ¶ added in v0.32.0

HasName returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailed) HasType ¶ added in v0.32.0

HasType returns a boolean if a field has been set.

func (NetworkTokenCryptogramProvisionFailed) MarshalJSON ¶ added in v0.32.0

func (o NetworkTokenCryptogramProvisionFailed) MarshalJSON() ([]byte, error)

func (*NetworkTokenCryptogramProvisionFailed) SetContext ¶ added in v0.32.0

SetContext gets a reference to the given NetworkTokenCryptogramProvisionFailedContext and assigns it to the Context field.

func (*NetworkTokenCryptogramProvisionFailed) SetCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailed) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTokenCryptogramProvisionFailed) SetId ¶ added in v0.32.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*NetworkTokenCryptogramProvisionFailed) SetName ¶ added in v0.32.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTokenCryptogramProvisionFailed) SetType ¶ added in v0.32.0

SetType gets a reference to the given string and assigns it to the Type field.

type NetworkTokenCryptogramProvisionFailedContext ¶ added in v0.32.0

type NetworkTokenCryptogramProvisionFailedContext struct {
	// The endpoint for the request, if performed.
	Url NullableString `json:"url,omitempty"`
	// The HTTP body sent to the Network Token provider, if performed.
	Request NullableString `json:"request,omitempty"`
	// The HTTP body received from the Network Token provider, if any.
	Response NullableString `json:"response,omitempty"`
	// The HTTP response status code from the Network Token provider, if any.
	ResponseStatusCode NullableFloat32 `json:"response_status_code,omitempty"`
	// The reason we could not provision the cryptogram.
	Reason *string `json:"reason,omitempty"`
}

NetworkTokenCryptogramProvisionFailedContext Additional context for this event.

func NewNetworkTokenCryptogramProvisionFailedContext ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionFailedContext() *NetworkTokenCryptogramProvisionFailedContext

NewNetworkTokenCryptogramProvisionFailedContext instantiates a new NetworkTokenCryptogramProvisionFailedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenCryptogramProvisionFailedContextWithDefaults ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionFailedContextWithDefaults() *NetworkTokenCryptogramProvisionFailedContext

NewNetworkTokenCryptogramProvisionFailedContextWithDefaults instantiates a new NetworkTokenCryptogramProvisionFailedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenCryptogramProvisionFailedContext) GetReason ¶ added in v0.32.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionFailedContext) GetReasonOk ¶ added in v0.32.0

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionFailedContext) GetRequest ¶ added in v0.32.0

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenCryptogramProvisionFailedContext) GetRequestOk ¶ added in v0.32.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenCryptogramProvisionFailedContext) GetResponse ¶ added in v0.32.0

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenCryptogramProvisionFailedContext) GetResponseOk ¶ added in v0.32.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenCryptogramProvisionFailedContext) GetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenCryptogramProvisionFailedContext) GetResponseStatusCodeOk ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenCryptogramProvisionFailedContext) GetUrl ¶ added in v0.32.0

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenCryptogramProvisionFailedContext) GetUrlOk ¶ added in v0.32.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenCryptogramProvisionFailedContext) HasReason ¶ added in v0.32.0

HasReason returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailedContext) HasRequest ¶ added in v0.32.0

HasRequest returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailedContext) HasResponse ¶ added in v0.32.0

HasResponse returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailedContext) HasResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionFailedContext) HasUrl ¶ added in v0.32.0

HasUrl returns a boolean if a field has been set.

func (NetworkTokenCryptogramProvisionFailedContext) MarshalJSON ¶ added in v0.32.0

func (*NetworkTokenCryptogramProvisionFailedContext) SetReason ¶ added in v0.32.0

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*NetworkTokenCryptogramProvisionFailedContext) SetRequest ¶ added in v0.32.0

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*NetworkTokenCryptogramProvisionFailedContext) SetRequestNil ¶ added in v0.32.0

SetRequestNil sets the value for Request to be an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) SetResponse ¶ added in v0.32.0

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*NetworkTokenCryptogramProvisionFailedContext) SetResponseNil ¶ added in v0.32.0

SetResponseNil sets the value for Response to be an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) SetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given NullableFloat32 and assigns it to the ResponseStatusCode field.

func (*NetworkTokenCryptogramProvisionFailedContext) SetResponseStatusCodeNil ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) SetUrl ¶ added in v0.32.0

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*NetworkTokenCryptogramProvisionFailedContext) SetUrlNil ¶ added in v0.32.0

SetUrlNil sets the value for Url to be an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) UnsetRequest ¶ added in v0.32.0

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) UnsetResponse ¶ added in v0.32.0

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) UnsetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionFailedContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

func (*NetworkTokenCryptogramProvisionFailedContext) UnsetUrl ¶ added in v0.32.0

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type NetworkTokenCryptogramProvisionSucceeded ¶ added in v0.32.0

type NetworkTokenCryptogramProvisionSucceeded struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `network-token-cryptogram-provision-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                       `json:"created_at,omitempty"`
	Context   *NetworkTokenCryptogramProvisionSucceededContext `json:"context,omitempty"`
}

NetworkTokenCryptogramProvisionSucceeded This event logs the request and response details of HTTP calls made to provision a cryptogram for a network token, in case the call succeeded.

func NewNetworkTokenCryptogramProvisionSucceeded ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionSucceeded() *NetworkTokenCryptogramProvisionSucceeded

NewNetworkTokenCryptogramProvisionSucceeded instantiates a new NetworkTokenCryptogramProvisionSucceeded object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenCryptogramProvisionSucceededWithDefaults ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionSucceededWithDefaults() *NetworkTokenCryptogramProvisionSucceeded

NewNetworkTokenCryptogramProvisionSucceededWithDefaults instantiates a new NetworkTokenCryptogramProvisionSucceeded object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenCryptogramProvisionSucceeded) GetContext ¶ added in v0.32.0

GetContext returns the Context field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceeded) GetContextOk ¶ added in v0.32.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) GetCreatedAt ¶ added in v0.32.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceeded) GetCreatedAtOk ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionSucceeded) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) GetId ¶ added in v0.32.0

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceeded) GetIdOk ¶ added in v0.32.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) GetName ¶ added in v0.32.0

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceeded) GetNameOk ¶ added in v0.32.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) GetType ¶ added in v0.32.0

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceeded) GetTypeOk ¶ added in v0.32.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) HasContext ¶ added in v0.32.0

HasContext returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) HasCreatedAt ¶ added in v0.32.0

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) HasId ¶ added in v0.32.0

HasId returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) HasName ¶ added in v0.32.0

HasName returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceeded) HasType ¶ added in v0.32.0

HasType returns a boolean if a field has been set.

func (NetworkTokenCryptogramProvisionSucceeded) MarshalJSON ¶ added in v0.32.0

func (*NetworkTokenCryptogramProvisionSucceeded) SetContext ¶ added in v0.32.0

SetContext gets a reference to the given NetworkTokenCryptogramProvisionSucceededContext and assigns it to the Context field.

func (*NetworkTokenCryptogramProvisionSucceeded) SetCreatedAt ¶ added in v0.32.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTokenCryptogramProvisionSucceeded) SetId ¶ added in v0.32.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*NetworkTokenCryptogramProvisionSucceeded) SetName ¶ added in v0.32.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTokenCryptogramProvisionSucceeded) SetType ¶ added in v0.32.0

SetType gets a reference to the given string and assigns it to the Type field.

type NetworkTokenCryptogramProvisionSucceededContext ¶ added in v0.32.0

type NetworkTokenCryptogramProvisionSucceededContext struct {
	// The endpoint for the request.
	Url *string `json:"url,omitempty"`
	// The HTTP body sent to the Network Token provider.
	Request *string `json:"request,omitempty"`
	// The HTTP body received from the Network Token provider.
	Response *string `json:"response,omitempty"`
	// The HTTP response status code from the Network Token provider.
	ResponseStatusCode *float32 `json:"response_status_code,omitempty"`
}

NetworkTokenCryptogramProvisionSucceededContext Additional context for this event.

func NewNetworkTokenCryptogramProvisionSucceededContext ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionSucceededContext() *NetworkTokenCryptogramProvisionSucceededContext

NewNetworkTokenCryptogramProvisionSucceededContext instantiates a new NetworkTokenCryptogramProvisionSucceededContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenCryptogramProvisionSucceededContextWithDefaults ¶ added in v0.32.0

func NewNetworkTokenCryptogramProvisionSucceededContextWithDefaults() *NetworkTokenCryptogramProvisionSucceededContext

NewNetworkTokenCryptogramProvisionSucceededContextWithDefaults instantiates a new NetworkTokenCryptogramProvisionSucceededContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenCryptogramProvisionSucceededContext) GetRequest ¶ added in v0.32.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetRequestOk ¶ added in v0.32.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetResponse ¶ added in v0.32.0

GetResponse returns the Response field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetResponseOk ¶ added in v0.32.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionSucceededContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetResponseStatusCodeOk ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionSucceededContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetUrl ¶ added in v0.32.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*NetworkTokenCryptogramProvisionSucceededContext) GetUrlOk ¶ added in v0.32.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) HasRequest ¶ added in v0.32.0

HasRequest returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) HasResponse ¶ added in v0.32.0

HasResponse returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) HasResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionSucceededContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*NetworkTokenCryptogramProvisionSucceededContext) HasUrl ¶ added in v0.32.0

HasUrl returns a boolean if a field has been set.

func (NetworkTokenCryptogramProvisionSucceededContext) MarshalJSON ¶ added in v0.32.0

func (*NetworkTokenCryptogramProvisionSucceededContext) SetRequest ¶ added in v0.32.0

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*NetworkTokenCryptogramProvisionSucceededContext) SetResponse ¶ added in v0.32.0

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*NetworkTokenCryptogramProvisionSucceededContext) SetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenCryptogramProvisionSucceededContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given float32 and assigns it to the ResponseStatusCode field.

func (*NetworkTokenCryptogramProvisionSucceededContext) SetUrl ¶ added in v0.32.0

SetUrl gets a reference to the given string and assigns it to the Url field.

type NetworkTokenProvisionFailed ¶ added in v0.32.0

type NetworkTokenProvisionFailed struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `network-token-provision-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                          `json:"created_at,omitempty"`
	Context   *NetworkTokenProvisionFailedContext `json:"context,omitempty"`
}

NetworkTokenProvisionFailed This event logs the request and response details of HTTP calls made to provision a network token, in case the call failed.

func NewNetworkTokenProvisionFailed ¶ added in v0.32.0

func NewNetworkTokenProvisionFailed() *NetworkTokenProvisionFailed

NewNetworkTokenProvisionFailed instantiates a new NetworkTokenProvisionFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenProvisionFailedWithDefaults ¶ added in v0.32.0

func NewNetworkTokenProvisionFailedWithDefaults() *NetworkTokenProvisionFailed

NewNetworkTokenProvisionFailedWithDefaults instantiates a new NetworkTokenProvisionFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenProvisionFailed) GetContext ¶ added in v0.32.0

GetContext returns the Context field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailed) GetContextOk ¶ added in v0.32.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailed) GetCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailed) GetCreatedAtOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailed) GetId ¶ added in v0.32.0

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailed) GetIdOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailed) GetName ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailed) GetNameOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailed) GetType ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailed) GetTypeOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailed) HasContext ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailed) HasCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailed) HasId ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailed) HasName ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailed) HasType ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkTokenProvisionFailed) MarshalJSON ¶ added in v0.32.0

func (o NetworkTokenProvisionFailed) MarshalJSON() ([]byte, error)

func (*NetworkTokenProvisionFailed) SetContext ¶ added in v0.32.0

SetContext gets a reference to the given NetworkTokenProvisionFailedContext and assigns it to the Context field.

func (*NetworkTokenProvisionFailed) SetCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTokenProvisionFailed) SetId ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*NetworkTokenProvisionFailed) SetName ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTokenProvisionFailed) SetType ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailed) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type NetworkTokenProvisionFailedContext ¶ added in v0.32.0

type NetworkTokenProvisionFailedContext struct {
	// The endpoint for the request, if performed.
	Url NullableString `json:"url,omitempty"`
	// The HTTP body sent to the Network Token provider, if performed.
	Request NullableString `json:"request,omitempty"`
	// The HTTP body received from the Network Token provider, if any.
	Response NullableString `json:"response,omitempty"`
	// The HTTP response status code from the Network Token provider, if any.
	ResponseStatusCode NullableFloat32 `json:"response_status_code,omitempty"`
	// The reason we could not provision the network token.
	Reason *string `json:"reason,omitempty"`
}

NetworkTokenProvisionFailedContext Additional context for this event.

func NewNetworkTokenProvisionFailedContext ¶ added in v0.32.0

func NewNetworkTokenProvisionFailedContext() *NetworkTokenProvisionFailedContext

NewNetworkTokenProvisionFailedContext instantiates a new NetworkTokenProvisionFailedContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenProvisionFailedContextWithDefaults ¶ added in v0.32.0

func NewNetworkTokenProvisionFailedContextWithDefaults() *NetworkTokenProvisionFailedContext

NewNetworkTokenProvisionFailedContextWithDefaults instantiates a new NetworkTokenProvisionFailedContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenProvisionFailedContext) GetReason ¶ added in v0.32.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*NetworkTokenProvisionFailedContext) GetReasonOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionFailedContext) GetRequest ¶ added in v0.32.0

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenProvisionFailedContext) GetRequestOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenProvisionFailedContext) GetResponse ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenProvisionFailedContext) GetResponseOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenProvisionFailedContext) GetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetResponseStatusCode() float32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenProvisionFailedContext) GetResponseStatusCodeOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) GetResponseStatusCodeOk() (*float32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenProvisionFailedContext) GetUrl ¶ added in v0.32.0

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokenProvisionFailedContext) GetUrlOk ¶ added in v0.32.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokenProvisionFailedContext) HasReason ¶ added in v0.32.0

HasReason returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailedContext) HasRequest ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailedContext) HasResponse ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailedContext) HasResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*NetworkTokenProvisionFailedContext) HasUrl ¶ added in v0.32.0

HasUrl returns a boolean if a field has been set.

func (NetworkTokenProvisionFailedContext) MarshalJSON ¶ added in v0.32.0

func (o NetworkTokenProvisionFailedContext) MarshalJSON() ([]byte, error)

func (*NetworkTokenProvisionFailedContext) SetReason ¶ added in v0.32.0

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*NetworkTokenProvisionFailedContext) SetRequest ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetRequest(v string)

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*NetworkTokenProvisionFailedContext) SetRequestNil ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetRequestNil()

SetRequestNil sets the value for Request to be an explicit nil

func (*NetworkTokenProvisionFailedContext) SetResponse ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetResponse(v string)

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*NetworkTokenProvisionFailedContext) SetResponseNil ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetResponseNil()

SetResponseNil sets the value for Response to be an explicit nil

func (*NetworkTokenProvisionFailedContext) SetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetResponseStatusCode(v float32)

SetResponseStatusCode gets a reference to the given NullableFloat32 and assigns it to the ResponseStatusCode field.

func (*NetworkTokenProvisionFailedContext) SetResponseStatusCodeNil ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*NetworkTokenProvisionFailedContext) SetUrl ¶ added in v0.32.0

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*NetworkTokenProvisionFailedContext) SetUrlNil ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*NetworkTokenProvisionFailedContext) UnsetRequest ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) UnsetRequest()

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*NetworkTokenProvisionFailedContext) UnsetResponse ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) UnsetResponse()

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*NetworkTokenProvisionFailedContext) UnsetResponseStatusCode ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

func (*NetworkTokenProvisionFailedContext) UnsetUrl ¶ added in v0.32.0

func (o *NetworkTokenProvisionFailedContext) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type NetworkTokenProvisionSucceeded ¶ added in v0.32.0

type NetworkTokenProvisionSucceeded struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `network-token-provision-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                       `json:"created_at,omitempty"`
	Context   *NetworkTokenCryptogramProvisionSucceededContext `json:"context,omitempty"`
}

NetworkTokenProvisionSucceeded This event logs the request and response details of HTTP calls made to provision a network token, in case the call succeeded.

func NewNetworkTokenProvisionSucceeded ¶ added in v0.32.0

func NewNetworkTokenProvisionSucceeded() *NetworkTokenProvisionSucceeded

NewNetworkTokenProvisionSucceeded instantiates a new NetworkTokenProvisionSucceeded object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenProvisionSucceededWithDefaults ¶ added in v0.32.0

func NewNetworkTokenProvisionSucceededWithDefaults() *NetworkTokenProvisionSucceeded

NewNetworkTokenProvisionSucceededWithDefaults instantiates a new NetworkTokenProvisionSucceeded object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenProvisionSucceeded) GetContext ¶ added in v0.32.0

GetContext returns the Context field value if set, zero value otherwise.

func (*NetworkTokenProvisionSucceeded) GetContextOk ¶ added in v0.32.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionSucceeded) GetCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTokenProvisionSucceeded) GetCreatedAtOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionSucceeded) GetId ¶ added in v0.32.0

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkTokenProvisionSucceeded) GetIdOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionSucceeded) GetName ¶ added in v0.32.0

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTokenProvisionSucceeded) GetNameOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionSucceeded) GetType ¶ added in v0.32.0

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkTokenProvisionSucceeded) GetTypeOk ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenProvisionSucceeded) HasContext ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*NetworkTokenProvisionSucceeded) HasCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTokenProvisionSucceeded) HasId ¶ added in v0.32.0

HasId returns a boolean if a field has been set.

func (*NetworkTokenProvisionSucceeded) HasName ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkTokenProvisionSucceeded) HasType ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkTokenProvisionSucceeded) MarshalJSON ¶ added in v0.32.0

func (o NetworkTokenProvisionSucceeded) MarshalJSON() ([]byte, error)

func (*NetworkTokenProvisionSucceeded) SetContext ¶ added in v0.32.0

SetContext gets a reference to the given NetworkTokenCryptogramProvisionSucceededContext and assigns it to the Context field.

func (*NetworkTokenProvisionSucceeded) SetCreatedAt ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTokenProvisionSucceeded) SetId ¶ added in v0.32.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*NetworkTokenProvisionSucceeded) SetName ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTokenProvisionSucceeded) SetType ¶ added in v0.32.0

func (o *NetworkTokenProvisionSucceeded) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type NetworkTokenRequest ¶ added in v0.27.0

type NetworkTokenRequest struct {
	// The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.  The security code can only be set if the stored payment method represents a card.
	SecurityCode *string `json:"security_code,omitempty"`
	// Defines if the request is merchant initiated or not.
	MerchantInitiated bool `json:"merchant_initiated"`
	// Defines if the request is a subsequent of another request or not.
	IsSubsequentPayment bool `json:"is_subsequent_payment"`
}

NetworkTokenRequest Request body for provision a network token.

func NewNetworkTokenRequest ¶ added in v0.27.0

func NewNetworkTokenRequest(merchantInitiated bool, isSubsequentPayment bool) *NetworkTokenRequest

NewNetworkTokenRequest instantiates a new NetworkTokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokenRequestWithDefaults ¶ added in v0.27.0

func NewNetworkTokenRequestWithDefaults() *NetworkTokenRequest

NewNetworkTokenRequestWithDefaults instantiates a new NetworkTokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokenRequest) GetIsSubsequentPayment ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetIsSubsequentPayment() bool

GetIsSubsequentPayment returns the IsSubsequentPayment field value

func (*NetworkTokenRequest) GetIsSubsequentPaymentOk ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetIsSubsequentPaymentOk() (*bool, bool)

GetIsSubsequentPaymentOk returns a tuple with the IsSubsequentPayment field value and a boolean to check if the value has been set.

func (*NetworkTokenRequest) GetMerchantInitiated ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetMerchantInitiated() bool

GetMerchantInitiated returns the MerchantInitiated field value

func (*NetworkTokenRequest) GetMerchantInitiatedOk ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetMerchantInitiatedOk() (*bool, bool)

GetMerchantInitiatedOk returns a tuple with the MerchantInitiated field value and a boolean to check if the value has been set.

func (*NetworkTokenRequest) GetSecurityCode ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetSecurityCode() string

GetSecurityCode returns the SecurityCode field value if set, zero value otherwise.

func (*NetworkTokenRequest) GetSecurityCodeOk ¶ added in v0.27.0

func (o *NetworkTokenRequest) GetSecurityCodeOk() (*string, bool)

GetSecurityCodeOk returns a tuple with the SecurityCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokenRequest) HasSecurityCode ¶ added in v0.27.0

func (o *NetworkTokenRequest) HasSecurityCode() bool

HasSecurityCode returns a boolean if a field has been set.

func (NetworkTokenRequest) MarshalJSON ¶ added in v0.27.0

func (o NetworkTokenRequest) MarshalJSON() ([]byte, error)

func (*NetworkTokenRequest) SetIsSubsequentPayment ¶ added in v0.27.0

func (o *NetworkTokenRequest) SetIsSubsequentPayment(v bool)

SetIsSubsequentPayment sets field value

func (*NetworkTokenRequest) SetMerchantInitiated ¶ added in v0.27.0

func (o *NetworkTokenRequest) SetMerchantInitiated(v bool)

SetMerchantInitiated sets field value

func (*NetworkTokenRequest) SetSecurityCode ¶ added in v0.27.0

func (o *NetworkTokenRequest) SetSecurityCode(v string)

SetSecurityCode gets a reference to the given string and assigns it to the SecurityCode field.

type NetworkTokens ¶ added in v0.27.0

type NetworkTokens struct {
	// A list of network tokens.
	Items *[]NetworkToken `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

NetworkTokens A list of network tokens.

func NewNetworkTokens ¶ added in v0.27.0

func NewNetworkTokens() *NetworkTokens

NewNetworkTokens instantiates a new NetworkTokens object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkTokensWithDefaults ¶ added in v0.27.0

func NewNetworkTokensWithDefaults() *NetworkTokens

NewNetworkTokensWithDefaults instantiates a new NetworkTokens object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkTokens) GetItems ¶ added in v0.27.0

func (o *NetworkTokens) GetItems() []NetworkToken

GetItems returns the Items field value if set, zero value otherwise.

func (*NetworkTokens) GetItemsOk ¶ added in v0.27.0

func (o *NetworkTokens) GetItemsOk() (*[]NetworkToken, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokens) GetLimit ¶ added in v0.27.0

func (o *NetworkTokens) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*NetworkTokens) GetLimitOk ¶ added in v0.27.0

func (o *NetworkTokens) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkTokens) GetNextCursor ¶ added in v0.27.0

func (o *NetworkTokens) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokens) GetNextCursorOk ¶ added in v0.27.0

func (o *NetworkTokens) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokens) GetPreviousCursor ¶ added in v0.27.0

func (o *NetworkTokens) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NetworkTokens) GetPreviousCursorOk ¶ added in v0.27.0

func (o *NetworkTokens) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkTokens) HasItems ¶ added in v0.27.0

func (o *NetworkTokens) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*NetworkTokens) HasLimit ¶ added in v0.27.0

func (o *NetworkTokens) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*NetworkTokens) HasNextCursor ¶ added in v0.27.0

func (o *NetworkTokens) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*NetworkTokens) HasPreviousCursor ¶ added in v0.27.0

func (o *NetworkTokens) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (NetworkTokens) MarshalJSON ¶ added in v0.27.0

func (o NetworkTokens) MarshalJSON() ([]byte, error)

func (*NetworkTokens) SetItems ¶ added in v0.27.0

func (o *NetworkTokens) SetItems(v []NetworkToken)

SetItems gets a reference to the given []NetworkToken and assigns it to the Items field.

func (*NetworkTokens) SetLimit ¶ added in v0.27.0

func (o *NetworkTokens) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*NetworkTokens) SetNextCursor ¶ added in v0.27.0

func (o *NetworkTokens) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*NetworkTokens) SetNextCursorNil ¶ added in v0.27.0

func (o *NetworkTokens) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*NetworkTokens) SetPreviousCursor ¶ added in v0.27.0

func (o *NetworkTokens) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*NetworkTokens) SetPreviousCursorNil ¶ added in v0.27.0

func (o *NetworkTokens) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*NetworkTokens) UnsetNextCursor ¶ added in v0.27.0

func (o *NetworkTokens) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*NetworkTokens) UnsetPreviousCursor ¶ added in v0.27.0

func (o *NetworkTokens) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type NullableAPIKeyPairCreate ¶ added in v0.22.0

type NullableAPIKeyPairCreate struct {
	// contains filtered or unexported fields
}

func NewNullableAPIKeyPairCreate ¶ added in v0.22.0

func NewNullableAPIKeyPairCreate(val *APIKeyPairCreate) *NullableAPIKeyPairCreate

func (NullableAPIKeyPairCreate) Get ¶ added in v0.22.0

func (NullableAPIKeyPairCreate) IsSet ¶ added in v0.22.0

func (v NullableAPIKeyPairCreate) IsSet() bool

func (NullableAPIKeyPairCreate) MarshalJSON ¶ added in v0.22.0

func (v NullableAPIKeyPairCreate) MarshalJSON() ([]byte, error)

func (*NullableAPIKeyPairCreate) Set ¶ added in v0.22.0

func (*NullableAPIKeyPairCreate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableAPIKeyPairCreate) UnmarshalJSON(src []byte) error

func (*NullableAPIKeyPairCreate) Unset ¶ added in v0.22.0

func (v *NullableAPIKeyPairCreate) Unset()

type NullableAPIKeyPairUpdate ¶ added in v0.22.0

type NullableAPIKeyPairUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableAPIKeyPairUpdate ¶ added in v0.22.0

func NewNullableAPIKeyPairUpdate(val *APIKeyPairUpdate) *NullableAPIKeyPairUpdate

func (NullableAPIKeyPairUpdate) Get ¶ added in v0.22.0

func (NullableAPIKeyPairUpdate) IsSet ¶ added in v0.22.0

func (v NullableAPIKeyPairUpdate) IsSet() bool

func (NullableAPIKeyPairUpdate) MarshalJSON ¶ added in v0.22.0

func (v NullableAPIKeyPairUpdate) MarshalJSON() ([]byte, error)

func (*NullableAPIKeyPairUpdate) Set ¶ added in v0.22.0

func (*NullableAPIKeyPairUpdate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableAPIKeyPairUpdate) UnmarshalJSON(src []byte) error

func (*NullableAPIKeyPairUpdate) Unset ¶ added in v0.22.0

func (v *NullableAPIKeyPairUpdate) Unset()

type NullableAccountUpdaterInquirySummary ¶ added in v0.31.0

type NullableAccountUpdaterInquirySummary struct {
	// contains filtered or unexported fields
}

func NewNullableAccountUpdaterInquirySummary ¶ added in v0.31.0

func NewNullableAccountUpdaterInquirySummary(val *AccountUpdaterInquirySummary) *NullableAccountUpdaterInquirySummary

func (NullableAccountUpdaterInquirySummary) Get ¶ added in v0.31.0

func (NullableAccountUpdaterInquirySummary) IsSet ¶ added in v0.31.0

func (NullableAccountUpdaterInquirySummary) MarshalJSON ¶ added in v0.31.0

func (v NullableAccountUpdaterInquirySummary) MarshalJSON() ([]byte, error)

func (*NullableAccountUpdaterInquirySummary) Set ¶ added in v0.31.0

func (*NullableAccountUpdaterInquirySummary) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableAccountUpdaterInquirySummary) UnmarshalJSON(src []byte) error

func (*NullableAccountUpdaterInquirySummary) Unset ¶ added in v0.31.0

type NullableAccountUpdaterJob ¶ added in v0.31.0

type NullableAccountUpdaterJob struct {
	// contains filtered or unexported fields
}

func NewNullableAccountUpdaterJob ¶ added in v0.31.0

func NewNullableAccountUpdaterJob(val *AccountUpdaterJob) *NullableAccountUpdaterJob

func (NullableAccountUpdaterJob) Get ¶ added in v0.31.0

func (NullableAccountUpdaterJob) IsSet ¶ added in v0.31.0

func (v NullableAccountUpdaterJob) IsSet() bool

func (NullableAccountUpdaterJob) MarshalJSON ¶ added in v0.31.0

func (v NullableAccountUpdaterJob) MarshalJSON() ([]byte, error)

func (*NullableAccountUpdaterJob) Set ¶ added in v0.31.0

func (*NullableAccountUpdaterJob) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableAccountUpdaterJob) UnmarshalJSON(src []byte) error

func (*NullableAccountUpdaterJob) Unset ¶ added in v0.31.0

func (v *NullableAccountUpdaterJob) Unset()

type NullableAccountUpdaterJobCreate ¶ added in v0.31.0

type NullableAccountUpdaterJobCreate struct {
	// contains filtered or unexported fields
}

func NewNullableAccountUpdaterJobCreate ¶ added in v0.31.0

func NewNullableAccountUpdaterJobCreate(val *AccountUpdaterJobCreate) *NullableAccountUpdaterJobCreate

func (NullableAccountUpdaterJobCreate) Get ¶ added in v0.31.0

func (NullableAccountUpdaterJobCreate) IsSet ¶ added in v0.31.0

func (NullableAccountUpdaterJobCreate) MarshalJSON ¶ added in v0.31.0

func (v NullableAccountUpdaterJobCreate) MarshalJSON() ([]byte, error)

func (*NullableAccountUpdaterJobCreate) Set ¶ added in v0.31.0

func (*NullableAccountUpdaterJobCreate) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableAccountUpdaterJobCreate) UnmarshalJSON(src []byte) error

func (*NullableAccountUpdaterJobCreate) Unset ¶ added in v0.31.0

type NullableAddress ¶ added in v0.3.0

type NullableAddress struct {
	// contains filtered or unexported fields
}

func NewNullableAddress ¶ added in v0.3.0

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get ¶ added in v0.3.0

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet ¶ added in v0.3.0

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON ¶ added in v0.3.0

func (v NullableAddress) MarshalJSON() ([]byte, error)

func (*NullableAddress) Set ¶ added in v0.3.0

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableAddress) UnmarshalJSON(src []byte) error

func (*NullableAddress) Unset ¶ added in v0.3.0

func (v *NullableAddress) Unset()

type NullableAntiFraudDecisionErrorEvent ¶ added in v0.28.0

type NullableAntiFraudDecisionErrorEvent struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudDecisionErrorEvent ¶ added in v0.28.0

func NewNullableAntiFraudDecisionErrorEvent(val *AntiFraudDecisionErrorEvent) *NullableAntiFraudDecisionErrorEvent

func (NullableAntiFraudDecisionErrorEvent) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionErrorEvent) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionErrorEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudDecisionErrorEvent) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudDecisionErrorEvent) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionErrorEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionErrorEvent) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudDecisionErrorEvent) Unset ¶ added in v0.28.0

type NullableAntiFraudDecisionErrorEventContext ¶ added in v0.28.0

type NullableAntiFraudDecisionErrorEventContext struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudDecisionErrorEventContext ¶ added in v0.28.0

func NewNullableAntiFraudDecisionErrorEventContext(val *AntiFraudDecisionErrorEventContext) *NullableAntiFraudDecisionErrorEventContext

func (NullableAntiFraudDecisionErrorEventContext) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionErrorEventContext) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionErrorEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableAntiFraudDecisionErrorEventContext) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionErrorEventContext) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionErrorEventContext) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudDecisionErrorEventContext) Unset ¶ added in v0.28.0

type NullableAntiFraudDecisionEvent ¶ added in v0.28.0

type NullableAntiFraudDecisionEvent struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudDecisionEvent ¶ added in v0.28.0

func NewNullableAntiFraudDecisionEvent(val *AntiFraudDecisionEvent) *NullableAntiFraudDecisionEvent

func (NullableAntiFraudDecisionEvent) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionEvent) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudDecisionEvent) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudDecisionEvent) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionEvent) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudDecisionEvent) Unset ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionEvent) Unset()

type NullableAntiFraudDecisionEventContext ¶ added in v0.28.0

type NullableAntiFraudDecisionEventContext struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudDecisionEventContext ¶ added in v0.28.0

func NewNullableAntiFraudDecisionEventContext(val *AntiFraudDecisionEventContext) *NullableAntiFraudDecisionEventContext

func (NullableAntiFraudDecisionEventContext) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionEventContext) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionEventContext) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudDecisionEventContext) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudDecisionEventContext) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionEventContext) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionEventContext) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudDecisionEventContext) Unset ¶ added in v0.28.0

type NullableAntiFraudDecisionSkippedEvent ¶ added in v0.28.0

type NullableAntiFraudDecisionSkippedEvent struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudDecisionSkippedEvent ¶ added in v0.28.0

func NewNullableAntiFraudDecisionSkippedEvent(val *AntiFraudDecisionSkippedEvent) *NullableAntiFraudDecisionSkippedEvent

func (NullableAntiFraudDecisionSkippedEvent) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionSkippedEvent) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionSkippedEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudDecisionSkippedEvent) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudDecisionSkippedEvent) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionSkippedEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudDecisionSkippedEvent) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudDecisionSkippedEvent) Unset ¶ added in v0.28.0

type NullableAntiFraudDecisionSkippedEventContext ¶ added in v0.28.0

type NullableAntiFraudDecisionSkippedEventContext struct {
	// contains filtered or unexported fields
}

func (NullableAntiFraudDecisionSkippedEventContext) Get ¶ added in v0.28.0

func (NullableAntiFraudDecisionSkippedEventContext) IsSet ¶ added in v0.28.0

func (NullableAntiFraudDecisionSkippedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableAntiFraudDecisionSkippedEventContext) Set ¶ added in v0.28.0

func (*NullableAntiFraudDecisionSkippedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullableAntiFraudDecisionSkippedEventContext) Unset ¶ added in v0.28.0

type NullableAntiFraudServiceCreate ¶ added in v0.19.0

type NullableAntiFraudServiceCreate struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudServiceCreate ¶ added in v0.19.0

func NewNullableAntiFraudServiceCreate(val *AntiFraudServiceCreate) *NullableAntiFraudServiceCreate

func (NullableAntiFraudServiceCreate) Get ¶ added in v0.19.0

func (NullableAntiFraudServiceCreate) IsSet ¶ added in v0.19.0

func (NullableAntiFraudServiceCreate) MarshalJSON ¶ added in v0.19.0

func (v NullableAntiFraudServiceCreate) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudServiceCreate) Set ¶ added in v0.19.0

func (*NullableAntiFraudServiceCreate) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAntiFraudServiceCreate) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudServiceCreate) Unset ¶ added in v0.19.0

func (v *NullableAntiFraudServiceCreate) Unset()

type NullableAntiFraudServiceUpdate ¶ added in v0.19.0

type NullableAntiFraudServiceUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudServiceUpdate ¶ added in v0.19.0

func NewNullableAntiFraudServiceUpdate(val *AntiFraudServiceUpdate) *NullableAntiFraudServiceUpdate

func (NullableAntiFraudServiceUpdate) Get ¶ added in v0.19.0

func (NullableAntiFraudServiceUpdate) IsSet ¶ added in v0.19.0

func (NullableAntiFraudServiceUpdate) MarshalJSON ¶ added in v0.19.0

func (v NullableAntiFraudServiceUpdate) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudServiceUpdate) Set ¶ added in v0.19.0

func (*NullableAntiFraudServiceUpdate) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAntiFraudServiceUpdate) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudServiceUpdate) Unset ¶ added in v0.19.0

func (v *NullableAntiFraudServiceUpdate) Unset()

type NullableAntiFraudServiceUpdateFields ¶ added in v0.19.0

type NullableAntiFraudServiceUpdateFields struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudServiceUpdateFields ¶ added in v0.19.0

func NewNullableAntiFraudServiceUpdateFields(val *AntiFraudServiceUpdateFields) *NullableAntiFraudServiceUpdateFields

func (NullableAntiFraudServiceUpdateFields) Get ¶ added in v0.19.0

func (NullableAntiFraudServiceUpdateFields) IsSet ¶ added in v0.19.0

func (NullableAntiFraudServiceUpdateFields) MarshalJSON ¶ added in v0.19.0

func (v NullableAntiFraudServiceUpdateFields) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudServiceUpdateFields) Set ¶ added in v0.19.0

func (*NullableAntiFraudServiceUpdateFields) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAntiFraudServiceUpdateFields) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudServiceUpdateFields) Unset ¶ added in v0.19.0

type NullableAntiFraudTransactionStatusUpdateErrorEvent ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateErrorEvent struct {
	// contains filtered or unexported fields
}

func (NullableAntiFraudTransactionStatusUpdateErrorEvent) Get ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateErrorEvent) IsSet ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateErrorEvent) MarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEvent) Set ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEvent) UnmarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEvent) Unset ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateErrorEventContext ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateErrorEventContext struct {
	// contains filtered or unexported fields
}

func (NullableAntiFraudTransactionStatusUpdateErrorEventContext) Get ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateErrorEventContext) IsSet ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateErrorEventContext) MarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEventContext) Set ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEventContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateErrorEventContext) Unset ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateEvent ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateEvent struct {
	// contains filtered or unexported fields
}

func (NullableAntiFraudTransactionStatusUpdateEvent) Get ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateEvent) IsSet ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateEvent) MarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEvent) Set ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEvent) UnmarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEvent) Unset ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateEventContext ¶ added in v0.31.0

type NullableAntiFraudTransactionStatusUpdateEventContext struct {
	// contains filtered or unexported fields
}

func (NullableAntiFraudTransactionStatusUpdateEventContext) Get ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateEventContext) IsSet ¶ added in v0.31.0

func (NullableAntiFraudTransactionStatusUpdateEventContext) MarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEventContext) Set ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEventContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullableAntiFraudTransactionStatusUpdateEventContext) Unset ¶ added in v0.31.0

type NullableAntiFraudWebhookEvent ¶ added in v0.28.0

type NullableAntiFraudWebhookEvent struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudWebhookEvent ¶ added in v0.28.0

func NewNullableAntiFraudWebhookEvent(val *AntiFraudWebhookEvent) *NullableAntiFraudWebhookEvent

func (NullableAntiFraudWebhookEvent) Get ¶ added in v0.28.0

func (NullableAntiFraudWebhookEvent) IsSet ¶ added in v0.28.0

func (NullableAntiFraudWebhookEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudWebhookEvent) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudWebhookEvent) Set ¶ added in v0.28.0

func (*NullableAntiFraudWebhookEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudWebhookEvent) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudWebhookEvent) Unset ¶ added in v0.28.0

func (v *NullableAntiFraudWebhookEvent) Unset()

type NullableAntiFraudWebhookEventContext ¶ added in v0.28.0

type NullableAntiFraudWebhookEventContext struct {
	// contains filtered or unexported fields
}

func NewNullableAntiFraudWebhookEventContext ¶ added in v0.28.0

func NewNullableAntiFraudWebhookEventContext(val *AntiFraudWebhookEventContext) *NullableAntiFraudWebhookEventContext

func (NullableAntiFraudWebhookEventContext) Get ¶ added in v0.28.0

func (NullableAntiFraudWebhookEventContext) IsSet ¶ added in v0.28.0

func (NullableAntiFraudWebhookEventContext) MarshalJSON ¶ added in v0.28.0

func (v NullableAntiFraudWebhookEventContext) MarshalJSON() ([]byte, error)

func (*NullableAntiFraudWebhookEventContext) Set ¶ added in v0.28.0

func (*NullableAntiFraudWebhookEventContext) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableAntiFraudWebhookEventContext) UnmarshalJSON(src []byte) error

func (*NullableAntiFraudWebhookEventContext) Unset ¶ added in v0.28.0

type NullableApiLog ¶ added in v0.22.0

type NullableApiLog struct {
	// contains filtered or unexported fields
}

func NewNullableApiLog ¶ added in v0.22.0

func NewNullableApiLog(val *ApiLog) *NullableApiLog

func (NullableApiLog) Get ¶ added in v0.22.0

func (v NullableApiLog) Get() *ApiLog

func (NullableApiLog) IsSet ¶ added in v0.22.0

func (v NullableApiLog) IsSet() bool

func (NullableApiLog) MarshalJSON ¶ added in v0.22.0

func (v NullableApiLog) MarshalJSON() ([]byte, error)

func (*NullableApiLog) Set ¶ added in v0.22.0

func (v *NullableApiLog) Set(val *ApiLog)

func (*NullableApiLog) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableApiLog) UnmarshalJSON(src []byte) error

func (*NullableApiLog) Unset ¶ added in v0.22.0

func (v *NullableApiLog) Unset()

type NullableApiLogResponseBody ¶ added in v0.22.0

type NullableApiLogResponseBody struct {
	// contains filtered or unexported fields
}

func NewNullableApiLogResponseBody ¶ added in v0.22.0

func NewNullableApiLogResponseBody(val *ApiLogResponseBody) *NullableApiLogResponseBody

func (NullableApiLogResponseBody) Get ¶ added in v0.22.0

func (NullableApiLogResponseBody) IsSet ¶ added in v0.22.0

func (v NullableApiLogResponseBody) IsSet() bool

func (NullableApiLogResponseBody) MarshalJSON ¶ added in v0.22.0

func (v NullableApiLogResponseBody) MarshalJSON() ([]byte, error)

func (*NullableApiLogResponseBody) Set ¶ added in v0.22.0

func (*NullableApiLogResponseBody) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableApiLogResponseBody) UnmarshalJSON(src []byte) error

func (*NullableApiLogResponseBody) Unset ¶ added in v0.22.0

func (v *NullableApiLogResponseBody) Unset()

type NullableApiLogResponseBodyDetails ¶ added in v0.22.0

type NullableApiLogResponseBodyDetails struct {
	// contains filtered or unexported fields
}

func NewNullableApiLogResponseBodyDetails ¶ added in v0.22.0

func NewNullableApiLogResponseBodyDetails(val *ApiLogResponseBodyDetails) *NullableApiLogResponseBodyDetails

func (NullableApiLogResponseBodyDetails) Get ¶ added in v0.22.0

func (NullableApiLogResponseBodyDetails) IsSet ¶ added in v0.22.0

func (NullableApiLogResponseBodyDetails) MarshalJSON ¶ added in v0.22.0

func (v NullableApiLogResponseBodyDetails) MarshalJSON() ([]byte, error)

func (*NullableApiLogResponseBodyDetails) Set ¶ added in v0.22.0

func (*NullableApiLogResponseBodyDetails) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableApiLogResponseBodyDetails) UnmarshalJSON(src []byte) error

func (*NullableApiLogResponseBodyDetails) Unset ¶ added in v0.22.0

type NullableApiLogs ¶ added in v0.22.0

type NullableApiLogs struct {
	// contains filtered or unexported fields
}

func NewNullableApiLogs ¶ added in v0.22.0

func NewNullableApiLogs(val *ApiLogs) *NullableApiLogs

func (NullableApiLogs) Get ¶ added in v0.22.0

func (v NullableApiLogs) Get() *ApiLogs

func (NullableApiLogs) IsSet ¶ added in v0.22.0

func (v NullableApiLogs) IsSet() bool

func (NullableApiLogs) MarshalJSON ¶ added in v0.22.0

func (v NullableApiLogs) MarshalJSON() ([]byte, error)

func (*NullableApiLogs) Set ¶ added in v0.22.0

func (v *NullableApiLogs) Set(val *ApiLogs)

func (*NullableApiLogs) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableApiLogs) UnmarshalJSON(src []byte) error

func (*NullableApiLogs) Unset ¶ added in v0.22.0

func (v *NullableApiLogs) Unset()

type NullableApplePayRequest ¶ added in v0.7.0

type NullableApplePayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableApplePayRequest ¶ added in v0.7.0

func NewNullableApplePayRequest(val *ApplePayRequest) *NullableApplePayRequest

func (NullableApplePayRequest) Get ¶ added in v0.7.0

func (NullableApplePayRequest) IsSet ¶ added in v0.7.0

func (v NullableApplePayRequest) IsSet() bool

func (NullableApplePayRequest) MarshalJSON ¶ added in v0.7.0

func (v NullableApplePayRequest) MarshalJSON() ([]byte, error)

func (*NullableApplePayRequest) Set ¶ added in v0.7.0

func (*NullableApplePayRequest) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableApplePayRequest) UnmarshalJSON(src []byte) error

func (*NullableApplePayRequest) Unset ¶ added in v0.7.0

func (v *NullableApplePayRequest) Unset()

type NullableApplePaySessionRequest ¶ added in v0.7.0

type NullableApplePaySessionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableApplePaySessionRequest ¶ added in v0.7.0

func NewNullableApplePaySessionRequest(val *ApplePaySessionRequest) *NullableApplePaySessionRequest

func (NullableApplePaySessionRequest) Get ¶ added in v0.7.0

func (NullableApplePaySessionRequest) IsSet ¶ added in v0.7.0

func (NullableApplePaySessionRequest) MarshalJSON ¶ added in v0.7.0

func (v NullableApplePaySessionRequest) MarshalJSON() ([]byte, error)

func (*NullableApplePaySessionRequest) Set ¶ added in v0.7.0

func (*NullableApplePaySessionRequest) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableApplePaySessionRequest) UnmarshalJSON(src []byte) error

func (*NullableApplePaySessionRequest) Unset ¶ added in v0.7.0

func (v *NullableApplePaySessionRequest) Unset()

type NullableAuditLog ¶ added in v0.19.0

type NullableAuditLog struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLog ¶ added in v0.19.0

func NewNullableAuditLog(val *AuditLog) *NullableAuditLog

func (NullableAuditLog) Get ¶ added in v0.19.0

func (v NullableAuditLog) Get() *AuditLog

func (NullableAuditLog) IsSet ¶ added in v0.19.0

func (v NullableAuditLog) IsSet() bool

func (NullableAuditLog) MarshalJSON ¶ added in v0.19.0

func (v NullableAuditLog) MarshalJSON() ([]byte, error)

func (*NullableAuditLog) Set ¶ added in v0.19.0

func (v *NullableAuditLog) Set(val *AuditLog)

func (*NullableAuditLog) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAuditLog) UnmarshalJSON(src []byte) error

func (*NullableAuditLog) Unset ¶ added in v0.19.0

func (v *NullableAuditLog) Unset()

type NullableAuditLogResource ¶ added in v0.19.0

type NullableAuditLogResource struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogResource ¶ added in v0.19.0

func NewNullableAuditLogResource(val *AuditLogResource) *NullableAuditLogResource

func (NullableAuditLogResource) Get ¶ added in v0.19.0

func (NullableAuditLogResource) IsSet ¶ added in v0.19.0

func (v NullableAuditLogResource) IsSet() bool

func (NullableAuditLogResource) MarshalJSON ¶ added in v0.19.0

func (v NullableAuditLogResource) MarshalJSON() ([]byte, error)

func (*NullableAuditLogResource) Set ¶ added in v0.19.0

func (*NullableAuditLogResource) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAuditLogResource) UnmarshalJSON(src []byte) error

func (*NullableAuditLogResource) Unset ¶ added in v0.19.0

func (v *NullableAuditLogResource) Unset()

type NullableAuditLogUser ¶ added in v0.19.0

type NullableAuditLogUser struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogUser ¶ added in v0.19.0

func NewNullableAuditLogUser(val *AuditLogUser) *NullableAuditLogUser

func (NullableAuditLogUser) Get ¶ added in v0.19.0

func (NullableAuditLogUser) IsSet ¶ added in v0.19.0

func (v NullableAuditLogUser) IsSet() bool

func (NullableAuditLogUser) MarshalJSON ¶ added in v0.19.0

func (v NullableAuditLogUser) MarshalJSON() ([]byte, error)

func (*NullableAuditLogUser) Set ¶ added in v0.19.0

func (v *NullableAuditLogUser) Set(val *AuditLogUser)

func (*NullableAuditLogUser) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAuditLogUser) UnmarshalJSON(src []byte) error

func (*NullableAuditLogUser) Unset ¶ added in v0.19.0

func (v *NullableAuditLogUser) Unset()

type NullableAuditLogs ¶ added in v0.19.0

type NullableAuditLogs struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogs ¶ added in v0.19.0

func NewNullableAuditLogs(val *AuditLogs) *NullableAuditLogs

func (NullableAuditLogs) Get ¶ added in v0.19.0

func (v NullableAuditLogs) Get() *AuditLogs

func (NullableAuditLogs) IsSet ¶ added in v0.19.0

func (v NullableAuditLogs) IsSet() bool

func (NullableAuditLogs) MarshalJSON ¶ added in v0.19.0

func (v NullableAuditLogs) MarshalJSON() ([]byte, error)

func (*NullableAuditLogs) Set ¶ added in v0.19.0

func (v *NullableAuditLogs) Set(val *AuditLogs)

func (*NullableAuditLogs) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableAuditLogs) UnmarshalJSON(src []byte) error

func (*NullableAuditLogs) Unset ¶ added in v0.19.0

func (v *NullableAuditLogs) Unset()

type NullableBINLookupRequest ¶ added in v0.31.0

type NullableBINLookupRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBINLookupRequest ¶ added in v0.31.0

func NewNullableBINLookupRequest(val *BINLookupRequest) *NullableBINLookupRequest

func (NullableBINLookupRequest) Get ¶ added in v0.31.0

func (NullableBINLookupRequest) IsSet ¶ added in v0.31.0

func (v NullableBINLookupRequest) IsSet() bool

func (NullableBINLookupRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableBINLookupRequest) MarshalJSON() ([]byte, error)

func (*NullableBINLookupRequest) Set ¶ added in v0.31.0

func (*NullableBINLookupRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableBINLookupRequest) UnmarshalJSON(src []byte) error

func (*NullableBINLookupRequest) Unset ¶ added in v0.31.0

func (v *NullableBINLookupRequest) Unset()

type NullableBINLookupRequestContext ¶ added in v0.31.0

type NullableBINLookupRequestContext struct {
	// contains filtered or unexported fields
}

func NewNullableBINLookupRequestContext ¶ added in v0.31.0

func NewNullableBINLookupRequestContext(val *BINLookupRequestContext) *NullableBINLookupRequestContext

func (NullableBINLookupRequestContext) Get ¶ added in v0.31.0

func (NullableBINLookupRequestContext) IsSet ¶ added in v0.31.0

func (NullableBINLookupRequestContext) MarshalJSON ¶ added in v0.31.0

func (v NullableBINLookupRequestContext) MarshalJSON() ([]byte, error)

func (*NullableBINLookupRequestContext) Set ¶ added in v0.31.0

func (*NullableBINLookupRequestContext) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableBINLookupRequestContext) UnmarshalJSON(src []byte) error

func (*NullableBINLookupRequestContext) Unset ¶ added in v0.31.0

type NullableBillingDetails ¶ added in v0.3.0

type NullableBillingDetails struct {
	// contains filtered or unexported fields
}

func NewNullableBillingDetails ¶ added in v0.3.0

func NewNullableBillingDetails(val *BillingDetails) *NullableBillingDetails

func (NullableBillingDetails) Get ¶ added in v0.3.0

func (NullableBillingDetails) IsSet ¶ added in v0.3.0

func (v NullableBillingDetails) IsSet() bool

func (NullableBillingDetails) MarshalJSON ¶ added in v0.3.0

func (v NullableBillingDetails) MarshalJSON() ([]byte, error)

func (*NullableBillingDetails) Set ¶ added in v0.3.0

func (*NullableBillingDetails) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableBillingDetails) UnmarshalJSON(src []byte) error

func (*NullableBillingDetails) Unset ¶ added in v0.3.0

func (v *NullableBillingDetails) Unset()

type NullableBillingDetailsRequest ¶ added in v0.16.0

type NullableBillingDetailsRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBillingDetailsRequest ¶ added in v0.16.0

func NewNullableBillingDetailsRequest(val *BillingDetailsRequest) *NullableBillingDetailsRequest

func (NullableBillingDetailsRequest) Get ¶ added in v0.16.0

func (NullableBillingDetailsRequest) IsSet ¶ added in v0.16.0

func (NullableBillingDetailsRequest) MarshalJSON ¶ added in v0.16.0

func (v NullableBillingDetailsRequest) MarshalJSON() ([]byte, error)

func (*NullableBillingDetailsRequest) Set ¶ added in v0.16.0

func (*NullableBillingDetailsRequest) UnmarshalJSON ¶ added in v0.16.0

func (v *NullableBillingDetailsRequest) UnmarshalJSON(src []byte) error

func (*NullableBillingDetailsRequest) Unset ¶ added in v0.16.0

func (v *NullableBillingDetailsRequest) Unset()

type NullableBillingDetailsUpdateRequest ¶ added in v0.3.0

type NullableBillingDetailsUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBillingDetailsUpdateRequest ¶ added in v0.3.0

func NewNullableBillingDetailsUpdateRequest(val *BillingDetailsUpdateRequest) *NullableBillingDetailsUpdateRequest

func (NullableBillingDetailsUpdateRequest) Get ¶ added in v0.3.0

func (NullableBillingDetailsUpdateRequest) IsSet ¶ added in v0.3.0

func (NullableBillingDetailsUpdateRequest) MarshalJSON ¶ added in v0.3.0

func (v NullableBillingDetailsUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableBillingDetailsUpdateRequest) Set ¶ added in v0.3.0

func (*NullableBillingDetailsUpdateRequest) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableBillingDetailsUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableBillingDetailsUpdateRequest) Unset ¶ added in v0.3.0

type NullableBool ¶ added in v0.2.1

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool ¶ added in v0.2.1

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get ¶ added in v0.2.1

func (v NullableBool) Get() *bool

func (NullableBool) IsSet ¶ added in v0.2.1

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON ¶ added in v0.2.1

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set ¶ added in v0.2.1

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset ¶ added in v0.2.1

func (v *NullableBool) Unset()

type NullableBrowserInfo ¶ added in v0.17.0

type NullableBrowserInfo struct {
	// contains filtered or unexported fields
}

func NewNullableBrowserInfo ¶ added in v0.17.0

func NewNullableBrowserInfo(val *BrowserInfo) *NullableBrowserInfo

func (NullableBrowserInfo) Get ¶ added in v0.17.0

func (NullableBrowserInfo) IsSet ¶ added in v0.17.0

func (v NullableBrowserInfo) IsSet() bool

func (NullableBrowserInfo) MarshalJSON ¶ added in v0.17.0

func (v NullableBrowserInfo) MarshalJSON() ([]byte, error)

func (*NullableBrowserInfo) Set ¶ added in v0.17.0

func (v *NullableBrowserInfo) Set(val *BrowserInfo)

func (*NullableBrowserInfo) UnmarshalJSON ¶ added in v0.17.0

func (v *NullableBrowserInfo) UnmarshalJSON(src []byte) error

func (*NullableBrowserInfo) Unset ¶ added in v0.17.0

func (v *NullableBrowserInfo) Unset()

type NullableBuyer ¶ added in v0.2.1

type NullableBuyer struct {
	// contains filtered or unexported fields
}

func NewNullableBuyer ¶ added in v0.2.1

func NewNullableBuyer(val *Buyer) *NullableBuyer

func (NullableBuyer) Get ¶ added in v0.2.1

func (v NullableBuyer) Get() *Buyer

func (NullableBuyer) IsSet ¶ added in v0.2.1

func (v NullableBuyer) IsSet() bool

func (NullableBuyer) MarshalJSON ¶ added in v0.2.1

func (v NullableBuyer) MarshalJSON() ([]byte, error)

func (*NullableBuyer) Set ¶ added in v0.2.1

func (v *NullableBuyer) Set(val *Buyer)

func (*NullableBuyer) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBuyer) UnmarshalJSON(src []byte) error

func (*NullableBuyer) Unset ¶ added in v0.2.1

func (v *NullableBuyer) Unset()

type NullableBuyerRequest ¶ added in v0.2.1

type NullableBuyerRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBuyerRequest ¶ added in v0.2.1

func NewNullableBuyerRequest(val *BuyerRequest) *NullableBuyerRequest

func (NullableBuyerRequest) Get ¶ added in v0.2.1

func (NullableBuyerRequest) IsSet ¶ added in v0.2.1

func (v NullableBuyerRequest) IsSet() bool

func (NullableBuyerRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableBuyerRequest) MarshalJSON() ([]byte, error)

func (*NullableBuyerRequest) Set ¶ added in v0.2.1

func (v *NullableBuyerRequest) Set(val *BuyerRequest)

func (*NullableBuyerRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBuyerRequest) UnmarshalJSON(src []byte) error

func (*NullableBuyerRequest) Unset ¶ added in v0.2.1

func (v *NullableBuyerRequest) Unset()

type NullableBuyerSnapshot ¶ added in v0.2.1

type NullableBuyerSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullableBuyerSnapshot ¶ added in v0.2.1

func NewNullableBuyerSnapshot(val *BuyerSnapshot) *NullableBuyerSnapshot

func (NullableBuyerSnapshot) Get ¶ added in v0.2.1

func (NullableBuyerSnapshot) IsSet ¶ added in v0.2.1

func (v NullableBuyerSnapshot) IsSet() bool

func (NullableBuyerSnapshot) MarshalJSON ¶ added in v0.2.1

func (v NullableBuyerSnapshot) MarshalJSON() ([]byte, error)

func (*NullableBuyerSnapshot) Set ¶ added in v0.2.1

func (v *NullableBuyerSnapshot) Set(val *BuyerSnapshot)

func (*NullableBuyerSnapshot) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBuyerSnapshot) UnmarshalJSON(src []byte) error

func (*NullableBuyerSnapshot) Unset ¶ added in v0.2.1

func (v *NullableBuyerSnapshot) Unset()

type NullableBuyerUpdate ¶ added in v0.2.1

type NullableBuyerUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableBuyerUpdate ¶ added in v0.2.1

func NewNullableBuyerUpdate(val *BuyerUpdate) *NullableBuyerUpdate

func (NullableBuyerUpdate) Get ¶ added in v0.2.1

func (NullableBuyerUpdate) IsSet ¶ added in v0.2.1

func (v NullableBuyerUpdate) IsSet() bool

func (NullableBuyerUpdate) MarshalJSON ¶ added in v0.2.1

func (v NullableBuyerUpdate) MarshalJSON() ([]byte, error)

func (*NullableBuyerUpdate) Set ¶ added in v0.2.1

func (v *NullableBuyerUpdate) Set(val *BuyerUpdate)

func (*NullableBuyerUpdate) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBuyerUpdate) UnmarshalJSON(src []byte) error

func (*NullableBuyerUpdate) Unset ¶ added in v0.2.1

func (v *NullableBuyerUpdate) Unset()

type NullableBuyers ¶ added in v0.2.1

type NullableBuyers struct {
	// contains filtered or unexported fields
}

func NewNullableBuyers ¶ added in v0.2.1

func NewNullableBuyers(val *Buyers) *NullableBuyers

func (NullableBuyers) Get ¶ added in v0.2.1

func (v NullableBuyers) Get() *Buyers

func (NullableBuyers) IsSet ¶ added in v0.2.1

func (v NullableBuyers) IsSet() bool

func (NullableBuyers) MarshalJSON ¶ added in v0.2.1

func (v NullableBuyers) MarshalJSON() ([]byte, error)

func (*NullableBuyers) Set ¶ added in v0.2.1

func (v *NullableBuyers) Set(val *Buyers)

func (*NullableBuyers) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableBuyers) UnmarshalJSON(src []byte) error

func (*NullableBuyers) Unset ¶ added in v0.2.1

func (v *NullableBuyers) Unset()

type NullableCardDetails ¶ added in v0.16.0

type NullableCardDetails struct {
	// contains filtered or unexported fields
}

func NewNullableCardDetails ¶ added in v0.16.0

func NewNullableCardDetails(val *CardDetails) *NullableCardDetails

func (NullableCardDetails) Get ¶ added in v0.16.0

func (NullableCardDetails) IsSet ¶ added in v0.16.0

func (v NullableCardDetails) IsSet() bool

func (NullableCardDetails) MarshalJSON ¶ added in v0.16.0

func (v NullableCardDetails) MarshalJSON() ([]byte, error)

func (*NullableCardDetails) Set ¶ added in v0.16.0

func (v *NullableCardDetails) Set(val *CardDetails)

func (*NullableCardDetails) UnmarshalJSON ¶ added in v0.16.0

func (v *NullableCardDetails) UnmarshalJSON(src []byte) error

func (*NullableCardDetails) Unset ¶ added in v0.16.0

func (v *NullableCardDetails) Unset()

type NullableCardRequest ¶ added in v0.2.1

type NullableCardRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCardRequest ¶ added in v0.2.1

func NewNullableCardRequest(val *CardRequest) *NullableCardRequest

func (NullableCardRequest) Get ¶ added in v0.2.1

func (NullableCardRequest) IsSet ¶ added in v0.2.1

func (v NullableCardRequest) IsSet() bool

func (NullableCardRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableCardRequest) MarshalJSON() ([]byte, error)

func (*NullableCardRequest) Set ¶ added in v0.2.1

func (v *NullableCardRequest) Set(val *CardRequest)

func (*NullableCardRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableCardRequest) UnmarshalJSON(src []byte) error

func (*NullableCardRequest) Unset ¶ added in v0.2.1

func (v *NullableCardRequest) Unset()

type NullableCardSchemeDefinition ¶ added in v0.19.0

type NullableCardSchemeDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableCardSchemeDefinition ¶ added in v0.19.0

func NewNullableCardSchemeDefinition(val *CardSchemeDefinition) *NullableCardSchemeDefinition

func (NullableCardSchemeDefinition) Get ¶ added in v0.19.0

func (NullableCardSchemeDefinition) IsSet ¶ added in v0.19.0

func (NullableCardSchemeDefinition) MarshalJSON ¶ added in v0.19.0

func (v NullableCardSchemeDefinition) MarshalJSON() ([]byte, error)

func (*NullableCardSchemeDefinition) Set ¶ added in v0.19.0

func (*NullableCardSchemeDefinition) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableCardSchemeDefinition) UnmarshalJSON(src []byte) error

func (*NullableCardSchemeDefinition) Unset ¶ added in v0.19.0

func (v *NullableCardSchemeDefinition) Unset()

type NullableCardSchemeDefinitions ¶ added in v0.19.0

type NullableCardSchemeDefinitions struct {
	// contains filtered or unexported fields
}

func NewNullableCardSchemeDefinitions ¶ added in v0.19.0

func NewNullableCardSchemeDefinitions(val *CardSchemeDefinitions) *NullableCardSchemeDefinitions

func (NullableCardSchemeDefinitions) Get ¶ added in v0.19.0

func (NullableCardSchemeDefinitions) IsSet ¶ added in v0.19.0

func (NullableCardSchemeDefinitions) MarshalJSON ¶ added in v0.19.0

func (v NullableCardSchemeDefinitions) MarshalJSON() ([]byte, error)

func (*NullableCardSchemeDefinitions) Set ¶ added in v0.19.0

func (*NullableCardSchemeDefinitions) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableCardSchemeDefinitions) UnmarshalJSON(src []byte) error

func (*NullableCardSchemeDefinitions) Unset ¶ added in v0.19.0

func (v *NullableCardSchemeDefinitions) Unset()

type NullableCartItem ¶ added in v0.12.0

type NullableCartItem struct {
	// contains filtered or unexported fields
}

func NewNullableCartItem ¶ added in v0.12.0

func NewNullableCartItem(val *CartItem) *NullableCartItem

func (NullableCartItem) Get ¶ added in v0.12.0

func (v NullableCartItem) Get() *CartItem

func (NullableCartItem) IsSet ¶ added in v0.12.0

func (v NullableCartItem) IsSet() bool

func (NullableCartItem) MarshalJSON ¶ added in v0.12.0

func (v NullableCartItem) MarshalJSON() ([]byte, error)

func (*NullableCartItem) Set ¶ added in v0.12.0

func (v *NullableCartItem) Set(val *CartItem)

func (*NullableCartItem) UnmarshalJSON ¶ added in v0.12.0

func (v *NullableCartItem) UnmarshalJSON(src []byte) error

func (*NullableCartItem) Unset ¶ added in v0.12.0

func (v *NullableCartItem) Unset()

type NullableCheckoutSession ¶ added in v0.19.0

type NullableCheckoutSession struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSession ¶ added in v0.19.0

func NewNullableCheckoutSession(val *CheckoutSession) *NullableCheckoutSession

func (NullableCheckoutSession) Get ¶ added in v0.19.0

func (NullableCheckoutSession) IsSet ¶ added in v0.19.0

func (v NullableCheckoutSession) IsSet() bool

func (NullableCheckoutSession) MarshalJSON ¶ added in v0.19.0

func (v NullableCheckoutSession) MarshalJSON() ([]byte, error)

func (*NullableCheckoutSession) Set ¶ added in v0.19.0

func (*NullableCheckoutSession) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableCheckoutSession) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSession) Unset ¶ added in v0.19.0

func (v *NullableCheckoutSession) Unset()

type NullableCheckoutSessionCreateRequest ¶ added in v0.28.0

type NullableCheckoutSessionCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSessionCreateRequest ¶ added in v0.28.0

func NewNullableCheckoutSessionCreateRequest(val *CheckoutSessionCreateRequest) *NullableCheckoutSessionCreateRequest

func (NullableCheckoutSessionCreateRequest) Get ¶ added in v0.28.0

func (NullableCheckoutSessionCreateRequest) IsSet ¶ added in v0.28.0

func (NullableCheckoutSessionCreateRequest) MarshalJSON ¶ added in v0.28.0

func (v NullableCheckoutSessionCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckoutSessionCreateRequest) Set ¶ added in v0.28.0

func (*NullableCheckoutSessionCreateRequest) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableCheckoutSessionCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSessionCreateRequest) Unset ¶ added in v0.28.0

type NullableCheckoutSessionPaymentMethod ¶ added in v0.31.0

type NullableCheckoutSessionPaymentMethod struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSessionPaymentMethod ¶ added in v0.31.0

func NewNullableCheckoutSessionPaymentMethod(val *CheckoutSessionPaymentMethod) *NullableCheckoutSessionPaymentMethod

func (NullableCheckoutSessionPaymentMethod) Get ¶ added in v0.31.0

func (NullableCheckoutSessionPaymentMethod) IsSet ¶ added in v0.31.0

func (NullableCheckoutSessionPaymentMethod) MarshalJSON ¶ added in v0.31.0

func (v NullableCheckoutSessionPaymentMethod) MarshalJSON() ([]byte, error)

func (*NullableCheckoutSessionPaymentMethod) Set ¶ added in v0.31.0

func (*NullableCheckoutSessionPaymentMethod) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableCheckoutSessionPaymentMethod) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSessionPaymentMethod) Unset ¶ added in v0.31.0

type NullableCheckoutSessionPaymentMethodDetails ¶ added in v0.31.0

type NullableCheckoutSessionPaymentMethodDetails struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSessionPaymentMethodDetails ¶ added in v0.31.0

func NewNullableCheckoutSessionPaymentMethodDetails(val *CheckoutSessionPaymentMethodDetails) *NullableCheckoutSessionPaymentMethodDetails

func (NullableCheckoutSessionPaymentMethodDetails) Get ¶ added in v0.31.0

func (NullableCheckoutSessionPaymentMethodDetails) IsSet ¶ added in v0.31.0

func (NullableCheckoutSessionPaymentMethodDetails) MarshalJSON ¶ added in v0.31.0

func (*NullableCheckoutSessionPaymentMethodDetails) Set ¶ added in v0.31.0

func (*NullableCheckoutSessionPaymentMethodDetails) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableCheckoutSessionPaymentMethodDetails) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSessionPaymentMethodDetails) Unset ¶ added in v0.31.0

type NullableCheckoutSessionRequest ¶ added in v0.19.0

type NullableCheckoutSessionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSessionRequest ¶ added in v0.19.0

func NewNullableCheckoutSessionRequest(val *CheckoutSessionRequest) *NullableCheckoutSessionRequest

func (NullableCheckoutSessionRequest) Get ¶ added in v0.19.0

func (NullableCheckoutSessionRequest) IsSet ¶ added in v0.19.0

func (NullableCheckoutSessionRequest) MarshalJSON ¶ added in v0.19.0

func (v NullableCheckoutSessionRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckoutSessionRequest) Set ¶ added in v0.19.0

func (*NullableCheckoutSessionRequest) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableCheckoutSessionRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSessionRequest) Unset ¶ added in v0.19.0

func (v *NullableCheckoutSessionRequest) Unset()

type NullableCheckoutSessionUpdateRequest ¶ added in v0.28.0

type NullableCheckoutSessionUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCheckoutSessionUpdateRequest ¶ added in v0.28.0

func NewNullableCheckoutSessionUpdateRequest(val *CheckoutSessionUpdateRequest) *NullableCheckoutSessionUpdateRequest

func (NullableCheckoutSessionUpdateRequest) Get ¶ added in v0.28.0

func (NullableCheckoutSessionUpdateRequest) IsSet ¶ added in v0.28.0

func (NullableCheckoutSessionUpdateRequest) MarshalJSON ¶ added in v0.28.0

func (v NullableCheckoutSessionUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckoutSessionUpdateRequest) Set ¶ added in v0.28.0

func (*NullableCheckoutSessionUpdateRequest) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableCheckoutSessionUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckoutSessionUpdateRequest) Unset ¶ added in v0.28.0

type NullableClickToPaySessionRequest ¶ added in v0.31.0

type NullableClickToPaySessionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableClickToPaySessionRequest ¶ added in v0.31.0

func NewNullableClickToPaySessionRequest(val *ClickToPaySessionRequest) *NullableClickToPaySessionRequest

func (NullableClickToPaySessionRequest) Get ¶ added in v0.31.0

func (NullableClickToPaySessionRequest) IsSet ¶ added in v0.31.0

func (NullableClickToPaySessionRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableClickToPaySessionRequest) MarshalJSON() ([]byte, error)

func (*NullableClickToPaySessionRequest) Set ¶ added in v0.31.0

func (*NullableClickToPaySessionRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableClickToPaySessionRequest) UnmarshalJSON(src []byte) error

func (*NullableClickToPaySessionRequest) Unset ¶ added in v0.31.0

type NullableConnection ¶ added in v0.19.0

type NullableConnection struct {
	// contains filtered or unexported fields
}

func NewNullableConnection ¶ added in v0.19.0

func NewNullableConnection(val *Connection) *NullableConnection

func (NullableConnection) Get ¶ added in v0.19.0

func (v NullableConnection) Get() *Connection

func (NullableConnection) IsSet ¶ added in v0.19.0

func (v NullableConnection) IsSet() bool

func (NullableConnection) MarshalJSON ¶ added in v0.19.0

func (v NullableConnection) MarshalJSON() ([]byte, error)

func (*NullableConnection) Set ¶ added in v0.19.0

func (v *NullableConnection) Set(val *Connection)

func (*NullableConnection) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableConnection) UnmarshalJSON(src []byte) error

func (*NullableConnection) Unset ¶ added in v0.19.0

func (v *NullableConnection) Unset()

type NullableConnectionDefinition ¶ added in v0.19.0

type NullableConnectionDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionDefinition ¶ added in v0.19.0

func NewNullableConnectionDefinition(val *ConnectionDefinition) *NullableConnectionDefinition

func (NullableConnectionDefinition) Get ¶ added in v0.19.0

func (NullableConnectionDefinition) IsSet ¶ added in v0.19.0

func (NullableConnectionDefinition) MarshalJSON ¶ added in v0.19.0

func (v NullableConnectionDefinition) MarshalJSON() ([]byte, error)

func (*NullableConnectionDefinition) Set ¶ added in v0.19.0

func (*NullableConnectionDefinition) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableConnectionDefinition) UnmarshalJSON(src []byte) error

func (*NullableConnectionDefinition) Unset ¶ added in v0.19.0

func (v *NullableConnectionDefinition) Unset()

type NullableConnectionDefinitions ¶ added in v0.19.0

type NullableConnectionDefinitions struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionDefinitions ¶ added in v0.19.0

func NewNullableConnectionDefinitions(val *ConnectionDefinitions) *NullableConnectionDefinitions

func (NullableConnectionDefinitions) Get ¶ added in v0.19.0

func (NullableConnectionDefinitions) IsSet ¶ added in v0.19.0

func (NullableConnectionDefinitions) MarshalJSON ¶ added in v0.19.0

func (v NullableConnectionDefinitions) MarshalJSON() ([]byte, error)

func (*NullableConnectionDefinitions) Set ¶ added in v0.19.0

func (*NullableConnectionDefinitions) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableConnectionDefinitions) UnmarshalJSON(src []byte) error

func (*NullableConnectionDefinitions) Unset ¶ added in v0.19.0

func (v *NullableConnectionDefinitions) Unset()

type NullableConnectionOptions ¶ added in v0.22.0

type NullableConnectionOptions struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptions ¶ added in v0.22.0

func NewNullableConnectionOptions(val *ConnectionOptions) *NullableConnectionOptions

func (NullableConnectionOptions) Get ¶ added in v0.22.0

func (NullableConnectionOptions) IsSet ¶ added in v0.22.0

func (v NullableConnectionOptions) IsSet() bool

func (NullableConnectionOptions) MarshalJSON ¶ added in v0.22.0

func (v NullableConnectionOptions) MarshalJSON() ([]byte, error)

func (*NullableConnectionOptions) Set ¶ added in v0.22.0

func (*NullableConnectionOptions) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableConnectionOptions) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptions) Unset ¶ added in v0.22.0

func (v *NullableConnectionOptions) Unset()

type NullableConnectionOptionsAdyenCard ¶ added in v0.22.0

type NullableConnectionOptionsAdyenCard struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptionsAdyenCard ¶ added in v0.22.0

func NewNullableConnectionOptionsAdyenCard(val *ConnectionOptionsAdyenCard) *NullableConnectionOptionsAdyenCard

func (NullableConnectionOptionsAdyenCard) Get ¶ added in v0.22.0

func (NullableConnectionOptionsAdyenCard) IsSet ¶ added in v0.22.0

func (NullableConnectionOptionsAdyenCard) MarshalJSON ¶ added in v0.22.0

func (v NullableConnectionOptionsAdyenCard) MarshalJSON() ([]byte, error)

func (*NullableConnectionOptionsAdyenCard) Set ¶ added in v0.22.0

func (*NullableConnectionOptionsAdyenCard) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableConnectionOptionsAdyenCard) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptionsAdyenCard) Unset ¶ added in v0.22.0

type NullableConnectionOptionsCybersourceAntiFraud ¶ added in v0.22.0

type NullableConnectionOptionsCybersourceAntiFraud struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsCybersourceAntiFraud) Get ¶ added in v0.22.0

func (NullableConnectionOptionsCybersourceAntiFraud) IsSet ¶ added in v0.22.0

func (NullableConnectionOptionsCybersourceAntiFraud) MarshalJSON ¶ added in v0.22.0

func (*NullableConnectionOptionsCybersourceAntiFraud) Set ¶ added in v0.22.0

func (*NullableConnectionOptionsCybersourceAntiFraud) UnmarshalJSON ¶ added in v0.22.0

func (*NullableConnectionOptionsCybersourceAntiFraud) Unset ¶ added in v0.22.0

type NullableConnectionOptionsCybersourceCard ¶ added in v0.32.0

type NullableConnectionOptionsCybersourceCard struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptionsCybersourceCard ¶ added in v0.32.0

func NewNullableConnectionOptionsCybersourceCard(val *ConnectionOptionsCybersourceCard) *NullableConnectionOptionsCybersourceCard

func (NullableConnectionOptionsCybersourceCard) Get ¶ added in v0.32.0

func (NullableConnectionOptionsCybersourceCard) IsSet ¶ added in v0.32.0

func (NullableConnectionOptionsCybersourceCard) MarshalJSON ¶ added in v0.32.0

func (*NullableConnectionOptionsCybersourceCard) Set ¶ added in v0.32.0

func (*NullableConnectionOptionsCybersourceCard) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableConnectionOptionsCybersourceCard) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptionsCybersourceCard) Unset ¶ added in v0.32.0

type NullableConnectionOptionsForterAntiFraud ¶ added in v0.28.0

type NullableConnectionOptionsForterAntiFraud struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptionsForterAntiFraud ¶ added in v0.28.0

func NewNullableConnectionOptionsForterAntiFraud(val *ConnectionOptionsForterAntiFraud) *NullableConnectionOptionsForterAntiFraud

func (NullableConnectionOptionsForterAntiFraud) Get ¶ added in v0.28.0

func (NullableConnectionOptionsForterAntiFraud) IsSet ¶ added in v0.28.0

func (NullableConnectionOptionsForterAntiFraud) MarshalJSON ¶ added in v0.28.0

func (*NullableConnectionOptionsForterAntiFraud) Set ¶ added in v0.28.0

func (*NullableConnectionOptionsForterAntiFraud) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableConnectionOptionsForterAntiFraud) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptionsForterAntiFraud) Unset ¶ added in v0.28.0

type NullableConnectionOptionsForterAntiFraudAddress ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudAddress struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudAddress) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudAddress) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudAddress) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudAddress) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudAddress) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudAddress) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudBasicItemData ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudBasicItemData struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudBasicItemData) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudBasicItemData) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudBasicItemData) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBasicItemData) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBasicItemData) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBasicItemData) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudBeneficiaries ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudBeneficiaries struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudBeneficiaries) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudBeneficiaries) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudBeneficiaries) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBeneficiaries) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBeneficiaries) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudBeneficiaries) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudCartItems ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudCartItems struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudCartItems) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudCartItems) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudCartItems) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudCartItems) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudCartItems) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudCartItems) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudComments ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudComments struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudComments) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudComments) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudComments) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudComments) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudComments) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudComments) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudDeliveryDetails ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudDeliveryDetails struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudDeliveryDetails) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudDeliveryDetails) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudDeliveryDetails) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudDeliveryDetails) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudDeliveryDetails) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudDeliveryDetails) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudPersonalDetails ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudPersonalDetails struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudPersonalDetails) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudPersonalDetails) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudPersonalDetails) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPersonalDetails) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPersonalDetails) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPersonalDetails) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudPhone ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudPhone struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudPhone) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudPhone) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudPhone) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPhone) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPhone) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudPhone) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudTotalDiscount ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudTotalDiscount struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudTotalDiscount) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudTotalDiscount) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudTotalDiscount) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscount) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscount) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscount) Unset ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount ¶ added in v0.31.0

type NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) Get ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsForterAntiFraudTotalDiscountCouponDiscountAmount) Unset ¶ added in v0.31.0

type NullableConnectionOptionsPaypalPaypal ¶ added in v0.31.0

type NullableConnectionOptionsPaypalPaypal struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptionsPaypalPaypal ¶ added in v0.31.0

func NewNullableConnectionOptionsPaypalPaypal(val *ConnectionOptionsPaypalPaypal) *NullableConnectionOptionsPaypalPaypal

func (NullableConnectionOptionsPaypalPaypal) Get ¶ added in v0.31.0

func (NullableConnectionOptionsPaypalPaypal) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsPaypalPaypal) MarshalJSON ¶ added in v0.31.0

func (v NullableConnectionOptionsPaypalPaypal) MarshalJSON() ([]byte, error)

func (*NullableConnectionOptionsPaypalPaypal) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsPaypalPaypal) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableConnectionOptionsPaypalPaypal) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptionsPaypalPaypal) Unset ¶ added in v0.31.0

type NullableConnectionOptionsPaypalPaypalAdditionalData ¶ added in v0.31.0

type NullableConnectionOptionsPaypalPaypalAdditionalData struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsPaypalPaypalAdditionalData) Get ¶ added in v0.31.0

func (NullableConnectionOptionsPaypalPaypalAdditionalData) IsSet ¶ added in v0.31.0

func (NullableConnectionOptionsPaypalPaypalAdditionalData) MarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsPaypalPaypalAdditionalData) Set ¶ added in v0.31.0

func (*NullableConnectionOptionsPaypalPaypalAdditionalData) UnmarshalJSON ¶ added in v0.31.0

func (*NullableConnectionOptionsPaypalPaypalAdditionalData) Unset ¶ added in v0.31.0

type NullableConnectionOptionsStripeCard ¶ added in v0.32.0

type NullableConnectionOptionsStripeCard struct {
	// contains filtered or unexported fields
}

func NewNullableConnectionOptionsStripeCard ¶ added in v0.32.0

func NewNullableConnectionOptionsStripeCard(val *ConnectionOptionsStripeCard) *NullableConnectionOptionsStripeCard

func (NullableConnectionOptionsStripeCard) Get ¶ added in v0.32.0

func (NullableConnectionOptionsStripeCard) IsSet ¶ added in v0.32.0

func (NullableConnectionOptionsStripeCard) MarshalJSON ¶ added in v0.32.0

func (v NullableConnectionOptionsStripeCard) MarshalJSON() ([]byte, error)

func (*NullableConnectionOptionsStripeCard) Set ¶ added in v0.32.0

func (*NullableConnectionOptionsStripeCard) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableConnectionOptionsStripeCard) UnmarshalJSON(src []byte) error

func (*NullableConnectionOptionsStripeCard) Unset ¶ added in v0.32.0

type NullableConnectionOptionsStripeCardStripeConnect ¶ added in v0.32.0

type NullableConnectionOptionsStripeCardStripeConnect struct {
	// contains filtered or unexported fields
}

func (NullableConnectionOptionsStripeCardStripeConnect) Get ¶ added in v0.32.0

func (NullableConnectionOptionsStripeCardStripeConnect) IsSet ¶ added in v0.32.0

func (NullableConnectionOptionsStripeCardStripeConnect) MarshalJSON ¶ added in v0.32.0

func (*NullableConnectionOptionsStripeCardStripeConnect) Set ¶ added in v0.32.0

func (*NullableConnectionOptionsStripeCardStripeConnect) UnmarshalJSON ¶ added in v0.32.0

func (*NullableConnectionOptionsStripeCardStripeConnect) Unset ¶ added in v0.32.0

type NullableConnections ¶ added in v0.19.0

type NullableConnections struct {
	// contains filtered or unexported fields
}

func NewNullableConnections ¶ added in v0.19.0

func NewNullableConnections(val *Connections) *NullableConnections

func (NullableConnections) Get ¶ added in v0.19.0

func (NullableConnections) IsSet ¶ added in v0.19.0

func (v NullableConnections) IsSet() bool

func (NullableConnections) MarshalJSON ¶ added in v0.19.0

func (v NullableConnections) MarshalJSON() ([]byte, error)

func (*NullableConnections) Set ¶ added in v0.19.0

func (v *NullableConnections) Set(val *Connections)

func (*NullableConnections) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableConnections) UnmarshalJSON(src []byte) error

func (*NullableConnections) Unset ¶ added in v0.19.0

func (v *NullableConnections) Unset()

type NullableCryptogram ¶ added in v0.27.0

type NullableCryptogram struct {
	// contains filtered or unexported fields
}

func NewNullableCryptogram ¶ added in v0.27.0

func NewNullableCryptogram(val *Cryptogram) *NullableCryptogram

func (NullableCryptogram) Get ¶ added in v0.27.0

func (v NullableCryptogram) Get() *Cryptogram

func (NullableCryptogram) IsSet ¶ added in v0.27.0

func (v NullableCryptogram) IsSet() bool

func (NullableCryptogram) MarshalJSON ¶ added in v0.27.0

func (v NullableCryptogram) MarshalJSON() ([]byte, error)

func (*NullableCryptogram) Set ¶ added in v0.27.0

func (v *NullableCryptogram) Set(val *Cryptogram)

func (*NullableCryptogram) UnmarshalJSON ¶ added in v0.27.0

func (v *NullableCryptogram) UnmarshalJSON(src []byte) error

func (*NullableCryptogram) Unset ¶ added in v0.27.0

func (v *NullableCryptogram) Unset()

type NullableDigitalWallet ¶ added in v0.7.0

type NullableDigitalWallet struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWallet ¶ added in v0.7.0

func NewNullableDigitalWallet(val *DigitalWallet) *NullableDigitalWallet

func (NullableDigitalWallet) Get ¶ added in v0.7.0

func (NullableDigitalWallet) IsSet ¶ added in v0.7.0

func (v NullableDigitalWallet) IsSet() bool

func (NullableDigitalWallet) MarshalJSON ¶ added in v0.7.0

func (v NullableDigitalWallet) MarshalJSON() ([]byte, error)

func (*NullableDigitalWallet) Set ¶ added in v0.7.0

func (v *NullableDigitalWallet) Set(val *DigitalWallet)

func (*NullableDigitalWallet) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableDigitalWallet) UnmarshalJSON(src []byte) error

func (*NullableDigitalWallet) Unset ¶ added in v0.7.0

func (v *NullableDigitalWallet) Unset()

type NullableDigitalWalletApplePayTokenDecrypted ¶ added in v0.31.0

type NullableDigitalWalletApplePayTokenDecrypted struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWalletApplePayTokenDecrypted ¶ added in v0.31.0

func NewNullableDigitalWalletApplePayTokenDecrypted(val *DigitalWalletApplePayTokenDecrypted) *NullableDigitalWalletApplePayTokenDecrypted

func (NullableDigitalWalletApplePayTokenDecrypted) Get ¶ added in v0.31.0

func (NullableDigitalWalletApplePayTokenDecrypted) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletApplePayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletApplePayTokenDecrypted) Set ¶ added in v0.31.0

func (*NullableDigitalWalletApplePayTokenDecrypted) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableDigitalWalletApplePayTokenDecrypted) UnmarshalJSON(src []byte) error

func (*NullableDigitalWalletApplePayTokenDecrypted) Unset ¶ added in v0.31.0

type NullableDigitalWalletApplePayTokenDecryptedContext ¶ added in v0.31.0

type NullableDigitalWalletApplePayTokenDecryptedContext struct {
	// contains filtered or unexported fields
}

func (NullableDigitalWalletApplePayTokenDecryptedContext) Get ¶ added in v0.31.0

func (NullableDigitalWalletApplePayTokenDecryptedContext) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletApplePayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletApplePayTokenDecryptedContext) Set ¶ added in v0.31.0

func (*NullableDigitalWalletApplePayTokenDecryptedContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletApplePayTokenDecryptedContext) Unset ¶ added in v0.31.0

type NullableDigitalWalletClickToPayFields ¶ added in v0.31.0

type NullableDigitalWalletClickToPayFields struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWalletClickToPayFields ¶ added in v0.31.0

func NewNullableDigitalWalletClickToPayFields(val *DigitalWalletClickToPayFields) *NullableDigitalWalletClickToPayFields

func (NullableDigitalWalletClickToPayFields) Get ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayFields) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayFields) MarshalJSON ¶ added in v0.31.0

func (v NullableDigitalWalletClickToPayFields) MarshalJSON() ([]byte, error)

func (*NullableDigitalWalletClickToPayFields) Set ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableDigitalWalletClickToPayFields) UnmarshalJSON(src []byte) error

func (*NullableDigitalWalletClickToPayFields) Unset ¶ added in v0.31.0

type NullableDigitalWalletClickToPayTokenDecrypted ¶ added in v0.31.0

type NullableDigitalWalletClickToPayTokenDecrypted struct {
	// contains filtered or unexported fields
}

func (NullableDigitalWalletClickToPayTokenDecrypted) Get ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayTokenDecrypted) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecrypted) Set ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecrypted) UnmarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecrypted) Unset ¶ added in v0.31.0

type NullableDigitalWalletClickToPayTokenDecryptedContext ¶ added in v0.31.0

type NullableDigitalWalletClickToPayTokenDecryptedContext struct {
	// contains filtered or unexported fields
}

func (NullableDigitalWalletClickToPayTokenDecryptedContext) Get ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayTokenDecryptedContext) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletClickToPayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecryptedContext) Set ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecryptedContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletClickToPayTokenDecryptedContext) Unset ¶ added in v0.31.0

type NullableDigitalWalletGooglePayTokenDecrypted ¶ added in v0.31.0

type NullableDigitalWalletGooglePayTokenDecrypted struct {
	// contains filtered or unexported fields
}

func (NullableDigitalWalletGooglePayTokenDecrypted) Get ¶ added in v0.31.0

func (NullableDigitalWalletGooglePayTokenDecrypted) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletGooglePayTokenDecrypted) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecrypted) Set ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecrypted) UnmarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecrypted) Unset ¶ added in v0.31.0

type NullableDigitalWalletGooglePayTokenDecryptedContext ¶ added in v0.31.0

type NullableDigitalWalletGooglePayTokenDecryptedContext struct {
	// contains filtered or unexported fields
}

func (NullableDigitalWalletGooglePayTokenDecryptedContext) Get ¶ added in v0.31.0

func (NullableDigitalWalletGooglePayTokenDecryptedContext) IsSet ¶ added in v0.31.0

func (NullableDigitalWalletGooglePayTokenDecryptedContext) MarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecryptedContext) Set ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecryptedContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullableDigitalWalletGooglePayTokenDecryptedContext) Unset ¶ added in v0.31.0

type NullableDigitalWalletRequest ¶ added in v0.7.0

type NullableDigitalWalletRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWalletRequest ¶ added in v0.7.0

func NewNullableDigitalWalletRequest(val *DigitalWalletRequest) *NullableDigitalWalletRequest

func (NullableDigitalWalletRequest) Get ¶ added in v0.7.0

func (NullableDigitalWalletRequest) IsSet ¶ added in v0.7.0

func (NullableDigitalWalletRequest) MarshalJSON ¶ added in v0.7.0

func (v NullableDigitalWalletRequest) MarshalJSON() ([]byte, error)

func (*NullableDigitalWalletRequest) Set ¶ added in v0.7.0

func (*NullableDigitalWalletRequest) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableDigitalWalletRequest) UnmarshalJSON(src []byte) error

func (*NullableDigitalWalletRequest) Unset ¶ added in v0.7.0

func (v *NullableDigitalWalletRequest) Unset()

type NullableDigitalWalletUpdate ¶ added in v0.7.0

type NullableDigitalWalletUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWalletUpdate ¶ added in v0.7.0

func NewNullableDigitalWalletUpdate(val *DigitalWalletUpdate) *NullableDigitalWalletUpdate

func (NullableDigitalWalletUpdate) Get ¶ added in v0.7.0

func (NullableDigitalWalletUpdate) IsSet ¶ added in v0.7.0

func (NullableDigitalWalletUpdate) MarshalJSON ¶ added in v0.7.0

func (v NullableDigitalWalletUpdate) MarshalJSON() ([]byte, error)

func (*NullableDigitalWalletUpdate) Set ¶ added in v0.7.0

func (*NullableDigitalWalletUpdate) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableDigitalWalletUpdate) UnmarshalJSON(src []byte) error

func (*NullableDigitalWalletUpdate) Unset ¶ added in v0.7.0

func (v *NullableDigitalWalletUpdate) Unset()

type NullableDigitalWallets ¶ added in v0.7.0

type NullableDigitalWallets struct {
	// contains filtered or unexported fields
}

func NewNullableDigitalWallets ¶ added in v0.7.0

func NewNullableDigitalWallets(val *DigitalWallets) *NullableDigitalWallets

func (NullableDigitalWallets) Get ¶ added in v0.7.0

func (NullableDigitalWallets) IsSet ¶ added in v0.7.0

func (v NullableDigitalWallets) IsSet() bool

func (NullableDigitalWallets) MarshalJSON ¶ added in v0.7.0

func (v NullableDigitalWallets) MarshalJSON() ([]byte, error)

func (*NullableDigitalWallets) Set ¶ added in v0.7.0

func (*NullableDigitalWallets) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableDigitalWallets) UnmarshalJSON(src []byte) error

func (*NullableDigitalWallets) Unset ¶ added in v0.7.0

func (v *NullableDigitalWallets) Unset()

type NullableError400BadRequest ¶ added in v0.2.1

type NullableError400BadRequest struct {
	// contains filtered or unexported fields
}

func NewNullableError400BadRequest ¶ added in v0.2.1

func NewNullableError400BadRequest(val *Error400BadRequest) *NullableError400BadRequest

func (NullableError400BadRequest) Get ¶ added in v0.2.1

func (NullableError400BadRequest) IsSet ¶ added in v0.2.1

func (v NullableError400BadRequest) IsSet() bool

func (NullableError400BadRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableError400BadRequest) MarshalJSON() ([]byte, error)

func (*NullableError400BadRequest) Set ¶ added in v0.2.1

func (*NullableError400BadRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError400BadRequest) UnmarshalJSON(src []byte) error

func (*NullableError400BadRequest) Unset ¶ added in v0.2.1

func (v *NullableError400BadRequest) Unset()

type NullableError400IncorrectJson ¶ added in v0.2.1

type NullableError400IncorrectJson struct {
	// contains filtered or unexported fields
}

func NewNullableError400IncorrectJson ¶ added in v0.2.1

func NewNullableError400IncorrectJson(val *Error400IncorrectJson) *NullableError400IncorrectJson

func (NullableError400IncorrectJson) Get ¶ added in v0.2.1

func (NullableError400IncorrectJson) IsSet ¶ added in v0.2.1

func (NullableError400IncorrectJson) MarshalJSON ¶ added in v0.2.1

func (v NullableError400IncorrectJson) MarshalJSON() ([]byte, error)

func (*NullableError400IncorrectJson) Set ¶ added in v0.2.1

func (*NullableError400IncorrectJson) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError400IncorrectJson) UnmarshalJSON(src []byte) error

func (*NullableError400IncorrectJson) Unset ¶ added in v0.2.1

func (v *NullableError400IncorrectJson) Unset()

type NullableError400InvalidCredentials ¶ added in v0.16.0

type NullableError400InvalidCredentials struct {
	// contains filtered or unexported fields
}

func NewNullableError400InvalidCredentials ¶ added in v0.16.0

func NewNullableError400InvalidCredentials(val *Error400InvalidCredentials) *NullableError400InvalidCredentials

func (NullableError400InvalidCredentials) Get ¶ added in v0.16.0

func (NullableError400InvalidCredentials) IsSet ¶ added in v0.16.0

func (NullableError400InvalidCredentials) MarshalJSON ¶ added in v0.16.0

func (v NullableError400InvalidCredentials) MarshalJSON() ([]byte, error)

func (*NullableError400InvalidCredentials) Set ¶ added in v0.16.0

func (*NullableError400InvalidCredentials) UnmarshalJSON ¶ added in v0.16.0

func (v *NullableError400InvalidCredentials) UnmarshalJSON(src []byte) error

func (*NullableError400InvalidCredentials) Unset ¶ added in v0.16.0

type NullableError401Unauthorized ¶ added in v0.2.1

type NullableError401Unauthorized struct {
	// contains filtered or unexported fields
}

func NewNullableError401Unauthorized ¶ added in v0.2.1

func NewNullableError401Unauthorized(val *Error401Unauthorized) *NullableError401Unauthorized

func (NullableError401Unauthorized) Get ¶ added in v0.2.1

func (NullableError401Unauthorized) IsSet ¶ added in v0.2.1

func (NullableError401Unauthorized) MarshalJSON ¶ added in v0.2.1

func (v NullableError401Unauthorized) MarshalJSON() ([]byte, error)

func (*NullableError401Unauthorized) Set ¶ added in v0.2.1

func (*NullableError401Unauthorized) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError401Unauthorized) UnmarshalJSON(src []byte) error

func (*NullableError401Unauthorized) Unset ¶ added in v0.2.1

func (v *NullableError401Unauthorized) Unset()

type NullableError403Forbidden ¶ added in v0.2.1

type NullableError403Forbidden struct {
	// contains filtered or unexported fields
}

func NewNullableError403Forbidden ¶ added in v0.2.1

func NewNullableError403Forbidden(val *Error403Forbidden) *NullableError403Forbidden

func (NullableError403Forbidden) Get ¶ added in v0.2.1

func (NullableError403Forbidden) IsSet ¶ added in v0.2.1

func (v NullableError403Forbidden) IsSet() bool

func (NullableError403Forbidden) MarshalJSON ¶ added in v0.2.1

func (v NullableError403Forbidden) MarshalJSON() ([]byte, error)

func (*NullableError403Forbidden) Set ¶ added in v0.2.1

func (*NullableError403Forbidden) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError403Forbidden) UnmarshalJSON(src []byte) error

func (*NullableError403Forbidden) Unset ¶ added in v0.2.1

func (v *NullableError403Forbidden) Unset()

type NullableError404NotFound ¶ added in v0.2.1

type NullableError404NotFound struct {
	// contains filtered or unexported fields
}

func NewNullableError404NotFound ¶ added in v0.2.1

func NewNullableError404NotFound(val *Error404NotFound) *NullableError404NotFound

func (NullableError404NotFound) Get ¶ added in v0.2.1

func (NullableError404NotFound) IsSet ¶ added in v0.2.1

func (v NullableError404NotFound) IsSet() bool

func (NullableError404NotFound) MarshalJSON ¶ added in v0.2.1

func (v NullableError404NotFound) MarshalJSON() ([]byte, error)

func (*NullableError404NotFound) Set ¶ added in v0.2.1

func (*NullableError404NotFound) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError404NotFound) UnmarshalJSON(src []byte) error

func (*NullableError404NotFound) Unset ¶ added in v0.2.1

func (v *NullableError404NotFound) Unset()

type NullableError404PendingCreation ¶ added in v0.2.1

type NullableError404PendingCreation struct {
	// contains filtered or unexported fields
}

func NewNullableError404PendingCreation ¶ added in v0.2.1

func NewNullableError404PendingCreation(val *Error404PendingCreation) *NullableError404PendingCreation

func (NullableError404PendingCreation) Get ¶ added in v0.2.1

func (NullableError404PendingCreation) IsSet ¶ added in v0.2.1

func (NullableError404PendingCreation) MarshalJSON ¶ added in v0.2.1

func (v NullableError404PendingCreation) MarshalJSON() ([]byte, error)

func (*NullableError404PendingCreation) Set ¶ added in v0.2.1

func (*NullableError404PendingCreation) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError404PendingCreation) UnmarshalJSON(src []byte) error

func (*NullableError404PendingCreation) Unset ¶ added in v0.2.1

type NullableError409DuplicateRecord ¶ added in v0.2.1

type NullableError409DuplicateRecord struct {
	// contains filtered or unexported fields
}

func NewNullableError409DuplicateRecord ¶ added in v0.2.1

func NewNullableError409DuplicateRecord(val *Error409DuplicateRecord) *NullableError409DuplicateRecord

func (NullableError409DuplicateRecord) Get ¶ added in v0.2.1

func (NullableError409DuplicateRecord) IsSet ¶ added in v0.2.1

func (NullableError409DuplicateRecord) MarshalJSON ¶ added in v0.2.1

func (v NullableError409DuplicateRecord) MarshalJSON() ([]byte, error)

func (*NullableError409DuplicateRecord) Set ¶ added in v0.2.1

func (*NullableError409DuplicateRecord) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableError409DuplicateRecord) UnmarshalJSON(src []byte) error

func (*NullableError409DuplicateRecord) Unset ¶ added in v0.2.1

type NullableError429TooManyRequests ¶ added in v0.32.0

type NullableError429TooManyRequests struct {
	// contains filtered or unexported fields
}

func NewNullableError429TooManyRequests ¶ added in v0.32.0

func NewNullableError429TooManyRequests(val *Error429TooManyRequests) *NullableError429TooManyRequests

func (NullableError429TooManyRequests) Get ¶ added in v0.32.0

func (NullableError429TooManyRequests) IsSet ¶ added in v0.32.0

func (NullableError429TooManyRequests) MarshalJSON ¶ added in v0.32.0

func (v NullableError429TooManyRequests) MarshalJSON() ([]byte, error)

func (*NullableError429TooManyRequests) Set ¶ added in v0.32.0

func (*NullableError429TooManyRequests) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableError429TooManyRequests) UnmarshalJSON(src []byte) error

func (*NullableError429TooManyRequests) Unset ¶ added in v0.32.0

type NullableErrorDetail ¶ added in v0.2.1

type NullableErrorDetail struct {
	// contains filtered or unexported fields
}

func NewNullableErrorDetail ¶ added in v0.2.1

func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail

func (NullableErrorDetail) Get ¶ added in v0.2.1

func (NullableErrorDetail) IsSet ¶ added in v0.2.1

func (v NullableErrorDetail) IsSet() bool

func (NullableErrorDetail) MarshalJSON ¶ added in v0.2.1

func (v NullableErrorDetail) MarshalJSON() ([]byte, error)

func (*NullableErrorDetail) Set ¶ added in v0.2.1

func (v *NullableErrorDetail) Set(val *ErrorDetail)

func (*NullableErrorDetail) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error

func (*NullableErrorDetail) Unset ¶ added in v0.2.1

func (v *NullableErrorDetail) Unset()

type NullableErrorGeneric ¶ added in v0.2.1

type NullableErrorGeneric struct {
	// contains filtered or unexported fields
}

func NewNullableErrorGeneric ¶ added in v0.2.1

func NewNullableErrorGeneric(val *ErrorGeneric) *NullableErrorGeneric

func (NullableErrorGeneric) Get ¶ added in v0.2.1

func (NullableErrorGeneric) IsSet ¶ added in v0.2.1

func (v NullableErrorGeneric) IsSet() bool

func (NullableErrorGeneric) MarshalJSON ¶ added in v0.2.1

func (v NullableErrorGeneric) MarshalJSON() ([]byte, error)

func (*NullableErrorGeneric) Set ¶ added in v0.2.1

func (v *NullableErrorGeneric) Set(val *ErrorGeneric)

func (*NullableErrorGeneric) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableErrorGeneric) UnmarshalJSON(src []byte) error

func (*NullableErrorGeneric) Unset ¶ added in v0.2.1

func (v *NullableErrorGeneric) Unset()

type NullableFloat32 ¶ added in v0.2.1

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32 ¶ added in v0.2.1

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get ¶ added in v0.2.1

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet ¶ added in v0.2.1

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON ¶ added in v0.2.1

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set ¶ added in v0.2.1

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset ¶ added in v0.2.1

func (v *NullableFloat32) Unset()

type NullableFloat64 ¶ added in v0.2.1

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64 ¶ added in v0.2.1

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get ¶ added in v0.2.1

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet ¶ added in v0.2.1

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON ¶ added in v0.2.1

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set ¶ added in v0.2.1

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset ¶ added in v0.2.1

func (v *NullableFloat64) Unset()

type NullableGiftCard ¶ added in v0.31.0

type NullableGiftCard struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCard ¶ added in v0.31.0

func NewNullableGiftCard(val *GiftCard) *NullableGiftCard

func (NullableGiftCard) Get ¶ added in v0.31.0

func (v NullableGiftCard) Get() *GiftCard

func (NullableGiftCard) IsSet ¶ added in v0.31.0

func (v NullableGiftCard) IsSet() bool

func (NullableGiftCard) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCard) MarshalJSON() ([]byte, error)

func (*NullableGiftCard) Set ¶ added in v0.31.0

func (v *NullableGiftCard) Set(val *GiftCard)

func (*NullableGiftCard) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCard) UnmarshalJSON(src []byte) error

func (*NullableGiftCard) Unset ¶ added in v0.31.0

func (v *NullableGiftCard) Unset()

type NullableGiftCardBalanceNewRequest ¶ added in v0.31.0

type NullableGiftCardBalanceNewRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardBalanceNewRequest ¶ added in v0.31.0

func NewNullableGiftCardBalanceNewRequest(val *GiftCardBalanceNewRequest) *NullableGiftCardBalanceNewRequest

func (NullableGiftCardBalanceNewRequest) Get ¶ added in v0.31.0

func (NullableGiftCardBalanceNewRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardBalanceNewRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardBalanceNewRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardBalanceNewRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardBalanceNewRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardBalanceNewRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardBalanceNewRequest) Unset ¶ added in v0.31.0

type NullableGiftCardBalanceRequest ¶ added in v0.31.0

type NullableGiftCardBalanceRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardBalanceRequest ¶ added in v0.31.0

func NewNullableGiftCardBalanceRequest(val *GiftCardBalanceRequest) *NullableGiftCardBalanceRequest

func (NullableGiftCardBalanceRequest) Get ¶ added in v0.31.0

func (NullableGiftCardBalanceRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardBalanceRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardBalanceRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardBalanceRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardBalanceRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardBalanceRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardBalanceRequest) Unset ¶ added in v0.31.0

func (v *NullableGiftCardBalanceRequest) Unset()

type NullableGiftCardBalanceStoredRequest ¶ added in v0.31.0

type NullableGiftCardBalanceStoredRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardBalanceStoredRequest ¶ added in v0.31.0

func NewNullableGiftCardBalanceStoredRequest(val *GiftCardBalanceStoredRequest) *NullableGiftCardBalanceStoredRequest

func (NullableGiftCardBalanceStoredRequest) Get ¶ added in v0.31.0

func (NullableGiftCardBalanceStoredRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardBalanceStoredRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardBalanceStoredRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardBalanceStoredRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardBalanceStoredRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardBalanceStoredRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardBalanceStoredRequest) Unset ¶ added in v0.31.0

type NullableGiftCardBalancesRequest ¶ added in v0.31.0

type NullableGiftCardBalancesRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardBalancesRequest ¶ added in v0.31.0

func NewNullableGiftCardBalancesRequest(val *GiftCardBalancesRequest) *NullableGiftCardBalancesRequest

func (NullableGiftCardBalancesRequest) Get ¶ added in v0.31.0

func (NullableGiftCardBalancesRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardBalancesRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardBalancesRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardBalancesRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardBalancesRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardBalancesRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardBalancesRequest) Unset ¶ added in v0.31.0

type NullableGiftCardRedemption ¶ added in v0.31.0

type NullableGiftCardRedemption struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRedemption ¶ added in v0.31.0

func NewNullableGiftCardRedemption(val *GiftCardRedemption) *NullableGiftCardRedemption

func (NullableGiftCardRedemption) Get ¶ added in v0.31.0

func (NullableGiftCardRedemption) IsSet ¶ added in v0.31.0

func (v NullableGiftCardRedemption) IsSet() bool

func (NullableGiftCardRedemption) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRedemption) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRedemption) Set ¶ added in v0.31.0

func (*NullableGiftCardRedemption) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRedemption) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRedemption) Unset ¶ added in v0.31.0

func (v *NullableGiftCardRedemption) Unset()

type NullableGiftCardRedemptionFailed ¶ added in v0.31.0

type NullableGiftCardRedemptionFailed struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRedemptionFailed ¶ added in v0.31.0

func NewNullableGiftCardRedemptionFailed(val *GiftCardRedemptionFailed) *NullableGiftCardRedemptionFailed

func (NullableGiftCardRedemptionFailed) Get ¶ added in v0.31.0

func (NullableGiftCardRedemptionFailed) IsSet ¶ added in v0.31.0

func (NullableGiftCardRedemptionFailed) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRedemptionFailed) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRedemptionFailed) Set ¶ added in v0.31.0

func (*NullableGiftCardRedemptionFailed) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRedemptionFailed) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRedemptionFailed) Unset ¶ added in v0.31.0

type NullableGiftCardRedemptionFailedContext ¶ added in v0.31.0

type NullableGiftCardRedemptionFailedContext struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRedemptionFailedContext ¶ added in v0.31.0

func NewNullableGiftCardRedemptionFailedContext(val *GiftCardRedemptionFailedContext) *NullableGiftCardRedemptionFailedContext

func (NullableGiftCardRedemptionFailedContext) Get ¶ added in v0.31.0

func (NullableGiftCardRedemptionFailedContext) IsSet ¶ added in v0.31.0

func (NullableGiftCardRedemptionFailedContext) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRedemptionFailedContext) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRedemptionFailedContext) Set ¶ added in v0.31.0

func (*NullableGiftCardRedemptionFailedContext) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRedemptionFailedContext) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRedemptionFailedContext) Unset ¶ added in v0.31.0

type NullableGiftCardRedemptionSucceeded ¶ added in v0.31.0

type NullableGiftCardRedemptionSucceeded struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRedemptionSucceeded ¶ added in v0.31.0

func NewNullableGiftCardRedemptionSucceeded(val *GiftCardRedemptionSucceeded) *NullableGiftCardRedemptionSucceeded

func (NullableGiftCardRedemptionSucceeded) Get ¶ added in v0.31.0

func (NullableGiftCardRedemptionSucceeded) IsSet ¶ added in v0.31.0

func (NullableGiftCardRedemptionSucceeded) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRedemptionSucceeded) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRedemptionSucceeded) Set ¶ added in v0.31.0

func (*NullableGiftCardRedemptionSucceeded) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRedemptionSucceeded) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRedemptionSucceeded) Unset ¶ added in v0.31.0

type NullableGiftCardRedemptionSucceededContext ¶ added in v0.31.0

type NullableGiftCardRedemptionSucceededContext struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRedemptionSucceededContext ¶ added in v0.31.0

func NewNullableGiftCardRedemptionSucceededContext(val *GiftCardRedemptionSucceededContext) *NullableGiftCardRedemptionSucceededContext

func (NullableGiftCardRedemptionSucceededContext) Get ¶ added in v0.31.0

func (NullableGiftCardRedemptionSucceededContext) IsSet ¶ added in v0.31.0

func (NullableGiftCardRedemptionSucceededContext) MarshalJSON ¶ added in v0.31.0

func (*NullableGiftCardRedemptionSucceededContext) Set ¶ added in v0.31.0

func (*NullableGiftCardRedemptionSucceededContext) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRedemptionSucceededContext) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRedemptionSucceededContext) Unset ¶ added in v0.31.0

type NullableGiftCardRefundFailed ¶ added in v0.31.0

type NullableGiftCardRefundFailed struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRefundFailed ¶ added in v0.31.0

func NewNullableGiftCardRefundFailed(val *GiftCardRefundFailed) *NullableGiftCardRefundFailed

func (NullableGiftCardRefundFailed) Get ¶ added in v0.31.0

func (NullableGiftCardRefundFailed) IsSet ¶ added in v0.31.0

func (NullableGiftCardRefundFailed) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRefundFailed) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRefundFailed) Set ¶ added in v0.31.0

func (*NullableGiftCardRefundFailed) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRefundFailed) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRefundFailed) Unset ¶ added in v0.31.0

func (v *NullableGiftCardRefundFailed) Unset()

type NullableGiftCardRefundFailedContext ¶ added in v0.31.0

type NullableGiftCardRefundFailedContext struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRefundFailedContext ¶ added in v0.31.0

func NewNullableGiftCardRefundFailedContext(val *GiftCardRefundFailedContext) *NullableGiftCardRefundFailedContext

func (NullableGiftCardRefundFailedContext) Get ¶ added in v0.31.0

func (NullableGiftCardRefundFailedContext) IsSet ¶ added in v0.31.0

func (NullableGiftCardRefundFailedContext) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRefundFailedContext) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRefundFailedContext) Set ¶ added in v0.31.0

func (*NullableGiftCardRefundFailedContext) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRefundFailedContext) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRefundFailedContext) Unset ¶ added in v0.31.0

type NullableGiftCardRefundSucceeded ¶ added in v0.31.0

type NullableGiftCardRefundSucceeded struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardRefundSucceeded ¶ added in v0.31.0

func NewNullableGiftCardRefundSucceeded(val *GiftCardRefundSucceeded) *NullableGiftCardRefundSucceeded

func (NullableGiftCardRefundSucceeded) Get ¶ added in v0.31.0

func (NullableGiftCardRefundSucceeded) IsSet ¶ added in v0.31.0

func (NullableGiftCardRefundSucceeded) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardRefundSucceeded) MarshalJSON() ([]byte, error)

func (*NullableGiftCardRefundSucceeded) Set ¶ added in v0.31.0

func (*NullableGiftCardRefundSucceeded) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardRefundSucceeded) UnmarshalJSON(src []byte) error

func (*NullableGiftCardRefundSucceeded) Unset ¶ added in v0.31.0

type NullableGiftCardService ¶ added in v0.31.0

type NullableGiftCardService struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardService ¶ added in v0.31.0

func NewNullableGiftCardService(val *GiftCardService) *NullableGiftCardService

func (NullableGiftCardService) Get ¶ added in v0.31.0

func (NullableGiftCardService) IsSet ¶ added in v0.31.0

func (v NullableGiftCardService) IsSet() bool

func (NullableGiftCardService) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardService) MarshalJSON() ([]byte, error)

func (*NullableGiftCardService) Set ¶ added in v0.31.0

func (*NullableGiftCardService) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardService) UnmarshalJSON(src []byte) error

func (*NullableGiftCardService) Unset ¶ added in v0.31.0

func (v *NullableGiftCardService) Unset()

type NullableGiftCardServiceCreateRequest ¶ added in v0.31.0

type NullableGiftCardServiceCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceCreateRequest ¶ added in v0.31.0

func NewNullableGiftCardServiceCreateRequest(val *GiftCardServiceCreateRequest) *NullableGiftCardServiceCreateRequest

func (NullableGiftCardServiceCreateRequest) Get ¶ added in v0.31.0

func (NullableGiftCardServiceCreateRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceCreateRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceCreateRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceCreateRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceCreateRequest) Unset ¶ added in v0.31.0

type NullableGiftCardServiceCreateRequestFields ¶ added in v0.31.0

type NullableGiftCardServiceCreateRequestFields struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceCreateRequestFields ¶ added in v0.31.0

func NewNullableGiftCardServiceCreateRequestFields(val *GiftCardServiceCreateRequestFields) *NullableGiftCardServiceCreateRequestFields

func (NullableGiftCardServiceCreateRequestFields) Get ¶ added in v0.31.0

func (NullableGiftCardServiceCreateRequestFields) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceCreateRequestFields) MarshalJSON ¶ added in v0.31.0

func (*NullableGiftCardServiceCreateRequestFields) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceCreateRequestFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceCreateRequestFields) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceCreateRequestFields) Unset ¶ added in v0.31.0

type NullableGiftCardServiceDefinition ¶ added in v0.31.0

type NullableGiftCardServiceDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceDefinition ¶ added in v0.31.0

func NewNullableGiftCardServiceDefinition(val *GiftCardServiceDefinition) *NullableGiftCardServiceDefinition

func (NullableGiftCardServiceDefinition) Get ¶ added in v0.31.0

func (NullableGiftCardServiceDefinition) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceDefinition) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceDefinition) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceDefinition) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceDefinition) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceDefinition) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceDefinition) Unset ¶ added in v0.31.0

type NullableGiftCardServiceDefinitionFields ¶ added in v0.31.0

type NullableGiftCardServiceDefinitionFields struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceDefinitionFields ¶ added in v0.31.0

func NewNullableGiftCardServiceDefinitionFields(val *GiftCardServiceDefinitionFields) *NullableGiftCardServiceDefinitionFields

func (NullableGiftCardServiceDefinitionFields) Get ¶ added in v0.31.0

func (NullableGiftCardServiceDefinitionFields) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceDefinitionFields) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceDefinitionFields) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceDefinitionFields) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceDefinitionFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceDefinitionFields) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceDefinitionFields) Unset ¶ added in v0.31.0

type NullableGiftCardServiceFields ¶ added in v0.31.0

type NullableGiftCardServiceFields struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceFields ¶ added in v0.31.0

func NewNullableGiftCardServiceFields(val *GiftCardServiceFields) *NullableGiftCardServiceFields

func (NullableGiftCardServiceFields) Get ¶ added in v0.31.0

func (NullableGiftCardServiceFields) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceFields) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceFields) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceFields) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceFields) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceFields) Unset ¶ added in v0.31.0

func (v *NullableGiftCardServiceFields) Unset()

type NullableGiftCardServiceSnapshot ¶ added in v0.31.0

type NullableGiftCardServiceSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceSnapshot ¶ added in v0.31.0

func NewNullableGiftCardServiceSnapshot(val *GiftCardServiceSnapshot) *NullableGiftCardServiceSnapshot

func (NullableGiftCardServiceSnapshot) Get ¶ added in v0.31.0

func (NullableGiftCardServiceSnapshot) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceSnapshot) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceSnapshot) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceSnapshot) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceSnapshot) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceSnapshot) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceSnapshot) Unset ¶ added in v0.31.0

type NullableGiftCardServiceUpdateRequest ¶ added in v0.31.0

type NullableGiftCardServiceUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceUpdateRequest ¶ added in v0.31.0

func NewNullableGiftCardServiceUpdateRequest(val *GiftCardServiceUpdateRequest) *NullableGiftCardServiceUpdateRequest

func (NullableGiftCardServiceUpdateRequest) Get ¶ added in v0.31.0

func (NullableGiftCardServiceUpdateRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceUpdateRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceUpdateRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceUpdateRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceUpdateRequest) Unset ¶ added in v0.31.0

type NullableGiftCardServiceUpdateRequestFields ¶ added in v0.31.0

type NullableGiftCardServiceUpdateRequestFields struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceUpdateRequestFields ¶ added in v0.31.0

func NewNullableGiftCardServiceUpdateRequestFields(val *GiftCardServiceUpdateRequestFields) *NullableGiftCardServiceUpdateRequestFields

func (NullableGiftCardServiceUpdateRequestFields) Get ¶ added in v0.31.0

func (NullableGiftCardServiceUpdateRequestFields) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceUpdateRequestFields) MarshalJSON ¶ added in v0.31.0

func (*NullableGiftCardServiceUpdateRequestFields) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceUpdateRequestFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceUpdateRequestFields) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceUpdateRequestFields) Unset ¶ added in v0.31.0

type NullableGiftCardServiceVerifyRequest ¶ added in v0.31.0

type NullableGiftCardServiceVerifyRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceVerifyRequest ¶ added in v0.31.0

func NewNullableGiftCardServiceVerifyRequest(val *GiftCardServiceVerifyRequest) *NullableGiftCardServiceVerifyRequest

func (NullableGiftCardServiceVerifyRequest) Get ¶ added in v0.31.0

func (NullableGiftCardServiceVerifyRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceVerifyRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardServiceVerifyRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardServiceVerifyRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceVerifyRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceVerifyRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceVerifyRequest) Unset ¶ added in v0.31.0

type NullableGiftCardServiceVerifyRequestFields ¶ added in v0.31.0

type NullableGiftCardServiceVerifyRequestFields struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardServiceVerifyRequestFields ¶ added in v0.31.0

func NewNullableGiftCardServiceVerifyRequestFields(val *GiftCardServiceVerifyRequestFields) *NullableGiftCardServiceVerifyRequestFields

func (NullableGiftCardServiceVerifyRequestFields) Get ¶ added in v0.31.0

func (NullableGiftCardServiceVerifyRequestFields) IsSet ¶ added in v0.31.0

func (NullableGiftCardServiceVerifyRequestFields) MarshalJSON ¶ added in v0.31.0

func (*NullableGiftCardServiceVerifyRequestFields) Set ¶ added in v0.31.0

func (*NullableGiftCardServiceVerifyRequestFields) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardServiceVerifyRequestFields) UnmarshalJSON(src []byte) error

func (*NullableGiftCardServiceVerifyRequestFields) Unset ¶ added in v0.31.0

type NullableGiftCardSnapshot ¶ added in v0.31.0

type NullableGiftCardSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardSnapshot ¶ added in v0.31.0

func NewNullableGiftCardSnapshot(val *GiftCardSnapshot) *NullableGiftCardSnapshot

func (NullableGiftCardSnapshot) Get ¶ added in v0.31.0

func (NullableGiftCardSnapshot) IsSet ¶ added in v0.31.0

func (v NullableGiftCardSnapshot) IsSet() bool

func (NullableGiftCardSnapshot) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardSnapshot) MarshalJSON() ([]byte, error)

func (*NullableGiftCardSnapshot) Set ¶ added in v0.31.0

func (*NullableGiftCardSnapshot) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardSnapshot) UnmarshalJSON(src []byte) error

func (*NullableGiftCardSnapshot) Unset ¶ added in v0.31.0

func (v *NullableGiftCardSnapshot) Unset()

type NullableGiftCardStoreRequest ¶ added in v0.31.0

type NullableGiftCardStoreRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardStoreRequest ¶ added in v0.31.0

func NewNullableGiftCardStoreRequest(val *GiftCardStoreRequest) *NullableGiftCardStoreRequest

func (NullableGiftCardStoreRequest) Get ¶ added in v0.31.0

func (NullableGiftCardStoreRequest) IsSet ¶ added in v0.31.0

func (NullableGiftCardStoreRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardStoreRequest) MarshalJSON() ([]byte, error)

func (*NullableGiftCardStoreRequest) Set ¶ added in v0.31.0

func (*NullableGiftCardStoreRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardStoreRequest) UnmarshalJSON(src []byte) error

func (*NullableGiftCardStoreRequest) Unset ¶ added in v0.31.0

func (v *NullableGiftCardStoreRequest) Unset()

type NullableGiftCardSummary ¶ added in v0.31.0

type NullableGiftCardSummary struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardSummary ¶ added in v0.31.0

func NewNullableGiftCardSummary(val *GiftCardSummary) *NullableGiftCardSummary

func (NullableGiftCardSummary) Get ¶ added in v0.31.0

func (NullableGiftCardSummary) IsSet ¶ added in v0.31.0

func (v NullableGiftCardSummary) IsSet() bool

func (NullableGiftCardSummary) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardSummary) MarshalJSON() ([]byte, error)

func (*NullableGiftCardSummary) Set ¶ added in v0.31.0

func (*NullableGiftCardSummary) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardSummary) UnmarshalJSON(src []byte) error

func (*NullableGiftCardSummary) Unset ¶ added in v0.31.0

func (v *NullableGiftCardSummary) Unset()

type NullableGiftCards ¶ added in v0.31.0

type NullableGiftCards struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCards ¶ added in v0.31.0

func NewNullableGiftCards(val *GiftCards) *NullableGiftCards

func (NullableGiftCards) Get ¶ added in v0.31.0

func (v NullableGiftCards) Get() *GiftCards

func (NullableGiftCards) IsSet ¶ added in v0.31.0

func (v NullableGiftCards) IsSet() bool

func (NullableGiftCards) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCards) MarshalJSON() ([]byte, error)

func (*NullableGiftCards) Set ¶ added in v0.31.0

func (v *NullableGiftCards) Set(val *GiftCards)

func (*NullableGiftCards) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCards) UnmarshalJSON(src []byte) error

func (*NullableGiftCards) Unset ¶ added in v0.31.0

func (v *NullableGiftCards) Unset()

type NullableGiftCardsSummary ¶ added in v0.31.0

type NullableGiftCardsSummary struct {
	// contains filtered or unexported fields
}

func NewNullableGiftCardsSummary ¶ added in v0.31.0

func NewNullableGiftCardsSummary(val *GiftCardsSummary) *NullableGiftCardsSummary

func (NullableGiftCardsSummary) Get ¶ added in v0.31.0

func (NullableGiftCardsSummary) IsSet ¶ added in v0.31.0

func (v NullableGiftCardsSummary) IsSet() bool

func (NullableGiftCardsSummary) MarshalJSON ¶ added in v0.31.0

func (v NullableGiftCardsSummary) MarshalJSON() ([]byte, error)

func (*NullableGiftCardsSummary) Set ¶ added in v0.31.0

func (*NullableGiftCardsSummary) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableGiftCardsSummary) UnmarshalJSON(src []byte) error

func (*NullableGiftCardsSummary) Unset ¶ added in v0.31.0

func (v *NullableGiftCardsSummary) Unset()

type NullableGooglePayRequest ¶ added in v0.14.0

type NullableGooglePayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGooglePayRequest ¶ added in v0.14.0

func NewNullableGooglePayRequest(val *GooglePayRequest) *NullableGooglePayRequest

func (NullableGooglePayRequest) Get ¶ added in v0.14.0

func (NullableGooglePayRequest) IsSet ¶ added in v0.14.0

func (v NullableGooglePayRequest) IsSet() bool

func (NullableGooglePayRequest) MarshalJSON ¶ added in v0.14.0

func (v NullableGooglePayRequest) MarshalJSON() ([]byte, error)

func (*NullableGooglePayRequest) Set ¶ added in v0.14.0

func (*NullableGooglePayRequest) UnmarshalJSON ¶ added in v0.14.0

func (v *NullableGooglePayRequest) UnmarshalJSON(src []byte) error

func (*NullableGooglePayRequest) Unset ¶ added in v0.14.0

func (v *NullableGooglePayRequest) Unset()

type NullableGooglePayRequestAssuranceDetails ¶ added in v0.22.0

type NullableGooglePayRequestAssuranceDetails struct {
	// contains filtered or unexported fields
}

func NewNullableGooglePayRequestAssuranceDetails ¶ added in v0.22.0

func NewNullableGooglePayRequestAssuranceDetails(val *GooglePayRequestAssuranceDetails) *NullableGooglePayRequestAssuranceDetails

func (NullableGooglePayRequestAssuranceDetails) Get ¶ added in v0.22.0

func (NullableGooglePayRequestAssuranceDetails) IsSet ¶ added in v0.22.0

func (NullableGooglePayRequestAssuranceDetails) MarshalJSON ¶ added in v0.22.0

func (*NullableGooglePayRequestAssuranceDetails) Set ¶ added in v0.22.0

func (*NullableGooglePayRequestAssuranceDetails) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableGooglePayRequestAssuranceDetails) UnmarshalJSON(src []byte) error

func (*NullableGooglePayRequestAssuranceDetails) Unset ¶ added in v0.22.0

type NullableGooglePaySessionRequest ¶ added in v0.14.0

type NullableGooglePaySessionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGooglePaySessionRequest ¶ added in v0.14.0

func NewNullableGooglePaySessionRequest(val *GooglePaySessionRequest) *NullableGooglePaySessionRequest

func (NullableGooglePaySessionRequest) Get ¶ added in v0.14.0

func (NullableGooglePaySessionRequest) IsSet ¶ added in v0.14.0

func (NullableGooglePaySessionRequest) MarshalJSON ¶ added in v0.14.0

func (v NullableGooglePaySessionRequest) MarshalJSON() ([]byte, error)

func (*NullableGooglePaySessionRequest) Set ¶ added in v0.14.0

func (*NullableGooglePaySessionRequest) UnmarshalJSON ¶ added in v0.14.0

func (v *NullableGooglePaySessionRequest) UnmarshalJSON(src []byte) error

func (*NullableGooglePaySessionRequest) Unset ¶ added in v0.14.0

type NullableInt ¶ added in v0.2.1

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt ¶ added in v0.2.1

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get ¶ added in v0.2.1

func (v NullableInt) Get() *int

func (NullableInt) IsSet ¶ added in v0.2.1

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON ¶ added in v0.2.1

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set ¶ added in v0.2.1

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset ¶ added in v0.2.1

func (v *NullableInt) Unset()

type NullableInt32 ¶ added in v0.2.1

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32 ¶ added in v0.2.1

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get ¶ added in v0.2.1

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet ¶ added in v0.2.1

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON ¶ added in v0.2.1

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set ¶ added in v0.2.1

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset ¶ added in v0.2.1

func (v *NullableInt32) Unset()

type NullableInt64 ¶ added in v0.2.1

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64 ¶ added in v0.2.1

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get ¶ added in v0.2.1

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet ¶ added in v0.2.1

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON ¶ added in v0.2.1

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set ¶ added in v0.2.1

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset ¶ added in v0.2.1

func (v *NullableInt64) Unset()

type NullableIssueCryptogramRequest ¶ added in v0.27.0

type NullableIssueCryptogramRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIssueCryptogramRequest ¶ added in v0.27.0

func NewNullableIssueCryptogramRequest(val *IssueCryptogramRequest) *NullableIssueCryptogramRequest

func (NullableIssueCryptogramRequest) Get ¶ added in v0.27.0

func (NullableIssueCryptogramRequest) IsSet ¶ added in v0.27.0

func (NullableIssueCryptogramRequest) MarshalJSON ¶ added in v0.27.0

func (v NullableIssueCryptogramRequest) MarshalJSON() ([]byte, error)

func (*NullableIssueCryptogramRequest) Set ¶ added in v0.27.0

func (*NullableIssueCryptogramRequest) UnmarshalJSON ¶ added in v0.27.0

func (v *NullableIssueCryptogramRequest) UnmarshalJSON(src []byte) error

func (*NullableIssueCryptogramRequest) Unset ¶ added in v0.27.0

func (v *NullableIssueCryptogramRequest) Unset()

type NullableMerchantAccount ¶ added in v0.22.0

type NullableMerchantAccount struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantAccount ¶ added in v0.22.0

func NewNullableMerchantAccount(val *MerchantAccount) *NullableMerchantAccount

func (NullableMerchantAccount) Get ¶ added in v0.22.0

func (NullableMerchantAccount) IsSet ¶ added in v0.22.0

func (v NullableMerchantAccount) IsSet() bool

func (NullableMerchantAccount) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantAccount) MarshalJSON() ([]byte, error)

func (*NullableMerchantAccount) Set ¶ added in v0.22.0

func (*NullableMerchantAccount) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantAccount) UnmarshalJSON(src []byte) error

func (*NullableMerchantAccount) Unset ¶ added in v0.22.0

func (v *NullableMerchantAccount) Unset()

type NullableMerchantAccountCreate ¶ added in v0.22.0

type NullableMerchantAccountCreate struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantAccountCreate ¶ added in v0.22.0

func NewNullableMerchantAccountCreate(val *MerchantAccountCreate) *NullableMerchantAccountCreate

func (NullableMerchantAccountCreate) Get ¶ added in v0.22.0

func (NullableMerchantAccountCreate) IsSet ¶ added in v0.22.0

func (NullableMerchantAccountCreate) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantAccountCreate) MarshalJSON() ([]byte, error)

func (*NullableMerchantAccountCreate) Set ¶ added in v0.22.0

func (*NullableMerchantAccountCreate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantAccountCreate) UnmarshalJSON(src []byte) error

func (*NullableMerchantAccountCreate) Unset ¶ added in v0.22.0

func (v *NullableMerchantAccountCreate) Unset()

type NullableMerchantAccountUpdate ¶ added in v0.22.0

type NullableMerchantAccountUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantAccountUpdate ¶ added in v0.22.0

func NewNullableMerchantAccountUpdate(val *MerchantAccountUpdate) *NullableMerchantAccountUpdate

func (NullableMerchantAccountUpdate) Get ¶ added in v0.22.0

func (NullableMerchantAccountUpdate) IsSet ¶ added in v0.22.0

func (NullableMerchantAccountUpdate) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantAccountUpdate) MarshalJSON() ([]byte, error)

func (*NullableMerchantAccountUpdate) Set ¶ added in v0.22.0

func (*NullableMerchantAccountUpdate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantAccountUpdate) UnmarshalJSON(src []byte) error

func (*NullableMerchantAccountUpdate) Unset ¶ added in v0.22.0

func (v *NullableMerchantAccountUpdate) Unset()

type NullableMerchantAccounts ¶ added in v0.22.0

type NullableMerchantAccounts struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantAccounts ¶ added in v0.22.0

func NewNullableMerchantAccounts(val *MerchantAccounts) *NullableMerchantAccounts

func (NullableMerchantAccounts) Get ¶ added in v0.22.0

func (NullableMerchantAccounts) IsSet ¶ added in v0.22.0

func (v NullableMerchantAccounts) IsSet() bool

func (NullableMerchantAccounts) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantAccounts) MarshalJSON() ([]byte, error)

func (*NullableMerchantAccounts) Set ¶ added in v0.22.0

func (*NullableMerchantAccounts) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantAccounts) UnmarshalJSON(src []byte) error

func (*NullableMerchantAccounts) Unset ¶ added in v0.22.0

func (v *NullableMerchantAccounts) Unset()

type NullableMerchantProfile ¶ added in v0.22.0

type NullableMerchantProfile struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantProfile ¶ added in v0.22.0

func NewNullableMerchantProfile(val *MerchantProfile) *NullableMerchantProfile

func (NullableMerchantProfile) Get ¶ added in v0.22.0

func (NullableMerchantProfile) IsSet ¶ added in v0.22.0

func (v NullableMerchantProfile) IsSet() bool

func (NullableMerchantProfile) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantProfile) MarshalJSON() ([]byte, error)

func (*NullableMerchantProfile) Set ¶ added in v0.22.0

func (*NullableMerchantProfile) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantProfile) UnmarshalJSON(src []byte) error

func (*NullableMerchantProfile) Unset ¶ added in v0.22.0

func (v *NullableMerchantProfile) Unset()

type NullableMerchantProfileScheme ¶ added in v0.22.0

type NullableMerchantProfileScheme struct {
	// contains filtered or unexported fields
}

func NewNullableMerchantProfileScheme ¶ added in v0.22.0

func NewNullableMerchantProfileScheme(val *MerchantProfileScheme) *NullableMerchantProfileScheme

func (NullableMerchantProfileScheme) Get ¶ added in v0.22.0

func (NullableMerchantProfileScheme) IsSet ¶ added in v0.22.0

func (NullableMerchantProfileScheme) MarshalJSON ¶ added in v0.22.0

func (v NullableMerchantProfileScheme) MarshalJSON() ([]byte, error)

func (*NullableMerchantProfileScheme) Set ¶ added in v0.22.0

func (*NullableMerchantProfileScheme) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMerchantProfileScheme) UnmarshalJSON(src []byte) error

func (*NullableMerchantProfileScheme) Unset ¶ added in v0.22.0

func (v *NullableMerchantProfileScheme) Unset()

type NullableNetworkToken ¶ added in v0.27.0

type NullableNetworkToken struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkToken ¶ added in v0.27.0

func NewNullableNetworkToken(val *NetworkToken) *NullableNetworkToken

func (NullableNetworkToken) Get ¶ added in v0.27.0

func (NullableNetworkToken) IsSet ¶ added in v0.27.0

func (v NullableNetworkToken) IsSet() bool

func (NullableNetworkToken) MarshalJSON ¶ added in v0.27.0

func (v NullableNetworkToken) MarshalJSON() ([]byte, error)

func (*NullableNetworkToken) Set ¶ added in v0.27.0

func (v *NullableNetworkToken) Set(val *NetworkToken)

func (*NullableNetworkToken) UnmarshalJSON ¶ added in v0.27.0

func (v *NullableNetworkToken) UnmarshalJSON(src []byte) error

func (*NullableNetworkToken) Unset ¶ added in v0.27.0

func (v *NullableNetworkToken) Unset()

type NullableNetworkTokenCryptogramProvisionFailed ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionFailed struct {
	// contains filtered or unexported fields
}

func (NullableNetworkTokenCryptogramProvisionFailed) Get ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionFailed) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionFailed) MarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailed) Set ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailed) UnmarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailed) Unset ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionFailedContext ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionFailedContext struct {
	// contains filtered or unexported fields
}

func (NullableNetworkTokenCryptogramProvisionFailedContext) Get ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionFailedContext) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionFailedContext) MarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailedContext) Set ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailedContext) UnmarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionFailedContext) Unset ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionSucceeded ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionSucceeded struct {
	// contains filtered or unexported fields
}

func (NullableNetworkTokenCryptogramProvisionSucceeded) Get ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionSucceeded) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionSucceeded) MarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceeded) Set ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceeded) UnmarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceeded) Unset ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionSucceededContext ¶ added in v0.32.0

type NullableNetworkTokenCryptogramProvisionSucceededContext struct {
	// contains filtered or unexported fields
}

func (NullableNetworkTokenCryptogramProvisionSucceededContext) Get ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionSucceededContext) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenCryptogramProvisionSucceededContext) MarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceededContext) Set ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceededContext) UnmarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenCryptogramProvisionSucceededContext) Unset ¶ added in v0.32.0

type NullableNetworkTokenProvisionFailed ¶ added in v0.32.0

type NullableNetworkTokenProvisionFailed struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTokenProvisionFailed ¶ added in v0.32.0

func NewNullableNetworkTokenProvisionFailed(val *NetworkTokenProvisionFailed) *NullableNetworkTokenProvisionFailed

func (NullableNetworkTokenProvisionFailed) Get ¶ added in v0.32.0

func (NullableNetworkTokenProvisionFailed) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenProvisionFailed) MarshalJSON ¶ added in v0.32.0

func (v NullableNetworkTokenProvisionFailed) MarshalJSON() ([]byte, error)

func (*NullableNetworkTokenProvisionFailed) Set ¶ added in v0.32.0

func (*NullableNetworkTokenProvisionFailed) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableNetworkTokenProvisionFailed) UnmarshalJSON(src []byte) error

func (*NullableNetworkTokenProvisionFailed) Unset ¶ added in v0.32.0

type NullableNetworkTokenProvisionFailedContext ¶ added in v0.32.0

type NullableNetworkTokenProvisionFailedContext struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTokenProvisionFailedContext ¶ added in v0.32.0

func NewNullableNetworkTokenProvisionFailedContext(val *NetworkTokenProvisionFailedContext) *NullableNetworkTokenProvisionFailedContext

func (NullableNetworkTokenProvisionFailedContext) Get ¶ added in v0.32.0

func (NullableNetworkTokenProvisionFailedContext) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenProvisionFailedContext) MarshalJSON ¶ added in v0.32.0

func (*NullableNetworkTokenProvisionFailedContext) Set ¶ added in v0.32.0

func (*NullableNetworkTokenProvisionFailedContext) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableNetworkTokenProvisionFailedContext) UnmarshalJSON(src []byte) error

func (*NullableNetworkTokenProvisionFailedContext) Unset ¶ added in v0.32.0

type NullableNetworkTokenProvisionSucceeded ¶ added in v0.32.0

type NullableNetworkTokenProvisionSucceeded struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTokenProvisionSucceeded ¶ added in v0.32.0

func NewNullableNetworkTokenProvisionSucceeded(val *NetworkTokenProvisionSucceeded) *NullableNetworkTokenProvisionSucceeded

func (NullableNetworkTokenProvisionSucceeded) Get ¶ added in v0.32.0

func (NullableNetworkTokenProvisionSucceeded) IsSet ¶ added in v0.32.0

func (NullableNetworkTokenProvisionSucceeded) MarshalJSON ¶ added in v0.32.0

func (v NullableNetworkTokenProvisionSucceeded) MarshalJSON() ([]byte, error)

func (*NullableNetworkTokenProvisionSucceeded) Set ¶ added in v0.32.0

func (*NullableNetworkTokenProvisionSucceeded) UnmarshalJSON ¶ added in v0.32.0

func (v *NullableNetworkTokenProvisionSucceeded) UnmarshalJSON(src []byte) error

func (*NullableNetworkTokenProvisionSucceeded) Unset ¶ added in v0.32.0

type NullableNetworkTokenRequest ¶ added in v0.27.0

type NullableNetworkTokenRequest struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTokenRequest ¶ added in v0.27.0

func NewNullableNetworkTokenRequest(val *NetworkTokenRequest) *NullableNetworkTokenRequest

func (NullableNetworkTokenRequest) Get ¶ added in v0.27.0

func (NullableNetworkTokenRequest) IsSet ¶ added in v0.27.0

func (NullableNetworkTokenRequest) MarshalJSON ¶ added in v0.27.0

func (v NullableNetworkTokenRequest) MarshalJSON() ([]byte, error)

func (*NullableNetworkTokenRequest) Set ¶ added in v0.27.0

func (*NullableNetworkTokenRequest) UnmarshalJSON ¶ added in v0.27.0

func (v *NullableNetworkTokenRequest) UnmarshalJSON(src []byte) error

func (*NullableNetworkTokenRequest) Unset ¶ added in v0.27.0

func (v *NullableNetworkTokenRequest) Unset()

type NullableNetworkTokens ¶ added in v0.27.0

type NullableNetworkTokens struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTokens ¶ added in v0.27.0

func NewNullableNetworkTokens(val *NetworkTokens) *NullableNetworkTokens

func (NullableNetworkTokens) Get ¶ added in v0.27.0

func (NullableNetworkTokens) IsSet ¶ added in v0.27.0

func (v NullableNetworkTokens) IsSet() bool

func (NullableNetworkTokens) MarshalJSON ¶ added in v0.27.0

func (v NullableNetworkTokens) MarshalJSON() ([]byte, error)

func (*NullableNetworkTokens) Set ¶ added in v0.27.0

func (v *NullableNetworkTokens) Set(val *NetworkTokens)

func (*NullableNetworkTokens) UnmarshalJSON ¶ added in v0.27.0

func (v *NullableNetworkTokens) UnmarshalJSON(src []byte) error

func (*NullableNetworkTokens) Unset ¶ added in v0.27.0

func (v *NullableNetworkTokens) Unset()

type NullablePaymentConnectorExternalTransactionRequest ¶ added in v0.31.0

type NullablePaymentConnectorExternalTransactionRequest struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorExternalTransactionRequest) Get ¶ added in v0.31.0

func (NullablePaymentConnectorExternalTransactionRequest) IsSet ¶ added in v0.31.0

func (NullablePaymentConnectorExternalTransactionRequest) MarshalJSON ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequest) Set ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequest) UnmarshalJSON ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequest) Unset ¶ added in v0.31.0

type NullablePaymentConnectorExternalTransactionRequestContext ¶ added in v0.31.0

type NullablePaymentConnectorExternalTransactionRequestContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorExternalTransactionRequestContext) Get ¶ added in v0.31.0

func (NullablePaymentConnectorExternalTransactionRequestContext) IsSet ¶ added in v0.31.0

func (NullablePaymentConnectorExternalTransactionRequestContext) MarshalJSON ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequestContext) Set ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequestContext) UnmarshalJSON ¶ added in v0.31.0

func (*NullablePaymentConnectorExternalTransactionRequestContext) Unset ¶ added in v0.31.0

type NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationFailedEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionAuthorizationSucceededEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureDeclinedEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureFailedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureFailedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionCaptureFailedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureFailedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureFailedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureFailedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureFailedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureSucceededEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureSucceededEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionCaptureSucceededEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionDeclinedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionDeclinedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionDeclinedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionDeclinedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionDeclinedEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionDeclinedEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionDeclinedEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionDeclinedEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionDeclinedEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidDeclinedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidDeclinedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidDeclinedEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidFailedEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidFailedEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidFailedEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidFailedEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidFailedEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidFailedEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidFailedEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidFailedEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidFailedEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidFailedEventContext) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidSucceededEvent ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidSucceededEvent struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidSucceededEvent) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidSucceededEvent) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEvent) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEvent) Unset ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidSucceededEventContext ¶ added in v0.28.0

type NullablePaymentConnectorResponseTransactionVoidSucceededEventContext struct {
	// contains filtered or unexported fields
}

func (NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) Get ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) IsSet ¶ added in v0.28.0

func (NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) Set ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullablePaymentConnectorResponseTransactionVoidSucceededEventContext) Unset ¶ added in v0.28.0

type NullablePaymentMethod ¶ added in v0.2.1

type NullablePaymentMethod struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethod ¶ added in v0.2.1

func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod

func (NullablePaymentMethod) Get ¶ added in v0.2.1

func (NullablePaymentMethod) IsSet ¶ added in v0.2.1

func (v NullablePaymentMethod) IsSet() bool

func (NullablePaymentMethod) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethod) Set ¶ added in v0.2.1

func (v *NullablePaymentMethod) Set(val *PaymentMethod)

func (*NullablePaymentMethod) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethod) Unset ¶ added in v0.2.1

func (v *NullablePaymentMethod) Unset()

type NullablePaymentMethodDefinition ¶ added in v0.19.0

type NullablePaymentMethodDefinition struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodDefinition ¶ added in v0.19.0

func NewNullablePaymentMethodDefinition(val *PaymentMethodDefinition) *NullablePaymentMethodDefinition

func (NullablePaymentMethodDefinition) Get ¶ added in v0.19.0

func (NullablePaymentMethodDefinition) IsSet ¶ added in v0.19.0

func (NullablePaymentMethodDefinition) MarshalJSON ¶ added in v0.19.0

func (v NullablePaymentMethodDefinition) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodDefinition) Set ¶ added in v0.19.0

func (*NullablePaymentMethodDefinition) UnmarshalJSON ¶ added in v0.19.0

func (v *NullablePaymentMethodDefinition) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodDefinition) Unset ¶ added in v0.19.0

type NullablePaymentMethodDefinitions ¶ added in v0.19.0

type NullablePaymentMethodDefinitions struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodDefinitions ¶ added in v0.19.0

func NewNullablePaymentMethodDefinitions(val *PaymentMethodDefinitions) *NullablePaymentMethodDefinitions

func (NullablePaymentMethodDefinitions) Get ¶ added in v0.19.0

func (NullablePaymentMethodDefinitions) IsSet ¶ added in v0.19.0

func (NullablePaymentMethodDefinitions) MarshalJSON ¶ added in v0.19.0

func (v NullablePaymentMethodDefinitions) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodDefinitions) Set ¶ added in v0.19.0

func (*NullablePaymentMethodDefinitions) UnmarshalJSON ¶ added in v0.19.0

func (v *NullablePaymentMethodDefinitions) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodDefinitions) Unset ¶ added in v0.19.0

type NullablePaymentMethodDetailsCard ¶ added in v0.19.0

type NullablePaymentMethodDetailsCard struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodDetailsCard ¶ added in v0.19.0

func NewNullablePaymentMethodDetailsCard(val *PaymentMethodDetailsCard) *NullablePaymentMethodDetailsCard

func (NullablePaymentMethodDetailsCard) Get ¶ added in v0.19.0

func (NullablePaymentMethodDetailsCard) IsSet ¶ added in v0.19.0

func (NullablePaymentMethodDetailsCard) MarshalJSON ¶ added in v0.19.0

func (v NullablePaymentMethodDetailsCard) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodDetailsCard) Set ¶ added in v0.19.0

func (*NullablePaymentMethodDetailsCard) UnmarshalJSON ¶ added in v0.19.0

func (v *NullablePaymentMethodDetailsCard) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodDetailsCard) Unset ¶ added in v0.19.0

type NullablePaymentMethodRequest ¶ added in v0.3.0

type NullablePaymentMethodRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodRequest ¶ added in v0.3.0

func NewNullablePaymentMethodRequest(val *PaymentMethodRequest) *NullablePaymentMethodRequest

func (NullablePaymentMethodRequest) Get ¶ added in v0.3.0

func (NullablePaymentMethodRequest) IsSet ¶ added in v0.3.0

func (NullablePaymentMethodRequest) MarshalJSON ¶ added in v0.3.0

func (v NullablePaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodRequest) Set ¶ added in v0.3.0

func (*NullablePaymentMethodRequest) UnmarshalJSON ¶ added in v0.3.0

func (v *NullablePaymentMethodRequest) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodRequest) Unset ¶ added in v0.3.0

func (v *NullablePaymentMethodRequest) Unset()

type NullablePaymentMethodSnapshot ¶ added in v0.2.1

type NullablePaymentMethodSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodSnapshot ¶ added in v0.2.1

func NewNullablePaymentMethodSnapshot(val *PaymentMethodSnapshot) *NullablePaymentMethodSnapshot

func (NullablePaymentMethodSnapshot) Get ¶ added in v0.2.1

func (NullablePaymentMethodSnapshot) IsSet ¶ added in v0.2.1

func (NullablePaymentMethodSnapshot) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentMethodSnapshot) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodSnapshot) Set ¶ added in v0.2.1

func (*NullablePaymentMethodSnapshot) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentMethodSnapshot) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodSnapshot) Unset ¶ added in v0.2.1

func (v *NullablePaymentMethodSnapshot) Unset()

type NullablePaymentMethodTokenized ¶ added in v0.2.1

type NullablePaymentMethodTokenized struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodTokenized ¶ added in v0.2.1

func NewNullablePaymentMethodTokenized(val *PaymentMethodTokenized) *NullablePaymentMethodTokenized

func (NullablePaymentMethodTokenized) Get ¶ added in v0.2.1

func (NullablePaymentMethodTokenized) IsSet ¶ added in v0.2.1

func (NullablePaymentMethodTokenized) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentMethodTokenized) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodTokenized) Set ¶ added in v0.2.1

func (*NullablePaymentMethodTokenized) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentMethodTokenized) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodTokenized) Unset ¶ added in v0.2.1

func (v *NullablePaymentMethodTokenized) Unset()

type NullablePaymentMethods ¶ added in v0.2.1

type NullablePaymentMethods struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethods ¶ added in v0.2.1

func NewNullablePaymentMethods(val *PaymentMethods) *NullablePaymentMethods

func (NullablePaymentMethods) Get ¶ added in v0.2.1

func (NullablePaymentMethods) IsSet ¶ added in v0.2.1

func (v NullablePaymentMethods) IsSet() bool

func (NullablePaymentMethods) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentMethods) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethods) Set ¶ added in v0.2.1

func (*NullablePaymentMethods) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentMethods) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethods) Unset ¶ added in v0.2.1

func (v *NullablePaymentMethods) Unset()

type NullablePaymentMethodsTokenized ¶ added in v0.2.1

type NullablePaymentMethodsTokenized struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodsTokenized ¶ added in v0.2.1

func NewNullablePaymentMethodsTokenized(val *PaymentMethodsTokenized) *NullablePaymentMethodsTokenized

func (NullablePaymentMethodsTokenized) Get ¶ added in v0.2.1

func (NullablePaymentMethodsTokenized) IsSet ¶ added in v0.2.1

func (NullablePaymentMethodsTokenized) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentMethodsTokenized) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodsTokenized) Set ¶ added in v0.2.1

func (*NullablePaymentMethodsTokenized) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentMethodsTokenized) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodsTokenized) Unset ¶ added in v0.2.1

type NullablePaymentOption ¶ added in v0.2.1

type NullablePaymentOption struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentOption ¶ added in v0.2.1

func NewNullablePaymentOption(val *PaymentOption) *NullablePaymentOption

func (NullablePaymentOption) Get ¶ added in v0.2.1

func (NullablePaymentOption) IsSet ¶ added in v0.2.1

func (v NullablePaymentOption) IsSet() bool

func (NullablePaymentOption) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentOption) MarshalJSON() ([]byte, error)

func (*NullablePaymentOption) Set ¶ added in v0.2.1

func (v *NullablePaymentOption) Set(val *PaymentOption)

func (*NullablePaymentOption) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentOption) UnmarshalJSON(src []byte) error

func (*NullablePaymentOption) Unset ¶ added in v0.2.1

func (v *NullablePaymentOption) Unset()

type NullablePaymentOptionApprovalUI ¶ added in v0.19.0

type NullablePaymentOptionApprovalUI struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentOptionApprovalUI ¶ added in v0.19.0

func NewNullablePaymentOptionApprovalUI(val *PaymentOptionApprovalUI) *NullablePaymentOptionApprovalUI

func (NullablePaymentOptionApprovalUI) Get ¶ added in v0.19.0

func (NullablePaymentOptionApprovalUI) IsSet ¶ added in v0.19.0

func (NullablePaymentOptionApprovalUI) MarshalJSON ¶ added in v0.19.0

func (v NullablePaymentOptionApprovalUI) MarshalJSON() ([]byte, error)

func (*NullablePaymentOptionApprovalUI) Set ¶ added in v0.19.0

func (*NullablePaymentOptionApprovalUI) UnmarshalJSON ¶ added in v0.19.0

func (v *NullablePaymentOptionApprovalUI) UnmarshalJSON(src []byte) error

func (*NullablePaymentOptionApprovalUI) Unset ¶ added in v0.19.0

type NullablePaymentOptionContext ¶ added in v0.7.0

type NullablePaymentOptionContext struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentOptionContext ¶ added in v0.7.0

func NewNullablePaymentOptionContext(val *PaymentOptionContext) *NullablePaymentOptionContext

func (NullablePaymentOptionContext) Get ¶ added in v0.7.0

func (NullablePaymentOptionContext) IsSet ¶ added in v0.7.0

func (NullablePaymentOptionContext) MarshalJSON ¶ added in v0.7.0

func (v NullablePaymentOptionContext) MarshalJSON() ([]byte, error)

func (*NullablePaymentOptionContext) Set ¶ added in v0.7.0

func (*NullablePaymentOptionContext) UnmarshalJSON ¶ added in v0.7.0

func (v *NullablePaymentOptionContext) UnmarshalJSON(src []byte) error

func (*NullablePaymentOptionContext) Unset ¶ added in v0.7.0

func (v *NullablePaymentOptionContext) Unset()

type NullablePaymentOptions ¶ added in v0.2.1

type NullablePaymentOptions struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentOptions ¶ added in v0.2.1

func NewNullablePaymentOptions(val *PaymentOptions) *NullablePaymentOptions

func (NullablePaymentOptions) Get ¶ added in v0.2.1

func (NullablePaymentOptions) IsSet ¶ added in v0.2.1

func (v NullablePaymentOptions) IsSet() bool

func (NullablePaymentOptions) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentOptions) MarshalJSON() ([]byte, error)

func (*NullablePaymentOptions) Set ¶ added in v0.2.1

func (*NullablePaymentOptions) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentOptions) UnmarshalJSON(src []byte) error

func (*NullablePaymentOptions) Unset ¶ added in v0.2.1

func (v *NullablePaymentOptions) Unset()

type NullablePaymentOptionsRequest ¶ added in v0.22.0

type NullablePaymentOptionsRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentOptionsRequest ¶ added in v0.22.0

func NewNullablePaymentOptionsRequest(val *PaymentOptionsRequest) *NullablePaymentOptionsRequest

func (NullablePaymentOptionsRequest) Get ¶ added in v0.22.0

func (NullablePaymentOptionsRequest) IsSet ¶ added in v0.22.0

func (NullablePaymentOptionsRequest) MarshalJSON ¶ added in v0.22.0

func (v NullablePaymentOptionsRequest) MarshalJSON() ([]byte, error)

func (*NullablePaymentOptionsRequest) Set ¶ added in v0.22.0

func (*NullablePaymentOptionsRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePaymentOptionsRequest) UnmarshalJSON(src []byte) error

func (*NullablePaymentOptionsRequest) Unset ¶ added in v0.22.0

func (v *NullablePaymentOptionsRequest) Unset()

type NullablePaymentService ¶ added in v0.2.1

type NullablePaymentService struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentService ¶ added in v0.2.1

func NewNullablePaymentService(val *PaymentService) *NullablePaymentService

func (NullablePaymentService) Get ¶ added in v0.2.1

func (NullablePaymentService) IsSet ¶ added in v0.2.1

func (v NullablePaymentService) IsSet() bool

func (NullablePaymentService) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentService) MarshalJSON() ([]byte, error)

func (*NullablePaymentService) Set ¶ added in v0.2.1

func (*NullablePaymentService) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentService) UnmarshalJSON(src []byte) error

func (*NullablePaymentService) Unset ¶ added in v0.2.1

func (v *NullablePaymentService) Unset()

type NullablePaymentServiceDefinition ¶ added in v0.2.1

type NullablePaymentServiceDefinition struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceDefinition ¶ added in v0.2.1

func NewNullablePaymentServiceDefinition(val *PaymentServiceDefinition) *NullablePaymentServiceDefinition

func (NullablePaymentServiceDefinition) Get ¶ added in v0.2.1

func (NullablePaymentServiceDefinition) IsSet ¶ added in v0.2.1

func (NullablePaymentServiceDefinition) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServiceDefinition) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceDefinition) Set ¶ added in v0.2.1

func (*NullablePaymentServiceDefinition) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServiceDefinition) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceDefinition) Unset ¶ added in v0.2.1

type NullablePaymentServiceDefinitionConfiguration ¶ added in v0.19.0

type NullablePaymentServiceDefinitionConfiguration struct {
	// contains filtered or unexported fields
}

func (NullablePaymentServiceDefinitionConfiguration) Get ¶ added in v0.19.0

func (NullablePaymentServiceDefinitionConfiguration) IsSet ¶ added in v0.19.0

func (NullablePaymentServiceDefinitionConfiguration) MarshalJSON ¶ added in v0.19.0

func (*NullablePaymentServiceDefinitionConfiguration) Set ¶ added in v0.19.0

func (*NullablePaymentServiceDefinitionConfiguration) UnmarshalJSON ¶ added in v0.19.0

func (*NullablePaymentServiceDefinitionConfiguration) Unset ¶ added in v0.19.0

type NullablePaymentServiceDefinitionSupportedFeatures ¶ added in v0.3.0

type NullablePaymentServiceDefinitionSupportedFeatures struct {
	// contains filtered or unexported fields
}

func (NullablePaymentServiceDefinitionSupportedFeatures) Get ¶ added in v0.3.0

func (NullablePaymentServiceDefinitionSupportedFeatures) IsSet ¶ added in v0.3.0

func (NullablePaymentServiceDefinitionSupportedFeatures) MarshalJSON ¶ added in v0.3.0

func (*NullablePaymentServiceDefinitionSupportedFeatures) Set ¶ added in v0.3.0

func (*NullablePaymentServiceDefinitionSupportedFeatures) UnmarshalJSON ¶ added in v0.3.0

func (*NullablePaymentServiceDefinitionSupportedFeatures) Unset ¶ added in v0.3.0

type NullablePaymentServiceDefinitions ¶ added in v0.2.1

type NullablePaymentServiceDefinitions struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceDefinitions ¶ added in v0.2.1

func NewNullablePaymentServiceDefinitions(val *PaymentServiceDefinitions) *NullablePaymentServiceDefinitions

func (NullablePaymentServiceDefinitions) Get ¶ added in v0.2.1

func (NullablePaymentServiceDefinitions) IsSet ¶ added in v0.2.1

func (NullablePaymentServiceDefinitions) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServiceDefinitions) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceDefinitions) Set ¶ added in v0.2.1

func (*NullablePaymentServiceDefinitions) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServiceDefinitions) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceDefinitions) Unset ¶ added in v0.2.1

type NullablePaymentServiceRequest ¶ added in v0.2.1

type NullablePaymentServiceRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceRequest ¶ added in v0.2.1

func NewNullablePaymentServiceRequest(val *PaymentServiceRequest) *NullablePaymentServiceRequest

func (NullablePaymentServiceRequest) Get ¶ added in v0.2.1

func (NullablePaymentServiceRequest) IsSet ¶ added in v0.2.1

func (NullablePaymentServiceRequest) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServiceRequest) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceRequest) Set ¶ added in v0.2.1

func (*NullablePaymentServiceRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServiceRequest) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceRequest) Unset ¶ added in v0.2.1

func (v *NullablePaymentServiceRequest) Unset()

type NullablePaymentServiceRequestFields ¶ added in v0.22.0

type NullablePaymentServiceRequestFields struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceRequestFields ¶ added in v0.22.0

func NewNullablePaymentServiceRequestFields(val *PaymentServiceRequestFields) *NullablePaymentServiceRequestFields

func (NullablePaymentServiceRequestFields) Get ¶ added in v0.22.0

func (NullablePaymentServiceRequestFields) IsSet ¶ added in v0.22.0

func (NullablePaymentServiceRequestFields) MarshalJSON ¶ added in v0.22.0

func (v NullablePaymentServiceRequestFields) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceRequestFields) Set ¶ added in v0.22.0

func (*NullablePaymentServiceRequestFields) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePaymentServiceRequestFields) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceRequestFields) Unset ¶ added in v0.22.0

type NullablePaymentServiceSnapshot ¶ added in v0.2.1

type NullablePaymentServiceSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceSnapshot ¶ added in v0.2.1

func NewNullablePaymentServiceSnapshot(val *PaymentServiceSnapshot) *NullablePaymentServiceSnapshot

func (NullablePaymentServiceSnapshot) Get ¶ added in v0.2.1

func (NullablePaymentServiceSnapshot) IsSet ¶ added in v0.2.1

func (NullablePaymentServiceSnapshot) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServiceSnapshot) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceSnapshot) Set ¶ added in v0.2.1

func (*NullablePaymentServiceSnapshot) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServiceSnapshot) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceSnapshot) Unset ¶ added in v0.2.1

func (v *NullablePaymentServiceSnapshot) Unset()

type NullablePaymentServiceToken ¶ added in v0.27.0

type NullablePaymentServiceToken struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceToken ¶ added in v0.27.0

func NewNullablePaymentServiceToken(val *PaymentServiceToken) *NullablePaymentServiceToken

func (NullablePaymentServiceToken) Get ¶ added in v0.27.0

func (NullablePaymentServiceToken) IsSet ¶ added in v0.27.0

func (NullablePaymentServiceToken) MarshalJSON ¶ added in v0.27.0

func (v NullablePaymentServiceToken) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceToken) Set ¶ added in v0.27.0

func (*NullablePaymentServiceToken) UnmarshalJSON ¶ added in v0.27.0

func (v *NullablePaymentServiceToken) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceToken) Unset ¶ added in v0.27.0

func (v *NullablePaymentServiceToken) Unset()

type NullablePaymentServiceTokenRequest ¶ added in v0.27.0

type NullablePaymentServiceTokenRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceTokenRequest ¶ added in v0.27.0

func NewNullablePaymentServiceTokenRequest(val *PaymentServiceTokenRequest) *NullablePaymentServiceTokenRequest

func (NullablePaymentServiceTokenRequest) Get ¶ added in v0.27.0

func (NullablePaymentServiceTokenRequest) IsSet ¶ added in v0.27.0

func (NullablePaymentServiceTokenRequest) MarshalJSON ¶ added in v0.27.0

func (v NullablePaymentServiceTokenRequest) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceTokenRequest) Set ¶ added in v0.27.0

func (*NullablePaymentServiceTokenRequest) UnmarshalJSON ¶ added in v0.27.0

func (v *NullablePaymentServiceTokenRequest) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceTokenRequest) Unset ¶ added in v0.27.0

type NullablePaymentServiceTokens ¶ added in v0.27.0

type NullablePaymentServiceTokens struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceTokens ¶ added in v0.27.0

func NewNullablePaymentServiceTokens(val *PaymentServiceTokens) *NullablePaymentServiceTokens

func (NullablePaymentServiceTokens) Get ¶ added in v0.27.0

func (NullablePaymentServiceTokens) IsSet ¶ added in v0.27.0

func (NullablePaymentServiceTokens) MarshalJSON ¶ added in v0.27.0

func (v NullablePaymentServiceTokens) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceTokens) Set ¶ added in v0.27.0

func (*NullablePaymentServiceTokens) UnmarshalJSON ¶ added in v0.27.0

func (v *NullablePaymentServiceTokens) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceTokens) Unset ¶ added in v0.27.0

func (v *NullablePaymentServiceTokens) Unset()

type NullablePaymentServiceUpdate ¶ added in v0.2.1

type NullablePaymentServiceUpdate struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServiceUpdate ¶ added in v0.2.1

func NewNullablePaymentServiceUpdate(val *PaymentServiceUpdate) *NullablePaymentServiceUpdate

func (NullablePaymentServiceUpdate) Get ¶ added in v0.2.1

func (NullablePaymentServiceUpdate) IsSet ¶ added in v0.2.1

func (NullablePaymentServiceUpdate) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServiceUpdate) MarshalJSON() ([]byte, error)

func (*NullablePaymentServiceUpdate) Set ¶ added in v0.2.1

func (*NullablePaymentServiceUpdate) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServiceUpdate) UnmarshalJSON(src []byte) error

func (*NullablePaymentServiceUpdate) Unset ¶ added in v0.2.1

func (v *NullablePaymentServiceUpdate) Unset()

type NullablePaymentServices ¶ added in v0.2.1

type NullablePaymentServices struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentServices ¶ added in v0.2.1

func NewNullablePaymentServices(val *PaymentServices) *NullablePaymentServices

func (NullablePaymentServices) Get ¶ added in v0.2.1

func (NullablePaymentServices) IsSet ¶ added in v0.2.1

func (v NullablePaymentServices) IsSet() bool

func (NullablePaymentServices) MarshalJSON ¶ added in v0.2.1

func (v NullablePaymentServices) MarshalJSON() ([]byte, error)

func (*NullablePaymentServices) Set ¶ added in v0.2.1

func (*NullablePaymentServices) UnmarshalJSON ¶ added in v0.2.1

func (v *NullablePaymentServices) UnmarshalJSON(src []byte) error

func (*NullablePaymentServices) Unset ¶ added in v0.2.1

func (v *NullablePaymentServices) Unset()

type NullableRedirectRequest ¶ added in v0.2.1

type NullableRedirectRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRedirectRequest ¶ added in v0.2.1

func NewNullableRedirectRequest(val *RedirectRequest) *NullableRedirectRequest

func (NullableRedirectRequest) Get ¶ added in v0.2.1

func (NullableRedirectRequest) IsSet ¶ added in v0.2.1

func (v NullableRedirectRequest) IsSet() bool

func (NullableRedirectRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableRedirectRequest) MarshalJSON() ([]byte, error)

func (*NullableRedirectRequest) Set ¶ added in v0.2.1

func (*NullableRedirectRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableRedirectRequest) UnmarshalJSON(src []byte) error

func (*NullableRedirectRequest) Unset ¶ added in v0.2.1

func (v *NullableRedirectRequest) Unset()

type NullableRefund ¶ added in v0.14.0

type NullableRefund struct {
	// contains filtered or unexported fields
}

func NewNullableRefund ¶ added in v0.14.0

func NewNullableRefund(val *Refund) *NullableRefund

func (NullableRefund) Get ¶ added in v0.14.0

func (v NullableRefund) Get() *Refund

func (NullableRefund) IsSet ¶ added in v0.14.0

func (v NullableRefund) IsSet() bool

func (NullableRefund) MarshalJSON ¶ added in v0.14.0

func (v NullableRefund) MarshalJSON() ([]byte, error)

func (*NullableRefund) Set ¶ added in v0.14.0

func (v *NullableRefund) Set(val *Refund)

func (*NullableRefund) UnmarshalJSON ¶ added in v0.14.0

func (v *NullableRefund) UnmarshalJSON(src []byte) error

func (*NullableRefund) Unset ¶ added in v0.14.0

func (v *NullableRefund) Unset()

type NullableRefunds ¶ added in v0.14.0

type NullableRefunds struct {
	// contains filtered or unexported fields
}

func NewNullableRefunds ¶ added in v0.14.0

func NewNullableRefunds(val *Refunds) *NullableRefunds

func (NullableRefunds) Get ¶ added in v0.14.0

func (v NullableRefunds) Get() *Refunds

func (NullableRefunds) IsSet ¶ added in v0.14.0

func (v NullableRefunds) IsSet() bool

func (NullableRefunds) MarshalJSON ¶ added in v0.14.0

func (v NullableRefunds) MarshalJSON() ([]byte, error)

func (*NullableRefunds) Set ¶ added in v0.14.0

func (v *NullableRefunds) Set(val *Refunds)

func (*NullableRefunds) UnmarshalJSON ¶ added in v0.14.0

func (v *NullableRefunds) UnmarshalJSON(src []byte) error

func (*NullableRefunds) Unset ¶ added in v0.14.0

func (v *NullableRefunds) Unset()

type NullableReport ¶ added in v0.21.0

type NullableReport struct {
	// contains filtered or unexported fields
}

func NewNullableReport ¶ added in v0.21.0

func NewNullableReport(val *Report) *NullableReport

func (NullableReport) Get ¶ added in v0.21.0

func (v NullableReport) Get() *Report

func (NullableReport) IsSet ¶ added in v0.21.0

func (v NullableReport) IsSet() bool

func (NullableReport) MarshalJSON ¶ added in v0.21.0

func (v NullableReport) MarshalJSON() ([]byte, error)

func (*NullableReport) Set ¶ added in v0.21.0

func (v *NullableReport) Set(val *Report)

func (*NullableReport) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReport) UnmarshalJSON(src []byte) error

func (*NullableReport) Unset ¶ added in v0.21.0

func (v *NullableReport) Unset()

type NullableReportCreate ¶ added in v0.21.0

type NullableReportCreate struct {
	// contains filtered or unexported fields
}

func NewNullableReportCreate ¶ added in v0.21.0

func NewNullableReportCreate(val *ReportCreate) *NullableReportCreate

func (NullableReportCreate) Get ¶ added in v0.21.0

func (NullableReportCreate) IsSet ¶ added in v0.21.0

func (v NullableReportCreate) IsSet() bool

func (NullableReportCreate) MarshalJSON ¶ added in v0.21.0

func (v NullableReportCreate) MarshalJSON() ([]byte, error)

func (*NullableReportCreate) Set ¶ added in v0.21.0

func (v *NullableReportCreate) Set(val *ReportCreate)

func (*NullableReportCreate) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportCreate) UnmarshalJSON(src []byte) error

func (*NullableReportCreate) Unset ¶ added in v0.21.0

func (v *NullableReportCreate) Unset()

type NullableReportExecution ¶ added in v0.21.0

type NullableReportExecution struct {
	// contains filtered or unexported fields
}

func NewNullableReportExecution ¶ added in v0.21.0

func NewNullableReportExecution(val *ReportExecution) *NullableReportExecution

func (NullableReportExecution) Get ¶ added in v0.21.0

func (NullableReportExecution) IsSet ¶ added in v0.21.0

func (v NullableReportExecution) IsSet() bool

func (NullableReportExecution) MarshalJSON ¶ added in v0.21.0

func (v NullableReportExecution) MarshalJSON() ([]byte, error)

func (*NullableReportExecution) Set ¶ added in v0.21.0

func (*NullableReportExecution) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportExecution) UnmarshalJSON(src []byte) error

func (*NullableReportExecution) Unset ¶ added in v0.21.0

func (v *NullableReportExecution) Unset()

type NullableReportExecutionSummary ¶ added in v0.21.0

type NullableReportExecutionSummary struct {
	// contains filtered or unexported fields
}

func NewNullableReportExecutionSummary ¶ added in v0.21.0

func NewNullableReportExecutionSummary(val *ReportExecutionSummary) *NullableReportExecutionSummary

func (NullableReportExecutionSummary) Get ¶ added in v0.21.0

func (NullableReportExecutionSummary) IsSet ¶ added in v0.21.0

func (NullableReportExecutionSummary) MarshalJSON ¶ added in v0.21.0

func (v NullableReportExecutionSummary) MarshalJSON() ([]byte, error)

func (*NullableReportExecutionSummary) Set ¶ added in v0.21.0

func (*NullableReportExecutionSummary) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportExecutionSummary) UnmarshalJSON(src []byte) error

func (*NullableReportExecutionSummary) Unset ¶ added in v0.21.0

func (v *NullableReportExecutionSummary) Unset()

type NullableReportExecutionSummaryContext ¶ added in v0.21.0

type NullableReportExecutionSummaryContext struct {
	// contains filtered or unexported fields
}

func NewNullableReportExecutionSummaryContext ¶ added in v0.21.0

func NewNullableReportExecutionSummaryContext(val *ReportExecutionSummaryContext) *NullableReportExecutionSummaryContext

func (NullableReportExecutionSummaryContext) Get ¶ added in v0.21.0

func (NullableReportExecutionSummaryContext) IsSet ¶ added in v0.21.0

func (NullableReportExecutionSummaryContext) MarshalJSON ¶ added in v0.21.0

func (v NullableReportExecutionSummaryContext) MarshalJSON() ([]byte, error)

func (*NullableReportExecutionSummaryContext) Set ¶ added in v0.21.0

func (*NullableReportExecutionSummaryContext) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportExecutionSummaryContext) UnmarshalJSON(src []byte) error

func (*NullableReportExecutionSummaryContext) Unset ¶ added in v0.21.0

type NullableReportExecutionUrl ¶ added in v0.21.0

type NullableReportExecutionUrl struct {
	// contains filtered or unexported fields
}

func NewNullableReportExecutionUrl ¶ added in v0.21.0

func NewNullableReportExecutionUrl(val *ReportExecutionUrl) *NullableReportExecutionUrl

func (NullableReportExecutionUrl) Get ¶ added in v0.21.0

func (NullableReportExecutionUrl) IsSet ¶ added in v0.21.0

func (v NullableReportExecutionUrl) IsSet() bool

func (NullableReportExecutionUrl) MarshalJSON ¶ added in v0.21.0

func (v NullableReportExecutionUrl) MarshalJSON() ([]byte, error)

func (*NullableReportExecutionUrl) Set ¶ added in v0.21.0

func (*NullableReportExecutionUrl) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportExecutionUrl) UnmarshalJSON(src []byte) error

func (*NullableReportExecutionUrl) Unset ¶ added in v0.21.0

func (v *NullableReportExecutionUrl) Unset()

type NullableReportExecutions ¶ added in v0.21.0

type NullableReportExecutions struct {
	// contains filtered or unexported fields
}

func NewNullableReportExecutions ¶ added in v0.21.0

func NewNullableReportExecutions(val *ReportExecutions) *NullableReportExecutions

func (NullableReportExecutions) Get ¶ added in v0.21.0

func (NullableReportExecutions) IsSet ¶ added in v0.21.0

func (v NullableReportExecutions) IsSet() bool

func (NullableReportExecutions) MarshalJSON ¶ added in v0.21.0

func (v NullableReportExecutions) MarshalJSON() ([]byte, error)

func (*NullableReportExecutions) Set ¶ added in v0.21.0

func (*NullableReportExecutions) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportExecutions) UnmarshalJSON(src []byte) error

func (*NullableReportExecutions) Unset ¶ added in v0.21.0

func (v *NullableReportExecutions) Unset()

type NullableReportSpec ¶ added in v0.21.0

type NullableReportSpec struct {
	// contains filtered or unexported fields
}

func NewNullableReportSpec ¶ added in v0.21.0

func NewNullableReportSpec(val *ReportSpec) *NullableReportSpec

func (NullableReportSpec) Get ¶ added in v0.21.0

func (v NullableReportSpec) Get() *ReportSpec

func (NullableReportSpec) IsSet ¶ added in v0.21.0

func (v NullableReportSpec) IsSet() bool

func (NullableReportSpec) MarshalJSON ¶ added in v0.21.0

func (v NullableReportSpec) MarshalJSON() ([]byte, error)

func (*NullableReportSpec) Set ¶ added in v0.21.0

func (v *NullableReportSpec) Set(val *ReportSpec)

func (*NullableReportSpec) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportSpec) UnmarshalJSON(src []byte) error

func (*NullableReportSpec) Unset ¶ added in v0.21.0

func (v *NullableReportSpec) Unset()

type NullableReportSummary ¶ added in v0.21.0

type NullableReportSummary struct {
	// contains filtered or unexported fields
}

func NewNullableReportSummary ¶ added in v0.21.0

func NewNullableReportSummary(val *ReportSummary) *NullableReportSummary

func (NullableReportSummary) Get ¶ added in v0.21.0

func (NullableReportSummary) IsSet ¶ added in v0.21.0

func (v NullableReportSummary) IsSet() bool

func (NullableReportSummary) MarshalJSON ¶ added in v0.21.0

func (v NullableReportSummary) MarshalJSON() ([]byte, error)

func (*NullableReportSummary) Set ¶ added in v0.21.0

func (v *NullableReportSummary) Set(val *ReportSummary)

func (*NullableReportSummary) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportSummary) UnmarshalJSON(src []byte) error

func (*NullableReportSummary) Unset ¶ added in v0.21.0

func (v *NullableReportSummary) Unset()

type NullableReportUpdate ¶ added in v0.21.0

type NullableReportUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableReportUpdate ¶ added in v0.21.0

func NewNullableReportUpdate(val *ReportUpdate) *NullableReportUpdate

func (NullableReportUpdate) Get ¶ added in v0.21.0

func (NullableReportUpdate) IsSet ¶ added in v0.21.0

func (v NullableReportUpdate) IsSet() bool

func (NullableReportUpdate) MarshalJSON ¶ added in v0.21.0

func (v NullableReportUpdate) MarshalJSON() ([]byte, error)

func (*NullableReportUpdate) Set ¶ added in v0.21.0

func (v *NullableReportUpdate) Set(val *ReportUpdate)

func (*NullableReportUpdate) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReportUpdate) UnmarshalJSON(src []byte) error

func (*NullableReportUpdate) Unset ¶ added in v0.21.0

func (v *NullableReportUpdate) Unset()

type NullableReports ¶ added in v0.21.0

type NullableReports struct {
	// contains filtered or unexported fields
}

func NewNullableReports ¶ added in v0.21.0

func NewNullableReports(val *Reports) *NullableReports

func (NullableReports) Get ¶ added in v0.21.0

func (v NullableReports) Get() *Reports

func (NullableReports) IsSet ¶ added in v0.21.0

func (v NullableReports) IsSet() bool

func (NullableReports) MarshalJSON ¶ added in v0.21.0

func (v NullableReports) MarshalJSON() ([]byte, error)

func (*NullableReports) Set ¶ added in v0.21.0

func (v *NullableReports) Set(val *Reports)

func (*NullableReports) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableReports) UnmarshalJSON(src []byte) error

func (*NullableReports) Unset ¶ added in v0.21.0

func (v *NullableReports) Unset()

type NullableRequiredFields ¶ added in v0.19.0

type NullableRequiredFields struct {
	// contains filtered or unexported fields
}

func NewNullableRequiredFields ¶ added in v0.19.0

func NewNullableRequiredFields(val *RequiredFields) *NullableRequiredFields

func (NullableRequiredFields) Get ¶ added in v0.19.0

func (NullableRequiredFields) IsSet ¶ added in v0.19.0

func (v NullableRequiredFields) IsSet() bool

func (NullableRequiredFields) MarshalJSON ¶ added in v0.19.0

func (v NullableRequiredFields) MarshalJSON() ([]byte, error)

func (*NullableRequiredFields) Set ¶ added in v0.19.0

func (*NullableRequiredFields) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableRequiredFields) UnmarshalJSON(src []byte) error

func (*NullableRequiredFields) Unset ¶ added in v0.19.0

func (v *NullableRequiredFields) Unset()

type NullableRequiredFieldsAddress ¶ added in v0.19.0

type NullableRequiredFieldsAddress struct {
	// contains filtered or unexported fields
}

func NewNullableRequiredFieldsAddress ¶ added in v0.19.0

func NewNullableRequiredFieldsAddress(val *RequiredFieldsAddress) *NullableRequiredFieldsAddress

func (NullableRequiredFieldsAddress) Get ¶ added in v0.19.0

func (NullableRequiredFieldsAddress) IsSet ¶ added in v0.19.0

func (NullableRequiredFieldsAddress) MarshalJSON ¶ added in v0.19.0

func (v NullableRequiredFieldsAddress) MarshalJSON() ([]byte, error)

func (*NullableRequiredFieldsAddress) Set ¶ added in v0.19.0

func (*NullableRequiredFieldsAddress) UnmarshalJSON ¶ added in v0.19.0

func (v *NullableRequiredFieldsAddress) UnmarshalJSON(src []byte) error

func (*NullableRequiredFieldsAddress) Unset ¶ added in v0.19.0

func (v *NullableRequiredFieldsAddress) Unset()

type NullableResetPasswordRequest ¶ added in v0.2.1

type NullableResetPasswordRequest struct {
	// contains filtered or unexported fields
}

func NewNullableResetPasswordRequest ¶ added in v0.2.1

func NewNullableResetPasswordRequest(val *ResetPasswordRequest) *NullableResetPasswordRequest

func (NullableResetPasswordRequest) Get ¶ added in v0.2.1

func (NullableResetPasswordRequest) IsSet ¶ added in v0.2.1

func (NullableResetPasswordRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableResetPasswordRequest) MarshalJSON() ([]byte, error)

func (*NullableResetPasswordRequest) Set ¶ added in v0.2.1

func (*NullableResetPasswordRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableResetPasswordRequest) UnmarshalJSON(src []byte) error

func (*NullableResetPasswordRequest) Unset ¶ added in v0.2.1

func (v *NullableResetPasswordRequest) Unset()

type NullableRole ¶ added in v0.22.0

type NullableRole struct {
	// contains filtered or unexported fields
}

func NewNullableRole ¶ added in v0.22.0

func NewNullableRole(val *Role) *NullableRole

func (NullableRole) Get ¶ added in v0.22.0

func (v NullableRole) Get() *Role

func (NullableRole) IsSet ¶ added in v0.22.0

func (v NullableRole) IsSet() bool

func (NullableRole) MarshalJSON ¶ added in v0.22.0

func (v NullableRole) MarshalJSON() ([]byte, error)

func (*NullableRole) Set ¶ added in v0.22.0

func (v *NullableRole) Set(val *Role)

func (*NullableRole) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRole) UnmarshalJSON(src []byte) error

func (*NullableRole) Unset ¶ added in v0.22.0

func (v *NullableRole) Unset()

type NullableRoleAssignment ¶ added in v0.22.0

type NullableRoleAssignment struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignment ¶ added in v0.22.0

func NewNullableRoleAssignment(val *RoleAssignment) *NullableRoleAssignment

func (NullableRoleAssignment) Get ¶ added in v0.22.0

func (NullableRoleAssignment) IsSet ¶ added in v0.22.0

func (v NullableRoleAssignment) IsSet() bool

func (NullableRoleAssignment) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignment) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignment) Set ¶ added in v0.22.0

func (*NullableRoleAssignment) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignment) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignment) Unset ¶ added in v0.22.0

func (v *NullableRoleAssignment) Unset()

type NullableRoleAssignmentAssignee ¶ added in v0.22.0

type NullableRoleAssignmentAssignee struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignmentAssignee ¶ added in v0.22.0

func NewNullableRoleAssignmentAssignee(val *RoleAssignmentAssignee) *NullableRoleAssignmentAssignee

func (NullableRoleAssignmentAssignee) Get ¶ added in v0.22.0

func (NullableRoleAssignmentAssignee) IsSet ¶ added in v0.22.0

func (NullableRoleAssignmentAssignee) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignmentAssignee) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignmentAssignee) Set ¶ added in v0.22.0

func (*NullableRoleAssignmentAssignee) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignmentAssignee) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignmentAssignee) Unset ¶ added in v0.22.0

func (v *NullableRoleAssignmentAssignee) Unset()

type NullableRoleAssignmentRequest ¶ added in v0.22.0

type NullableRoleAssignmentRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignmentRequest ¶ added in v0.22.0

func NewNullableRoleAssignmentRequest(val *RoleAssignmentRequest) *NullableRoleAssignmentRequest

func (NullableRoleAssignmentRequest) Get ¶ added in v0.22.0

func (NullableRoleAssignmentRequest) IsSet ¶ added in v0.22.0

func (NullableRoleAssignmentRequest) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignmentRequest) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignmentRequest) Set ¶ added in v0.22.0

func (*NullableRoleAssignmentRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignmentRequest) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignmentRequest) Unset ¶ added in v0.22.0

func (v *NullableRoleAssignmentRequest) Unset()

type NullableRoleAssignmentRequestAssignee ¶ added in v0.22.0

type NullableRoleAssignmentRequestAssignee struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignmentRequestAssignee ¶ added in v0.22.0

func NewNullableRoleAssignmentRequestAssignee(val *RoleAssignmentRequestAssignee) *NullableRoleAssignmentRequestAssignee

func (NullableRoleAssignmentRequestAssignee) Get ¶ added in v0.22.0

func (NullableRoleAssignmentRequestAssignee) IsSet ¶ added in v0.22.0

func (NullableRoleAssignmentRequestAssignee) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignmentRequestAssignee) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignmentRequestAssignee) Set ¶ added in v0.22.0

func (*NullableRoleAssignmentRequestAssignee) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignmentRequestAssignee) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignmentRequestAssignee) Unset ¶ added in v0.22.0

type NullableRoleAssignmentRequestRole ¶ added in v0.22.0

type NullableRoleAssignmentRequestRole struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignmentRequestRole ¶ added in v0.22.0

func NewNullableRoleAssignmentRequestRole(val *RoleAssignmentRequestRole) *NullableRoleAssignmentRequestRole

func (NullableRoleAssignmentRequestRole) Get ¶ added in v0.22.0

func (NullableRoleAssignmentRequestRole) IsSet ¶ added in v0.22.0

func (NullableRoleAssignmentRequestRole) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignmentRequestRole) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignmentRequestRole) Set ¶ added in v0.22.0

func (*NullableRoleAssignmentRequestRole) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignmentRequestRole) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignmentRequestRole) Unset ¶ added in v0.22.0

type NullableRoleAssignments ¶ added in v0.22.0

type NullableRoleAssignments struct {
	// contains filtered or unexported fields
}

func NewNullableRoleAssignments ¶ added in v0.22.0

func NewNullableRoleAssignments(val *RoleAssignments) *NullableRoleAssignments

func (NullableRoleAssignments) Get ¶ added in v0.22.0

func (NullableRoleAssignments) IsSet ¶ added in v0.22.0

func (v NullableRoleAssignments) IsSet() bool

func (NullableRoleAssignments) MarshalJSON ¶ added in v0.22.0

func (v NullableRoleAssignments) MarshalJSON() ([]byte, error)

func (*NullableRoleAssignments) Set ¶ added in v0.22.0

func (*NullableRoleAssignments) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoleAssignments) UnmarshalJSON(src []byte) error

func (*NullableRoleAssignments) Unset ¶ added in v0.22.0

func (v *NullableRoleAssignments) Unset()

type NullableRolePermissions ¶ added in v0.22.0

type NullableRolePermissions struct {
	// contains filtered or unexported fields
}

func NewNullableRolePermissions ¶ added in v0.22.0

func NewNullableRolePermissions(val *RolePermissions) *NullableRolePermissions

func (NullableRolePermissions) Get ¶ added in v0.22.0

func (NullableRolePermissions) IsSet ¶ added in v0.22.0

func (v NullableRolePermissions) IsSet() bool

func (NullableRolePermissions) MarshalJSON ¶ added in v0.22.0

func (v NullableRolePermissions) MarshalJSON() ([]byte, error)

func (*NullableRolePermissions) Set ¶ added in v0.22.0

func (*NullableRolePermissions) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRolePermissions) UnmarshalJSON(src []byte) error

func (*NullableRolePermissions) Unset ¶ added in v0.22.0

func (v *NullableRolePermissions) Unset()

type NullableRoles ¶ added in v0.22.0

type NullableRoles struct {
	// contains filtered or unexported fields
}

func NewNullableRoles ¶ added in v0.22.0

func NewNullableRoles(val *Roles) *NullableRoles

func (NullableRoles) Get ¶ added in v0.22.0

func (v NullableRoles) Get() *Roles

func (NullableRoles) IsSet ¶ added in v0.22.0

func (v NullableRoles) IsSet() bool

func (NullableRoles) MarshalJSON ¶ added in v0.22.0

func (v NullableRoles) MarshalJSON() ([]byte, error)

func (*NullableRoles) Set ¶ added in v0.22.0

func (v *NullableRoles) Set(val *Roles)

func (*NullableRoles) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableRoles) UnmarshalJSON(src []byte) error

func (*NullableRoles) Unset ¶ added in v0.22.0

func (v *NullableRoles) Unset()

type NullableSetPasswordRequest ¶ added in v0.2.1

type NullableSetPasswordRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSetPasswordRequest ¶ added in v0.2.1

func NewNullableSetPasswordRequest(val *SetPasswordRequest) *NullableSetPasswordRequest

func (NullableSetPasswordRequest) Get ¶ added in v0.2.1

func (NullableSetPasswordRequest) IsSet ¶ added in v0.2.1

func (v NullableSetPasswordRequest) IsSet() bool

func (NullableSetPasswordRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableSetPasswordRequest) MarshalJSON() ([]byte, error)

func (*NullableSetPasswordRequest) Set ¶ added in v0.2.1

func (*NullableSetPasswordRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableSetPasswordRequest) UnmarshalJSON(src []byte) error

func (*NullableSetPasswordRequest) Unset ¶ added in v0.2.1

func (v *NullableSetPasswordRequest) Unset()

type NullableShippingDetail ¶ added in v0.22.0

type NullableShippingDetail struct {
	// contains filtered or unexported fields
}

func NewNullableShippingDetail ¶ added in v0.22.0

func NewNullableShippingDetail(val *ShippingDetail) *NullableShippingDetail

func (NullableShippingDetail) Get ¶ added in v0.22.0

func (NullableShippingDetail) IsSet ¶ added in v0.22.0

func (v NullableShippingDetail) IsSet() bool

func (NullableShippingDetail) MarshalJSON ¶ added in v0.22.0

func (v NullableShippingDetail) MarshalJSON() ([]byte, error)

func (*NullableShippingDetail) Set ¶ added in v0.22.0

func (*NullableShippingDetail) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableShippingDetail) UnmarshalJSON(src []byte) error

func (*NullableShippingDetail) Unset ¶ added in v0.22.0

func (v *NullableShippingDetail) Unset()

type NullableShippingDetailRequest ¶ added in v0.22.0

type NullableShippingDetailRequest struct {
	// contains filtered or unexported fields
}

func NewNullableShippingDetailRequest ¶ added in v0.22.0

func NewNullableShippingDetailRequest(val *ShippingDetailRequest) *NullableShippingDetailRequest

func (NullableShippingDetailRequest) Get ¶ added in v0.22.0

func (NullableShippingDetailRequest) IsSet ¶ added in v0.22.0

func (NullableShippingDetailRequest) MarshalJSON ¶ added in v0.22.0

func (v NullableShippingDetailRequest) MarshalJSON() ([]byte, error)

func (*NullableShippingDetailRequest) Set ¶ added in v0.22.0

func (*NullableShippingDetailRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableShippingDetailRequest) UnmarshalJSON(src []byte) error

func (*NullableShippingDetailRequest) Unset ¶ added in v0.22.0

func (v *NullableShippingDetailRequest) Unset()

type NullableShippingDetailUpdateRequest ¶ added in v0.22.0

type NullableShippingDetailUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableShippingDetailUpdateRequest ¶ added in v0.22.0

func NewNullableShippingDetailUpdateRequest(val *ShippingDetailUpdateRequest) *NullableShippingDetailUpdateRequest

func (NullableShippingDetailUpdateRequest) Get ¶ added in v0.22.0

func (NullableShippingDetailUpdateRequest) IsSet ¶ added in v0.22.0

func (NullableShippingDetailUpdateRequest) MarshalJSON ¶ added in v0.22.0

func (v NullableShippingDetailUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableShippingDetailUpdateRequest) Set ¶ added in v0.22.0

func (*NullableShippingDetailUpdateRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableShippingDetailUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableShippingDetailUpdateRequest) Unset ¶ added in v0.22.0

type NullableShippingDetails ¶ added in v0.22.0

type NullableShippingDetails struct {
	// contains filtered or unexported fields
}

func NewNullableShippingDetails ¶ added in v0.22.0

func NewNullableShippingDetails(val *ShippingDetails) *NullableShippingDetails

func (NullableShippingDetails) Get ¶ added in v0.22.0

func (NullableShippingDetails) IsSet ¶ added in v0.22.0

func (v NullableShippingDetails) IsSet() bool

func (NullableShippingDetails) MarshalJSON ¶ added in v0.22.0

func (v NullableShippingDetails) MarshalJSON() ([]byte, error)

func (*NullableShippingDetails) Set ¶ added in v0.22.0

func (*NullableShippingDetails) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableShippingDetails) UnmarshalJSON(src []byte) error

func (*NullableShippingDetails) Unset ¶ added in v0.22.0

func (v *NullableShippingDetails) Unset()

type NullableStatementDescriptor ¶ added in v0.13.0

type NullableStatementDescriptor struct {
	// contains filtered or unexported fields
}

func NewNullableStatementDescriptor ¶ added in v0.13.0

func NewNullableStatementDescriptor(val *StatementDescriptor) *NullableStatementDescriptor

func (NullableStatementDescriptor) Get ¶ added in v0.13.0

func (NullableStatementDescriptor) IsSet ¶ added in v0.13.0

func (NullableStatementDescriptor) MarshalJSON ¶ added in v0.13.0

func (v NullableStatementDescriptor) MarshalJSON() ([]byte, error)

func (*NullableStatementDescriptor) Set ¶ added in v0.13.0

func (*NullableStatementDescriptor) UnmarshalJSON ¶ added in v0.13.0

func (v *NullableStatementDescriptor) UnmarshalJSON(src []byte) error

func (*NullableStatementDescriptor) Unset ¶ added in v0.13.0

func (v *NullableStatementDescriptor) Unset()

type NullableString ¶ added in v0.2.1

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString ¶ added in v0.2.1

func NewNullableString(val *string) *NullableString

func (NullableString) Get ¶ added in v0.2.1

func (v NullableString) Get() *string

func (NullableString) IsSet ¶ added in v0.2.1

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON ¶ added in v0.2.1

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set ¶ added in v0.2.1

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset ¶ added in v0.2.1

func (v *NullableString) Unset()

type NullableTaxId ¶ added in v0.3.0

type NullableTaxId struct {
	// contains filtered or unexported fields
}

func NewNullableTaxId ¶ added in v0.3.0

func NewNullableTaxId(val *TaxId) *NullableTaxId

func (NullableTaxId) Get ¶ added in v0.3.0

func (v NullableTaxId) Get() *TaxId

func (NullableTaxId) IsSet ¶ added in v0.3.0

func (v NullableTaxId) IsSet() bool

func (NullableTaxId) MarshalJSON ¶ added in v0.3.0

func (v NullableTaxId) MarshalJSON() ([]byte, error)

func (*NullableTaxId) Set ¶ added in v0.3.0

func (v *NullableTaxId) Set(val *TaxId)

func (*NullableTaxId) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableTaxId) UnmarshalJSON(src []byte) error

func (*NullableTaxId) Unset ¶ added in v0.3.0

func (v *NullableTaxId) Unset()

type NullableThreeDSecureAuthenticationRequestEvent ¶ added in v0.28.0

type NullableThreeDSecureAuthenticationRequestEvent struct {
	// contains filtered or unexported fields
}

func (NullableThreeDSecureAuthenticationRequestEvent) Get ¶ added in v0.28.0

func (NullableThreeDSecureAuthenticationRequestEvent) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureAuthenticationRequestEvent) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEvent) Set ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEvent) UnmarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEvent) Unset ¶ added in v0.28.0

type NullableThreeDSecureAuthenticationRequestEventContext ¶ added in v0.28.0

type NullableThreeDSecureAuthenticationRequestEventContext struct {
	// contains filtered or unexported fields
}

func (NullableThreeDSecureAuthenticationRequestEventContext) Get ¶ added in v0.28.0

func (NullableThreeDSecureAuthenticationRequestEventContext) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureAuthenticationRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEventContext) Set ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureAuthenticationRequestEventContext) Unset ¶ added in v0.28.0

type NullableThreeDSecureData ¶ added in v0.3.0

type NullableThreeDSecureData struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureData ¶ added in v0.3.0

func NewNullableThreeDSecureData(val *ThreeDSecureData) *NullableThreeDSecureData

func (NullableThreeDSecureData) Get ¶ added in v0.3.0

func (NullableThreeDSecureData) IsSet ¶ added in v0.3.0

func (v NullableThreeDSecureData) IsSet() bool

func (NullableThreeDSecureData) MarshalJSON ¶ added in v0.3.0

func (v NullableThreeDSecureData) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureData) Set ¶ added in v0.3.0

func (*NullableThreeDSecureData) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableThreeDSecureData) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureData) Unset ¶ added in v0.3.0

func (v *NullableThreeDSecureData) Unset()

type NullableThreeDSecureDataV1 ¶ added in v0.3.0

type NullableThreeDSecureDataV1 struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureDataV1 ¶ added in v0.3.0

func NewNullableThreeDSecureDataV1(val *ThreeDSecureDataV1) *NullableThreeDSecureDataV1

func (NullableThreeDSecureDataV1) Get ¶ added in v0.3.0

func (NullableThreeDSecureDataV1) IsSet ¶ added in v0.3.0

func (v NullableThreeDSecureDataV1) IsSet() bool

func (NullableThreeDSecureDataV1) MarshalJSON ¶ added in v0.3.0

func (v NullableThreeDSecureDataV1) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureDataV1) Set ¶ added in v0.3.0

func (*NullableThreeDSecureDataV1) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableThreeDSecureDataV1) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureDataV1) Unset ¶ added in v0.3.0

func (v *NullableThreeDSecureDataV1) Unset()

type NullableThreeDSecureDataV1AllOf ¶ added in v0.7.0

type NullableThreeDSecureDataV1AllOf struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureDataV1AllOf ¶ added in v0.7.0

func NewNullableThreeDSecureDataV1AllOf(val *ThreeDSecureDataV1AllOf) *NullableThreeDSecureDataV1AllOf

func (NullableThreeDSecureDataV1AllOf) Get ¶ added in v0.7.0

func (NullableThreeDSecureDataV1AllOf) IsSet ¶ added in v0.7.0

func (NullableThreeDSecureDataV1AllOf) MarshalJSON ¶ added in v0.7.0

func (v NullableThreeDSecureDataV1AllOf) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureDataV1AllOf) Set ¶ added in v0.7.0

func (*NullableThreeDSecureDataV1AllOf) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableThreeDSecureDataV1AllOf) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureDataV1AllOf) Unset ¶ added in v0.7.0

type NullableThreeDSecureDataV1V2 ¶ added in v0.7.0

type NullableThreeDSecureDataV1V2 struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureDataV1V2 ¶ added in v0.7.0

func NewNullableThreeDSecureDataV1V2(val *ThreeDSecureDataV1V2) *NullableThreeDSecureDataV1V2

func (NullableThreeDSecureDataV1V2) Get ¶ added in v0.7.0

func (NullableThreeDSecureDataV1V2) IsSet ¶ added in v0.7.0

func (NullableThreeDSecureDataV1V2) MarshalJSON ¶ added in v0.7.0

func (v NullableThreeDSecureDataV1V2) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureDataV1V2) Set ¶ added in v0.7.0

func (*NullableThreeDSecureDataV1V2) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableThreeDSecureDataV1V2) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureDataV1V2) Unset ¶ added in v0.7.0

func (v *NullableThreeDSecureDataV1V2) Unset()

type NullableThreeDSecureDataV2 ¶ added in v0.3.0

type NullableThreeDSecureDataV2 struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureDataV2 ¶ added in v0.3.0

func NewNullableThreeDSecureDataV2(val *ThreeDSecureDataV2) *NullableThreeDSecureDataV2

func (NullableThreeDSecureDataV2) Get ¶ added in v0.3.0

func (NullableThreeDSecureDataV2) IsSet ¶ added in v0.3.0

func (v NullableThreeDSecureDataV2) IsSet() bool

func (NullableThreeDSecureDataV2) MarshalJSON ¶ added in v0.3.0

func (v NullableThreeDSecureDataV2) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureDataV2) Set ¶ added in v0.3.0

func (*NullableThreeDSecureDataV2) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableThreeDSecureDataV2) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureDataV2) Unset ¶ added in v0.3.0

func (v *NullableThreeDSecureDataV2) Unset()

type NullableThreeDSecureDataV2AllOf ¶ added in v0.7.0

type NullableThreeDSecureDataV2AllOf struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureDataV2AllOf ¶ added in v0.7.0

func NewNullableThreeDSecureDataV2AllOf(val *ThreeDSecureDataV2AllOf) *NullableThreeDSecureDataV2AllOf

func (NullableThreeDSecureDataV2AllOf) Get ¶ added in v0.7.0

func (NullableThreeDSecureDataV2AllOf) IsSet ¶ added in v0.7.0

func (NullableThreeDSecureDataV2AllOf) MarshalJSON ¶ added in v0.7.0

func (v NullableThreeDSecureDataV2AllOf) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureDataV2AllOf) Set ¶ added in v0.7.0

func (*NullableThreeDSecureDataV2AllOf) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableThreeDSecureDataV2AllOf) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureDataV2AllOf) Unset ¶ added in v0.7.0

type NullableThreeDSecureError ¶ added in v0.22.0

type NullableThreeDSecureError struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureError ¶ added in v0.22.0

func NewNullableThreeDSecureError(val *ThreeDSecureError) *NullableThreeDSecureError

func (NullableThreeDSecureError) Get ¶ added in v0.22.0

func (NullableThreeDSecureError) IsSet ¶ added in v0.22.0

func (v NullableThreeDSecureError) IsSet() bool

func (NullableThreeDSecureError) MarshalJSON ¶ added in v0.22.0

func (v NullableThreeDSecureError) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureError) Set ¶ added in v0.22.0

func (*NullableThreeDSecureError) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableThreeDSecureError) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureError) Unset ¶ added in v0.22.0

func (v *NullableThreeDSecureError) Unset()

type NullableThreeDSecurePreparationRequestEvent ¶ added in v0.28.0

type NullableThreeDSecurePreparationRequestEvent struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecurePreparationRequestEvent ¶ added in v0.28.0

func NewNullableThreeDSecurePreparationRequestEvent(val *ThreeDSecurePreparationRequestEvent) *NullableThreeDSecurePreparationRequestEvent

func (NullableThreeDSecurePreparationRequestEvent) Get ¶ added in v0.28.0

func (NullableThreeDSecurePreparationRequestEvent) IsSet ¶ added in v0.28.0

func (NullableThreeDSecurePreparationRequestEvent) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecurePreparationRequestEvent) Set ¶ added in v0.28.0

func (*NullableThreeDSecurePreparationRequestEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableThreeDSecurePreparationRequestEvent) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecurePreparationRequestEvent) Unset ¶ added in v0.28.0

type NullableThreeDSecurePreparationRequestEventContext ¶ added in v0.28.0

type NullableThreeDSecurePreparationRequestEventContext struct {
	// contains filtered or unexported fields
}

func (NullableThreeDSecurePreparationRequestEventContext) Get ¶ added in v0.28.0

func (NullableThreeDSecurePreparationRequestEventContext) IsSet ¶ added in v0.28.0

func (NullableThreeDSecurePreparationRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecurePreparationRequestEventContext) Set ¶ added in v0.28.0

func (*NullableThreeDSecurePreparationRequestEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecurePreparationRequestEventContext) Unset ¶ added in v0.28.0

type NullableThreeDSecureRequestErrorEvent ¶ added in v0.28.0

type NullableThreeDSecureRequestErrorEvent struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureRequestErrorEvent ¶ added in v0.28.0

func NewNullableThreeDSecureRequestErrorEvent(val *ThreeDSecureRequestErrorEvent) *NullableThreeDSecureRequestErrorEvent

func (NullableThreeDSecureRequestErrorEvent) Get ¶ added in v0.28.0

func (NullableThreeDSecureRequestErrorEvent) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureRequestErrorEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableThreeDSecureRequestErrorEvent) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureRequestErrorEvent) Set ¶ added in v0.28.0

func (*NullableThreeDSecureRequestErrorEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableThreeDSecureRequestErrorEvent) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureRequestErrorEvent) Unset ¶ added in v0.28.0

type NullableThreeDSecureRequestErrorEventContext ¶ added in v0.28.0

type NullableThreeDSecureRequestErrorEventContext struct {
	// contains filtered or unexported fields
}

func (NullableThreeDSecureRequestErrorEventContext) Get ¶ added in v0.28.0

func (NullableThreeDSecureRequestErrorEventContext) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureRequestErrorEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureRequestErrorEventContext) Set ¶ added in v0.28.0

func (*NullableThreeDSecureRequestErrorEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureRequestErrorEventContext) Unset ¶ added in v0.28.0

type NullableThreeDSecureResultRequestEvent ¶ added in v0.28.0

type NullableThreeDSecureResultRequestEvent struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureResultRequestEvent ¶ added in v0.28.0

func NewNullableThreeDSecureResultRequestEvent(val *ThreeDSecureResultRequestEvent) *NullableThreeDSecureResultRequestEvent

func (NullableThreeDSecureResultRequestEvent) Get ¶ added in v0.28.0

func (NullableThreeDSecureResultRequestEvent) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureResultRequestEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableThreeDSecureResultRequestEvent) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureResultRequestEvent) Set ¶ added in v0.28.0

func (*NullableThreeDSecureResultRequestEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableThreeDSecureResultRequestEvent) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureResultRequestEvent) Unset ¶ added in v0.28.0

type NullableThreeDSecureResultRequestEventContext ¶ added in v0.28.0

type NullableThreeDSecureResultRequestEventContext struct {
	// contains filtered or unexported fields
}

func (NullableThreeDSecureResultRequestEventContext) Get ¶ added in v0.28.0

func (NullableThreeDSecureResultRequestEventContext) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureResultRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureResultRequestEventContext) Set ¶ added in v0.28.0

func (*NullableThreeDSecureResultRequestEventContext) UnmarshalJSON ¶ added in v0.28.0

func (*NullableThreeDSecureResultRequestEventContext) Unset ¶ added in v0.28.0

type NullableThreeDSecureSuccessEvent ¶ added in v0.28.0

type NullableThreeDSecureSuccessEvent struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureSuccessEvent ¶ added in v0.28.0

func NewNullableThreeDSecureSuccessEvent(val *ThreeDSecureSuccessEvent) *NullableThreeDSecureSuccessEvent

func (NullableThreeDSecureSuccessEvent) Get ¶ added in v0.28.0

func (NullableThreeDSecureSuccessEvent) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureSuccessEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableThreeDSecureSuccessEvent) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureSuccessEvent) Set ¶ added in v0.28.0

func (*NullableThreeDSecureSuccessEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableThreeDSecureSuccessEvent) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureSuccessEvent) Unset ¶ added in v0.28.0

type NullableThreeDSecureSuccessEventContext ¶ added in v0.28.0

type NullableThreeDSecureSuccessEventContext struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureSuccessEventContext ¶ added in v0.28.0

func NewNullableThreeDSecureSuccessEventContext(val *ThreeDSecureSuccessEventContext) *NullableThreeDSecureSuccessEventContext

func (NullableThreeDSecureSuccessEventContext) Get ¶ added in v0.28.0

func (NullableThreeDSecureSuccessEventContext) IsSet ¶ added in v0.28.0

func (NullableThreeDSecureSuccessEventContext) MarshalJSON ¶ added in v0.28.0

func (v NullableThreeDSecureSuccessEventContext) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureSuccessEventContext) Set ¶ added in v0.28.0

func (*NullableThreeDSecureSuccessEventContext) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableThreeDSecureSuccessEventContext) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureSuccessEventContext) Unset ¶ added in v0.28.0

type NullableThreeDSecureSummary ¶ added in v0.18.0

type NullableThreeDSecureSummary struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureSummary ¶ added in v0.18.0

func NewNullableThreeDSecureSummary(val *ThreeDSecureSummary) *NullableThreeDSecureSummary

func (NullableThreeDSecureSummary) Get ¶ added in v0.18.0

func (NullableThreeDSecureSummary) IsSet ¶ added in v0.18.0

func (NullableThreeDSecureSummary) MarshalJSON ¶ added in v0.18.0

func (v NullableThreeDSecureSummary) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureSummary) Set ¶ added in v0.18.0

func (*NullableThreeDSecureSummary) UnmarshalJSON ¶ added in v0.18.0

func (v *NullableThreeDSecureSummary) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureSummary) Unset ¶ added in v0.18.0

func (v *NullableThreeDSecureSummary) Unset()

type NullableThreeDSecureV2 ¶ added in v0.31.0

type NullableThreeDSecureV2 struct {
	// contains filtered or unexported fields
}

func NewNullableThreeDSecureV2 ¶ added in v0.31.0

func NewNullableThreeDSecureV2(val *ThreeDSecureV2) *NullableThreeDSecureV2

func (NullableThreeDSecureV2) Get ¶ added in v0.31.0

func (NullableThreeDSecureV2) IsSet ¶ added in v0.31.0

func (v NullableThreeDSecureV2) IsSet() bool

func (NullableThreeDSecureV2) MarshalJSON ¶ added in v0.31.0

func (v NullableThreeDSecureV2) MarshalJSON() ([]byte, error)

func (*NullableThreeDSecureV2) Set ¶ added in v0.31.0

func (*NullableThreeDSecureV2) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableThreeDSecureV2) UnmarshalJSON(src []byte) error

func (*NullableThreeDSecureV2) Unset ¶ added in v0.31.0

func (v *NullableThreeDSecureV2) Unset()

type NullableTime ¶ added in v0.2.1

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime ¶ added in v0.2.1

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get ¶ added in v0.2.1

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet ¶ added in v0.2.1

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON ¶ added in v0.2.1

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set ¶ added in v0.2.1

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset ¶ added in v0.2.1

func (v *NullableTime) Unset()

type NullableTokenizedRequest ¶ added in v0.2.1

type NullableTokenizedRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenizedRequest ¶ added in v0.2.1

func NewNullableTokenizedRequest(val *TokenizedRequest) *NullableTokenizedRequest

func (NullableTokenizedRequest) Get ¶ added in v0.2.1

func (NullableTokenizedRequest) IsSet ¶ added in v0.2.1

func (v NullableTokenizedRequest) IsSet() bool

func (NullableTokenizedRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTokenizedRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenizedRequest) Set ¶ added in v0.2.1

func (*NullableTokenizedRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTokenizedRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenizedRequest) Unset ¶ added in v0.2.1

func (v *NullableTokenizedRequest) Unset()

type NullableTransaction ¶ added in v0.2.1

type NullableTransaction struct {
	// contains filtered or unexported fields
}

func NewNullableTransaction ¶ added in v0.2.1

func NewNullableTransaction(val *Transaction) *NullableTransaction

func (NullableTransaction) Get ¶ added in v0.2.1

func (NullableTransaction) IsSet ¶ added in v0.2.1

func (v NullableTransaction) IsSet() bool

func (NullableTransaction) MarshalJSON ¶ added in v0.2.1

func (v NullableTransaction) MarshalJSON() ([]byte, error)

func (*NullableTransaction) Set ¶ added in v0.2.1

func (v *NullableTransaction) Set(val *Transaction)

func (*NullableTransaction) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransaction) UnmarshalJSON(src []byte) error

func (*NullableTransaction) Unset ¶ added in v0.2.1

func (v *NullableTransaction) Unset()

type NullableTransactionCaptureRequest ¶ added in v0.2.1

type NullableTransactionCaptureRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionCaptureRequest ¶ added in v0.2.1

func NewNullableTransactionCaptureRequest(val *TransactionCaptureRequest) *NullableTransactionCaptureRequest

func (NullableTransactionCaptureRequest) Get ¶ added in v0.2.1

func (NullableTransactionCaptureRequest) IsSet ¶ added in v0.2.1

func (NullableTransactionCaptureRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactionCaptureRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionCaptureRequest) Set ¶ added in v0.2.1

func (*NullableTransactionCaptureRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactionCaptureRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionCaptureRequest) Unset ¶ added in v0.2.1

type NullableTransactionCardRequest ¶ added in v0.22.0

type NullableTransactionCardRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionCardRequest ¶ added in v0.22.0

func NewNullableTransactionCardRequest(val *TransactionCardRequest) *NullableTransactionCardRequest

func (NullableTransactionCardRequest) Get ¶ added in v0.22.0

func (NullableTransactionCardRequest) IsSet ¶ added in v0.22.0

func (NullableTransactionCardRequest) MarshalJSON ¶ added in v0.22.0

func (v NullableTransactionCardRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionCardRequest) Set ¶ added in v0.22.0

func (*NullableTransactionCardRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableTransactionCardRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionCardRequest) Unset ¶ added in v0.22.0

func (v *NullableTransactionCardRequest) Unset()

type NullableTransactionCheckoutSessionRequest ¶ added in v0.22.0

type NullableTransactionCheckoutSessionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionCheckoutSessionRequest ¶ added in v0.22.0

func NewNullableTransactionCheckoutSessionRequest(val *TransactionCheckoutSessionRequest) *NullableTransactionCheckoutSessionRequest

func (NullableTransactionCheckoutSessionRequest) Get ¶ added in v0.22.0

func (NullableTransactionCheckoutSessionRequest) IsSet ¶ added in v0.22.0

func (NullableTransactionCheckoutSessionRequest) MarshalJSON ¶ added in v0.22.0

func (*NullableTransactionCheckoutSessionRequest) Set ¶ added in v0.22.0

func (*NullableTransactionCheckoutSessionRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableTransactionCheckoutSessionRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionCheckoutSessionRequest) Unset ¶ added in v0.22.0

type NullableTransactionGiftCardNewRequest ¶ added in v0.31.0

type NullableTransactionGiftCardNewRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionGiftCardNewRequest ¶ added in v0.31.0

func NewNullableTransactionGiftCardNewRequest(val *TransactionGiftCardNewRequest) *NullableTransactionGiftCardNewRequest

func (NullableTransactionGiftCardNewRequest) Get ¶ added in v0.31.0

func (NullableTransactionGiftCardNewRequest) IsSet ¶ added in v0.31.0

func (NullableTransactionGiftCardNewRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableTransactionGiftCardNewRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionGiftCardNewRequest) Set ¶ added in v0.31.0

func (*NullableTransactionGiftCardNewRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableTransactionGiftCardNewRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionGiftCardNewRequest) Unset ¶ added in v0.31.0

type NullableTransactionGiftCardRequest ¶ added in v0.31.0

type NullableTransactionGiftCardRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionGiftCardRequest ¶ added in v0.31.0

func NewNullableTransactionGiftCardRequest(val *TransactionGiftCardRequest) *NullableTransactionGiftCardRequest

func (NullableTransactionGiftCardRequest) Get ¶ added in v0.31.0

func (NullableTransactionGiftCardRequest) IsSet ¶ added in v0.31.0

func (NullableTransactionGiftCardRequest) MarshalJSON ¶ added in v0.31.0

func (v NullableTransactionGiftCardRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionGiftCardRequest) Set ¶ added in v0.31.0

func (*NullableTransactionGiftCardRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableTransactionGiftCardRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionGiftCardRequest) Unset ¶ added in v0.31.0

type NullableTransactionGiftCardStoredRequest ¶ added in v0.31.0

type NullableTransactionGiftCardStoredRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionGiftCardStoredRequest ¶ added in v0.31.0

func NewNullableTransactionGiftCardStoredRequest(val *TransactionGiftCardStoredRequest) *NullableTransactionGiftCardStoredRequest

func (NullableTransactionGiftCardStoredRequest) Get ¶ added in v0.31.0

func (NullableTransactionGiftCardStoredRequest) IsSet ¶ added in v0.31.0

func (NullableTransactionGiftCardStoredRequest) MarshalJSON ¶ added in v0.31.0

func (*NullableTransactionGiftCardStoredRequest) Set ¶ added in v0.31.0

func (*NullableTransactionGiftCardStoredRequest) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableTransactionGiftCardStoredRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionGiftCardStoredRequest) Unset ¶ added in v0.31.0

type NullableTransactionHistoryEvent ¶ added in v0.28.0

type NullableTransactionHistoryEvent struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionHistoryEvent ¶ added in v0.28.0

func NewNullableTransactionHistoryEvent(val *TransactionHistoryEvent) *NullableTransactionHistoryEvent

func (NullableTransactionHistoryEvent) Get ¶ added in v0.28.0

func (NullableTransactionHistoryEvent) IsSet ¶ added in v0.28.0

func (NullableTransactionHistoryEvent) MarshalJSON ¶ added in v0.28.0

func (v NullableTransactionHistoryEvent) MarshalJSON() ([]byte, error)

func (*NullableTransactionHistoryEvent) Set ¶ added in v0.28.0

func (*NullableTransactionHistoryEvent) UnmarshalJSON ¶ added in v0.28.0

func (v *NullableTransactionHistoryEvent) UnmarshalJSON(src []byte) error

func (*NullableTransactionHistoryEvent) Unset ¶ added in v0.28.0

type NullableTransactionHistoryEvents ¶ added in v0.31.0

type NullableTransactionHistoryEvents struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionHistoryEvents ¶ added in v0.31.0

func NewNullableTransactionHistoryEvents(val *TransactionHistoryEvents) *NullableTransactionHistoryEvents

func (NullableTransactionHistoryEvents) Get ¶ added in v0.31.0

func (NullableTransactionHistoryEvents) IsSet ¶ added in v0.31.0

func (NullableTransactionHistoryEvents) MarshalJSON ¶ added in v0.31.0

func (v NullableTransactionHistoryEvents) MarshalJSON() ([]byte, error)

func (*NullableTransactionHistoryEvents) Set ¶ added in v0.31.0

func (*NullableTransactionHistoryEvents) UnmarshalJSON ¶ added in v0.31.0

func (v *NullableTransactionHistoryEvents) UnmarshalJSON(src []byte) error

func (*NullableTransactionHistoryEvents) Unset ¶ added in v0.31.0

type NullableTransactionPaymentMethodRequest ¶ added in v0.2.1

type NullableTransactionPaymentMethodRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionPaymentMethodRequest ¶ added in v0.2.1

func NewNullableTransactionPaymentMethodRequest(val *TransactionPaymentMethodRequest) *NullableTransactionPaymentMethodRequest

func (NullableTransactionPaymentMethodRequest) Get ¶ added in v0.2.1

func (NullableTransactionPaymentMethodRequest) IsSet ¶ added in v0.2.1

func (NullableTransactionPaymentMethodRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactionPaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionPaymentMethodRequest) Set ¶ added in v0.2.1

func (*NullableTransactionPaymentMethodRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactionPaymentMethodRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionPaymentMethodRequest) Unset ¶ added in v0.2.1

type NullableTransactionRedirectRequest ¶ added in v0.22.0

type NullableTransactionRedirectRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionRedirectRequest ¶ added in v0.22.0

func NewNullableTransactionRedirectRequest(val *TransactionRedirectRequest) *NullableTransactionRedirectRequest

func (NullableTransactionRedirectRequest) Get ¶ added in v0.22.0

func (NullableTransactionRedirectRequest) IsSet ¶ added in v0.22.0

func (NullableTransactionRedirectRequest) MarshalJSON ¶ added in v0.22.0

func (v NullableTransactionRedirectRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionRedirectRequest) Set ¶ added in v0.22.0

func (*NullableTransactionRedirectRequest) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableTransactionRedirectRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionRedirectRequest) Unset ¶ added in v0.22.0

type NullableTransactionRefundRequest ¶ added in v0.2.1

type NullableTransactionRefundRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionRefundRequest ¶ added in v0.2.1

func NewNullableTransactionRefundRequest(val *TransactionRefundRequest) *NullableTransactionRefundRequest

func (NullableTransactionRefundRequest) Get ¶ added in v0.2.1

func (NullableTransactionRefundRequest) IsSet ¶ added in v0.2.1

func (NullableTransactionRefundRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactionRefundRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionRefundRequest) Set ¶ added in v0.2.1

func (*NullableTransactionRefundRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactionRefundRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionRefundRequest) Unset ¶ added in v0.2.1

type NullableTransactionRequest ¶ added in v0.2.1

type NullableTransactionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionRequest ¶ added in v0.2.1

func NewNullableTransactionRequest(val *TransactionRequest) *NullableTransactionRequest

func (NullableTransactionRequest) Get ¶ added in v0.2.1

func (NullableTransactionRequest) IsSet ¶ added in v0.2.1

func (v NullableTransactionRequest) IsSet() bool

func (NullableTransactionRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactionRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionRequest) Set ¶ added in v0.2.1

func (*NullableTransactionRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactionRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionRequest) Unset ¶ added in v0.2.1

func (v *NullableTransactionRequest) Unset()

type NullableTransactionStatusSummary ¶ added in v0.22.0

type NullableTransactionStatusSummary struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionStatusSummary ¶ added in v0.22.0

func NewNullableTransactionStatusSummary(val *TransactionStatusSummary) *NullableTransactionStatusSummary

func (NullableTransactionStatusSummary) Get ¶ added in v0.22.0

func (NullableTransactionStatusSummary) IsSet ¶ added in v0.22.0

func (NullableTransactionStatusSummary) MarshalJSON ¶ added in v0.22.0

func (v NullableTransactionStatusSummary) MarshalJSON() ([]byte, error)

func (*NullableTransactionStatusSummary) Set ¶ added in v0.22.0

func (*NullableTransactionStatusSummary) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableTransactionStatusSummary) UnmarshalJSON(src []byte) error

func (*NullableTransactionStatusSummary) Unset ¶ added in v0.22.0

type NullableTransactionSummary ¶ added in v0.8.0

type NullableTransactionSummary struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionSummary ¶ added in v0.8.0

func NewNullableTransactionSummary(val *TransactionSummary) *NullableTransactionSummary

func (NullableTransactionSummary) Get ¶ added in v0.8.0

func (NullableTransactionSummary) IsSet ¶ added in v0.8.0

func (v NullableTransactionSummary) IsSet() bool

func (NullableTransactionSummary) MarshalJSON ¶ added in v0.8.0

func (v NullableTransactionSummary) MarshalJSON() ([]byte, error)

func (*NullableTransactionSummary) Set ¶ added in v0.8.0

func (*NullableTransactionSummary) UnmarshalJSON ¶ added in v0.8.0

func (v *NullableTransactionSummary) UnmarshalJSON(src []byte) error

func (*NullableTransactionSummary) Unset ¶ added in v0.8.0

func (v *NullableTransactionSummary) Unset()

type NullableTransactions ¶ added in v0.2.1

type NullableTransactions struct {
	// contains filtered or unexported fields
}

func NewNullableTransactions ¶ added in v0.2.1

func NewNullableTransactions(val *Transactions) *NullableTransactions

func (NullableTransactions) Get ¶ added in v0.2.1

func (NullableTransactions) IsSet ¶ added in v0.2.1

func (v NullableTransactions) IsSet() bool

func (NullableTransactions) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactions) MarshalJSON() ([]byte, error)

func (*NullableTransactions) Set ¶ added in v0.2.1

func (v *NullableTransactions) Set(val *Transactions)

func (*NullableTransactions) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactions) UnmarshalJSON(src []byte) error

func (*NullableTransactions) Unset ¶ added in v0.2.1

func (v *NullableTransactions) Unset()

type NullableTransactionsBatchCaptureRequest ¶ added in v0.2.1

type NullableTransactionsBatchCaptureRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTransactionsBatchCaptureRequest ¶ added in v0.2.1

func NewNullableTransactionsBatchCaptureRequest(val *TransactionsBatchCaptureRequest) *NullableTransactionsBatchCaptureRequest

func (NullableTransactionsBatchCaptureRequest) Get ¶ added in v0.2.1

func (NullableTransactionsBatchCaptureRequest) IsSet ¶ added in v0.2.1

func (NullableTransactionsBatchCaptureRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableTransactionsBatchCaptureRequest) MarshalJSON() ([]byte, error)

func (*NullableTransactionsBatchCaptureRequest) Set ¶ added in v0.2.1

func (*NullableTransactionsBatchCaptureRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableTransactionsBatchCaptureRequest) UnmarshalJSON(src []byte) error

func (*NullableTransactionsBatchCaptureRequest) Unset ¶ added in v0.2.1

type NullableUserCurrentUpdate ¶ added in v0.22.0

type NullableUserCurrentUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableUserCurrentUpdate ¶ added in v0.22.0

func NewNullableUserCurrentUpdate(val *UserCurrentUpdate) *NullableUserCurrentUpdate

func (NullableUserCurrentUpdate) Get ¶ added in v0.22.0

func (NullableUserCurrentUpdate) IsSet ¶ added in v0.22.0

func (v NullableUserCurrentUpdate) IsSet() bool

func (NullableUserCurrentUpdate) MarshalJSON ¶ added in v0.22.0

func (v NullableUserCurrentUpdate) MarshalJSON() ([]byte, error)

func (*NullableUserCurrentUpdate) Set ¶ added in v0.22.0

func (*NullableUserCurrentUpdate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableUserCurrentUpdate) UnmarshalJSON(src []byte) error

func (*NullableUserCurrentUpdate) Unset ¶ added in v0.22.0

func (v *NullableUserCurrentUpdate) Unset()

type NullableUserRequest ¶ added in v0.2.1

type NullableUserRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUserRequest ¶ added in v0.2.1

func NewNullableUserRequest(val *UserRequest) *NullableUserRequest

func (NullableUserRequest) Get ¶ added in v0.2.1

func (NullableUserRequest) IsSet ¶ added in v0.2.1

func (v NullableUserRequest) IsSet() bool

func (NullableUserRequest) MarshalJSON ¶ added in v0.2.1

func (v NullableUserRequest) MarshalJSON() ([]byte, error)

func (*NullableUserRequest) Set ¶ added in v0.2.1

func (v *NullableUserRequest) Set(val *UserRequest)

func (*NullableUserRequest) UnmarshalJSON ¶ added in v0.2.1

func (v *NullableUserRequest) UnmarshalJSON(src []byte) error

func (*NullableUserRequest) Unset ¶ added in v0.2.1

func (v *NullableUserRequest) Unset()

type NullableUserRole ¶ added in v0.22.0

type NullableUserRole struct {
	// contains filtered or unexported fields
}

func NewNullableUserRole ¶ added in v0.22.0

func NewNullableUserRole(val *UserRole) *NullableUserRole

func (NullableUserRole) Get ¶ added in v0.22.0

func (v NullableUserRole) Get() *UserRole

func (NullableUserRole) IsSet ¶ added in v0.22.0

func (v NullableUserRole) IsSet() bool

func (NullableUserRole) MarshalJSON ¶ added in v0.22.0

func (v NullableUserRole) MarshalJSON() ([]byte, error)

func (*NullableUserRole) Set ¶ added in v0.22.0

func (v *NullableUserRole) Set(val *UserRole)

func (*NullableUserRole) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableUserRole) UnmarshalJSON(src []byte) error

func (*NullableUserRole) Unset ¶ added in v0.22.0

func (v *NullableUserRole) Unset()

type NullableUserUpdate ¶ added in v0.22.0

type NullableUserUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableUserUpdate ¶ added in v0.22.0

func NewNullableUserUpdate(val *UserUpdate) *NullableUserUpdate

func (NullableUserUpdate) Get ¶ added in v0.22.0

func (v NullableUserUpdate) Get() *UserUpdate

func (NullableUserUpdate) IsSet ¶ added in v0.22.0

func (v NullableUserUpdate) IsSet() bool

func (NullableUserUpdate) MarshalJSON ¶ added in v0.22.0

func (v NullableUserUpdate) MarshalJSON() ([]byte, error)

func (*NullableUserUpdate) Set ¶ added in v0.22.0

func (v *NullableUserUpdate) Set(val *UserUpdate)

func (*NullableUserUpdate) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableUserUpdate) UnmarshalJSON(src []byte) error

func (*NullableUserUpdate) Unset ¶ added in v0.22.0

func (v *NullableUserUpdate) Unset()

type PaymentConnectorExternalTransactionRequest ¶ added in v0.31.0

type PaymentConnectorExternalTransactionRequest struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-external-transaction-request`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                         `json:"created_at,omitempty"`
	Context   *PaymentConnectorExternalTransactionRequestContext `json:"context,omitempty"`
}

PaymentConnectorExternalTransactionRequest This event logs the exact details parsed details for an external transaction request.

func NewPaymentConnectorExternalTransactionRequest ¶ added in v0.31.0

func NewPaymentConnectorExternalTransactionRequest() *PaymentConnectorExternalTransactionRequest

NewPaymentConnectorExternalTransactionRequest instantiates a new PaymentConnectorExternalTransactionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorExternalTransactionRequestWithDefaults ¶ added in v0.31.0

func NewPaymentConnectorExternalTransactionRequestWithDefaults() *PaymentConnectorExternalTransactionRequest

NewPaymentConnectorExternalTransactionRequestWithDefaults instantiates a new PaymentConnectorExternalTransactionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorExternalTransactionRequest) GetContext ¶ added in v0.31.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequest) GetContextOk ¶ added in v0.31.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequest) GetCreatedAt ¶ added in v0.31.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequest) GetCreatedAtOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequest) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequest) GetIdOk ¶ added in v0.31.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequest) GetName ¶ added in v0.31.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequest) GetNameOk ¶ added in v0.31.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequest) GetType ¶ added in v0.31.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequest) GetTypeOk ¶ added in v0.31.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequest) HasContext ¶ added in v0.31.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequest) HasCreatedAt ¶ added in v0.31.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequest) HasId ¶ added in v0.31.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequest) HasName ¶ added in v0.31.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequest) HasType ¶ added in v0.31.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorExternalTransactionRequest) MarshalJSON ¶ added in v0.31.0

func (*PaymentConnectorExternalTransactionRequest) SetContext ¶ added in v0.31.0

SetContext gets a reference to the given PaymentConnectorExternalTransactionRequestContext and assigns it to the Context field.

func (*PaymentConnectorExternalTransactionRequest) SetCreatedAt ¶ added in v0.31.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorExternalTransactionRequest) SetId ¶ added in v0.31.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorExternalTransactionRequest) SetName ¶ added in v0.31.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorExternalTransactionRequest) SetType ¶ added in v0.31.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorExternalTransactionRequestContext ¶ added in v0.31.0

type PaymentConnectorExternalTransactionRequestContext struct {
	// The connector request id.
	ConnectorRequestId *string `json:"connector_request_id,omitempty"`
	// The request.
	Request NullableString `json:"request,omitempty"`
	// The response.
	Response NullableString `json:"response,omitempty"`
	// The payment service definition id.
	PaymentServiceDefinitionId NullableString `json:"payment_service_definition_id,omitempty"`
	// Whether the transaction was successful.
	Success NullableBool `json:"success,omitempty"`
	// The payment service id.
	PaymentServiceId NullableString `json:"payment_service_id,omitempty"`
	// The response status code.
	ResponseStatusCode NullableString `json:"response_status_code,omitempty"`
	// The payment service display name.
	PaymentServiceDisplayName NullableString `json:"payment_service_display_name,omitempty"`
	// The HTTP method.
	Method NullableString `json:"method,omitempty"`
	// The endpoint for the request.
	Url NullableString `json:"url,omitempty"`
}

PaymentConnectorExternalTransactionRequestContext Additional context for the transaction.

func NewPaymentConnectorExternalTransactionRequestContext ¶ added in v0.31.0

func NewPaymentConnectorExternalTransactionRequestContext() *PaymentConnectorExternalTransactionRequestContext

NewPaymentConnectorExternalTransactionRequestContext instantiates a new PaymentConnectorExternalTransactionRequestContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorExternalTransactionRequestContextWithDefaults ¶ added in v0.31.0

func NewPaymentConnectorExternalTransactionRequestContextWithDefaults() *PaymentConnectorExternalTransactionRequestContext

NewPaymentConnectorExternalTransactionRequestContextWithDefaults instantiates a new PaymentConnectorExternalTransactionRequestContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorExternalTransactionRequestContext) GetConnectorRequestId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetConnectorRequestId() string

GetConnectorRequestId returns the ConnectorRequestId field value if set, zero value otherwise.

func (*PaymentConnectorExternalTransactionRequestContext) GetConnectorRequestIdOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetConnectorRequestIdOk() (*string, bool)

GetConnectorRequestIdOk returns a tuple with the ConnectorRequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorExternalTransactionRequestContext) GetMethod ¶ added in v0.31.0

GetMethod returns the Method field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetMethodOk ¶ added in v0.31.0

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDefinitionId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDisplayName ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDisplayName() string

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDisplayNameOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceId ¶ added in v0.31.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceIdOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetPaymentServiceIdOk() (*string, bool)

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetRequest ¶ added in v0.31.0

GetRequest returns the Request field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetRequestOk ¶ added in v0.31.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetResponse ¶ added in v0.31.0

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetResponseOk ¶ added in v0.31.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetResponseStatusCode ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetResponseStatusCode() string

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetResponseStatusCodeOk ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) GetResponseStatusCodeOk() (*string, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetSuccess ¶ added in v0.31.0

GetSuccess returns the Success field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetSuccessOk ¶ added in v0.31.0

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) GetUrl ¶ added in v0.31.0

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorExternalTransactionRequestContext) GetUrlOk ¶ added in v0.31.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorExternalTransactionRequestContext) HasConnectorRequestId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) HasConnectorRequestId() bool

HasConnectorRequestId returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasMethod ¶ added in v0.31.0

HasMethod returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasPaymentServiceDefinitionId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasPaymentServiceDisplayName ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasPaymentServiceId ¶ added in v0.31.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasRequest ¶ added in v0.31.0

HasRequest returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasResponse ¶ added in v0.31.0

HasResponse returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasResponseStatusCode ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasSuccess ¶ added in v0.31.0

HasSuccess returns a boolean if a field has been set.

func (*PaymentConnectorExternalTransactionRequestContext) HasUrl ¶ added in v0.31.0

HasUrl returns a boolean if a field has been set.

func (PaymentConnectorExternalTransactionRequestContext) MarshalJSON ¶ added in v0.31.0

func (*PaymentConnectorExternalTransactionRequestContext) SetConnectorRequestId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetConnectorRequestId(v string)

SetConnectorRequestId gets a reference to the given string and assigns it to the ConnectorRequestId field.

func (*PaymentConnectorExternalTransactionRequestContext) SetMethod ¶ added in v0.31.0

SetMethod gets a reference to the given NullableString and assigns it to the Method field.

func (*PaymentConnectorExternalTransactionRequestContext) SetMethodNil ¶ added in v0.31.0

SetMethodNil sets the value for Method to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDefinitionId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given NullableString and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDefinitionIdNil ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDefinitionIdNil()

SetPaymentServiceDefinitionIdNil sets the value for PaymentServiceDefinitionId to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDisplayName ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDisplayName(v string)

SetPaymentServiceDisplayName gets a reference to the given NullableString and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDisplayNameNil ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceDisplayNameNil()

SetPaymentServiceDisplayNameNil sets the value for PaymentServiceDisplayName to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceId ¶ added in v0.31.0

SetPaymentServiceId gets a reference to the given NullableString and assigns it to the PaymentServiceId field.

func (*PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceIdNil ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetPaymentServiceIdNil()

SetPaymentServiceIdNil sets the value for PaymentServiceId to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetRequest ¶ added in v0.31.0

SetRequest gets a reference to the given NullableString and assigns it to the Request field.

func (*PaymentConnectorExternalTransactionRequestContext) SetRequestNil ¶ added in v0.31.0

SetRequestNil sets the value for Request to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetResponse ¶ added in v0.31.0

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*PaymentConnectorExternalTransactionRequestContext) SetResponseNil ¶ added in v0.31.0

SetResponseNil sets the value for Response to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetResponseStatusCode ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetResponseStatusCode(v string)

SetResponseStatusCode gets a reference to the given NullableString and assigns it to the ResponseStatusCode field.

func (*PaymentConnectorExternalTransactionRequestContext) SetResponseStatusCodeNil ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) SetResponseStatusCodeNil()

SetResponseStatusCodeNil sets the value for ResponseStatusCode to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetSuccess ¶ added in v0.31.0

SetSuccess gets a reference to the given NullableBool and assigns it to the Success field.

func (*PaymentConnectorExternalTransactionRequestContext) SetSuccessNil ¶ added in v0.31.0

SetSuccessNil sets the value for Success to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) SetUrl ¶ added in v0.31.0

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*PaymentConnectorExternalTransactionRequestContext) SetUrlNil ¶ added in v0.31.0

SetUrlNil sets the value for Url to be an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetMethod ¶ added in v0.31.0

UnsetMethod ensures that no value is present for Method, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceDefinitionId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceDefinitionId()

UnsetPaymentServiceDefinitionId ensures that no value is present for PaymentServiceDefinitionId, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceDisplayName ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceDisplayName()

UnsetPaymentServiceDisplayName ensures that no value is present for PaymentServiceDisplayName, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceId ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) UnsetPaymentServiceId()

UnsetPaymentServiceId ensures that no value is present for PaymentServiceId, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetRequest ¶ added in v0.31.0

UnsetRequest ensures that no value is present for Request, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetResponse ¶ added in v0.31.0

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetResponseStatusCode ¶ added in v0.31.0

func (o *PaymentConnectorExternalTransactionRequestContext) UnsetResponseStatusCode()

UnsetResponseStatusCode ensures that no value is present for ResponseStatusCode, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetSuccess ¶ added in v0.31.0

UnsetSuccess ensures that no value is present for Success, not even an explicit nil

func (*PaymentConnectorExternalTransactionRequestContext) UnsetUrl ¶ added in v0.31.0

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type PaymentConnectorResponseTransactionAuthorizationFailedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionAuthorizationFailedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-authorization-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                          `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionAuthorizationFailedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionAuthorizationFailedEvent This event logs the exact details parsed details for a failed authorization as reported by our connector.

func NewPaymentConnectorResponseTransactionAuthorizationFailedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationFailedEvent() *PaymentConnectorResponseTransactionAuthorizationFailedEvent

NewPaymentConnectorResponseTransactionAuthorizationFailedEvent instantiates a new PaymentConnectorResponseTransactionAuthorizationFailedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventWithDefaults() *PaymentConnectorResponseTransactionAuthorizationFailedEvent

NewPaymentConnectorResponseTransactionAuthorizationFailedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionAuthorizationFailedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionAuthorizationFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionAuthorizationFailedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionAuthorizationFailedEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionAuthorizationFailedEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// The new status code for the transaction. This is always set to `authorization_failed`.
	Status *string `json:"status,omitempty"`
	// A raw response code returned for the failure.
	Code NullableString `json:"code,omitempty"`
	// The type of instrument used for this transaction.
	InstrumentType *string `json:"instrument_type,omitempty"`
	// Defines why the transaction might be retried. A retry is not guaranteed because the maximum number of retries might already have been attempted.  * `failure` - the transaction will be retried because of a failure calling   the payment service. * `retriable_decline` - the transaction will be retried because a decline code   was received that can be retried. * `payment_method_replacement` - the transaction will be retried because a   decline code was received that triggered a payment method replacement.
	RetryRule NullableString `json:"retry_rule,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// The card scheme sent to the connector.
	PaymentMethodScheme NullableString `json:"payment_method_scheme,omitempty"`
}

PaymentConnectorResponseTransactionAuthorizationFailedEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventContext() *PaymentConnectorResponseTransactionAuthorizationFailedEventContext

NewPaymentConnectorResponseTransactionAuthorizationFailedEventContext instantiates a new PaymentConnectorResponseTransactionAuthorizationFailedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationFailedEventContextWithDefaults() *PaymentConnectorResponseTransactionAuthorizationFailedEventContext

NewPaymentConnectorResponseTransactionAuthorizationFailedEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionAuthorizationFailedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetAvsResponseCode ¶ added in v0.28.0

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetAvsResponseCodeOk ¶ added in v0.28.0

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetCode ¶ added in v0.28.0

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetCodeOk ¶ added in v0.28.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetCvvResponseCode ¶ added in v0.28.0

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetCvvResponseCodeOk ¶ added in v0.28.0

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetInstrumentType ¶ added in v0.28.0

GetInstrumentType returns the InstrumentType field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetInstrumentTypeOk ¶ added in v0.28.0

GetInstrumentTypeOk returns a tuple with the InstrumentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentMethodScheme ¶ added in v0.31.0

GetPaymentMethodScheme returns the PaymentMethodScheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentMethodSchemeOk ¶ added in v0.31.0

GetPaymentMethodSchemeOk returns a tuple with the PaymentMethodScheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRawResponseCode ¶ added in v0.28.0

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRawResponseCodeOk ¶ added in v0.28.0

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRawResponseDescription ¶ added in v0.28.0

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRawResponseDescriptionOk ¶ added in v0.28.0

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRetryRule ¶ added in v0.28.0

GetRetryRule returns the RetryRule field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetRetryRuleOk ¶ added in v0.28.0

GetRetryRuleOk returns a tuple with the RetryRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetStatus ¶ added in v0.28.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) GetStatusOk ¶ added in v0.28.0

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasAvsResponseCode ¶ added in v0.28.0

HasAvsResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasCode ¶ added in v0.28.0

HasCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasCvvResponseCode ¶ added in v0.28.0

HasCvvResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasInstrumentType ¶ added in v0.28.0

HasInstrumentType returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasPaymentMethodScheme ¶ added in v0.31.0

HasPaymentMethodScheme returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasRawResponseCode ¶ added in v0.28.0

HasRawResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasRawResponseDescription ¶ added in v0.28.0

HasRawResponseDescription returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasRetryRule ¶ added in v0.28.0

HasRetryRule returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) HasStatus ¶ added in v0.28.0

HasStatus returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionAuthorizationFailedEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetAvsResponseCode ¶ added in v0.28.0

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetAvsResponseCodeNil ¶ added in v0.28.0

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetCode ¶ added in v0.28.0

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetCodeNil ¶ added in v0.28.0

SetCodeNil sets the value for Code to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetCvvResponseCode ¶ added in v0.28.0

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetCvvResponseCodeNil ¶ added in v0.28.0

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetInstrumentType ¶ added in v0.28.0

SetInstrumentType gets a reference to the given string and assigns it to the InstrumentType field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentMethodScheme ¶ added in v0.31.0

SetPaymentMethodScheme gets a reference to the given NullableString and assigns it to the PaymentMethodScheme field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentMethodSchemeNil ¶ added in v0.31.0

SetPaymentMethodSchemeNil sets the value for PaymentMethodScheme to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRawResponseCode ¶ added in v0.28.0

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRawResponseCodeNil ¶ added in v0.28.0

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRawResponseDescription ¶ added in v0.28.0

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRawResponseDescriptionNil ¶ added in v0.28.0

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRetryRule ¶ added in v0.28.0

SetRetryRule gets a reference to the given NullableString and assigns it to the RetryRule field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetRetryRuleNil ¶ added in v0.28.0

SetRetryRuleNil sets the value for RetryRule to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) SetStatus ¶ added in v0.28.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetAvsResponseCode ¶ added in v0.28.0

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetCode ¶ added in v0.28.0

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetCvvResponseCode ¶ added in v0.28.0

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetPaymentMethodScheme ¶ added in v0.31.0

UnsetPaymentMethodScheme ensures that no value is present for PaymentMethodScheme, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetRawResponseCode ¶ added in v0.28.0

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetRawResponseDescription ¶ added in v0.28.0

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationFailedEventContext) UnsetRetryRule ¶ added in v0.28.0

UnsetRetryRule ensures that no value is present for RetryRule, not even an explicit nil

type PaymentConnectorResponseTransactionAuthorizationSucceededEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionAuthorizationSucceededEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-authorization-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                             `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionAuthorizationSucceededEvent This event logs the exact details parsed details for a succeeded authorization as reported by our connector.

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEvent() *PaymentConnectorResponseTransactionAuthorizationSucceededEvent

NewPaymentConnectorResponseTransactionAuthorizationSucceededEvent instantiates a new PaymentConnectorResponseTransactionAuthorizationSucceededEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventWithDefaults() *PaymentConnectorResponseTransactionAuthorizationSucceededEvent

NewPaymentConnectorResponseTransactionAuthorizationSucceededEventWithDefaults instantiates a new PaymentConnectorResponseTransactionAuthorizationSucceededEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionAuthorizationSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionAuthorizationSucceededEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionAuthorizationSucceededEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionAuthorizationSucceededEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// The new status code for the transaction. This is always set to `authorization_succeeded`.
	Status *string `json:"status,omitempty"`
	// The type of instrument used for this transaction.
	InstrumentType *string `json:"instrument_type,omitempty"`
	// This will always be `null` because the transaction succeeded.
	RetryRule NullableString `json:"retry_rule,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// The card scheme sent to the connector.
	PaymentMethodScheme NullableString `json:"payment_method_scheme,omitempty"`
}

PaymentConnectorResponseTransactionAuthorizationSucceededEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContext() *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext

NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContext instantiates a new PaymentConnectorResponseTransactionAuthorizationSucceededEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContextWithDefaults() *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext

NewPaymentConnectorResponseTransactionAuthorizationSucceededEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionAuthorizationSucceededEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetAvsResponseCode ¶ added in v0.28.0

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetAvsResponseCodeOk ¶ added in v0.28.0

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetCvvResponseCode ¶ added in v0.28.0

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetCvvResponseCodeOk ¶ added in v0.28.0

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetInstrumentType ¶ added in v0.28.0

GetInstrumentType returns the InstrumentType field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetInstrumentTypeOk ¶ added in v0.28.0

GetInstrumentTypeOk returns a tuple with the InstrumentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentMethodScheme ¶ added in v0.31.0

GetPaymentMethodScheme returns the PaymentMethodScheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentMethodSchemeOk ¶ added in v0.31.0

GetPaymentMethodSchemeOk returns a tuple with the PaymentMethodScheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRawResponseCode ¶ added in v0.28.0

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRawResponseCodeOk ¶ added in v0.28.0

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRawResponseDescription ¶ added in v0.28.0

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRawResponseDescriptionOk ¶ added in v0.28.0

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRetryRule ¶ added in v0.28.0

GetRetryRule returns the RetryRule field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetRetryRuleOk ¶ added in v0.28.0

GetRetryRuleOk returns a tuple with the RetryRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetStatus ¶ added in v0.28.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) GetStatusOk ¶ added in v0.28.0

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasAvsResponseCode ¶ added in v0.28.0

HasAvsResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasCvvResponseCode ¶ added in v0.28.0

HasCvvResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasInstrumentType ¶ added in v0.28.0

HasInstrumentType returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasPaymentMethodScheme ¶ added in v0.31.0

HasPaymentMethodScheme returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasRawResponseCode ¶ added in v0.28.0

HasRawResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasRawResponseDescription ¶ added in v0.28.0

HasRawResponseDescription returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasRetryRule ¶ added in v0.28.0

HasRetryRule returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) HasStatus ¶ added in v0.28.0

HasStatus returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetAvsResponseCode ¶ added in v0.28.0

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetAvsResponseCodeNil ¶ added in v0.28.0

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetCvvResponseCode ¶ added in v0.28.0

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetCvvResponseCodeNil ¶ added in v0.28.0

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetInstrumentType ¶ added in v0.28.0

SetInstrumentType gets a reference to the given string and assigns it to the InstrumentType field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentMethodScheme ¶ added in v0.31.0

SetPaymentMethodScheme gets a reference to the given NullableString and assigns it to the PaymentMethodScheme field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentMethodSchemeNil ¶ added in v0.31.0

SetPaymentMethodSchemeNil sets the value for PaymentMethodScheme to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRawResponseCode ¶ added in v0.28.0

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRawResponseCodeNil ¶ added in v0.28.0

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRawResponseDescription ¶ added in v0.28.0

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRawResponseDescriptionNil ¶ added in v0.28.0

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRetryRule ¶ added in v0.28.0

SetRetryRule gets a reference to the given NullableString and assigns it to the RetryRule field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetRetryRuleNil ¶ added in v0.28.0

SetRetryRuleNil sets the value for RetryRule to be an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) SetStatus ¶ added in v0.28.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetAvsResponseCode ¶ added in v0.28.0

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetCvvResponseCode ¶ added in v0.28.0

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetPaymentMethodScheme ¶ added in v0.31.0

UnsetPaymentMethodScheme ensures that no value is present for PaymentMethodScheme, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetRawResponseCode ¶ added in v0.28.0

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetRawResponseDescription ¶ added in v0.28.0

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

func (*PaymentConnectorResponseTransactionAuthorizationSucceededEventContext) UnsetRetryRule ¶ added in v0.28.0

UnsetRetryRule ensures that no value is present for RetryRule, not even an explicit nil

type PaymentConnectorResponseTransactionCaptureDeclinedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionCaptureDeclinedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-capture-declined`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                      `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionCaptureDeclinedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionCaptureDeclinedEvent This event logs the exact details parsed details for a declined capture as reported by our connector.

func NewPaymentConnectorResponseTransactionCaptureDeclinedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureDeclinedEvent() *PaymentConnectorResponseTransactionCaptureDeclinedEvent

NewPaymentConnectorResponseTransactionCaptureDeclinedEvent instantiates a new PaymentConnectorResponseTransactionCaptureDeclinedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventWithDefaults() *PaymentConnectorResponseTransactionCaptureDeclinedEvent

NewPaymentConnectorResponseTransactionCaptureDeclinedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionCaptureDeclinedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionCaptureDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionCaptureDeclinedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionCaptureDeclinedEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionCaptureDeclinedEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// A raw response code returned for the failure.
	Code NullableString `json:"code,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// The card scheme sent to the connector.
	PaymentMethodScheme NullableString `json:"payment_method_scheme,omitempty"`
}

PaymentConnectorResponseTransactionCaptureDeclinedEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventContext() *PaymentConnectorResponseTransactionCaptureDeclinedEventContext

NewPaymentConnectorResponseTransactionCaptureDeclinedEventContext instantiates a new PaymentConnectorResponseTransactionCaptureDeclinedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureDeclinedEventContextWithDefaults() *PaymentConnectorResponseTransactionCaptureDeclinedEventContext

NewPaymentConnectorResponseTransactionCaptureDeclinedEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionCaptureDeclinedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetAvsResponseCode ¶ added in v0.28.0

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetAvsResponseCodeOk ¶ added in v0.28.0

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetCode ¶ added in v0.28.0

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetCodeOk ¶ added in v0.28.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetCvvResponseCode ¶ added in v0.28.0

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetCvvResponseCodeOk ¶ added in v0.28.0

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentMethodScheme ¶ added in v0.31.0

GetPaymentMethodScheme returns the PaymentMethodScheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentMethodSchemeOk ¶ added in v0.31.0

GetPaymentMethodSchemeOk returns a tuple with the PaymentMethodScheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetRawResponseCode ¶ added in v0.28.0

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetRawResponseCodeOk ¶ added in v0.28.0

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetRawResponseDescription ¶ added in v0.28.0

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetRawResponseDescriptionOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) GetRawResponseDescriptionOk() (*string, bool)

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasAvsResponseCode ¶ added in v0.28.0

HasAvsResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasCode ¶ added in v0.28.0

HasCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasCvvResponseCode ¶ added in v0.28.0

HasCvvResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentMethodScheme ¶ added in v0.31.0

HasPaymentMethodScheme returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasRawResponseCode ¶ added in v0.28.0

HasRawResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) HasRawResponseDescription ¶ added in v0.28.0

HasRawResponseDescription returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionCaptureDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetAvsResponseCode ¶ added in v0.28.0

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetAvsResponseCodeNil ¶ added in v0.28.0

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetCode ¶ added in v0.28.0

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetCodeNil ¶ added in v0.28.0

SetCodeNil sets the value for Code to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetCvvResponseCode ¶ added in v0.28.0

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetCvvResponseCodeNil ¶ added in v0.28.0

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentMethodScheme ¶ added in v0.31.0

SetPaymentMethodScheme gets a reference to the given NullableString and assigns it to the PaymentMethodScheme field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentMethodSchemeNil ¶ added in v0.31.0

SetPaymentMethodSchemeNil sets the value for PaymentMethodScheme to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetRawResponseCode ¶ added in v0.28.0

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetRawResponseCodeNil ¶ added in v0.28.0

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetRawResponseDescription ¶ added in v0.28.0

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetRawResponseDescriptionNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) SetRawResponseDescriptionNil()

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetAvsResponseCode ¶ added in v0.28.0

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetCode ¶ added in v0.28.0

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetCvvResponseCode ¶ added in v0.28.0

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetPaymentMethodScheme ¶ added in v0.31.0

UnsetPaymentMethodScheme ensures that no value is present for PaymentMethodScheme, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetRawResponseCode ¶ added in v0.28.0

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureDeclinedEventContext) UnsetRawResponseDescription()

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

type PaymentConnectorResponseTransactionCaptureFailedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionCaptureFailedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-capture-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                      `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionCaptureDeclinedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionCaptureFailedEvent This event logs the exact details parsed details for a failed capture as reported by our connector.

func NewPaymentConnectorResponseTransactionCaptureFailedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureFailedEvent() *PaymentConnectorResponseTransactionCaptureFailedEvent

NewPaymentConnectorResponseTransactionCaptureFailedEvent instantiates a new PaymentConnectorResponseTransactionCaptureFailedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionCaptureFailedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureFailedEventWithDefaults() *PaymentConnectorResponseTransactionCaptureFailedEvent

NewPaymentConnectorResponseTransactionCaptureFailedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionCaptureFailedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionCaptureFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionCaptureDeclinedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionCaptureFailedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionCaptureSucceededEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionCaptureSucceededEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-capture-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                       `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionCaptureSucceededEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionCaptureSucceededEvent This event logs the exact details parsed details for a succeeded capture as reported by our connector.

func NewPaymentConnectorResponseTransactionCaptureSucceededEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureSucceededEvent() *PaymentConnectorResponseTransactionCaptureSucceededEvent

NewPaymentConnectorResponseTransactionCaptureSucceededEvent instantiates a new PaymentConnectorResponseTransactionCaptureSucceededEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionCaptureSucceededEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureSucceededEventWithDefaults() *PaymentConnectorResponseTransactionCaptureSucceededEvent

NewPaymentConnectorResponseTransactionCaptureSucceededEventWithDefaults instantiates a new PaymentConnectorResponseTransactionCaptureSucceededEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionCaptureSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionCaptureSucceededEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionCaptureSucceededEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionCaptureSucceededEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// The new status code for the transaction. This is always set to `capture_succeeded`.
	Status *string `json:"status,omitempty"`
	// The type of instrument used for this transaction.
	InstrumentType NullableString `json:"instrument_type,omitempty"`
	// This will always be `null` because the transaction succeeded.
	RetryRule NullableString `json:"retry_rule,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// The card scheme sent to the connector.
	PaymentMethodScheme NullableString `json:"payment_method_scheme,omitempty"`
}

PaymentConnectorResponseTransactionCaptureSucceededEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionCaptureSucceededEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureSucceededEventContext() *PaymentConnectorResponseTransactionCaptureSucceededEventContext

NewPaymentConnectorResponseTransactionCaptureSucceededEventContext instantiates a new PaymentConnectorResponseTransactionCaptureSucceededEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionCaptureSucceededEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionCaptureSucceededEventContextWithDefaults() *PaymentConnectorResponseTransactionCaptureSucceededEventContext

NewPaymentConnectorResponseTransactionCaptureSucceededEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionCaptureSucceededEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetAvsResponseCode ¶ added in v0.28.0

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetAvsResponseCodeOk ¶ added in v0.28.0

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetCvvResponseCode ¶ added in v0.28.0

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetCvvResponseCodeOk ¶ added in v0.28.0

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetInstrumentType ¶ added in v0.28.0

GetInstrumentType returns the InstrumentType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetInstrumentTypeOk ¶ added in v0.28.0

GetInstrumentTypeOk returns a tuple with the InstrumentType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentMethodScheme ¶ added in v0.31.0

GetPaymentMethodScheme returns the PaymentMethodScheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentMethodSchemeOk ¶ added in v0.31.0

GetPaymentMethodSchemeOk returns a tuple with the PaymentMethodScheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRawResponseCode ¶ added in v0.28.0

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRawResponseCodeOk ¶ added in v0.28.0

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRawResponseDescription ¶ added in v0.28.0

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRawResponseDescriptionOk ¶ added in v0.28.0

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRetryRule ¶ added in v0.28.0

GetRetryRule returns the RetryRule field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetRetryRuleOk ¶ added in v0.28.0

GetRetryRuleOk returns a tuple with the RetryRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetStatus ¶ added in v0.28.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) GetStatusOk ¶ added in v0.28.0

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasAvsResponseCode ¶ added in v0.28.0

HasAvsResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasCvvResponseCode ¶ added in v0.28.0

HasCvvResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasInstrumentType ¶ added in v0.28.0

HasInstrumentType returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentMethodScheme ¶ added in v0.31.0

HasPaymentMethodScheme returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasRawResponseCode ¶ added in v0.28.0

HasRawResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasRawResponseDescription ¶ added in v0.28.0

HasRawResponseDescription returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasRetryRule ¶ added in v0.28.0

HasRetryRule returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) HasStatus ¶ added in v0.28.0

HasStatus returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionCaptureSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetAvsResponseCode ¶ added in v0.28.0

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetAvsResponseCodeNil ¶ added in v0.28.0

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetCvvResponseCode ¶ added in v0.28.0

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetCvvResponseCodeNil ¶ added in v0.28.0

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetInstrumentType ¶ added in v0.28.0

SetInstrumentType gets a reference to the given NullableString and assigns it to the InstrumentType field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetInstrumentTypeNil ¶ added in v0.28.0

SetInstrumentTypeNil sets the value for InstrumentType to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentMethodScheme ¶ added in v0.31.0

SetPaymentMethodScheme gets a reference to the given NullableString and assigns it to the PaymentMethodScheme field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentMethodSchemeNil ¶ added in v0.31.0

SetPaymentMethodSchemeNil sets the value for PaymentMethodScheme to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRawResponseCode ¶ added in v0.28.0

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRawResponseCodeNil ¶ added in v0.28.0

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRawResponseDescription ¶ added in v0.28.0

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRawResponseDescriptionNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRawResponseDescriptionNil()

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRetryRule ¶ added in v0.28.0

SetRetryRule gets a reference to the given NullableString and assigns it to the RetryRule field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetRetryRuleNil ¶ added in v0.28.0

SetRetryRuleNil sets the value for RetryRule to be an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) SetStatus ¶ added in v0.28.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetAvsResponseCode ¶ added in v0.28.0

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetCvvResponseCode ¶ added in v0.28.0

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetInstrumentType ¶ added in v0.28.0

UnsetInstrumentType ensures that no value is present for InstrumentType, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetPaymentMethodScheme ¶ added in v0.31.0

UnsetPaymentMethodScheme ensures that no value is present for PaymentMethodScheme, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetRawResponseCode ¶ added in v0.28.0

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetRawResponseDescription()

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

func (*PaymentConnectorResponseTransactionCaptureSucceededEventContext) UnsetRetryRule ¶ added in v0.28.0

UnsetRetryRule ensures that no value is present for RetryRule, not even an explicit nil

type PaymentConnectorResponseTransactionDeclinedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionDeclinedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-declined`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                               `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionDeclinedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionDeclinedEvent This event logs the exact details parsed details for a declined transaction as reported by our connector.

func NewPaymentConnectorResponseTransactionDeclinedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionDeclinedEvent() *PaymentConnectorResponseTransactionDeclinedEvent

NewPaymentConnectorResponseTransactionDeclinedEvent instantiates a new PaymentConnectorResponseTransactionDeclinedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionDeclinedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionDeclinedEventWithDefaults() *PaymentConnectorResponseTransactionDeclinedEvent

NewPaymentConnectorResponseTransactionDeclinedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionDeclinedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionDeclinedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionDeclinedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionDeclinedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionDeclinedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionDeclinedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionDeclinedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionDeclinedEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionDeclinedEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// The new status code for the transaction. This is always set to `authorization_declined`.
	Status *string `json:"status,omitempty"`
	// A raw response code returned for the decline.
	Code NullableString `json:"code,omitempty"`
	// The type of instrument used for this transaction.
	InstrumentType *string `json:"instrument_type,omitempty"`
	// Defines why the transaction might be retried. A retry is not guaranteed because the maximum number of retries might already have been attempted.  * `failure` - the transaction will be retried because of a failure calling   the payment service. * `retriable_decline` - the transaction will be retried because a decline code   was received that can be retried. * `payment_method_replacement` - the transaction will be retried because a   decline code was received that triggered a payment method replacement.
	RetryRule NullableString `json:"retry_rule,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// The card scheme sent to the connector.
	PaymentMethodScheme NullableString `json:"payment_method_scheme,omitempty"`
}

PaymentConnectorResponseTransactionDeclinedEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionDeclinedEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionDeclinedEventContext() *PaymentConnectorResponseTransactionDeclinedEventContext

NewPaymentConnectorResponseTransactionDeclinedEventContext instantiates a new PaymentConnectorResponseTransactionDeclinedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionDeclinedEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionDeclinedEventContextWithDefaults() *PaymentConnectorResponseTransactionDeclinedEventContext

NewPaymentConnectorResponseTransactionDeclinedEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionDeclinedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetAvsResponseCode ¶ added in v0.28.0

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetAvsResponseCodeOk ¶ added in v0.28.0

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetCode ¶ added in v0.28.0

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetCodeOk ¶ added in v0.28.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetCvvResponseCode ¶ added in v0.28.0

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetCvvResponseCodeOk ¶ added in v0.28.0

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetInstrumentType ¶ added in v0.31.0

GetInstrumentType returns the InstrumentType field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetInstrumentTypeOk ¶ added in v0.31.0

GetInstrumentTypeOk returns a tuple with the InstrumentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentMethodScheme ¶ added in v0.31.0

GetPaymentMethodScheme returns the PaymentMethodScheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentMethodSchemeOk ¶ added in v0.31.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentMethodSchemeOk() (*string, bool)

GetPaymentMethodSchemeOk returns a tuple with the PaymentMethodScheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDisplayName() string

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseCode ¶ added in v0.28.0

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseCodeOk ¶ added in v0.28.0

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseDescription() string

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseDescriptionOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) GetRawResponseDescriptionOk() (*string, bool)

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRetryRule ¶ added in v0.31.0

GetRetryRule returns the RetryRule field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetRetryRuleOk ¶ added in v0.31.0

GetRetryRuleOk returns a tuple with the RetryRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetStatus ¶ added in v0.28.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) GetStatusOk ¶ added in v0.28.0

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasAvsResponseCode ¶ added in v0.28.0

HasAvsResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasCode ¶ added in v0.28.0

HasCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasCvvResponseCode ¶ added in v0.28.0

HasCvvResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasInstrumentType ¶ added in v0.31.0

HasInstrumentType returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentMethodScheme ¶ added in v0.31.0

HasPaymentMethodScheme returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasRawResponseCode ¶ added in v0.28.0

HasRawResponseCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) HasRawResponseDescription() bool

HasRawResponseDescription returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasRetryRule ¶ added in v0.31.0

HasRetryRule returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) HasStatus ¶ added in v0.28.0

HasStatus returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetAvsResponseCode ¶ added in v0.28.0

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetAvsResponseCodeNil ¶ added in v0.28.0

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetCode ¶ added in v0.28.0

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetCodeNil ¶ added in v0.28.0

SetCodeNil sets the value for Code to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetCvvResponseCode ¶ added in v0.28.0

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetCvvResponseCodeNil ¶ added in v0.28.0

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetInstrumentType ¶ added in v0.31.0

SetInstrumentType gets a reference to the given string and assigns it to the InstrumentType field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentMethodScheme ¶ added in v0.31.0

SetPaymentMethodScheme gets a reference to the given NullableString and assigns it to the PaymentMethodScheme field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentMethodSchemeNil ¶ added in v0.31.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentMethodSchemeNil()

SetPaymentMethodSchemeNil sets the value for PaymentMethodScheme to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceDisplayName(v string)

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseCode ¶ added in v0.28.0

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseCodeNil ¶ added in v0.28.0

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseDescription(v string)

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseDescriptionNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) SetRawResponseDescriptionNil()

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRetryRule ¶ added in v0.31.0

SetRetryRule gets a reference to the given NullableString and assigns it to the RetryRule field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetRetryRuleNil ¶ added in v0.31.0

SetRetryRuleNil sets the value for RetryRule to be an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) SetStatus ¶ added in v0.28.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetAvsResponseCode ¶ added in v0.28.0

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetCode ¶ added in v0.28.0

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetCvvResponseCode ¶ added in v0.28.0

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetPaymentMethodScheme ¶ added in v0.31.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) UnsetPaymentMethodScheme()

UnsetPaymentMethodScheme ensures that no value is present for PaymentMethodScheme, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetRawResponseCode ¶ added in v0.28.0

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetRawResponseDescription ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionDeclinedEventContext) UnsetRawResponseDescription()

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

func (*PaymentConnectorResponseTransactionDeclinedEventContext) UnsetRetryRule ¶ added in v0.31.0

UnsetRetryRule ensures that no value is present for RetryRule, not even an explicit nil

type PaymentConnectorResponseTransactionVoidDeclinedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidDeclinedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-void-declined`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                                   `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionVoidDeclinedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionVoidDeclinedEvent This event logs the exact details parsed details for a declined void as reported by our connector.

func NewPaymentConnectorResponseTransactionVoidDeclinedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidDeclinedEvent() *PaymentConnectorResponseTransactionVoidDeclinedEvent

NewPaymentConnectorResponseTransactionVoidDeclinedEvent instantiates a new PaymentConnectorResponseTransactionVoidDeclinedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidDeclinedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidDeclinedEventWithDefaults() *PaymentConnectorResponseTransactionVoidDeclinedEvent

NewPaymentConnectorResponseTransactionVoidDeclinedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidDeclinedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidDeclinedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionVoidDeclinedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionVoidDeclinedEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidDeclinedEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// A raw response code returned for the failure.
	Code NullableString `json:"code,omitempty"`
}

PaymentConnectorResponseTransactionVoidDeclinedEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionVoidDeclinedEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidDeclinedEventContext() *PaymentConnectorResponseTransactionVoidDeclinedEventContext

NewPaymentConnectorResponseTransactionVoidDeclinedEventContext instantiates a new PaymentConnectorResponseTransactionVoidDeclinedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidDeclinedEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidDeclinedEventContextWithDefaults() *PaymentConnectorResponseTransactionVoidDeclinedEventContext

NewPaymentConnectorResponseTransactionVoidDeclinedEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidDeclinedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetCode ¶ added in v0.28.0

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetCodeOk ¶ added in v0.28.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDisplayName() string

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasCode ¶ added in v0.28.0

HasCode returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidDeclinedEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetCode ¶ added in v0.28.0

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetCodeNil ¶ added in v0.28.0

SetCodeNil sets the value for Code to be an explicit nil

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceDisplayName(v string)

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) UnsetCode ¶ added in v0.28.0

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*PaymentConnectorResponseTransactionVoidDeclinedEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidDeclinedEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

type PaymentConnectorResponseTransactionVoidFailedEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidFailedEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-void-failed`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                                 `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionVoidFailedEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionVoidFailedEvent This event logs the exact details parsed details for a failed void as reported by our connector.

func NewPaymentConnectorResponseTransactionVoidFailedEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidFailedEvent() *PaymentConnectorResponseTransactionVoidFailedEvent

NewPaymentConnectorResponseTransactionVoidFailedEvent instantiates a new PaymentConnectorResponseTransactionVoidFailedEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidFailedEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidFailedEventWithDefaults() *PaymentConnectorResponseTransactionVoidFailedEvent

NewPaymentConnectorResponseTransactionVoidFailedEventWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidFailedEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidFailedEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidFailedEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionVoidFailedEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionVoidFailedEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionVoidFailedEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidFailedEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
}

PaymentConnectorResponseTransactionVoidFailedEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionVoidFailedEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidFailedEventContext() *PaymentConnectorResponseTransactionVoidFailedEventContext

NewPaymentConnectorResponseTransactionVoidFailedEventContext instantiates a new PaymentConnectorResponseTransactionVoidFailedEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidFailedEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidFailedEventContextWithDefaults() *PaymentConnectorResponseTransactionVoidFailedEventContext

NewPaymentConnectorResponseTransactionVoidFailedEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidFailedEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDisplayName() string

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidFailedEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidFailedEventContext) SetPaymentServiceDisplayName(v string)

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionVoidFailedEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

type PaymentConnectorResponseTransactionVoidSucceededEvent ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidSucceededEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `payment-connector-response-transaction-void-succeeded`.
	Name *string `json:"name,omitempty"`
	// The date and time when this event was created in our system.
	CreatedAt *time.Time                                                    `json:"created_at,omitempty"`
	Context   *PaymentConnectorResponseTransactionVoidSucceededEventContext `json:"context,omitempty"`
}

PaymentConnectorResponseTransactionVoidSucceededEvent This event logs the exact details parsed details for a succeeded void as reported by our connector.

func NewPaymentConnectorResponseTransactionVoidSucceededEvent ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidSucceededEvent() *PaymentConnectorResponseTransactionVoidSucceededEvent

NewPaymentConnectorResponseTransactionVoidSucceededEvent instantiates a new PaymentConnectorResponseTransactionVoidSucceededEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidSucceededEventWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidSucceededEventWithDefaults() *PaymentConnectorResponseTransactionVoidSucceededEvent

NewPaymentConnectorResponseTransactionVoidSucceededEventWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidSucceededEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetCreatedAtOk ¶ added in v0.28.0

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) HasCreatedAt ¶ added in v0.28.0

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidSucceededEvent) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given PaymentConnectorResponseTransactionVoidSucceededEventContext and assigns it to the Context field.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentConnectorResponseTransactionVoidSucceededEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentConnectorResponseTransactionVoidSucceededEventContext ¶ added in v0.28.0

type PaymentConnectorResponseTransactionVoidSucceededEventContext struct {
	// The unique ID of the payment service used.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The display name of the payment service used.
	PaymentServiceDisplayName *string `json:"payment_service_display_name,omitempty"`
	// The payment service definition used.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The external ID of the transaction as set by the payment service.
	PaymentServiceTransactionId NullableString `json:"payment_service_transaction_id,omitempty"`
	// The date and time when this transaction was voided.
	VoidedAt *time.Time `json:"voided_at,omitempty"`
}

PaymentConnectorResponseTransactionVoidSucceededEventContext Additional context for this event.

func NewPaymentConnectorResponseTransactionVoidSucceededEventContext ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidSucceededEventContext() *PaymentConnectorResponseTransactionVoidSucceededEventContext

NewPaymentConnectorResponseTransactionVoidSucceededEventContext instantiates a new PaymentConnectorResponseTransactionVoidSucceededEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentConnectorResponseTransactionVoidSucceededEventContextWithDefaults ¶ added in v0.28.0

func NewPaymentConnectorResponseTransactionVoidSucceededEventContextWithDefaults() *PaymentConnectorResponseTransactionVoidSucceededEventContext

NewPaymentConnectorResponseTransactionVoidSucceededEventContextWithDefaults instantiates a new PaymentConnectorResponseTransactionVoidSucceededEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDefinitionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDisplayName() string

GetPaymentServiceDisplayName returns the PaymentServiceDisplayName field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDisplayNameOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceDisplayNameOk() (*string, bool)

GetPaymentServiceDisplayNameOk returns a tuple with the PaymentServiceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceId ¶ added in v0.28.0

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceIdOk ¶ added in v0.28.0

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceTransactionIdOk ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetVoidedAt ¶ added in v0.28.0

GetVoidedAt returns the VoidedAt field value if set, zero value otherwise.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) GetVoidedAtOk ¶ added in v0.28.0

GetVoidedAtOk returns a tuple with the VoidedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceDisplayName() bool

HasPaymentServiceDisplayName returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceId ¶ added in v0.28.0

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) HasVoidedAt ¶ added in v0.28.0

HasVoidedAt returns a boolean if a field has been set.

func (PaymentConnectorResponseTransactionVoidSucceededEventContext) MarshalJSON ¶ added in v0.28.0

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceDefinitionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceDisplayName ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceDisplayName(v string)

SetPaymentServiceDisplayName gets a reference to the given string and assigns it to the PaymentServiceDisplayName field.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceId ¶ added in v0.28.0

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given NullableString and assigns it to the PaymentServiceTransactionId field.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceTransactionIdNil ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) SetPaymentServiceTransactionIdNil()

SetPaymentServiceTransactionIdNil sets the value for PaymentServiceTransactionId to be an explicit nil

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) SetVoidedAt ¶ added in v0.28.0

SetVoidedAt gets a reference to the given time.Time and assigns it to the VoidedAt field.

func (*PaymentConnectorResponseTransactionVoidSucceededEventContext) UnsetPaymentServiceTransactionId ¶ added in v0.28.0

func (o *PaymentConnectorResponseTransactionVoidSucceededEventContext) UnsetPaymentServiceTransactionId()

UnsetPaymentServiceTransactionId ensures that no value is present for PaymentServiceTransactionId, not even an explicit nil

type PaymentMethod ¶ added in v0.2.1

type PaymentMethod struct {
	// `payment-method`.
	Type *string `json:"type,omitempty"`
	// The unique ID of the payment method.
	Id *string `json:"id,omitempty"`
	// Additional schemes of the card. Only applies to card payment methods.
	AdditionalSchemes []string `json:"additional_schemes,omitempty"`
	// The browser target that an approval URL must be opened in. If `any` or `null`, then there is no specific requirement.
	ApprovalTarget NullableString `json:"approval_target,omitempty"`
	// The optional URL that the buyer needs to be redirected to to further authorize their payment.
	ApprovalUrl NullableString `json:"approval_url,omitempty"`
	// The optional buyer for which this payment method has been stored.
	Buyer NullableBuyer `json:"buyer,omitempty"`
	// The 2-letter ISO code of the country this payment method can be used for. If this value is `null` the payment method may be used in multiple countries.
	Country NullableString `json:"country,omitempty"`
	// The date and time when this payment method was first created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The ISO-4217 currency code that this payment method can be used for. If this value is `null` the payment method may be used for multiple currencies.
	Currency NullableString            `json:"currency,omitempty"`
	Details  *PaymentMethodDetailsCard `json:"details,omitempty"`
	// The expiration date for the payment method.
	ExpirationDate NullableString `json:"expiration_date,omitempty"`
	// An external identifier that can be used to match the payment method against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// Whether this card has a pending replacement that hasn't been applied yet.  When the Account Updater determines that new card details are available, existing details are not changed immediately, but this field is set to `true`. There are three scenarios in which the actual replacement occurs:  1. When this card has expired. 2. When only the expiration date changed. 3. When a transaction using this card is declined with any of the following codes:     * `canceled_payment_method`     * `expired_payment_method`     * `unavailable_payment_method`     * `unknown_payment_method`  When the replacement is applied, this field is set to `false`. For non-card payment methods, the value of this field is always set to `false`.
	HasReplacement *bool `json:"has_replacement,omitempty"`
	// A label for the card or the account. For a `paypal` payment method this is the user's email address. For a card it is the last 4 digits of the card.
	Label NullableString `json:"label,omitempty"`
	// The date and time when this card was last replaced.  When the Account Updater determines that new card details are available, existing details are not changed immediately. There are three scenarios in which the actual replacement occurs:  1. When this card has expired. 2. When only the expiration date changed. 3. When a transaction using this card is declined with any of the following codes:     * `canceled_payment_method`     * `expired_payment_method`     * `unavailable_payment_method`     * `unknown_payment_method`  When the replacement is applied, this field is updated. For non-card payment methods, the value of this field is always set to `null`.
	LastReplacedAt NullableTime `json:"last_replaced_at,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The type of this payment method.
	Method *string `json:"method,omitempty"`
	// The mode to use with this payment method.
	Mode *string `json:"mode,omitempty"`
	// The scheme of the card. Only applies to card payments.
	Scheme NullableString `json:"scheme,omitempty"`
	// The state of the payment method.  - `processing` - The payment method is stored but has not been used yet. - `buyer_approval_required` - Storing the payment method requires   the buyer to provide approval. Follow the `approval_url` for next steps. - `succeeded` - The payment method is stored and has been used. - `failed` - The payment method could not be stored, or failed first use.
	Status *string `json:"status,omitempty"`
	// The date and time when this payment method was last updated in our system.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The unique hash derived from the payment method identifier (e.g. card number).
	Fingerprint NullableString `json:"fingerprint,omitempty"`
}

PaymentMethod A generic payment method.

func NewPaymentMethod ¶ added in v0.2.1

func NewPaymentMethod() *PaymentMethod

NewPaymentMethod instantiates a new PaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodWithDefaults ¶ added in v0.2.1

func NewPaymentMethodWithDefaults() *PaymentMethod

NewPaymentMethodWithDefaults instantiates a new PaymentMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethod) GetAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethod) GetAdditionalSchemes() []string

GetAdditionalSchemes returns the AdditionalSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetAdditionalSchemesOk ¶ added in v0.31.0

func (o *PaymentMethod) GetAdditionalSchemesOk() (*[]string, bool)

GetAdditionalSchemesOk returns a tuple with the AdditionalSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethod) GetApprovalTarget() string

GetApprovalTarget returns the ApprovalTarget field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetApprovalTargetOk ¶ added in v0.19.0

func (o *PaymentMethod) GetApprovalTargetOk() (*string, bool)

GetApprovalTargetOk returns a tuple with the ApprovalTarget field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethod) GetApprovalUrl() string

GetApprovalUrl returns the ApprovalUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetApprovalUrlOk ¶ added in v0.2.1

func (o *PaymentMethod) GetApprovalUrlOk() (*string, bool)

GetApprovalUrlOk returns a tuple with the ApprovalUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetBuyer ¶ added in v0.2.1

func (o *PaymentMethod) GetBuyer() Buyer

GetBuyer returns the Buyer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetBuyerOk ¶ added in v0.2.1

func (o *PaymentMethod) GetBuyerOk() (*Buyer, bool)

GetBuyerOk returns a tuple with the Buyer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetCountry ¶ added in v0.17.0

func (o *PaymentMethod) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetCountryOk ¶ added in v0.17.0

func (o *PaymentMethod) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetCreatedAt ¶ added in v0.2.1

func (o *PaymentMethod) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentMethod) GetCreatedAtOk ¶ added in v0.2.1

func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCurrency ¶ added in v0.17.0

func (o *PaymentMethod) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetCurrencyOk ¶ added in v0.17.0

func (o *PaymentMethod) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetDetails ¶ added in v0.19.0

func (o *PaymentMethod) GetDetails() PaymentMethodDetailsCard

GetDetails returns the Details field value if set, zero value otherwise.

func (*PaymentMethod) GetDetailsOk ¶ added in v0.19.0

func (o *PaymentMethod) GetDetailsOk() (*PaymentMethodDetailsCard, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethod) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetExpirationDateOk ¶ added in v0.2.1

func (o *PaymentMethod) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethod) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *PaymentMethod) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetFingerprint ¶ added in v0.33.0

func (o *PaymentMethod) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetFingerprintOk ¶ added in v0.33.0

func (o *PaymentMethod) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetHasReplacement ¶ added in v0.28.0

func (o *PaymentMethod) GetHasReplacement() bool

GetHasReplacement returns the HasReplacement field value if set, zero value otherwise.

func (*PaymentMethod) GetHasReplacementOk ¶ added in v0.28.0

func (o *PaymentMethod) GetHasReplacementOk() (*bool, bool)

GetHasReplacementOk returns a tuple with the HasReplacement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetId ¶ added in v0.2.1

func (o *PaymentMethod) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentMethod) GetIdOk ¶ added in v0.2.1

func (o *PaymentMethod) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetLabel ¶ added in v0.2.1

func (o *PaymentMethod) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetLabelOk ¶ added in v0.2.1

func (o *PaymentMethod) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethod) GetLastReplacedAt() time.Time

GetLastReplacedAt returns the LastReplacedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetLastReplacedAtOk ¶ added in v0.28.0

func (o *PaymentMethod) GetLastReplacedAtOk() (*time.Time, bool)

GetLastReplacedAtOk returns a tuple with the LastReplacedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethod) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*PaymentMethod) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *PaymentMethod) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetMethod ¶ added in v0.2.1

func (o *PaymentMethod) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentMethod) GetMethodOk ¶ added in v0.2.1

func (o *PaymentMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetMode ¶ added in v0.7.0

func (o *PaymentMethod) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*PaymentMethod) GetModeOk ¶ added in v0.7.0

func (o *PaymentMethod) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetScheme ¶ added in v0.2.1

func (o *PaymentMethod) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetSchemeOk ¶ added in v0.2.1

func (o *PaymentMethod) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetStatus ¶ added in v0.2.1

func (o *PaymentMethod) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentMethod) GetStatusOk ¶ added in v0.2.1

func (o *PaymentMethod) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetType ¶ added in v0.2.1

func (o *PaymentMethod) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentMethod) GetTypeOk ¶ added in v0.2.1

func (o *PaymentMethod) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetUpdatedAt ¶ added in v0.2.1

func (o *PaymentMethod) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PaymentMethod) GetUpdatedAtOk ¶ added in v0.2.1

func (o *PaymentMethod) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) HasAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethod) HasAdditionalSchemes() bool

HasAdditionalSchemes returns a boolean if a field has been set.

func (*PaymentMethod) HasApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethod) HasApprovalTarget() bool

HasApprovalTarget returns a boolean if a field has been set.

func (*PaymentMethod) HasApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethod) HasApprovalUrl() bool

HasApprovalUrl returns a boolean if a field has been set.

func (*PaymentMethod) HasBuyer ¶ added in v0.2.1

func (o *PaymentMethod) HasBuyer() bool

HasBuyer returns a boolean if a field has been set.

func (*PaymentMethod) HasCountry ¶ added in v0.17.0

func (o *PaymentMethod) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethod) HasCreatedAt ¶ added in v0.2.1

func (o *PaymentMethod) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentMethod) HasCurrency ¶ added in v0.17.0

func (o *PaymentMethod) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PaymentMethod) HasDetails ¶ added in v0.19.0

func (o *PaymentMethod) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*PaymentMethod) HasExpirationDate ¶ added in v0.2.1

func (o *PaymentMethod) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*PaymentMethod) HasExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethod) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*PaymentMethod) HasFingerprint ¶ added in v0.33.0

func (o *PaymentMethod) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*PaymentMethod) HasHasReplacement ¶ added in v0.28.0

func (o *PaymentMethod) HasHasReplacement() bool

HasHasReplacement returns a boolean if a field has been set.

func (*PaymentMethod) HasId ¶ added in v0.2.1

func (o *PaymentMethod) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethod) HasLabel ¶ added in v0.2.1

func (o *PaymentMethod) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*PaymentMethod) HasLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethod) HasLastReplacedAt() bool

HasLastReplacedAt returns a boolean if a field has been set.

func (*PaymentMethod) HasMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethod) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*PaymentMethod) HasMethod ¶ added in v0.2.1

func (o *PaymentMethod) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentMethod) HasMode ¶ added in v0.7.0

func (o *PaymentMethod) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*PaymentMethod) HasScheme ¶ added in v0.2.1

func (o *PaymentMethod) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*PaymentMethod) HasStatus ¶ added in v0.2.1

func (o *PaymentMethod) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PaymentMethod) HasType ¶ added in v0.2.1

func (o *PaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentMethod) HasUpdatedAt ¶ added in v0.2.1

func (o *PaymentMethod) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (PaymentMethod) MarshalJSON ¶ added in v0.2.1

func (o PaymentMethod) MarshalJSON() ([]byte, error)

func (*PaymentMethod) SetAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethod) SetAdditionalSchemes(v []string)

SetAdditionalSchemes gets a reference to the given []string and assigns it to the AdditionalSchemes field.

func (*PaymentMethod) SetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethod) SetApprovalTarget(v string)

SetApprovalTarget gets a reference to the given NullableString and assigns it to the ApprovalTarget field.

func (*PaymentMethod) SetApprovalTargetNil ¶ added in v0.19.0

func (o *PaymentMethod) SetApprovalTargetNil()

SetApprovalTargetNil sets the value for ApprovalTarget to be an explicit nil

func (*PaymentMethod) SetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethod) SetApprovalUrl(v string)

SetApprovalUrl gets a reference to the given NullableString and assigns it to the ApprovalUrl field.

func (*PaymentMethod) SetApprovalUrlNil ¶ added in v0.2.1

func (o *PaymentMethod) SetApprovalUrlNil()

SetApprovalUrlNil sets the value for ApprovalUrl to be an explicit nil

func (*PaymentMethod) SetBuyer ¶ added in v0.2.1

func (o *PaymentMethod) SetBuyer(v Buyer)

SetBuyer gets a reference to the given NullableBuyer and assigns it to the Buyer field.

func (*PaymentMethod) SetBuyerNil ¶ added in v0.2.1

func (o *PaymentMethod) SetBuyerNil()

SetBuyerNil sets the value for Buyer to be an explicit nil

func (*PaymentMethod) SetCountry ¶ added in v0.17.0

func (o *PaymentMethod) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*PaymentMethod) SetCountryNil ¶ added in v0.17.0

func (o *PaymentMethod) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*PaymentMethod) SetCreatedAt ¶ added in v0.2.1

func (o *PaymentMethod) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentMethod) SetCurrency ¶ added in v0.17.0

func (o *PaymentMethod) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*PaymentMethod) SetCurrencyNil ¶ added in v0.17.0

func (o *PaymentMethod) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*PaymentMethod) SetDetails ¶ added in v0.19.0

func (o *PaymentMethod) SetDetails(v PaymentMethodDetailsCard)

SetDetails gets a reference to the given PaymentMethodDetailsCard and assigns it to the Details field.

func (*PaymentMethod) SetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethod) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given NullableString and assigns it to the ExpirationDate field.

func (*PaymentMethod) SetExpirationDateNil ¶ added in v0.2.1

func (o *PaymentMethod) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*PaymentMethod) SetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethod) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*PaymentMethod) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *PaymentMethod) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*PaymentMethod) SetFingerprint ¶ added in v0.33.0

func (o *PaymentMethod) SetFingerprint(v string)

SetFingerprint gets a reference to the given NullableString and assigns it to the Fingerprint field.

func (*PaymentMethod) SetFingerprintNil ¶ added in v0.33.0

func (o *PaymentMethod) SetFingerprintNil()

SetFingerprintNil sets the value for Fingerprint to be an explicit nil

func (*PaymentMethod) SetHasReplacement ¶ added in v0.28.0

func (o *PaymentMethod) SetHasReplacement(v bool)

SetHasReplacement gets a reference to the given bool and assigns it to the HasReplacement field.

func (*PaymentMethod) SetId ¶ added in v0.2.1

func (o *PaymentMethod) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentMethod) SetLabel ¶ added in v0.2.1

func (o *PaymentMethod) SetLabel(v string)

SetLabel gets a reference to the given NullableString and assigns it to the Label field.

func (*PaymentMethod) SetLabelNil ¶ added in v0.2.1

func (o *PaymentMethod) SetLabelNil()

SetLabelNil sets the value for Label to be an explicit nil

func (*PaymentMethod) SetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethod) SetLastReplacedAt(v time.Time)

SetLastReplacedAt gets a reference to the given NullableTime and assigns it to the LastReplacedAt field.

func (*PaymentMethod) SetLastReplacedAtNil ¶ added in v0.28.0

func (o *PaymentMethod) SetLastReplacedAtNil()

SetLastReplacedAtNil sets the value for LastReplacedAt to be an explicit nil

func (*PaymentMethod) SetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethod) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*PaymentMethod) SetMethod ¶ added in v0.2.1

func (o *PaymentMethod) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentMethod) SetMode ¶ added in v0.7.0

func (o *PaymentMethod) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*PaymentMethod) SetScheme ¶ added in v0.2.1

func (o *PaymentMethod) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*PaymentMethod) SetSchemeNil ¶ added in v0.2.1

func (o *PaymentMethod) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*PaymentMethod) SetStatus ¶ added in v0.2.1

func (o *PaymentMethod) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentMethod) SetType ¶ added in v0.2.1

func (o *PaymentMethod) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentMethod) SetUpdatedAt ¶ added in v0.2.1

func (o *PaymentMethod) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*PaymentMethod) UnsetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethod) UnsetApprovalTarget()

UnsetApprovalTarget ensures that no value is present for ApprovalTarget, not even an explicit nil

func (*PaymentMethod) UnsetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethod) UnsetApprovalUrl()

UnsetApprovalUrl ensures that no value is present for ApprovalUrl, not even an explicit nil

func (*PaymentMethod) UnsetBuyer ¶ added in v0.2.1

func (o *PaymentMethod) UnsetBuyer()

UnsetBuyer ensures that no value is present for Buyer, not even an explicit nil

func (*PaymentMethod) UnsetCountry ¶ added in v0.17.0

func (o *PaymentMethod) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*PaymentMethod) UnsetCurrency ¶ added in v0.17.0

func (o *PaymentMethod) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*PaymentMethod) UnsetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethod) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

func (*PaymentMethod) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethod) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*PaymentMethod) UnsetFingerprint ¶ added in v0.33.0

func (o *PaymentMethod) UnsetFingerprint()

UnsetFingerprint ensures that no value is present for Fingerprint, not even an explicit nil

func (*PaymentMethod) UnsetLabel ¶ added in v0.2.1

func (o *PaymentMethod) UnsetLabel()

UnsetLabel ensures that no value is present for Label, not even an explicit nil

func (*PaymentMethod) UnsetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethod) UnsetLastReplacedAt()

UnsetLastReplacedAt ensures that no value is present for LastReplacedAt, not even an explicit nil

func (*PaymentMethod) UnsetScheme ¶ added in v0.2.1

func (o *PaymentMethod) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

type PaymentMethodDefinition ¶ added in v0.19.0

type PaymentMethodDefinition struct {
	// The mode of this payment method.
	Id *string `json:"id,omitempty"`
	// The icon for this payment method.
	IconUrl *string `json:"icon_url,omitempty"`
	// The display name of this payment method.
	DisplayName *string `json:"display_name,omitempty"`
	// The long display name of this payment method.
	LongDisplayName *string `json:"long_display_name,omitempty"`
	// The method, or type, for this payment method.
	Method *string `json:"method,omitempty"`
}

PaymentMethodDefinition Definitions of a payment method including icon, label, etc.

func NewPaymentMethodDefinition ¶ added in v0.19.0

func NewPaymentMethodDefinition() *PaymentMethodDefinition

NewPaymentMethodDefinition instantiates a new PaymentMethodDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodDefinitionWithDefaults ¶ added in v0.19.0

func NewPaymentMethodDefinitionWithDefaults() *PaymentMethodDefinition

NewPaymentMethodDefinitionWithDefaults instantiates a new PaymentMethodDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodDefinition) GetDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PaymentMethodDefinition) GetDisplayNameOk ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinition) GetIconUrl ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*PaymentMethodDefinition) GetIconUrlOk ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinition) GetId ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentMethodDefinition) GetIdOk ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinition) GetLongDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetLongDisplayName() string

GetLongDisplayName returns the LongDisplayName field value if set, zero value otherwise.

func (*PaymentMethodDefinition) GetLongDisplayNameOk ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetLongDisplayNameOk() (*string, bool)

GetLongDisplayNameOk returns a tuple with the LongDisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinition) GetMethod ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentMethodDefinition) GetMethodOk ¶ added in v0.19.0

func (o *PaymentMethodDefinition) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinition) HasDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PaymentMethodDefinition) HasIconUrl ¶ added in v0.19.0

func (o *PaymentMethodDefinition) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*PaymentMethodDefinition) HasId ¶ added in v0.19.0

func (o *PaymentMethodDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethodDefinition) HasLongDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) HasLongDisplayName() bool

HasLongDisplayName returns a boolean if a field has been set.

func (*PaymentMethodDefinition) HasMethod ¶ added in v0.19.0

func (o *PaymentMethodDefinition) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (PaymentMethodDefinition) MarshalJSON ¶ added in v0.19.0

func (o PaymentMethodDefinition) MarshalJSON() ([]byte, error)

func (*PaymentMethodDefinition) SetDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PaymentMethodDefinition) SetIconUrl ¶ added in v0.19.0

func (o *PaymentMethodDefinition) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*PaymentMethodDefinition) SetId ¶ added in v0.19.0

func (o *PaymentMethodDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentMethodDefinition) SetLongDisplayName ¶ added in v0.19.0

func (o *PaymentMethodDefinition) SetLongDisplayName(v string)

SetLongDisplayName gets a reference to the given string and assigns it to the LongDisplayName field.

func (*PaymentMethodDefinition) SetMethod ¶ added in v0.19.0

func (o *PaymentMethodDefinition) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

type PaymentMethodDefinitions ¶ added in v0.19.0

type PaymentMethodDefinitions struct {
	Items *[]PaymentMethodDefinition `json:"items,omitempty"`
}

PaymentMethodDefinitions A list of available payment method definitions.

func NewPaymentMethodDefinitions ¶ added in v0.19.0

func NewPaymentMethodDefinitions() *PaymentMethodDefinitions

NewPaymentMethodDefinitions instantiates a new PaymentMethodDefinitions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodDefinitionsWithDefaults ¶ added in v0.19.0

func NewPaymentMethodDefinitionsWithDefaults() *PaymentMethodDefinitions

NewPaymentMethodDefinitionsWithDefaults instantiates a new PaymentMethodDefinitions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodDefinitions) GetItems ¶ added in v0.19.0

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentMethodDefinitions) GetItemsOk ¶ added in v0.19.0

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDefinitions) HasItems ¶ added in v0.19.0

func (o *PaymentMethodDefinitions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (PaymentMethodDefinitions) MarshalJSON ¶ added in v0.19.0

func (o PaymentMethodDefinitions) MarshalJSON() ([]byte, error)

func (*PaymentMethodDefinitions) SetItems ¶ added in v0.19.0

SetItems gets a reference to the given []PaymentMethodDefinition and assigns it to the Items field.

type PaymentMethodDefinitionsApiService ¶ added in v0.19.0

type PaymentMethodDefinitionsApiService service

PaymentMethodDefinitionsApiService PaymentMethodDefinitionsApi service

func (*PaymentMethodDefinitionsApiService) ListPaymentMethodDefinitions ¶ added in v0.19.0

* ListPaymentMethodDefinitions List payment method definitions * Returns a list of all available payment method definitions. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListPaymentMethodDefinitionsRequest

func (*PaymentMethodDefinitionsApiService) ListPaymentMethodDefinitionsExecute ¶ added in v0.19.0

* Execute executes the request * @return PaymentMethodDefinitions

type PaymentMethodDetailsCard ¶ added in v0.19.0

type PaymentMethodDetailsCard struct {
	// The type of card, one of `credit`, `debit` or `prepaid`.
	CardType *string `json:"card_type,omitempty"`
	// The first 6 digits of the full card number (the BIN).
	Bin *string `json:"bin,omitempty"`
}

PaymentMethodDetailsCard A credit or debit card payment method.

func NewPaymentMethodDetailsCard ¶ added in v0.19.0

func NewPaymentMethodDetailsCard() *PaymentMethodDetailsCard

NewPaymentMethodDetailsCard instantiates a new PaymentMethodDetailsCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodDetailsCardWithDefaults ¶ added in v0.19.0

func NewPaymentMethodDetailsCardWithDefaults() *PaymentMethodDetailsCard

NewPaymentMethodDetailsCardWithDefaults instantiates a new PaymentMethodDetailsCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodDetailsCard) GetBin ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise.

func (*PaymentMethodDetailsCard) GetBinOk ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) GetBinOk() (*string, bool)

GetBinOk returns a tuple with the Bin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDetailsCard) GetCardType ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) GetCardType() string

GetCardType returns the CardType field value if set, zero value otherwise.

func (*PaymentMethodDetailsCard) GetCardTypeOk ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodDetailsCard) HasBin ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*PaymentMethodDetailsCard) HasCardType ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (PaymentMethodDetailsCard) MarshalJSON ¶ added in v0.19.0

func (o PaymentMethodDetailsCard) MarshalJSON() ([]byte, error)

func (*PaymentMethodDetailsCard) SetBin ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) SetBin(v string)

SetBin gets a reference to the given string and assigns it to the Bin field.

func (*PaymentMethodDetailsCard) SetCardType ¶ added in v0.19.0

func (o *PaymentMethodDetailsCard) SetCardType(v string)

SetCardType gets a reference to the given string and assigns it to the CardType field.

type PaymentMethodRequest ¶ added in v0.3.0

type PaymentMethodRequest struct {
	// The type of the funding source, e.g. `card`, `paypal`, or `checkout-session`.
	Method string `json:"method"`
	// The ID of a Checkout Session.
	Id *string `json:"id,omitempty"`
	// The 13-19 digit number for this credit card as it can be found on the front of the card.
	Number *string `json:"number,omitempty"`
	// The expiration date of the card, formatted `MM/YY`. If a card has been previously stored with us this value is optional.
	ExpirationDate *string `json:"expiration_date,omitempty"`
	// An external identifier that can be used to match the card against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The ID of the buyer to associate this payment method to. If this field is provided then the `buyer_external_identifier` field needs to be unset.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The `external_identifier` of the buyer to associate this payment method to. If this field is provided then the `buyer_id` field needs to be unset.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction or payment method. This only applies to payment methods that require buyer approval.
	RedirectUrl *string `json:"redirect_url,omitempty"`
	// The ISO-4217 currency code to store this payment method for. This is used to select the payment service to use.  This only applies to `redirect` mode payment methods like `gocardless`.
	Currency *string `json:"currency,omitempty"`
	// The 2-letter ISO code of the country to store this payment method for. This is used to select the payment service to use.  This only applies to `redirect` mode payment methods like `gocardless`.
	Country *string `json:"country,omitempty"`
}

PaymentMethodRequest Payment method details used to register a new payment method.

func NewPaymentMethodRequest ¶ added in v0.3.0

func NewPaymentMethodRequest(method string) *PaymentMethodRequest

NewPaymentMethodRequest instantiates a new PaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodRequestWithDefaults ¶ added in v0.3.0

func NewPaymentMethodRequestWithDefaults() *PaymentMethodRequest

NewPaymentMethodRequestWithDefaults instantiates a new PaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodRequest) GetBuyerExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetBuyerExternalIdentifierOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetBuyerId ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetBuyerIdOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetCountry ¶ added in v0.7.0

func (o *PaymentMethodRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetCountryOk ¶ added in v0.7.0

func (o *PaymentMethodRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetCurrency ¶ added in v0.7.0

func (o *PaymentMethodRequest) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetCurrencyOk ¶ added in v0.7.0

func (o *PaymentMethodRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetExpirationDate ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetExpirationDateOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodRequest) GetExternalIdentifierOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodRequest) GetId ¶ added in v0.21.0

func (o *PaymentMethodRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetIdOk ¶ added in v0.21.0

func (o *PaymentMethodRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetMethod ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetMethod() string

GetMethod returns the Method field value

func (*PaymentMethodRequest) GetMethodOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetNumber ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetNumberOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) GetRedirectUrl ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise.

func (*PaymentMethodRequest) GetRedirectUrlOk ¶ added in v0.3.0

func (o *PaymentMethodRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodRequest) HasBuyerExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasBuyerId ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasCountry ¶ added in v0.7.0

func (o *PaymentMethodRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasCurrency ¶ added in v0.7.0

func (o *PaymentMethodRequest) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasExpirationDate ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasId ¶ added in v0.21.0

func (o *PaymentMethodRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasNumber ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*PaymentMethodRequest) HasRedirectUrl ¶ added in v0.3.0

func (o *PaymentMethodRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (PaymentMethodRequest) MarshalJSON ¶ added in v0.3.0

func (o PaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*PaymentMethodRequest) SetBuyerExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*PaymentMethodRequest) SetBuyerId ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*PaymentMethodRequest) SetCountry ¶ added in v0.7.0

func (o *PaymentMethodRequest) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*PaymentMethodRequest) SetCurrency ¶ added in v0.7.0

func (o *PaymentMethodRequest) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*PaymentMethodRequest) SetExpirationDate ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*PaymentMethodRequest) SetExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*PaymentMethodRequest) SetExternalIdentifierNil ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*PaymentMethodRequest) SetId ¶ added in v0.21.0

func (o *PaymentMethodRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentMethodRequest) SetMethod ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetMethod(v string)

SetMethod sets field value

func (*PaymentMethodRequest) SetNumber ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*PaymentMethodRequest) SetRedirectUrl ¶ added in v0.3.0

func (o *PaymentMethodRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given string and assigns it to the RedirectUrl field.

func (*PaymentMethodRequest) UnsetExternalIdentifier ¶ added in v0.3.0

func (o *PaymentMethodRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type PaymentMethodSnapshot ¶ added in v0.2.1

type PaymentMethodSnapshot struct {
	// `payment-method`.
	Type *string `json:"type,omitempty"`
	// The unique ID of the payment method.
	Id NullableString `json:"id,omitempty"`
	// The browser target that an approval URL must be opened in. If `any` or `null`, then there is no specific requirement.
	ApprovalTarget NullableString `json:"approval_target,omitempty"`
	// The optional URL that the buyer needs to be redirected to to further authorize their payment.
	ApprovalUrl NullableString `json:"approval_url,omitempty"`
	// The 2-letter ISO code of the country this payment method can be used for. If this value is `null` the payment method may be used in multiple countries.
	Country NullableString `json:"country,omitempty"`
	// The ISO-4217 currency code that this payment method can be used for. If this value is `null` the payment method may be used for multiple currencies.
	Currency NullableString            `json:"currency,omitempty"`
	Details  *PaymentMethodDetailsCard `json:"details,omitempty"`
	// The expiration date for this payment method. This is mostly used by cards where the card might have an expiration date.
	ExpirationDate NullableString `json:"expiration_date,omitempty"`
	// An external identifier that can be used to match the payment method against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// A label for the payment method. This can be the last 4 digits for a card, or the email address for an alternative payment method.
	Label *string `json:"label,omitempty"`
	// The date and time when this card was last replaced.  When the Account Updater determines that new card details are available, existing details are not changed immediately. There are three scenarios in which the actual replacement occurs:  1. When this card has expired. 2. When only the expiration date changed. 3. When a transaction using this card is declined with any of the following codes:     * `canceled_payment_method`     * `expired_payment_method`     * `unavailable_payment_method`     * `unknown_payment_method`  When the replacement is applied, this field is updated. For non-card payment methods, the value of this field is always set to `null`.
	LastReplacedAt NullableTime `json:"last_replaced_at,omitempty"`
	// The type of this payment method.
	Method *string `json:"method,omitempty"`
	// The payment account reference (PAR) returned by the card scheme. This is a unique reference to the underlying account that has been used to fund this payment method. This value will be unique if the same underlying account was used, regardless of the actual payment method used. For example, a network token or an Apple Pay device token will return the same PAR when possible.  The uniqueness of this value will depend on the card scheme, please refer to their documentation for further details. The availability of the PAR in our API depends on the availability of its value in the API of the payment service used for the transaction.
	PaymentAccountReference NullableString `json:"payment_account_reference,omitempty"`
	// An additional label used to differentiate different sub-types of a payment method. Most notably this can include the type of card used in a transaction. This field is `null` for the non-card payment methods. This represents the card scheme sent to the connector and it could be different from the actual card scheme that is being used by the PSP to process the transaction in the following situations: 1. `use_additional_scheme` transformation is used with the `PAN` instrument but we already have a PSP token for the card. 2. `use_additional_scheme` transformation is used but PSP has fallen back to the main card scheme internally.
	Scheme NullableString `json:"scheme,omitempty"`
	// The unique hash derived from the payment method identifier (e.g. card number).
	Fingerprint NullableString `json:"fingerprint,omitempty"`
}

PaymentMethodSnapshot Snapshot of a payment method, as used when embedded inside other resources.

func NewPaymentMethodSnapshot ¶ added in v0.2.1

func NewPaymentMethodSnapshot() *PaymentMethodSnapshot

NewPaymentMethodSnapshot instantiates a new PaymentMethodSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodSnapshotWithDefaults ¶ added in v0.2.1

func NewPaymentMethodSnapshotWithDefaults() *PaymentMethodSnapshot

NewPaymentMethodSnapshotWithDefaults instantiates a new PaymentMethodSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodSnapshot) GetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) GetApprovalTarget() string

GetApprovalTarget returns the ApprovalTarget field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetApprovalTargetOk ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) GetApprovalTargetOk() (*string, bool)

GetApprovalTargetOk returns a tuple with the ApprovalTarget field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetApprovalUrl() string

GetApprovalUrl returns the ApprovalUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetApprovalUrlOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetApprovalUrlOk() (*string, bool)

GetApprovalUrlOk returns a tuple with the ApprovalUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetCountry ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetCountryOk ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetCurrency ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetCurrencyOk ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetDetails ¶ added in v0.19.0

GetDetails returns the Details field value if set, zero value otherwise.

func (*PaymentMethodSnapshot) GetDetailsOk ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) GetDetailsOk() (*PaymentMethodDetailsCard, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodSnapshot) GetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetExpirationDateOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetFingerprint ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetFingerprintOk ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetId ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetIdOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetLabel ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*PaymentMethodSnapshot) GetLabelOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodSnapshot) GetLastReplacedAt ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) GetLastReplacedAt() time.Time

GetLastReplacedAt returns the LastReplacedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetLastReplacedAtOk ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) GetLastReplacedAtOk() (*time.Time, bool)

GetLastReplacedAtOk returns a tuple with the LastReplacedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetMethod ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentMethodSnapshot) GetMethodOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodSnapshot) GetPaymentAccountReference ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) GetPaymentAccountReference() string

GetPaymentAccountReference returns the PaymentAccountReference field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetPaymentAccountReferenceOk ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) GetPaymentAccountReferenceOk() (*string, bool)

GetPaymentAccountReferenceOk returns a tuple with the PaymentAccountReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetScheme ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodSnapshot) GetSchemeOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodSnapshot) GetType ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentMethodSnapshot) GetTypeOk ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodSnapshot) HasApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) HasApprovalTarget() bool

HasApprovalTarget returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasApprovalUrl() bool

HasApprovalUrl returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasCountry ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasCurrency ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasDetails ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasFingerprint ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasId ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasLabel ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasLastReplacedAt ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) HasLastReplacedAt() bool

HasLastReplacedAt returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasMethod ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasPaymentAccountReference ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) HasPaymentAccountReference() bool

HasPaymentAccountReference returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasScheme ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*PaymentMethodSnapshot) HasType ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (PaymentMethodSnapshot) MarshalJSON ¶ added in v0.2.1

func (o PaymentMethodSnapshot) MarshalJSON() ([]byte, error)

func (*PaymentMethodSnapshot) SetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) SetApprovalTarget(v string)

SetApprovalTarget gets a reference to the given NullableString and assigns it to the ApprovalTarget field.

func (*PaymentMethodSnapshot) SetApprovalTargetNil ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) SetApprovalTargetNil()

SetApprovalTargetNil sets the value for ApprovalTarget to be an explicit nil

func (*PaymentMethodSnapshot) SetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetApprovalUrl(v string)

SetApprovalUrl gets a reference to the given NullableString and assigns it to the ApprovalUrl field.

func (*PaymentMethodSnapshot) SetApprovalUrlNil ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetApprovalUrlNil()

SetApprovalUrlNil sets the value for ApprovalUrl to be an explicit nil

func (*PaymentMethodSnapshot) SetCountry ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*PaymentMethodSnapshot) SetCountryNil ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*PaymentMethodSnapshot) SetCurrency ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*PaymentMethodSnapshot) SetCurrencyNil ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*PaymentMethodSnapshot) SetDetails ¶ added in v0.19.0

SetDetails gets a reference to the given PaymentMethodDetailsCard and assigns it to the Details field.

func (*PaymentMethodSnapshot) SetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given NullableString and assigns it to the ExpirationDate field.

func (*PaymentMethodSnapshot) SetExpirationDateNil ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*PaymentMethodSnapshot) SetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*PaymentMethodSnapshot) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*PaymentMethodSnapshot) SetFingerprint ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) SetFingerprint(v string)

SetFingerprint gets a reference to the given NullableString and assigns it to the Fingerprint field.

func (*PaymentMethodSnapshot) SetFingerprintNil ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) SetFingerprintNil()

SetFingerprintNil sets the value for Fingerprint to be an explicit nil

func (*PaymentMethodSnapshot) SetId ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*PaymentMethodSnapshot) SetIdNil ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*PaymentMethodSnapshot) SetLabel ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*PaymentMethodSnapshot) SetLastReplacedAt ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) SetLastReplacedAt(v time.Time)

SetLastReplacedAt gets a reference to the given NullableTime and assigns it to the LastReplacedAt field.

func (*PaymentMethodSnapshot) SetLastReplacedAtNil ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) SetLastReplacedAtNil()

SetLastReplacedAtNil sets the value for LastReplacedAt to be an explicit nil

func (*PaymentMethodSnapshot) SetMethod ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentMethodSnapshot) SetPaymentAccountReference ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) SetPaymentAccountReference(v string)

SetPaymentAccountReference gets a reference to the given NullableString and assigns it to the PaymentAccountReference field.

func (*PaymentMethodSnapshot) SetPaymentAccountReferenceNil ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) SetPaymentAccountReferenceNil()

SetPaymentAccountReferenceNil sets the value for PaymentAccountReference to be an explicit nil

func (*PaymentMethodSnapshot) SetScheme ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*PaymentMethodSnapshot) SetSchemeNil ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*PaymentMethodSnapshot) SetType ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentMethodSnapshot) UnsetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodSnapshot) UnsetApprovalTarget()

UnsetApprovalTarget ensures that no value is present for ApprovalTarget, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetApprovalUrl ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) UnsetApprovalUrl()

UnsetApprovalUrl ensures that no value is present for ApprovalUrl, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetCountry ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetCurrency ¶ added in v0.17.0

func (o *PaymentMethodSnapshot) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetFingerprint ¶ added in v0.33.0

func (o *PaymentMethodSnapshot) UnsetFingerprint()

UnsetFingerprint ensures that no value is present for Fingerprint, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetId ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetLastReplacedAt ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) UnsetLastReplacedAt()

UnsetLastReplacedAt ensures that no value is present for LastReplacedAt, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetPaymentAccountReference ¶ added in v0.31.0

func (o *PaymentMethodSnapshot) UnsetPaymentAccountReference()

UnsetPaymentAccountReference ensures that no value is present for PaymentAccountReference, not even an explicit nil

func (*PaymentMethodSnapshot) UnsetScheme ¶ added in v0.2.1

func (o *PaymentMethodSnapshot) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

type PaymentMethodTokenized ¶ added in v0.2.1

type PaymentMethodTokenized struct {
	// `payment-method`.
	Type *string `json:"type,omitempty"`
	// The unique ID of the payment method.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The type of this payment method.
	Method *string `json:"method,omitempty"`
	// A label for the payment method. For a `card` payment method this is the last 4 digits on the card. For others it would be the email address.
	Label *string `json:"label,omitempty"`
	// The type of the card, if the payment method is a card.
	Scheme NullableString `json:"scheme,omitempty"`
	// Additional schemes of the card. Only applies to card payment methods.
	AdditionalSchemes []string `json:"additional_schemes,omitempty"`
	// The expiration date for the payment method.
	ExpirationDate NullableString `json:"expiration_date,omitempty"`
	// The browser target that an approval URL must be opened in. If `any` or `null`, then there is no specific requirement.
	ApprovalTarget NullableString `json:"approval_target,omitempty"`
	// The optional URL that the buyer needs to be redirected to to further authorize their payment.
	ApprovalUrl NullableString `json:"approval_url,omitempty"`
	// The ISO-4217 currency code that this payment method can be used for. If this value is `null` the payment method may be used for multiple currencies.
	Currency NullableString `json:"currency,omitempty"`
	// The 2-letter ISO code of the country this payment method can be used for. If this value is `null` the payment method may be used in multiple countries.
	Country NullableString `json:"country,omitempty"`
	// The date and time when this card was last replaced.  When the Account Updater determines that new card details are available, existing details are not changed immediately. There are three scenarios in which the actual replacement occurs:  1. When this card has expired. 2. When only the expiration date changed. 3. When a transaction using this card is declined with any of the following codes:     * `canceled_payment_method`     * `expired_payment_method`     * `unavailable_payment_method`     * `unknown_payment_method`  When the replacement is applied, this field is updated. For non-card payment methods, the value of this field is always set to `null`.
	LastReplacedAt NullableTime `json:"last_replaced_at,omitempty"`
	// Whether this card has a pending replacement that hasn't been applied yet.  When the Account Updater determines that new card details are available, existing details are not changed immediately, but this field is set to `true`. There are three scenarios in which the actual replacement occurs:  1. When this card has expired. 2. When only the expiration date changed. 3. When a transaction using this card is declined with any of the following codes:     * `canceled_payment_method`     * `expired_payment_method`     * `unavailable_payment_method`     * `unknown_payment_method`  When the replacement is applied, this field is set to `false`. For non-card payment methods, the value of this field is always set to `false`.
	HasReplacement *bool `json:"has_replacement,omitempty"`
}

PaymentMethodTokenized A mini format version of a payment method.

func NewPaymentMethodTokenized ¶ added in v0.2.1

func NewPaymentMethodTokenized() *PaymentMethodTokenized

NewPaymentMethodTokenized instantiates a new PaymentMethodTokenized object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodTokenizedWithDefaults ¶ added in v0.2.1

func NewPaymentMethodTokenizedWithDefaults() *PaymentMethodTokenized

NewPaymentMethodTokenizedWithDefaults instantiates a new PaymentMethodTokenized object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodTokenized) GetAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethodTokenized) GetAdditionalSchemes() []string

GetAdditionalSchemes returns the AdditionalSchemes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetAdditionalSchemesOk ¶ added in v0.31.0

func (o *PaymentMethodTokenized) GetAdditionalSchemesOk() (*[]string, bool)

GetAdditionalSchemesOk returns a tuple with the AdditionalSchemes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodTokenized) GetApprovalTarget() string

GetApprovalTarget returns the ApprovalTarget field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetApprovalTargetOk ¶ added in v0.19.0

func (o *PaymentMethodTokenized) GetApprovalTargetOk() (*string, bool)

GetApprovalTargetOk returns a tuple with the ApprovalTarget field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetApprovalUrl ¶ added in v0.3.0

func (o *PaymentMethodTokenized) GetApprovalUrl() string

GetApprovalUrl returns the ApprovalUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetApprovalUrlOk ¶ added in v0.3.0

func (o *PaymentMethodTokenized) GetApprovalUrlOk() (*string, bool)

GetApprovalUrlOk returns a tuple with the ApprovalUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetCountry ¶ added in v0.17.0

func (o *PaymentMethodTokenized) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetCountryOk ¶ added in v0.17.0

func (o *PaymentMethodTokenized) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetCurrency ¶ added in v0.17.0

func (o *PaymentMethodTokenized) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetCurrencyOk ¶ added in v0.17.0

func (o *PaymentMethodTokenized) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetExpirationDateOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetHasReplacement ¶ added in v0.28.0

func (o *PaymentMethodTokenized) GetHasReplacement() bool

GetHasReplacement returns the HasReplacement field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetHasReplacementOk ¶ added in v0.28.0

func (o *PaymentMethodTokenized) GetHasReplacementOk() (*bool, bool)

GetHasReplacementOk returns a tuple with the HasReplacement field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) GetId ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetIdOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) GetLabel ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetLabelOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) GetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethodTokenized) GetLastReplacedAt() time.Time

GetLastReplacedAt returns the LastReplacedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetLastReplacedAtOk ¶ added in v0.28.0

func (o *PaymentMethodTokenized) GetLastReplacedAtOk() (*time.Time, bool)

GetLastReplacedAtOk returns a tuple with the LastReplacedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethodTokenized) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *PaymentMethodTokenized) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) GetMethod ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetMethodOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) GetScheme ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodTokenized) GetSchemeOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodTokenized) GetType ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentMethodTokenized) GetTypeOk ¶ added in v0.2.1

func (o *PaymentMethodTokenized) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodTokenized) HasAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethodTokenized) HasAdditionalSchemes() bool

HasAdditionalSchemes returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodTokenized) HasApprovalTarget() bool

HasApprovalTarget returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasApprovalUrl ¶ added in v0.3.0

func (o *PaymentMethodTokenized) HasApprovalUrl() bool

HasApprovalUrl returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasCountry ¶ added in v0.17.0

func (o *PaymentMethodTokenized) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasCurrency ¶ added in v0.17.0

func (o *PaymentMethodTokenized) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasHasReplacement ¶ added in v0.28.0

func (o *PaymentMethodTokenized) HasHasReplacement() bool

HasHasReplacement returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasId ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasLabel ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethodTokenized) HasLastReplacedAt() bool

HasLastReplacedAt returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethodTokenized) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasMethod ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasScheme ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*PaymentMethodTokenized) HasType ¶ added in v0.2.1

func (o *PaymentMethodTokenized) HasType() bool

HasType returns a boolean if a field has been set.

func (PaymentMethodTokenized) MarshalJSON ¶ added in v0.2.1

func (o PaymentMethodTokenized) MarshalJSON() ([]byte, error)

func (*PaymentMethodTokenized) SetAdditionalSchemes ¶ added in v0.31.0

func (o *PaymentMethodTokenized) SetAdditionalSchemes(v []string)

SetAdditionalSchemes gets a reference to the given []string and assigns it to the AdditionalSchemes field.

func (*PaymentMethodTokenized) SetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodTokenized) SetApprovalTarget(v string)

SetApprovalTarget gets a reference to the given NullableString and assigns it to the ApprovalTarget field.

func (*PaymentMethodTokenized) SetApprovalTargetNil ¶ added in v0.19.0

func (o *PaymentMethodTokenized) SetApprovalTargetNil()

SetApprovalTargetNil sets the value for ApprovalTarget to be an explicit nil

func (*PaymentMethodTokenized) SetApprovalUrl ¶ added in v0.3.0

func (o *PaymentMethodTokenized) SetApprovalUrl(v string)

SetApprovalUrl gets a reference to the given NullableString and assigns it to the ApprovalUrl field.

func (*PaymentMethodTokenized) SetApprovalUrlNil ¶ added in v0.3.0

func (o *PaymentMethodTokenized) SetApprovalUrlNil()

SetApprovalUrlNil sets the value for ApprovalUrl to be an explicit nil

func (*PaymentMethodTokenized) SetCountry ¶ added in v0.17.0

func (o *PaymentMethodTokenized) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*PaymentMethodTokenized) SetCountryNil ¶ added in v0.17.0

func (o *PaymentMethodTokenized) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*PaymentMethodTokenized) SetCurrency ¶ added in v0.17.0

func (o *PaymentMethodTokenized) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*PaymentMethodTokenized) SetCurrencyNil ¶ added in v0.17.0

func (o *PaymentMethodTokenized) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*PaymentMethodTokenized) SetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given NullableString and assigns it to the ExpirationDate field.

func (*PaymentMethodTokenized) SetExpirationDateNil ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*PaymentMethodTokenized) SetHasReplacement ¶ added in v0.28.0

func (o *PaymentMethodTokenized) SetHasReplacement(v bool)

SetHasReplacement gets a reference to the given bool and assigns it to the HasReplacement field.

func (*PaymentMethodTokenized) SetId ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentMethodTokenized) SetLabel ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*PaymentMethodTokenized) SetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethodTokenized) SetLastReplacedAt(v time.Time)

SetLastReplacedAt gets a reference to the given NullableTime and assigns it to the LastReplacedAt field.

func (*PaymentMethodTokenized) SetLastReplacedAtNil ¶ added in v0.28.0

func (o *PaymentMethodTokenized) SetLastReplacedAtNil()

SetLastReplacedAtNil sets the value for LastReplacedAt to be an explicit nil

func (*PaymentMethodTokenized) SetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentMethodTokenized) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*PaymentMethodTokenized) SetMethod ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentMethodTokenized) SetScheme ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetScheme(v string)

SetScheme gets a reference to the given NullableString and assigns it to the Scheme field.

func (*PaymentMethodTokenized) SetSchemeNil ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetSchemeNil()

SetSchemeNil sets the value for Scheme to be an explicit nil

func (*PaymentMethodTokenized) SetType ¶ added in v0.2.1

func (o *PaymentMethodTokenized) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentMethodTokenized) UnsetApprovalTarget ¶ added in v0.19.0

func (o *PaymentMethodTokenized) UnsetApprovalTarget()

UnsetApprovalTarget ensures that no value is present for ApprovalTarget, not even an explicit nil

func (*PaymentMethodTokenized) UnsetApprovalUrl ¶ added in v0.3.0

func (o *PaymentMethodTokenized) UnsetApprovalUrl()

UnsetApprovalUrl ensures that no value is present for ApprovalUrl, not even an explicit nil

func (*PaymentMethodTokenized) UnsetCountry ¶ added in v0.17.0

func (o *PaymentMethodTokenized) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*PaymentMethodTokenized) UnsetCurrency ¶ added in v0.17.0

func (o *PaymentMethodTokenized) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*PaymentMethodTokenized) UnsetExpirationDate ¶ added in v0.2.1

func (o *PaymentMethodTokenized) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

func (*PaymentMethodTokenized) UnsetLastReplacedAt ¶ added in v0.28.0

func (o *PaymentMethodTokenized) UnsetLastReplacedAt()

UnsetLastReplacedAt ensures that no value is present for LastReplacedAt, not even an explicit nil

func (*PaymentMethodTokenized) UnsetScheme ¶ added in v0.2.1

func (o *PaymentMethodTokenized) UnsetScheme()

UnsetScheme ensures that no value is present for Scheme, not even an explicit nil

type PaymentMethods ¶

type PaymentMethods struct {
	// A list of stored payment methods.
	Items *[]PaymentMethod `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

PaymentMethods A list of stored payment methods.

func NewPaymentMethods ¶ added in v0.2.1

func NewPaymentMethods() *PaymentMethods

NewPaymentMethods instantiates a new PaymentMethods object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodsWithDefaults ¶ added in v0.2.1

func NewPaymentMethodsWithDefaults() *PaymentMethods

NewPaymentMethodsWithDefaults instantiates a new PaymentMethods object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethods) GetItems ¶ added in v0.2.1

func (o *PaymentMethods) GetItems() []PaymentMethod

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentMethods) GetItemsOk ¶ added in v0.2.1

func (o *PaymentMethods) GetItemsOk() (*[]PaymentMethod, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethods) GetLimit ¶ added in v0.2.1

func (o *PaymentMethods) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PaymentMethods) GetLimitOk ¶ added in v0.2.1

func (o *PaymentMethods) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethods) GetNextCursor ¶ added in v0.2.1

func (o *PaymentMethods) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethods) GetNextCursorOk ¶ added in v0.2.1

func (o *PaymentMethods) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethods) GetPreviousCursor ¶ added in v0.2.1

func (o *PaymentMethods) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethods) GetPreviousCursorOk ¶ added in v0.2.1

func (o *PaymentMethods) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethods) HasItems ¶ added in v0.2.1

func (o *PaymentMethods) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentMethods) HasLimit ¶ added in v0.2.1

func (o *PaymentMethods) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PaymentMethods) HasNextCursor ¶ added in v0.2.1

func (o *PaymentMethods) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*PaymentMethods) HasPreviousCursor ¶ added in v0.2.1

func (o *PaymentMethods) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (PaymentMethods) MarshalJSON ¶ added in v0.2.1

func (o PaymentMethods) MarshalJSON() ([]byte, error)

func (*PaymentMethods) SetItems ¶ added in v0.2.1

func (o *PaymentMethods) SetItems(v []PaymentMethod)

SetItems gets a reference to the given []PaymentMethod and assigns it to the Items field.

func (*PaymentMethods) SetLimit ¶ added in v0.2.1

func (o *PaymentMethods) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*PaymentMethods) SetNextCursor ¶ added in v0.2.1

func (o *PaymentMethods) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*PaymentMethods) SetNextCursorNil ¶ added in v0.2.1

func (o *PaymentMethods) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*PaymentMethods) SetPreviousCursor ¶ added in v0.2.1

func (o *PaymentMethods) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*PaymentMethods) SetPreviousCursorNil ¶ added in v0.2.1

func (o *PaymentMethods) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*PaymentMethods) UnsetNextCursor ¶ added in v0.2.1

func (o *PaymentMethods) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*PaymentMethods) UnsetPreviousCursor ¶ added in v0.2.1

func (o *PaymentMethods) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type PaymentMethodsApiService ¶ added in v0.2.1

type PaymentMethodsApiService service

PaymentMethodsApiService PaymentMethodsApi service

func (*PaymentMethodsApiService) DeletePaymentMethod ¶ added in v0.2.1

func (a *PaymentMethodsApiService) DeletePaymentMethod(ctx _context.Context, paymentMethodId string) ApiDeletePaymentMethodRequest

* DeletePaymentMethod Delete payment method * Removes a stored payment method. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiDeletePaymentMethodRequest

func (*PaymentMethodsApiService) DeletePaymentMethodExecute ¶ added in v0.2.1

func (a *PaymentMethodsApiService) DeletePaymentMethodExecute(r ApiDeletePaymentMethodRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*PaymentMethodsApiService) GetPaymentMethod ¶ added in v0.2.1

func (a *PaymentMethodsApiService) GetPaymentMethod(ctx _context.Context, paymentMethodId string) ApiGetPaymentMethodRequest

* GetPaymentMethod Get payment method * Gets the details for a stored payment method. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiGetPaymentMethodRequest

func (*PaymentMethodsApiService) GetPaymentMethodExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentMethod

func (*PaymentMethodsApiService) ListBuyerPaymentMethods ¶ added in v0.2.1

  • ListBuyerPaymentMethods List payment methods for buyer
  • Returns a list of stored payment methods for a buyer in a summarized format.

Only payment methods that are compatible with at least one active payment service in that region are shown.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiListBuyerPaymentMethodsRequest

func (*PaymentMethodsApiService) ListBuyerPaymentMethodsExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentMethodsTokenized

func (*PaymentMethodsApiService) ListPaymentMethods ¶ added in v0.2.1

* ListPaymentMethods List payment methods * Returns a list of stored payment methods. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListPaymentMethodsRequest

func (*PaymentMethodsApiService) ListPaymentMethodsExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentMethods

func (*PaymentMethodsApiService) NewPaymentMethod ¶ added in v0.27.0

  • NewPaymentMethod New payment method
  • Stores and vaults a new payment method.

Vaulting a card only stores its information but doesn't validate it against any PSP, so ephemeral data like the security code, often referred to as the CVV or CVD, won't be used. In order to validate the card data, a CIT (Customer Initiated Transaction) must be done, even if it's a zero-value one.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiNewPaymentMethodRequest

func (*PaymentMethodsApiService) NewPaymentMethodExecute ¶ added in v0.27.0

* Execute executes the request * @return PaymentMethod

type PaymentMethodsTokenized ¶

type PaymentMethodsTokenized struct {
	// A list of stored payment methods in summarized format.
	Items *[]PaymentMethodTokenized `json:"items,omitempty"`
}

PaymentMethodsTokenized A list of stored payment methods in summarized format.

func NewPaymentMethodsTokenized ¶ added in v0.2.1

func NewPaymentMethodsTokenized() *PaymentMethodsTokenized

NewPaymentMethodsTokenized instantiates a new PaymentMethodsTokenized object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodsTokenizedWithDefaults ¶ added in v0.2.1

func NewPaymentMethodsTokenizedWithDefaults() *PaymentMethodsTokenized

NewPaymentMethodsTokenizedWithDefaults instantiates a new PaymentMethodsTokenized object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodsTokenized) GetItems ¶ added in v0.2.1

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentMethodsTokenized) GetItemsOk ¶ added in v0.2.1

func (o *PaymentMethodsTokenized) GetItemsOk() (*[]PaymentMethodTokenized, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodsTokenized) HasItems ¶ added in v0.2.1

func (o *PaymentMethodsTokenized) HasItems() bool

HasItems returns a boolean if a field has been set.

func (PaymentMethodsTokenized) MarshalJSON ¶ added in v0.2.1

func (o PaymentMethodsTokenized) MarshalJSON() ([]byte, error)

func (*PaymentMethodsTokenized) SetItems ¶ added in v0.2.1

SetItems gets a reference to the given []PaymentMethodTokenized and assigns it to the Items field.

type PaymentOption ¶

type PaymentOption struct {
	// `payment-option`.
	Type *string `json:"type,omitempty"`
	// The type of payment method that is available.
	Method *string `json:"method,omitempty"`
	// An icon to display for the payment option.
	IconUrl NullableString `json:"icon_url,omitempty"`
	// The mode to use with this payment option.
	Mode *string `json:"mode,omitempty"`
	// A label that describes this payment option. This label is returned in the language defined by the `locale` query parameter. The label can be used to display a list of payment options to the buyer in their language.
	Label *string `json:"label,omitempty"`
	// A flag to indicate if storing the payment method is supported.
	CanStorePaymentMethod *bool `json:"can_store_payment_method,omitempty"`
	// A flag to indicate if delayed capture is supported.
	CanDelayCapture *bool                 `json:"can_delay_capture,omitempty"`
	Context         *PaymentOptionContext `json:"context,omitempty"`
}

PaymentOption An available payment option for a locale.

func NewPaymentOption ¶ added in v0.2.1

func NewPaymentOption() *PaymentOption

NewPaymentOption instantiates a new PaymentOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentOptionWithDefaults ¶ added in v0.2.1

func NewPaymentOptionWithDefaults() *PaymentOption

NewPaymentOptionWithDefaults instantiates a new PaymentOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentOption) GetCanDelayCapture ¶ added in v0.21.0

func (o *PaymentOption) GetCanDelayCapture() bool

GetCanDelayCapture returns the CanDelayCapture field value if set, zero value otherwise.

func (*PaymentOption) GetCanDelayCaptureOk ¶ added in v0.21.0

func (o *PaymentOption) GetCanDelayCaptureOk() (*bool, bool)

GetCanDelayCaptureOk returns a tuple with the CanDelayCapture field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetCanStorePaymentMethod ¶ added in v0.3.0

func (o *PaymentOption) GetCanStorePaymentMethod() bool

GetCanStorePaymentMethod returns the CanStorePaymentMethod field value if set, zero value otherwise.

func (*PaymentOption) GetCanStorePaymentMethodOk ¶ added in v0.3.0

func (o *PaymentOption) GetCanStorePaymentMethodOk() (*bool, bool)

GetCanStorePaymentMethodOk returns a tuple with the CanStorePaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetContext ¶ added in v0.7.0

func (o *PaymentOption) GetContext() PaymentOptionContext

GetContext returns the Context field value if set, zero value otherwise.

func (*PaymentOption) GetContextOk ¶ added in v0.7.0

func (o *PaymentOption) GetContextOk() (*PaymentOptionContext, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetIconUrl ¶ added in v0.2.1

func (o *PaymentOption) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOption) GetIconUrlOk ¶ added in v0.2.1

func (o *PaymentOption) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOption) GetLabel ¶ added in v0.2.1

func (o *PaymentOption) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*PaymentOption) GetLabelOk ¶ added in v0.2.1

func (o *PaymentOption) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetMethod ¶ added in v0.2.1

func (o *PaymentOption) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentOption) GetMethodOk ¶ added in v0.2.1

func (o *PaymentOption) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetMode ¶ added in v0.2.1

func (o *PaymentOption) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*PaymentOption) GetModeOk ¶ added in v0.2.1

func (o *PaymentOption) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) GetType ¶ added in v0.2.1

func (o *PaymentOption) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentOption) GetTypeOk ¶ added in v0.2.1

func (o *PaymentOption) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOption) HasCanDelayCapture ¶ added in v0.21.0

func (o *PaymentOption) HasCanDelayCapture() bool

HasCanDelayCapture returns a boolean if a field has been set.

func (*PaymentOption) HasCanStorePaymentMethod ¶ added in v0.3.0

func (o *PaymentOption) HasCanStorePaymentMethod() bool

HasCanStorePaymentMethod returns a boolean if a field has been set.

func (*PaymentOption) HasContext ¶ added in v0.7.0

func (o *PaymentOption) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*PaymentOption) HasIconUrl ¶ added in v0.2.1

func (o *PaymentOption) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*PaymentOption) HasLabel ¶ added in v0.2.1

func (o *PaymentOption) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*PaymentOption) HasMethod ¶ added in v0.2.1

func (o *PaymentOption) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentOption) HasMode ¶ added in v0.2.1

func (o *PaymentOption) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*PaymentOption) HasType ¶ added in v0.2.1

func (o *PaymentOption) HasType() bool

HasType returns a boolean if a field has been set.

func (PaymentOption) MarshalJSON ¶ added in v0.2.1

func (o PaymentOption) MarshalJSON() ([]byte, error)

func (*PaymentOption) SetCanDelayCapture ¶ added in v0.21.0

func (o *PaymentOption) SetCanDelayCapture(v bool)

SetCanDelayCapture gets a reference to the given bool and assigns it to the CanDelayCapture field.

func (*PaymentOption) SetCanStorePaymentMethod ¶ added in v0.3.0

func (o *PaymentOption) SetCanStorePaymentMethod(v bool)

SetCanStorePaymentMethod gets a reference to the given bool and assigns it to the CanStorePaymentMethod field.

func (*PaymentOption) SetContext ¶ added in v0.7.0

func (o *PaymentOption) SetContext(v PaymentOptionContext)

SetContext gets a reference to the given PaymentOptionContext and assigns it to the Context field.

func (*PaymentOption) SetIconUrl ¶ added in v0.2.1

func (o *PaymentOption) SetIconUrl(v string)

SetIconUrl gets a reference to the given NullableString and assigns it to the IconUrl field.

func (*PaymentOption) SetIconUrlNil ¶ added in v0.2.1

func (o *PaymentOption) SetIconUrlNil()

SetIconUrlNil sets the value for IconUrl to be an explicit nil

func (*PaymentOption) SetLabel ¶ added in v0.2.1

func (o *PaymentOption) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*PaymentOption) SetMethod ¶ added in v0.2.1

func (o *PaymentOption) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentOption) SetMode ¶ added in v0.2.1

func (o *PaymentOption) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*PaymentOption) SetType ¶ added in v0.2.1

func (o *PaymentOption) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentOption) UnsetIconUrl ¶ added in v0.2.1

func (o *PaymentOption) UnsetIconUrl()

UnsetIconUrl ensures that no value is present for IconUrl, not even an explicit nil

type PaymentOptionApprovalUI ¶ added in v0.19.0

type PaymentOptionApprovalUI struct {
	// Height of the approval interface in either pixels or view height (vh).
	Height *string `json:"height,omitempty"`
	// Width of the approval interface in either pixels or view width (vw).
	Width *string `json:"width,omitempty"`
}

PaymentOptionApprovalUI Configuration for the approval interface that should be shown to the buyer.

func NewPaymentOptionApprovalUI ¶ added in v0.19.0

func NewPaymentOptionApprovalUI() *PaymentOptionApprovalUI

NewPaymentOptionApprovalUI instantiates a new PaymentOptionApprovalUI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentOptionApprovalUIWithDefaults ¶ added in v0.19.0

func NewPaymentOptionApprovalUIWithDefaults() *PaymentOptionApprovalUI

NewPaymentOptionApprovalUIWithDefaults instantiates a new PaymentOptionApprovalUI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentOptionApprovalUI) GetHeight ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) GetHeight() string

GetHeight returns the Height field value if set, zero value otherwise.

func (*PaymentOptionApprovalUI) GetHeightOk ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) GetHeightOk() (*string, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionApprovalUI) GetWidth ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) GetWidth() string

GetWidth returns the Width field value if set, zero value otherwise.

func (*PaymentOptionApprovalUI) GetWidthOk ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) GetWidthOk() (*string, bool)

GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionApprovalUI) HasHeight ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*PaymentOptionApprovalUI) HasWidth ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (PaymentOptionApprovalUI) MarshalJSON ¶ added in v0.19.0

func (o PaymentOptionApprovalUI) MarshalJSON() ([]byte, error)

func (*PaymentOptionApprovalUI) SetHeight ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) SetHeight(v string)

SetHeight gets a reference to the given string and assigns it to the Height field.

func (*PaymentOptionApprovalUI) SetWidth ¶ added in v0.19.0

func (o *PaymentOptionApprovalUI) SetWidth(v string)

SetWidth gets a reference to the given string and assigns it to the Width field.

type PaymentOptionContext ¶ added in v0.7.0

type PaymentOptionContext struct {
	// Gateway used for Google Pay payments.
	Gateway *string `json:"gateway,omitempty"`
	// Gateway merchant identifier used for Google Pay payments.
	GatewayMerchantId *string `json:"gateway_merchant_id,omitempty"`
	// Display name of the merchant as registered with the digital wallet provider.
	MerchantName *string `json:"merchant_name,omitempty"`
	// Card schemes supported by the digital wallet provider.
	SupportedSchemes *[]string                `json:"supported_schemes,omitempty"`
	ApprovalUi       *PaymentOptionApprovalUI `json:"approval_ui,omitempty"`
	RequiredFields   *RequiredFields          `json:"required_fields,omitempty"`
}

PaymentOptionContext Additional context specific to the payment option. This is currently only returned for Apple Pay and Google Pay.

func NewPaymentOptionContext ¶ added in v0.7.0

func NewPaymentOptionContext() *PaymentOptionContext

NewPaymentOptionContext instantiates a new PaymentOptionContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentOptionContextWithDefaults ¶ added in v0.7.0

func NewPaymentOptionContextWithDefaults() *PaymentOptionContext

NewPaymentOptionContextWithDefaults instantiates a new PaymentOptionContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentOptionContext) GetApprovalUi ¶ added in v0.19.0

func (o *PaymentOptionContext) GetApprovalUi() PaymentOptionApprovalUI

GetApprovalUi returns the ApprovalUi field value if set, zero value otherwise.

func (*PaymentOptionContext) GetApprovalUiOk ¶ added in v0.19.0

func (o *PaymentOptionContext) GetApprovalUiOk() (*PaymentOptionApprovalUI, bool)

GetApprovalUiOk returns a tuple with the ApprovalUi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) GetGateway ¶ added in v0.22.0

func (o *PaymentOptionContext) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*PaymentOptionContext) GetGatewayMerchantId ¶ added in v0.22.0

func (o *PaymentOptionContext) GetGatewayMerchantId() string

GetGatewayMerchantId returns the GatewayMerchantId field value if set, zero value otherwise.

func (*PaymentOptionContext) GetGatewayMerchantIdOk ¶ added in v0.22.0

func (o *PaymentOptionContext) GetGatewayMerchantIdOk() (*string, bool)

GetGatewayMerchantIdOk returns a tuple with the GatewayMerchantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) GetGatewayOk ¶ added in v0.22.0

func (o *PaymentOptionContext) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) GetMerchantName ¶ added in v0.7.0

func (o *PaymentOptionContext) GetMerchantName() string

GetMerchantName returns the MerchantName field value if set, zero value otherwise.

func (*PaymentOptionContext) GetMerchantNameOk ¶ added in v0.7.0

func (o *PaymentOptionContext) GetMerchantNameOk() (*string, bool)

GetMerchantNameOk returns a tuple with the MerchantName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) GetRequiredFields ¶ added in v0.19.0

func (o *PaymentOptionContext) GetRequiredFields() RequiredFields

GetRequiredFields returns the RequiredFields field value if set, zero value otherwise.

func (*PaymentOptionContext) GetRequiredFieldsOk ¶ added in v0.19.0

func (o *PaymentOptionContext) GetRequiredFieldsOk() (*RequiredFields, bool)

GetRequiredFieldsOk returns a tuple with the RequiredFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) GetSupportedSchemes ¶ added in v0.7.0

func (o *PaymentOptionContext) GetSupportedSchemes() []string

GetSupportedSchemes returns the SupportedSchemes field value if set, zero value otherwise.

func (*PaymentOptionContext) GetSupportedSchemesOk ¶ added in v0.7.0

func (o *PaymentOptionContext) GetSupportedSchemesOk() (*[]string, bool)

GetSupportedSchemesOk returns a tuple with the SupportedSchemes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptionContext) HasApprovalUi ¶ added in v0.19.0

func (o *PaymentOptionContext) HasApprovalUi() bool

HasApprovalUi returns a boolean if a field has been set.

func (*PaymentOptionContext) HasGateway ¶ added in v0.22.0

func (o *PaymentOptionContext) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*PaymentOptionContext) HasGatewayMerchantId ¶ added in v0.22.0

func (o *PaymentOptionContext) HasGatewayMerchantId() bool

HasGatewayMerchantId returns a boolean if a field has been set.

func (*PaymentOptionContext) HasMerchantName ¶ added in v0.7.0

func (o *PaymentOptionContext) HasMerchantName() bool

HasMerchantName returns a boolean if a field has been set.

func (*PaymentOptionContext) HasRequiredFields ¶ added in v0.19.0

func (o *PaymentOptionContext) HasRequiredFields() bool

HasRequiredFields returns a boolean if a field has been set.

func (*PaymentOptionContext) HasSupportedSchemes ¶ added in v0.7.0

func (o *PaymentOptionContext) HasSupportedSchemes() bool

HasSupportedSchemes returns a boolean if a field has been set.

func (PaymentOptionContext) MarshalJSON ¶ added in v0.7.0

func (o PaymentOptionContext) MarshalJSON() ([]byte, error)

func (*PaymentOptionContext) SetApprovalUi ¶ added in v0.19.0

func (o *PaymentOptionContext) SetApprovalUi(v PaymentOptionApprovalUI)

SetApprovalUi gets a reference to the given PaymentOptionApprovalUI and assigns it to the ApprovalUi field.

func (*PaymentOptionContext) SetGateway ¶ added in v0.22.0

func (o *PaymentOptionContext) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*PaymentOptionContext) SetGatewayMerchantId ¶ added in v0.22.0

func (o *PaymentOptionContext) SetGatewayMerchantId(v string)

SetGatewayMerchantId gets a reference to the given string and assigns it to the GatewayMerchantId field.

func (*PaymentOptionContext) SetMerchantName ¶ added in v0.7.0

func (o *PaymentOptionContext) SetMerchantName(v string)

SetMerchantName gets a reference to the given string and assigns it to the MerchantName field.

func (*PaymentOptionContext) SetRequiredFields ¶ added in v0.19.0

func (o *PaymentOptionContext) SetRequiredFields(v RequiredFields)

SetRequiredFields gets a reference to the given RequiredFields and assigns it to the RequiredFields field.

func (*PaymentOptionContext) SetSupportedSchemes ¶ added in v0.7.0

func (o *PaymentOptionContext) SetSupportedSchemes(v []string)

SetSupportedSchemes gets a reference to the given []string and assigns it to the SupportedSchemes field.

type PaymentOptions ¶

type PaymentOptions struct {
	Items *[]PaymentOption `json:"items,omitempty"`
}

PaymentOptions A list of payment options.

func NewPaymentOptions ¶ added in v0.2.1

func NewPaymentOptions() *PaymentOptions

NewPaymentOptions instantiates a new PaymentOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentOptionsWithDefaults ¶ added in v0.2.1

func NewPaymentOptionsWithDefaults() *PaymentOptions

NewPaymentOptionsWithDefaults instantiates a new PaymentOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentOptions) GetItems ¶ added in v0.2.1

func (o *PaymentOptions) GetItems() []PaymentOption

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentOptions) GetItemsOk ¶ added in v0.2.1

func (o *PaymentOptions) GetItemsOk() (*[]PaymentOption, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentOptions) HasItems ¶ added in v0.2.1

func (o *PaymentOptions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (PaymentOptions) MarshalJSON ¶ added in v0.2.1

func (o PaymentOptions) MarshalJSON() ([]byte, error)

func (*PaymentOptions) SetItems ¶ added in v0.2.1

func (o *PaymentOptions) SetItems(v []PaymentOption)

SetItems gets a reference to the given []PaymentOption and assigns it to the Items field.

type PaymentOptionsApiService ¶ added in v0.2.1

type PaymentOptionsApiService service

PaymentOptionsApiService PaymentOptionsApi service

func (*PaymentOptionsApiService) ListPaymentOptions ¶ added in v0.2.1

  • ListPaymentOptions List payment options
  • Returns a list of available payment method options for the combination of

amount, currency, country and metadata.

If the amount is zero, payment options which do not support zero amounts, will be omitted in the response.

Checkout flow rules are used to limit these result.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiListPaymentOptionsRequest

func (*PaymentOptionsApiService) ListPaymentOptionsExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentOptions

func (*PaymentOptionsApiService) PostListPaymentOptions ¶ added in v0.22.0

  • PostListPaymentOptions List payment options with POST
  • Returns a list of available payment method options for the combination of

amount, currency, country, metadata and list of cart items.

If the amount is zero, payment options which do not support zero amounts, will be omitted in the response.

Checkout flow rules are used to limit these result.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiPostListPaymentOptionsRequest

func (*PaymentOptionsApiService) PostListPaymentOptionsExecute ¶ added in v0.22.0

* Execute executes the request * @return PaymentOptions

type PaymentOptionsRequest ¶ added in v0.22.0

type PaymentOptionsRequest struct {
	// The monetary amount to create an authorization for, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  If the `intent` is set to `capture`, an amount greater than zero must be supplied.
	Amount NullableInt32 `json:"amount,omitempty"`
	// An ISO 639-1 Language Code and optional ISO 3166 Country Code. This locale determines the language for the labels returned for every payment option.
	Locale NullableString `json:"locale,omitempty"`
	// A supported ISO-4217 currency code.  For redirect requests, this value must match the one specified for `currency` in `payment_method`.
	Currency NullableString `json:"currency,omitempty"`
	// Filters the results to only the items which support this country code. A country is formatted as 2-letter ISO country code.
	Country NullableString `json:"country,omitempty"`
	// Used by the Flow engine to filter available options based on various client-defined parameters. If present, this must be a string representing a valid JSON dictionary.
	Metadata map[string]string `json:"metadata,omitempty"`
	// An array of cart items that represents the line items of a transaction.
	CartItems []CartItem `json:"cart_items,omitempty"`
}

PaymentOptionsRequest A request to get list of payment options.

func NewPaymentOptionsRequest ¶ added in v0.22.0

func NewPaymentOptionsRequest() *PaymentOptionsRequest

NewPaymentOptionsRequest instantiates a new PaymentOptionsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentOptionsRequestWithDefaults ¶ added in v0.22.0

func NewPaymentOptionsRequestWithDefaults() *PaymentOptionsRequest

NewPaymentOptionsRequestWithDefaults instantiates a new PaymentOptionsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentOptionsRequest) GetAmount ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetAmountOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) GetCartItems ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetCartItemsOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) GetCountry ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetCountryOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) GetCurrency ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetCurrencyOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) GetLocale ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetLocale() string

GetLocale returns the Locale field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetLocaleOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetLocaleOk() (*string, bool)

GetLocaleOk returns a tuple with the Locale field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) GetMetadata ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentOptionsRequest) GetMetadataOk ¶ added in v0.22.0

func (o *PaymentOptionsRequest) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentOptionsRequest) HasAmount ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PaymentOptionsRequest) HasCartItems ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*PaymentOptionsRequest) HasCountry ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentOptionsRequest) HasCurrency ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PaymentOptionsRequest) HasLocale ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*PaymentOptionsRequest) HasMetadata ¶ added in v0.22.0

func (o *PaymentOptionsRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (PaymentOptionsRequest) MarshalJSON ¶ added in v0.22.0

func (o PaymentOptionsRequest) MarshalJSON() ([]byte, error)

func (*PaymentOptionsRequest) SetAmount ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetAmount(v int32)

SetAmount gets a reference to the given NullableInt32 and assigns it to the Amount field.

func (*PaymentOptionsRequest) SetAmountNil ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*PaymentOptionsRequest) SetCartItems ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*PaymentOptionsRequest) SetCountry ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*PaymentOptionsRequest) SetCountryNil ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*PaymentOptionsRequest) SetCurrency ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*PaymentOptionsRequest) SetCurrencyNil ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*PaymentOptionsRequest) SetLocale ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetLocale(v string)

SetLocale gets a reference to the given NullableString and assigns it to the Locale field.

func (*PaymentOptionsRequest) SetLocaleNil ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetLocaleNil()

SetLocaleNil sets the value for Locale to be an explicit nil

func (*PaymentOptionsRequest) SetMetadata ¶ added in v0.22.0

func (o *PaymentOptionsRequest) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*PaymentOptionsRequest) UnsetAmount ¶ added in v0.22.0

func (o *PaymentOptionsRequest) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*PaymentOptionsRequest) UnsetCountry ¶ added in v0.22.0

func (o *PaymentOptionsRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*PaymentOptionsRequest) UnsetCurrency ¶ added in v0.22.0

func (o *PaymentOptionsRequest) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*PaymentOptionsRequest) UnsetLocale ¶ added in v0.22.0

func (o *PaymentOptionsRequest) UnsetLocale()

UnsetLocale ensures that no value is present for Locale, not even an explicit nil

type PaymentService ¶

type PaymentService struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this payment service.
	Id *string `json:"id,omitempty"`
	// A list of countries for which this service is enabled, in ISO two-letter code format.
	AcceptedCountries *[]string `json:"accepted_countries,omitempty"`
	// A list of currencies for which this service is enabled, in ISO 4217 three-letter code format.
	AcceptedCurrencies *[]string `json:"accepted_currencies,omitempty"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
	// The date and time when this service was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The custom name set for this service.
	DisplayName *string `json:"display_name,omitempty"`
	// A list of fields, each containing a key-value pair for each field configured for this payment service. Fields marked as `secret` (see Payment Service Definition) are not returned.
	Fields *[]GiftCardServiceFields `json:"fields,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// An object containing a key for each supported card scheme (Amex, Discover, Mastercard and Visa), and for each key an object with the merchant profile for this service and the corresponding scheme.
	MerchantProfile NullableMerchantProfile `json:"merchant_profile,omitempty"`
	// The payment method that this service handles.
	Method *string `json:"method,omitempty"`
	// Defines if network tokens are enabled for the service. This feature can only be enabled if the payment service is set as `open_loop` and the PSP is set up to accept network tokens.
	NetworkTokensEnabled *bool `json:"network_tokens_enabled,omitempty"`
	// Defines if the service works as an open-loop service. This feature can only be enabled if the PSP is set up to accept previous scheme transaction IDs.
	OpenLoop *bool `json:"open_loop,omitempty"`
	// Defines if tokenization is enabled for the service. This feature can only be enabled if the payment service is NOT set as `open_loop` and the PSP is set up to tokenize.
	PaymentMethodTokenizationEnabled *bool `json:"payment_method_tokenization_enabled,omitempty"`
	// The ID of the payment service definition used to create this service.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
	// The current status of this service. This will start off as pending, move to created, and might eventually move to an error status if and when the credentials are no longer valid.
	Status *string `json:"status,omitempty"`
	// Defines if 3-D Secure is enabled for the service (can only be enabled if the payment service definition supports the `three_d_secure_hosted` feature). This does not affect pass through 3-D Secure data.
	ThreeDSecureEnabled *bool `json:"three_d_secure_enabled,omitempty"`
	// The date and time when this service was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The URL that needs to be configured with this payment service as the receiving endpoint for webhooks from the service to Gr4vy. Currently, Gr4vy does not yet automatically register webhooks on setup, and therefore webhooks need to be registered manually by the merchant.
	WebhookUrl NullableString `json:"webhook_url,omitempty"`
}

PaymentService An active, configured payment service.

func NewPaymentService ¶ added in v0.2.1

func NewPaymentService() *PaymentService

NewPaymentService instantiates a new PaymentService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceWithDefaults ¶ added in v0.2.1

func NewPaymentServiceWithDefaults() *PaymentService

NewPaymentServiceWithDefaults instantiates a new PaymentService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentService) GetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentService) GetAcceptedCountries() []string

GetAcceptedCountries returns the AcceptedCountries field value if set, zero value otherwise.

func (*PaymentService) GetAcceptedCountriesOk ¶ added in v0.2.1

func (o *PaymentService) GetAcceptedCountriesOk() (*[]string, bool)

GetAcceptedCountriesOk returns a tuple with the AcceptedCountries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentService) GetAcceptedCurrencies() []string

GetAcceptedCurrencies returns the AcceptedCurrencies field value if set, zero value otherwise.

func (*PaymentService) GetAcceptedCurrenciesOk ¶ added in v0.2.1

func (o *PaymentService) GetAcceptedCurrenciesOk() (*[]string, bool)

GetAcceptedCurrenciesOk returns a tuple with the AcceptedCurrencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetActive ¶ added in v0.2.1

func (o *PaymentService) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PaymentService) GetActiveOk ¶ added in v0.2.1

func (o *PaymentService) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetCreatedAt ¶ added in v0.2.1

func (o *PaymentService) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentService) GetCreatedAtOk ¶ added in v0.2.1

func (o *PaymentService) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetDisplayName ¶ added in v0.2.1

func (o *PaymentService) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PaymentService) GetDisplayNameOk ¶ added in v0.2.1

func (o *PaymentService) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetFields ¶ added in v0.17.0

func (o *PaymentService) GetFields() []GiftCardServiceFields

GetFields returns the Fields field value if set, zero value otherwise.

func (*PaymentService) GetFieldsOk ¶ added in v0.17.0

func (o *PaymentService) GetFieldsOk() (*[]GiftCardServiceFields, bool)

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetId ¶ added in v0.2.1

func (o *PaymentService) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentService) GetIdOk ¶ added in v0.2.1

func (o *PaymentService) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentService) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*PaymentService) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *PaymentService) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetMerchantProfile ¶ added in v0.22.0

func (o *PaymentService) GetMerchantProfile() MerchantProfile

GetMerchantProfile returns the MerchantProfile field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentService) GetMerchantProfileOk ¶ added in v0.22.0

func (o *PaymentService) GetMerchantProfileOk() (*MerchantProfile, bool)

GetMerchantProfileOk returns a tuple with the MerchantProfile field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentService) GetMethod ¶ added in v0.2.1

func (o *PaymentService) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentService) GetMethodOk ¶ added in v0.2.1

func (o *PaymentService) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentService) GetNetworkTokensEnabled() bool

GetNetworkTokensEnabled returns the NetworkTokensEnabled field value if set, zero value otherwise.

func (*PaymentService) GetNetworkTokensEnabledOk ¶ added in v0.22.0

func (o *PaymentService) GetNetworkTokensEnabledOk() (*bool, bool)

GetNetworkTokensEnabledOk returns a tuple with the NetworkTokensEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetOpenLoop ¶ added in v0.22.0

func (o *PaymentService) GetOpenLoop() bool

GetOpenLoop returns the OpenLoop field value if set, zero value otherwise.

func (*PaymentService) GetOpenLoopOk ¶ added in v0.22.0

func (o *PaymentService) GetOpenLoopOk() (*bool, bool)

GetOpenLoopOk returns a tuple with the OpenLoop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentService) GetPaymentMethodTokenizationEnabled() bool

GetPaymentMethodTokenizationEnabled returns the PaymentMethodTokenizationEnabled field value if set, zero value otherwise.

func (*PaymentService) GetPaymentMethodTokenizationEnabledOk ¶ added in v0.17.0

func (o *PaymentService) GetPaymentMethodTokenizationEnabledOk() (*bool, bool)

GetPaymentMethodTokenizationEnabledOk returns a tuple with the PaymentMethodTokenizationEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentService) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentService) GetPaymentServiceDefinitionIdOk ¶ added in v0.2.1

func (o *PaymentService) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetStatus ¶ added in v0.2.1

func (o *PaymentService) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentService) GetStatusOk ¶ added in v0.2.1

func (o *PaymentService) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentService) GetThreeDSecureEnabled() bool

GetThreeDSecureEnabled returns the ThreeDSecureEnabled field value if set, zero value otherwise.

func (*PaymentService) GetThreeDSecureEnabledOk ¶ added in v0.3.0

func (o *PaymentService) GetThreeDSecureEnabledOk() (*bool, bool)

GetThreeDSecureEnabledOk returns a tuple with the ThreeDSecureEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetType ¶ added in v0.2.1

func (o *PaymentService) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentService) GetTypeOk ¶ added in v0.2.1

func (o *PaymentService) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetUpdatedAt ¶ added in v0.2.1

func (o *PaymentService) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PaymentService) GetUpdatedAtOk ¶ added in v0.2.1

func (o *PaymentService) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentService) GetWebhookUrl ¶ added in v0.14.0

func (o *PaymentService) GetWebhookUrl() string

GetWebhookUrl returns the WebhookUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentService) GetWebhookUrlOk ¶ added in v0.14.0

func (o *PaymentService) GetWebhookUrlOk() (*string, bool)

GetWebhookUrlOk returns a tuple with the WebhookUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentService) HasAcceptedCountries ¶ added in v0.2.1

func (o *PaymentService) HasAcceptedCountries() bool

HasAcceptedCountries returns a boolean if a field has been set.

func (*PaymentService) HasAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentService) HasAcceptedCurrencies() bool

HasAcceptedCurrencies returns a boolean if a field has been set.

func (*PaymentService) HasActive ¶ added in v0.2.1

func (o *PaymentService) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PaymentService) HasCreatedAt ¶ added in v0.2.1

func (o *PaymentService) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentService) HasDisplayName ¶ added in v0.2.1

func (o *PaymentService) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PaymentService) HasFields ¶ added in v0.17.0

func (o *PaymentService) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*PaymentService) HasId ¶ added in v0.2.1

func (o *PaymentService) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentService) HasMerchantAccountId ¶ added in v0.27.0

func (o *PaymentService) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*PaymentService) HasMerchantProfile ¶ added in v0.22.0

func (o *PaymentService) HasMerchantProfile() bool

HasMerchantProfile returns a boolean if a field has been set.

func (*PaymentService) HasMethod ¶ added in v0.2.1

func (o *PaymentService) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentService) HasNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentService) HasNetworkTokensEnabled() bool

HasNetworkTokensEnabled returns a boolean if a field has been set.

func (*PaymentService) HasOpenLoop ¶ added in v0.22.0

func (o *PaymentService) HasOpenLoop() bool

HasOpenLoop returns a boolean if a field has been set.

func (*PaymentService) HasPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentService) HasPaymentMethodTokenizationEnabled() bool

HasPaymentMethodTokenizationEnabled returns a boolean if a field has been set.

func (*PaymentService) HasPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentService) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentService) HasStatus ¶ added in v0.2.1

func (o *PaymentService) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PaymentService) HasThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentService) HasThreeDSecureEnabled() bool

HasThreeDSecureEnabled returns a boolean if a field has been set.

func (*PaymentService) HasType ¶ added in v0.2.1

func (o *PaymentService) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentService) HasUpdatedAt ¶ added in v0.2.1

func (o *PaymentService) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*PaymentService) HasWebhookUrl ¶ added in v0.14.0

func (o *PaymentService) HasWebhookUrl() bool

HasWebhookUrl returns a boolean if a field has been set.

func (PaymentService) MarshalJSON ¶ added in v0.2.1

func (o PaymentService) MarshalJSON() ([]byte, error)

func (*PaymentService) SetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentService) SetAcceptedCountries(v []string)

SetAcceptedCountries gets a reference to the given []string and assigns it to the AcceptedCountries field.

func (*PaymentService) SetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentService) SetAcceptedCurrencies(v []string)

SetAcceptedCurrencies gets a reference to the given []string and assigns it to the AcceptedCurrencies field.

func (*PaymentService) SetActive ¶ added in v0.2.1

func (o *PaymentService) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PaymentService) SetCreatedAt ¶ added in v0.2.1

func (o *PaymentService) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentService) SetDisplayName ¶ added in v0.2.1

func (o *PaymentService) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PaymentService) SetFields ¶ added in v0.17.0

func (o *PaymentService) SetFields(v []GiftCardServiceFields)

SetFields gets a reference to the given []GiftCardServiceFields and assigns it to the Fields field.

func (*PaymentService) SetId ¶ added in v0.2.1

func (o *PaymentService) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentService) SetMerchantAccountId ¶ added in v0.27.0

func (o *PaymentService) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*PaymentService) SetMerchantProfile ¶ added in v0.22.0

func (o *PaymentService) SetMerchantProfile(v MerchantProfile)

SetMerchantProfile gets a reference to the given NullableMerchantProfile and assigns it to the MerchantProfile field.

func (*PaymentService) SetMerchantProfileNil ¶ added in v0.22.0

func (o *PaymentService) SetMerchantProfileNil()

SetMerchantProfileNil sets the value for MerchantProfile to be an explicit nil

func (*PaymentService) SetMethod ¶ added in v0.2.1

func (o *PaymentService) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentService) SetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentService) SetNetworkTokensEnabled(v bool)

SetNetworkTokensEnabled gets a reference to the given bool and assigns it to the NetworkTokensEnabled field.

func (*PaymentService) SetOpenLoop ¶ added in v0.22.0

func (o *PaymentService) SetOpenLoop(v bool)

SetOpenLoop gets a reference to the given bool and assigns it to the OpenLoop field.

func (*PaymentService) SetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentService) SetPaymentMethodTokenizationEnabled(v bool)

SetPaymentMethodTokenizationEnabled gets a reference to the given bool and assigns it to the PaymentMethodTokenizationEnabled field.

func (*PaymentService) SetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentService) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentService) SetStatus ¶ added in v0.2.1

func (o *PaymentService) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentService) SetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentService) SetThreeDSecureEnabled(v bool)

SetThreeDSecureEnabled gets a reference to the given bool and assigns it to the ThreeDSecureEnabled field.

func (*PaymentService) SetType ¶ added in v0.2.1

func (o *PaymentService) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentService) SetUpdatedAt ¶ added in v0.2.1

func (o *PaymentService) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*PaymentService) SetWebhookUrl ¶ added in v0.14.0

func (o *PaymentService) SetWebhookUrl(v string)

SetWebhookUrl gets a reference to the given NullableString and assigns it to the WebhookUrl field.

func (*PaymentService) SetWebhookUrlNil ¶ added in v0.14.0

func (o *PaymentService) SetWebhookUrlNil()

SetWebhookUrlNil sets the value for WebhookUrl to be an explicit nil

func (*PaymentService) UnsetMerchantProfile ¶ added in v0.22.0

func (o *PaymentService) UnsetMerchantProfile()

UnsetMerchantProfile ensures that no value is present for MerchantProfile, not even an explicit nil

func (*PaymentService) UnsetWebhookUrl ¶ added in v0.14.0

func (o *PaymentService) UnsetWebhookUrl()

UnsetWebhookUrl ensures that no value is present for WebhookUrl, not even an explicit nil

type PaymentServiceDefinition ¶

type PaymentServiceDefinition struct {
	// The ID of the payment service. This is the underlying provider followed by a dash followed by the payment method ID.
	Id *string `json:"id,omitempty"`
	// `payment-service-definition`.
	Type *string `json:"type,omitempty"`
	// The display name of this service.
	DisplayName *string `json:"display_name,omitempty"`
	// The ID of the payment method that this services handles.
	Method *string `json:"method,omitempty"`
	// A list of fields that need to be submitted when activating the payment. service.
	Fields *[]GiftCardServiceDefinitionFields `json:"fields,omitempty"`
	// A list of three-letter ISO currency codes that this service supports.
	SupportedCurrencies *[]string `json:"supported_currencies,omitempty"`
	// A list of two-letter ISO country codes that this service supports.
	SupportedCountries *[]string `json:"supported_countries,omitempty"`
	// The mode of this payment service.
	Mode              *string                                    `json:"mode,omitempty"`
	SupportedFeatures *PaymentServiceDefinitionSupportedFeatures `json:"supported_features,omitempty"`
	// An icon to display for the payment service.
	IconUrl       NullableString                         `json:"icon_url,omitempty"`
	Configuration *PaymentServiceDefinitionConfiguration `json:"configuration,omitempty"`
}

PaymentServiceDefinition An available payment service that can be configured.

func NewPaymentServiceDefinition ¶ added in v0.2.1

func NewPaymentServiceDefinition() *PaymentServiceDefinition

NewPaymentServiceDefinition instantiates a new PaymentServiceDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceDefinitionWithDefaults ¶ added in v0.2.1

func NewPaymentServiceDefinitionWithDefaults() *PaymentServiceDefinition

NewPaymentServiceDefinitionWithDefaults instantiates a new PaymentServiceDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceDefinition) GetConfiguration ¶ added in v0.19.0

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetConfigurationOk ¶ added in v0.19.0

GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetDisplayNameOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetFields ¶ added in v0.2.1

GetFields returns the Fields field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetFieldsOk ¶ added in v0.2.1

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetIconUrl ¶ added in v0.3.0

func (o *PaymentServiceDefinition) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceDefinition) GetIconUrlOk ¶ added in v0.3.0

func (o *PaymentServiceDefinition) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceDefinition) GetId ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetIdOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetMethod ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetMethodOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetMode ¶ added in v0.7.0

func (o *PaymentServiceDefinition) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetModeOk ¶ added in v0.7.0

func (o *PaymentServiceDefinition) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetSupportedCountries ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetSupportedCountries() []string

GetSupportedCountries returns the SupportedCountries field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetSupportedCountriesOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetSupportedCountriesOk() (*[]string, bool)

GetSupportedCountriesOk returns a tuple with the SupportedCountries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetSupportedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetSupportedCurrencies() []string

GetSupportedCurrencies returns the SupportedCurrencies field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetSupportedCurrenciesOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetSupportedCurrenciesOk() (*[]string, bool)

GetSupportedCurrenciesOk returns a tuple with the SupportedCurrencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetSupportedFeatures ¶ added in v0.3.0

GetSupportedFeatures returns the SupportedFeatures field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetSupportedFeaturesOk ¶ added in v0.3.0

GetSupportedFeaturesOk returns a tuple with the SupportedFeatures field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) GetType ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentServiceDefinition) GetTypeOk ¶ added in v0.2.1

func (o *PaymentServiceDefinition) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinition) HasConfiguration ¶ added in v0.19.0

func (o *PaymentServiceDefinition) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasDisplayName ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasFields ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasIconUrl ¶ added in v0.3.0

func (o *PaymentServiceDefinition) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasId ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasMethod ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasMode ¶ added in v0.7.0

func (o *PaymentServiceDefinition) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasSupportedCountries ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasSupportedCountries() bool

HasSupportedCountries returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasSupportedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasSupportedCurrencies() bool

HasSupportedCurrencies returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasSupportedFeatures ¶ added in v0.3.0

func (o *PaymentServiceDefinition) HasSupportedFeatures() bool

HasSupportedFeatures returns a boolean if a field has been set.

func (*PaymentServiceDefinition) HasType ¶ added in v0.2.1

func (o *PaymentServiceDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (PaymentServiceDefinition) MarshalJSON ¶ added in v0.2.1

func (o PaymentServiceDefinition) MarshalJSON() ([]byte, error)

func (*PaymentServiceDefinition) SetConfiguration ¶ added in v0.19.0

SetConfiguration gets a reference to the given PaymentServiceDefinitionConfiguration and assigns it to the Configuration field.

func (*PaymentServiceDefinition) SetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PaymentServiceDefinition) SetFields ¶ added in v0.2.1

SetFields gets a reference to the given []GiftCardServiceDefinitionFields and assigns it to the Fields field.

func (*PaymentServiceDefinition) SetIconUrl ¶ added in v0.3.0

func (o *PaymentServiceDefinition) SetIconUrl(v string)

SetIconUrl gets a reference to the given NullableString and assigns it to the IconUrl field.

func (*PaymentServiceDefinition) SetIconUrlNil ¶ added in v0.3.0

func (o *PaymentServiceDefinition) SetIconUrlNil()

SetIconUrlNil sets the value for IconUrl to be an explicit nil

func (*PaymentServiceDefinition) SetId ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentServiceDefinition) SetMethod ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentServiceDefinition) SetMode ¶ added in v0.7.0

func (o *PaymentServiceDefinition) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*PaymentServiceDefinition) SetSupportedCountries ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetSupportedCountries(v []string)

SetSupportedCountries gets a reference to the given []string and assigns it to the SupportedCountries field.

func (*PaymentServiceDefinition) SetSupportedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetSupportedCurrencies(v []string)

SetSupportedCurrencies gets a reference to the given []string and assigns it to the SupportedCurrencies field.

func (*PaymentServiceDefinition) SetSupportedFeatures ¶ added in v0.3.0

SetSupportedFeatures gets a reference to the given PaymentServiceDefinitionSupportedFeatures and assigns it to the SupportedFeatures field.

func (*PaymentServiceDefinition) SetType ¶ added in v0.2.1

func (o *PaymentServiceDefinition) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentServiceDefinition) UnsetIconUrl ¶ added in v0.3.0

func (o *PaymentServiceDefinition) UnsetIconUrl()

UnsetIconUrl ensures that no value is present for IconUrl, not even an explicit nil

type PaymentServiceDefinitionConfiguration ¶ added in v0.19.0

type PaymentServiceDefinitionConfiguration struct {
	// Height of the approval interface in either pixels or view height (vh).
	ApprovalUiHeight *string `json:"approval_ui_height,omitempty"`
	// Width of the approval interface in either pixels or view width (vw).
	ApprovalUiWidth *string `json:"approval_ui_width,omitempty"`
	// The browser target that an approval URL must be opened in. If `any` or `null`, then there is no specific requirement.
	ApprovalUiTarget NullableString `json:"approval_ui_target,omitempty"`
}

PaymentServiceDefinitionConfiguration Configuration items for the payment service.

func NewPaymentServiceDefinitionConfiguration ¶ added in v0.19.0

func NewPaymentServiceDefinitionConfiguration() *PaymentServiceDefinitionConfiguration

NewPaymentServiceDefinitionConfiguration instantiates a new PaymentServiceDefinitionConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceDefinitionConfigurationWithDefaults ¶ added in v0.19.0

func NewPaymentServiceDefinitionConfigurationWithDefaults() *PaymentServiceDefinitionConfiguration

NewPaymentServiceDefinitionConfigurationWithDefaults instantiates a new PaymentServiceDefinitionConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiHeight ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiHeight() string

GetApprovalUiHeight returns the ApprovalUiHeight field value if set, zero value otherwise.

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiHeightOk ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiHeightOk() (*string, bool)

GetApprovalUiHeightOk returns a tuple with the ApprovalUiHeight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiTarget ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiTarget() string

GetApprovalUiTarget returns the ApprovalUiTarget field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiTargetOk ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiTargetOk() (*string, bool)

GetApprovalUiTargetOk returns a tuple with the ApprovalUiTarget field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiWidth ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiWidth() string

GetApprovalUiWidth returns the ApprovalUiWidth field value if set, zero value otherwise.

func (*PaymentServiceDefinitionConfiguration) GetApprovalUiWidthOk ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) GetApprovalUiWidthOk() (*string, bool)

GetApprovalUiWidthOk returns a tuple with the ApprovalUiWidth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionConfiguration) HasApprovalUiHeight ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) HasApprovalUiHeight() bool

HasApprovalUiHeight returns a boolean if a field has been set.

func (*PaymentServiceDefinitionConfiguration) HasApprovalUiTarget ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) HasApprovalUiTarget() bool

HasApprovalUiTarget returns a boolean if a field has been set.

func (*PaymentServiceDefinitionConfiguration) HasApprovalUiWidth ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) HasApprovalUiWidth() bool

HasApprovalUiWidth returns a boolean if a field has been set.

func (PaymentServiceDefinitionConfiguration) MarshalJSON ¶ added in v0.19.0

func (o PaymentServiceDefinitionConfiguration) MarshalJSON() ([]byte, error)

func (*PaymentServiceDefinitionConfiguration) SetApprovalUiHeight ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) SetApprovalUiHeight(v string)

SetApprovalUiHeight gets a reference to the given string and assigns it to the ApprovalUiHeight field.

func (*PaymentServiceDefinitionConfiguration) SetApprovalUiTarget ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) SetApprovalUiTarget(v string)

SetApprovalUiTarget gets a reference to the given NullableString and assigns it to the ApprovalUiTarget field.

func (*PaymentServiceDefinitionConfiguration) SetApprovalUiTargetNil ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) SetApprovalUiTargetNil()

SetApprovalUiTargetNil sets the value for ApprovalUiTarget to be an explicit nil

func (*PaymentServiceDefinitionConfiguration) SetApprovalUiWidth ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) SetApprovalUiWidth(v string)

SetApprovalUiWidth gets a reference to the given string and assigns it to the ApprovalUiWidth field.

func (*PaymentServiceDefinitionConfiguration) UnsetApprovalUiTarget ¶ added in v0.19.0

func (o *PaymentServiceDefinitionConfiguration) UnsetApprovalUiTarget()

UnsetApprovalUiTarget ensures that no value is present for ApprovalUiTarget, not even an explicit nil

type PaymentServiceDefinitionSupportedFeatures ¶ added in v0.3.0

type PaymentServiceDefinitionSupportedFeatures struct {
	// Supports [capturing](#operation/capture-transaction) authorized transactions.
	DelayedCapture *bool `json:"delayed_capture,omitempty"`
	// Supports passing decrypted digital wallet (e.g. Apple Pay) tokens to the underlying processor.
	DigitalWallets *bool `json:"digital_wallets,omitempty"`
	// Supports processing network tokens by default.
	NetworkTokensDefault *bool `json:"network_tokens_default,omitempty"`
	// Supports toggling processing of network tokens on or off.
	NetworkTokensToggle *bool `json:"network_tokens_toggle,omitempty"`
	// Supports processing transactions with either raw PAN details or network tokens.
	OpenLoop *bool `json:"open_loop,omitempty"`
	// Supports toggling processing as open-loop on or off.
	OpenLoopToggle *bool `json:"open_loop_toggle,omitempty"`
	// Supports [partially refunding](#operation/refund-transaction) captured transactions.
	PartialRefunds *bool `json:"partial_refunds,omitempty"`
	// Supports storing a payment method via tokenization.
	PaymentMethodTokenization *bool `json:"payment_method_tokenization,omitempty"`
	// Supports toggling tokenization for a payment method on or off from the dashboard.
	PaymentMethodTokenizationToggle *bool `json:"payment_method_tokenization_toggle,omitempty"`
	// Supports [refunding](#operation/refund-transaction) captured transactions.
	Refunds *bool `json:"refunds,omitempty"`
	// Requires merchant to set up `webhook_url` manually with provider.
	RequiresWebhookSetup *bool `json:"requires_webhook_setup,omitempty"`
	// Supports hosted 3-D Secure with a redirect.
	ThreeDSecureHosted *bool `json:"three_d_secure_hosted,omitempty"`
	// Supports passing 3-D Secure data to the underlying processor.
	ThreeDSecurePassThrough *bool `json:"three_d_secure_pass_through,omitempty"`
	// Supports verifying the credentials entered while setting up the underlying processor. This is for internal use only.
	VerifyCredentials *bool `json:"verify_credentials,omitempty"`
	// Supports [voiding](#operation/void-transaction) authorized transactions.
	Void *bool `json:"void,omitempty"`
}

PaymentServiceDefinitionSupportedFeatures Features supported by the payment definition.

func NewPaymentServiceDefinitionSupportedFeatures ¶ added in v0.3.0

func NewPaymentServiceDefinitionSupportedFeatures() *PaymentServiceDefinitionSupportedFeatures

NewPaymentServiceDefinitionSupportedFeatures instantiates a new PaymentServiceDefinitionSupportedFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceDefinitionSupportedFeaturesWithDefaults ¶ added in v0.3.0

func NewPaymentServiceDefinitionSupportedFeaturesWithDefaults() *PaymentServiceDefinitionSupportedFeatures

NewPaymentServiceDefinitionSupportedFeaturesWithDefaults instantiates a new PaymentServiceDefinitionSupportedFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceDefinitionSupportedFeatures) GetDelayedCapture ¶ added in v0.19.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetDelayedCapture() bool

GetDelayedCapture returns the DelayedCapture field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetDelayedCaptureOk ¶ added in v0.19.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetDelayedCaptureOk() (*bool, bool)

GetDelayedCaptureOk returns a tuple with the DelayedCapture field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetDigitalWallets ¶ added in v0.31.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetDigitalWallets() bool

GetDigitalWallets returns the DigitalWallets field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetDigitalWalletsOk ¶ added in v0.31.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetDigitalWalletsOk() (*bool, bool)

GetDigitalWalletsOk returns a tuple with the DigitalWallets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensDefault ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensDefault() bool

GetNetworkTokensDefault returns the NetworkTokensDefault field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensDefaultOk ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensDefaultOk() (*bool, bool)

GetNetworkTokensDefaultOk returns a tuple with the NetworkTokensDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensToggle() bool

GetNetworkTokensToggle returns the NetworkTokensToggle field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensToggleOk ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetNetworkTokensToggleOk() (*bool, bool)

GetNetworkTokensToggleOk returns a tuple with the NetworkTokensToggle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetOpenLoop ¶ added in v0.22.0

GetOpenLoop returns the OpenLoop field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetOpenLoopOk ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetOpenLoopOk() (*bool, bool)

GetOpenLoopOk returns a tuple with the OpenLoop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetOpenLoopToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetOpenLoopToggle() bool

GetOpenLoopToggle returns the OpenLoopToggle field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetOpenLoopToggleOk ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetOpenLoopToggleOk() (*bool, bool)

GetOpenLoopToggleOk returns a tuple with the OpenLoopToggle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetPartialRefunds ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPartialRefunds() bool

GetPartialRefunds returns the PartialRefunds field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetPartialRefundsOk ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPartialRefundsOk() (*bool, bool)

GetPartialRefundsOk returns a tuple with the PartialRefunds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenization ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenization() bool

GetPaymentMethodTokenization returns the PaymentMethodTokenization field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationOk ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationOk() (*bool, bool)

GetPaymentMethodTokenizationOk returns a tuple with the PaymentMethodTokenization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationToggle ¶ added in v0.17.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationToggle() bool

GetPaymentMethodTokenizationToggle returns the PaymentMethodTokenizationToggle field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationToggleOk ¶ added in v0.17.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetPaymentMethodTokenizationToggleOk() (*bool, bool)

GetPaymentMethodTokenizationToggleOk returns a tuple with the PaymentMethodTokenizationToggle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetRefunds ¶ added in v0.16.0

GetRefunds returns the Refunds field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetRefundsOk ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetRefundsOk() (*bool, bool)

GetRefundsOk returns a tuple with the Refunds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetRequiresWebhookSetup ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetRequiresWebhookSetup() bool

GetRequiresWebhookSetup returns the RequiresWebhookSetup field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetRequiresWebhookSetupOk ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetRequiresWebhookSetupOk() (*bool, bool)

GetRequiresWebhookSetupOk returns a tuple with the RequiresWebhookSetup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetThreeDSecureHosted ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetThreeDSecureHosted() bool

GetThreeDSecureHosted returns the ThreeDSecureHosted field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetThreeDSecureHostedOk ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetThreeDSecureHostedOk() (*bool, bool)

GetThreeDSecureHostedOk returns a tuple with the ThreeDSecureHosted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetThreeDSecurePassThrough ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetThreeDSecurePassThrough() bool

GetThreeDSecurePassThrough returns the ThreeDSecurePassThrough field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetThreeDSecurePassThroughOk ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetThreeDSecurePassThroughOk() (*bool, bool)

GetThreeDSecurePassThroughOk returns a tuple with the ThreeDSecurePassThrough field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetVerifyCredentials ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetVerifyCredentials() bool

GetVerifyCredentials returns the VerifyCredentials field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetVerifyCredentialsOk ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) GetVerifyCredentialsOk() (*bool, bool)

GetVerifyCredentialsOk returns a tuple with the VerifyCredentials field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) GetVoid ¶ added in v0.16.0

GetVoid returns the Void field value if set, zero value otherwise.

func (*PaymentServiceDefinitionSupportedFeatures) GetVoidOk ¶ added in v0.16.0

GetVoidOk returns a tuple with the Void field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasDelayedCapture ¶ added in v0.19.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasDelayedCapture() bool

HasDelayedCapture returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasDigitalWallets ¶ added in v0.31.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasDigitalWallets() bool

HasDigitalWallets returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasNetworkTokensDefault ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasNetworkTokensDefault() bool

HasNetworkTokensDefault returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasNetworkTokensToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasNetworkTokensToggle() bool

HasNetworkTokensToggle returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasOpenLoop ¶ added in v0.22.0

HasOpenLoop returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasOpenLoopToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasOpenLoopToggle() bool

HasOpenLoopToggle returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasPartialRefunds ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasPartialRefunds() bool

HasPartialRefunds returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasPaymentMethodTokenization ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasPaymentMethodTokenization() bool

HasPaymentMethodTokenization returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasPaymentMethodTokenizationToggle ¶ added in v0.17.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasPaymentMethodTokenizationToggle() bool

HasPaymentMethodTokenizationToggle returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasRefunds ¶ added in v0.16.0

HasRefunds returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasRequiresWebhookSetup ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasRequiresWebhookSetup() bool

HasRequiresWebhookSetup returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasThreeDSecureHosted ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasThreeDSecureHosted() bool

HasThreeDSecureHosted returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasThreeDSecurePassThrough ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasThreeDSecurePassThrough() bool

HasThreeDSecurePassThrough returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasVerifyCredentials ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) HasVerifyCredentials() bool

HasVerifyCredentials returns a boolean if a field has been set.

func (*PaymentServiceDefinitionSupportedFeatures) HasVoid ¶ added in v0.16.0

HasVoid returns a boolean if a field has been set.

func (PaymentServiceDefinitionSupportedFeatures) MarshalJSON ¶ added in v0.3.0

func (*PaymentServiceDefinitionSupportedFeatures) SetDelayedCapture ¶ added in v0.19.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetDelayedCapture(v bool)

SetDelayedCapture gets a reference to the given bool and assigns it to the DelayedCapture field.

func (*PaymentServiceDefinitionSupportedFeatures) SetDigitalWallets ¶ added in v0.31.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetDigitalWallets(v bool)

SetDigitalWallets gets a reference to the given bool and assigns it to the DigitalWallets field.

func (*PaymentServiceDefinitionSupportedFeatures) SetNetworkTokensDefault ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetNetworkTokensDefault(v bool)

SetNetworkTokensDefault gets a reference to the given bool and assigns it to the NetworkTokensDefault field.

func (*PaymentServiceDefinitionSupportedFeatures) SetNetworkTokensToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetNetworkTokensToggle(v bool)

SetNetworkTokensToggle gets a reference to the given bool and assigns it to the NetworkTokensToggle field.

func (*PaymentServiceDefinitionSupportedFeatures) SetOpenLoop ¶ added in v0.22.0

SetOpenLoop gets a reference to the given bool and assigns it to the OpenLoop field.

func (*PaymentServiceDefinitionSupportedFeatures) SetOpenLoopToggle ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetOpenLoopToggle(v bool)

SetOpenLoopToggle gets a reference to the given bool and assigns it to the OpenLoopToggle field.

func (*PaymentServiceDefinitionSupportedFeatures) SetPartialRefunds ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetPartialRefunds(v bool)

SetPartialRefunds gets a reference to the given bool and assigns it to the PartialRefunds field.

func (*PaymentServiceDefinitionSupportedFeatures) SetPaymentMethodTokenization ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetPaymentMethodTokenization(v bool)

SetPaymentMethodTokenization gets a reference to the given bool and assigns it to the PaymentMethodTokenization field.

func (*PaymentServiceDefinitionSupportedFeatures) SetPaymentMethodTokenizationToggle ¶ added in v0.17.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetPaymentMethodTokenizationToggle(v bool)

SetPaymentMethodTokenizationToggle gets a reference to the given bool and assigns it to the PaymentMethodTokenizationToggle field.

func (*PaymentServiceDefinitionSupportedFeatures) SetRefunds ¶ added in v0.16.0

SetRefunds gets a reference to the given bool and assigns it to the Refunds field.

func (*PaymentServiceDefinitionSupportedFeatures) SetRequiresWebhookSetup ¶ added in v0.22.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetRequiresWebhookSetup(v bool)

SetRequiresWebhookSetup gets a reference to the given bool and assigns it to the RequiresWebhookSetup field.

func (*PaymentServiceDefinitionSupportedFeatures) SetThreeDSecureHosted ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetThreeDSecureHosted(v bool)

SetThreeDSecureHosted gets a reference to the given bool and assigns it to the ThreeDSecureHosted field.

func (*PaymentServiceDefinitionSupportedFeatures) SetThreeDSecurePassThrough ¶ added in v0.3.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetThreeDSecurePassThrough(v bool)

SetThreeDSecurePassThrough gets a reference to the given bool and assigns it to the ThreeDSecurePassThrough field.

func (*PaymentServiceDefinitionSupportedFeatures) SetVerifyCredentials ¶ added in v0.16.0

func (o *PaymentServiceDefinitionSupportedFeatures) SetVerifyCredentials(v bool)

SetVerifyCredentials gets a reference to the given bool and assigns it to the VerifyCredentials field.

func (*PaymentServiceDefinitionSupportedFeatures) SetVoid ¶ added in v0.16.0

SetVoid gets a reference to the given bool and assigns it to the Void field.

type PaymentServiceDefinitions ¶

type PaymentServiceDefinitions struct {
	Items *[]PaymentServiceDefinition `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

PaymentServiceDefinitions A list of available payment services definitions.

func NewPaymentServiceDefinitions ¶ added in v0.2.1

func NewPaymentServiceDefinitions() *PaymentServiceDefinitions

NewPaymentServiceDefinitions instantiates a new PaymentServiceDefinitions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceDefinitionsWithDefaults ¶ added in v0.2.1

func NewPaymentServiceDefinitionsWithDefaults() *PaymentServiceDefinitions

NewPaymentServiceDefinitionsWithDefaults instantiates a new PaymentServiceDefinitions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceDefinitions) GetItems ¶ added in v0.2.1

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentServiceDefinitions) GetItemsOk ¶ added in v0.2.1

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitions) GetLimit ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PaymentServiceDefinitions) GetLimitOk ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceDefinitions) GetNextCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceDefinitions) GetNextCursorOk ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceDefinitions) GetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceDefinitions) GetPreviousCursorOk ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceDefinitions) HasItems ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentServiceDefinitions) HasLimit ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PaymentServiceDefinitions) HasNextCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*PaymentServiceDefinitions) HasPreviousCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (PaymentServiceDefinitions) MarshalJSON ¶ added in v0.2.1

func (o PaymentServiceDefinitions) MarshalJSON() ([]byte, error)

func (*PaymentServiceDefinitions) SetItems ¶ added in v0.2.1

SetItems gets a reference to the given []PaymentServiceDefinition and assigns it to the Items field.

func (*PaymentServiceDefinitions) SetLimit ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*PaymentServiceDefinitions) SetNextCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*PaymentServiceDefinitions) SetNextCursorNil ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*PaymentServiceDefinitions) SetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*PaymentServiceDefinitions) SetPreviousCursorNil ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*PaymentServiceDefinitions) UnsetNextCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*PaymentServiceDefinitions) UnsetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServiceDefinitions) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type PaymentServiceDefinitionsApiService ¶ added in v0.2.1

type PaymentServiceDefinitionsApiService service

PaymentServiceDefinitionsApiService PaymentServiceDefinitionsApi service

func (*PaymentServiceDefinitionsApiService) GetPaymentServiceDefinition ¶ added in v0.2.1

func (a *PaymentServiceDefinitionsApiService) GetPaymentServiceDefinition(ctx _context.Context, paymentServiceDefinitionId string) ApiGetPaymentServiceDefinitionRequest

* GetPaymentServiceDefinition Get payment service definition * Gets the definition for a payment service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentServiceDefinitionId The unique ID of the payment service definition. * @return ApiGetPaymentServiceDefinitionRequest

func (*PaymentServiceDefinitionsApiService) GetPaymentServiceDefinitionExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentServiceDefinition

func (*PaymentServiceDefinitionsApiService) ListPaymentServiceDefinitions ¶ added in v0.2.1

* ListPaymentServiceDefinitions List payment service definitions * Returns a list of all available payment service definitions. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListPaymentServiceDefinitionsRequest

func (*PaymentServiceDefinitionsApiService) ListPaymentServiceDefinitionsExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentServiceDefinitions

type PaymentServiceRequest ¶

type PaymentServiceRequest struct {
	// The ID of the payment service to use.
	PaymentServiceDefinitionId string `json:"payment_service_definition_id"`
	// A custom name for the payment service. This will be shown in the Admin UI.
	DisplayName string `json:"display_name"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this payment service e.g. for stripe-card `secret_key` is required and so must be sent within this field.
	Fields []PaymentServiceRequestFields `json:"fields"`
	// A list of countries that this payment service needs to support in ISO two-letter code format.
	AcceptedCountries []string `json:"accepted_countries"`
	// A list of currencies that this payment service needs to support in ISO 4217 three-letter code format.
	AcceptedCurrencies []string `json:"accepted_currencies"`
	// Defines if 3-D Secure is enabled for the service (can only be enabled if the payment service definition supports the `three_d_secure_hosted` feature). This does not affect pass through 3-D Secure data.
	ThreeDSecureEnabled *bool `json:"three_d_secure_enabled,omitempty"`
	// Configuration for each supported card scheme.
	MerchantProfile NullableMerchantProfile `json:"merchant_profile,omitempty"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
	// Defines if the service works as an open-loop service. This feature can only be enabled if the PSP is set up to accept previous scheme transaction IDs.  If this value is not provided or is set to `null`, it will be set to the value of `open_loop` in the payment service definition.  If `open_loop_toggle` is `false` in the payment service definition, `open_loop` should either not be provided or set to `null`, or it will fail with a validation error.
	OpenLoop NullableBool `json:"open_loop,omitempty"`
	// Defines if tokenization is enabled for the service. This feature can only be enabled if the payment service is NOT set as `open_loop` and the PSP is set up to tokenize.
	PaymentMethodTokenizationEnabled *bool `json:"payment_method_tokenization_enabled,omitempty"`
	// Defines if network tokens are enabled for the service. This feature can only be enabled if the payment service is set as `open_loop` and the PSP is set up to accept network tokens.  If this value is not provided or is set to `null`, it will be set to the value of `network_tokens_default` in the payment service definition.  If `network_tokens_toggle` is `false` in the payment service definition, `network_tokens_enabled` should either not be provided or set to `null`, or it will fail with a validation error.
	NetworkTokensEnabled NullableBool `json:"network_tokens_enabled,omitempty"`
}

PaymentServiceRequest Request body for activating a payment service.

func NewPaymentServiceRequest ¶ added in v0.2.1

func NewPaymentServiceRequest(paymentServiceDefinitionId string, displayName string, fields []PaymentServiceRequestFields, acceptedCountries []string, acceptedCurrencies []string) *PaymentServiceRequest

NewPaymentServiceRequest instantiates a new PaymentServiceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceRequestWithDefaults ¶ added in v0.2.1

func NewPaymentServiceRequestWithDefaults() *PaymentServiceRequest

NewPaymentServiceRequestWithDefaults instantiates a new PaymentServiceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceRequest) GetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetAcceptedCountries() []string

GetAcceptedCountries returns the AcceptedCountries field value

func (*PaymentServiceRequest) GetAcceptedCountriesOk ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetAcceptedCountriesOk() (*[]string, bool)

GetAcceptedCountriesOk returns a tuple with the AcceptedCountries field value and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetAcceptedCurrencies() []string

GetAcceptedCurrencies returns the AcceptedCurrencies field value

func (*PaymentServiceRequest) GetAcceptedCurrenciesOk ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetAcceptedCurrenciesOk() (*[]string, bool)

GetAcceptedCurrenciesOk returns a tuple with the AcceptedCurrencies field value and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetActive ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PaymentServiceRequest) GetActiveOk ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*PaymentServiceRequest) GetDisplayNameOk ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetFields ¶ added in v0.2.1

GetFields returns the Fields field value

func (*PaymentServiceRequest) GetFieldsOk ¶ added in v0.2.1

GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetMerchantProfile() MerchantProfile

GetMerchantProfile returns the MerchantProfile field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceRequest) GetMerchantProfileOk ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetMerchantProfileOk() (*MerchantProfile, bool)

GetMerchantProfileOk returns a tuple with the MerchantProfile field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceRequest) GetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetNetworkTokensEnabled() bool

GetNetworkTokensEnabled returns the NetworkTokensEnabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceRequest) GetNetworkTokensEnabledOk ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetNetworkTokensEnabledOk() (*bool, bool)

GetNetworkTokensEnabledOk returns a tuple with the NetworkTokensEnabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceRequest) GetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetOpenLoop() bool

GetOpenLoop returns the OpenLoop field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceRequest) GetOpenLoopOk ¶ added in v0.22.0

func (o *PaymentServiceRequest) GetOpenLoopOk() (*bool, bool)

GetOpenLoopOk returns a tuple with the OpenLoop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceRequest) GetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceRequest) GetPaymentMethodTokenizationEnabled() bool

GetPaymentMethodTokenizationEnabled returns the PaymentMethodTokenizationEnabled field value if set, zero value otherwise.

func (*PaymentServiceRequest) GetPaymentMethodTokenizationEnabledOk ¶ added in v0.17.0

func (o *PaymentServiceRequest) GetPaymentMethodTokenizationEnabledOk() (*bool, bool)

GetPaymentMethodTokenizationEnabledOk returns a tuple with the PaymentMethodTokenizationEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value

func (*PaymentServiceRequest) GetPaymentServiceDefinitionIdOk ¶ added in v0.2.1

func (o *PaymentServiceRequest) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value and a boolean to check if the value has been set.

func (*PaymentServiceRequest) GetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceRequest) GetThreeDSecureEnabled() bool

GetThreeDSecureEnabled returns the ThreeDSecureEnabled field value if set, zero value otherwise.

func (*PaymentServiceRequest) GetThreeDSecureEnabledOk ¶ added in v0.3.0

func (o *PaymentServiceRequest) GetThreeDSecureEnabledOk() (*bool, bool)

GetThreeDSecureEnabledOk returns a tuple with the ThreeDSecureEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceRequest) HasActive ¶ added in v0.2.1

func (o *PaymentServiceRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PaymentServiceRequest) HasMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceRequest) HasMerchantProfile() bool

HasMerchantProfile returns a boolean if a field has been set.

func (*PaymentServiceRequest) HasNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceRequest) HasNetworkTokensEnabled() bool

HasNetworkTokensEnabled returns a boolean if a field has been set.

func (*PaymentServiceRequest) HasOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceRequest) HasOpenLoop() bool

HasOpenLoop returns a boolean if a field has been set.

func (*PaymentServiceRequest) HasPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceRequest) HasPaymentMethodTokenizationEnabled() bool

HasPaymentMethodTokenizationEnabled returns a boolean if a field has been set.

func (*PaymentServiceRequest) HasThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceRequest) HasThreeDSecureEnabled() bool

HasThreeDSecureEnabled returns a boolean if a field has been set.

func (PaymentServiceRequest) MarshalJSON ¶ added in v0.2.1

func (o PaymentServiceRequest) MarshalJSON() ([]byte, error)

func (*PaymentServiceRequest) SetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentServiceRequest) SetAcceptedCountries(v []string)

SetAcceptedCountries sets field value

func (*PaymentServiceRequest) SetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceRequest) SetAcceptedCurrencies(v []string)

SetAcceptedCurrencies sets field value

func (*PaymentServiceRequest) SetActive ¶ added in v0.2.1

func (o *PaymentServiceRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PaymentServiceRequest) SetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceRequest) SetDisplayName(v string)

SetDisplayName sets field value

func (*PaymentServiceRequest) SetFields ¶ added in v0.2.1

SetFields sets field value

func (*PaymentServiceRequest) SetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetMerchantProfile(v MerchantProfile)

SetMerchantProfile gets a reference to the given NullableMerchantProfile and assigns it to the MerchantProfile field.

func (*PaymentServiceRequest) SetMerchantProfileNil ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetMerchantProfileNil()

SetMerchantProfileNil sets the value for MerchantProfile to be an explicit nil

func (*PaymentServiceRequest) SetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetNetworkTokensEnabled(v bool)

SetNetworkTokensEnabled gets a reference to the given NullableBool and assigns it to the NetworkTokensEnabled field.

func (*PaymentServiceRequest) SetNetworkTokensEnabledNil ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetNetworkTokensEnabledNil()

SetNetworkTokensEnabledNil sets the value for NetworkTokensEnabled to be an explicit nil

func (*PaymentServiceRequest) SetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetOpenLoop(v bool)

SetOpenLoop gets a reference to the given NullableBool and assigns it to the OpenLoop field.

func (*PaymentServiceRequest) SetOpenLoopNil ¶ added in v0.22.0

func (o *PaymentServiceRequest) SetOpenLoopNil()

SetOpenLoopNil sets the value for OpenLoop to be an explicit nil

func (*PaymentServiceRequest) SetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceRequest) SetPaymentMethodTokenizationEnabled(v bool)

SetPaymentMethodTokenizationEnabled gets a reference to the given bool and assigns it to the PaymentMethodTokenizationEnabled field.

func (*PaymentServiceRequest) SetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentServiceRequest) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId sets field value

func (*PaymentServiceRequest) SetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceRequest) SetThreeDSecureEnabled(v bool)

SetThreeDSecureEnabled gets a reference to the given bool and assigns it to the ThreeDSecureEnabled field.

func (*PaymentServiceRequest) UnsetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceRequest) UnsetMerchantProfile()

UnsetMerchantProfile ensures that no value is present for MerchantProfile, not even an explicit nil

func (*PaymentServiceRequest) UnsetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceRequest) UnsetNetworkTokensEnabled()

UnsetNetworkTokensEnabled ensures that no value is present for NetworkTokensEnabled, not even an explicit nil

func (*PaymentServiceRequest) UnsetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceRequest) UnsetOpenLoop()

UnsetOpenLoop ensures that no value is present for OpenLoop, not even an explicit nil

type PaymentServiceRequestFields ¶ added in v0.22.0

type PaymentServiceRequestFields struct {
	// The key of the field to set a value for.
	Key string `json:"key"`
	// The value of a field to set; you can unset optional fields by setting this to an empty string `\"\"`.
	Value string `json:"value"`
}

PaymentServiceRequestFields A key-value pair that represents a field defined in the definition for this payment service.

func NewPaymentServiceRequestFields ¶ added in v0.22.0

func NewPaymentServiceRequestFields(key string, value string) *PaymentServiceRequestFields

NewPaymentServiceRequestFields instantiates a new PaymentServiceRequestFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceRequestFieldsWithDefaults ¶ added in v0.22.0

func NewPaymentServiceRequestFieldsWithDefaults() *PaymentServiceRequestFields

NewPaymentServiceRequestFieldsWithDefaults instantiates a new PaymentServiceRequestFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceRequestFields) GetKey ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) GetKey() string

GetKey returns the Key field value

func (*PaymentServiceRequestFields) GetKeyOk ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*PaymentServiceRequestFields) GetValue ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) GetValue() string

GetValue returns the Value field value

func (*PaymentServiceRequestFields) GetValueOk ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (PaymentServiceRequestFields) MarshalJSON ¶ added in v0.22.0

func (o PaymentServiceRequestFields) MarshalJSON() ([]byte, error)

func (*PaymentServiceRequestFields) SetKey ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) SetKey(v string)

SetKey sets field value

func (*PaymentServiceRequestFields) SetValue ¶ added in v0.22.0

func (o *PaymentServiceRequestFields) SetValue(v string)

SetValue sets field value

type PaymentServiceSnapshot ¶ added in v0.2.1

type PaymentServiceSnapshot struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The ID of this payment service.
	Id *string `json:"id,omitempty"`
	// The custom name set for this service.
	DisplayName *string `json:"display_name,omitempty"`
	// The payment method that this services handles.
	Method *string `json:"method,omitempty"`
	// The ID of the payment service definition used to create this service.
	PaymentServiceDefinitionId *string `json:"payment_service_definition_id,omitempty"`
}

PaymentServiceSnapshot An active, configured payment service.

func NewPaymentServiceSnapshot ¶ added in v0.2.1

func NewPaymentServiceSnapshot() *PaymentServiceSnapshot

NewPaymentServiceSnapshot instantiates a new PaymentServiceSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceSnapshotWithDefaults ¶ added in v0.2.1

func NewPaymentServiceSnapshotWithDefaults() *PaymentServiceSnapshot

NewPaymentServiceSnapshotWithDefaults instantiates a new PaymentServiceSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceSnapshot) GetDisplayName ¶ added in v0.16.0

func (o *PaymentServiceSnapshot) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PaymentServiceSnapshot) GetDisplayNameOk ¶ added in v0.16.0

func (o *PaymentServiceSnapshot) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceSnapshot) GetId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentServiceSnapshot) GetIdOk ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceSnapshot) GetMethod ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentServiceSnapshot) GetMethodOk ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceSnapshot) GetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetPaymentServiceDefinitionId() string

GetPaymentServiceDefinitionId returns the PaymentServiceDefinitionId field value if set, zero value otherwise.

func (*PaymentServiceSnapshot) GetPaymentServiceDefinitionIdOk ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetPaymentServiceDefinitionIdOk() (*string, bool)

GetPaymentServiceDefinitionIdOk returns a tuple with the PaymentServiceDefinitionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceSnapshot) GetType ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentServiceSnapshot) GetTypeOk ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceSnapshot) HasDisplayName ¶ added in v0.16.0

func (o *PaymentServiceSnapshot) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PaymentServiceSnapshot) HasId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentServiceSnapshot) HasMethod ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentServiceSnapshot) HasPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) HasPaymentServiceDefinitionId() bool

HasPaymentServiceDefinitionId returns a boolean if a field has been set.

func (*PaymentServiceSnapshot) HasType ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (PaymentServiceSnapshot) MarshalJSON ¶ added in v0.2.1

func (o PaymentServiceSnapshot) MarshalJSON() ([]byte, error)

func (*PaymentServiceSnapshot) SetDisplayName ¶ added in v0.16.0

func (o *PaymentServiceSnapshot) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PaymentServiceSnapshot) SetId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentServiceSnapshot) SetMethod ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentServiceSnapshot) SetPaymentServiceDefinitionId ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) SetPaymentServiceDefinitionId(v string)

SetPaymentServiceDefinitionId gets a reference to the given string and assigns it to the PaymentServiceDefinitionId field.

func (*PaymentServiceSnapshot) SetType ¶ added in v0.2.1

func (o *PaymentServiceSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type PaymentServiceToken ¶ added in v0.27.0

type PaymentServiceToken struct {
	// The type of this resource.
	Type *string `json:"type,omitempty"`
	// The unique ID of the token.
	Id *string `json:"id,omitempty"`
	// The unique ID of the payment method.
	PaymentMethodId *string `json:"payment_method_id,omitempty"`
	// The unique ID of the payment service.
	PaymentServiceId *string `json:"payment_service_id,omitempty"`
	// The state of the token.  - `processing` - The payment method is still being stored. - `buyer_approval_required` - Storing the payment method requires   the buyer to provide approval. Follow the `approval_url` for next steps. - `succeeded` - The payment method is approved and stored with all   relevant payment services. - `failed` - Storing the payment method did not succeed.
	Status *string `json:"status,omitempty"`
	// The optional URL that the buyer needs to be redirected to to further authorize their payment.
	ApprovalUrl NullableString `json:"approval_url,omitempty"`
	// The token value.
	Token *string `json:"token,omitempty"`
	// The date and time when this token was first created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this token was last updated in our system.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

PaymentServiceToken A payment service token.

func NewPaymentServiceToken ¶ added in v0.27.0

func NewPaymentServiceToken() *PaymentServiceToken

NewPaymentServiceToken instantiates a new PaymentServiceToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceTokenWithDefaults ¶ added in v0.27.0

func NewPaymentServiceTokenWithDefaults() *PaymentServiceToken

NewPaymentServiceTokenWithDefaults instantiates a new PaymentServiceToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceToken) GetApprovalUrl ¶ added in v0.27.0

func (o *PaymentServiceToken) GetApprovalUrl() string

GetApprovalUrl returns the ApprovalUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceToken) GetApprovalUrlOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetApprovalUrlOk() (*string, bool)

GetApprovalUrlOk returns a tuple with the ApprovalUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceToken) GetCreatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentServiceToken) GetCreatedAtOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetId ¶ added in v0.27.0

func (o *PaymentServiceToken) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentServiceToken) GetIdOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetPaymentMethodId ¶ added in v0.27.0

func (o *PaymentServiceToken) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*PaymentServiceToken) GetPaymentMethodIdOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetPaymentServiceId ¶ added in v0.27.0

func (o *PaymentServiceToken) GetPaymentServiceId() string

GetPaymentServiceId returns the PaymentServiceId field value if set, zero value otherwise.

func (*PaymentServiceToken) GetPaymentServiceIdOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetPaymentServiceIdOk() (*string, bool)

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetStatus ¶ added in v0.27.0

func (o *PaymentServiceToken) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentServiceToken) GetStatusOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetToken ¶ added in v0.27.0

func (o *PaymentServiceToken) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*PaymentServiceToken) GetTokenOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetType ¶ added in v0.31.0

func (o *PaymentServiceToken) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentServiceToken) GetTypeOk ¶ added in v0.31.0

func (o *PaymentServiceToken) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) GetUpdatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PaymentServiceToken) GetUpdatedAtOk ¶ added in v0.27.0

func (o *PaymentServiceToken) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceToken) HasApprovalUrl ¶ added in v0.27.0

func (o *PaymentServiceToken) HasApprovalUrl() bool

HasApprovalUrl returns a boolean if a field has been set.

func (*PaymentServiceToken) HasCreatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentServiceToken) HasId ¶ added in v0.27.0

func (o *PaymentServiceToken) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentServiceToken) HasPaymentMethodId ¶ added in v0.27.0

func (o *PaymentServiceToken) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*PaymentServiceToken) HasPaymentServiceId ¶ added in v0.27.0

func (o *PaymentServiceToken) HasPaymentServiceId() bool

HasPaymentServiceId returns a boolean if a field has been set.

func (*PaymentServiceToken) HasStatus ¶ added in v0.27.0

func (o *PaymentServiceToken) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PaymentServiceToken) HasToken ¶ added in v0.27.0

func (o *PaymentServiceToken) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*PaymentServiceToken) HasType ¶ added in v0.31.0

func (o *PaymentServiceToken) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentServiceToken) HasUpdatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (PaymentServiceToken) MarshalJSON ¶ added in v0.27.0

func (o PaymentServiceToken) MarshalJSON() ([]byte, error)

func (*PaymentServiceToken) SetApprovalUrl ¶ added in v0.27.0

func (o *PaymentServiceToken) SetApprovalUrl(v string)

SetApprovalUrl gets a reference to the given NullableString and assigns it to the ApprovalUrl field.

func (*PaymentServiceToken) SetApprovalUrlNil ¶ added in v0.27.0

func (o *PaymentServiceToken) SetApprovalUrlNil()

SetApprovalUrlNil sets the value for ApprovalUrl to be an explicit nil

func (*PaymentServiceToken) SetCreatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentServiceToken) SetId ¶ added in v0.27.0

func (o *PaymentServiceToken) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentServiceToken) SetPaymentMethodId ¶ added in v0.27.0

func (o *PaymentServiceToken) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*PaymentServiceToken) SetPaymentServiceId ¶ added in v0.27.0

func (o *PaymentServiceToken) SetPaymentServiceId(v string)

SetPaymentServiceId gets a reference to the given string and assigns it to the PaymentServiceId field.

func (*PaymentServiceToken) SetStatus ¶ added in v0.27.0

func (o *PaymentServiceToken) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*PaymentServiceToken) SetToken ¶ added in v0.27.0

func (o *PaymentServiceToken) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*PaymentServiceToken) SetType ¶ added in v0.31.0

func (o *PaymentServiceToken) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentServiceToken) SetUpdatedAt ¶ added in v0.27.0

func (o *PaymentServiceToken) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*PaymentServiceToken) UnsetApprovalUrl ¶ added in v0.27.0

func (o *PaymentServiceToken) UnsetApprovalUrl()

UnsetApprovalUrl ensures that no value is present for ApprovalUrl, not even an explicit nil

type PaymentServiceTokenRequest ¶ added in v0.27.0

type PaymentServiceTokenRequest struct {
	// The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.  The security code can only be set if the stored payment method represents a card.
	SecurityCode string `json:"security_code"`
	// The ID of the payment service.
	PaymentServiceId string `json:"payment_service_id"`
	// The redirect URL to redirect a buyer to after they have authorized their payment method. This only applies to payment methods that require buyer approval.
	RedirectUrl string `json:"redirect_url"`
}

PaymentServiceTokenRequest Request body for provision a payment service token.

func NewPaymentServiceTokenRequest ¶ added in v0.27.0

func NewPaymentServiceTokenRequest(securityCode string, paymentServiceId string, redirectUrl string) *PaymentServiceTokenRequest

NewPaymentServiceTokenRequest instantiates a new PaymentServiceTokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceTokenRequestWithDefaults ¶ added in v0.27.0

func NewPaymentServiceTokenRequestWithDefaults() *PaymentServiceTokenRequest

NewPaymentServiceTokenRequestWithDefaults instantiates a new PaymentServiceTokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceTokenRequest) GetPaymentServiceId ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetPaymentServiceId() string

GetPaymentServiceId returns the PaymentServiceId field value

func (*PaymentServiceTokenRequest) GetPaymentServiceIdOk ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetPaymentServiceIdOk() (*string, bool)

GetPaymentServiceIdOk returns a tuple with the PaymentServiceId field value and a boolean to check if the value has been set.

func (*PaymentServiceTokenRequest) GetRedirectUrl ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value

func (*PaymentServiceTokenRequest) GetRedirectUrlOk ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value and a boolean to check if the value has been set.

func (*PaymentServiceTokenRequest) GetSecurityCode ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetSecurityCode() string

GetSecurityCode returns the SecurityCode field value

func (*PaymentServiceTokenRequest) GetSecurityCodeOk ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) GetSecurityCodeOk() (*string, bool)

GetSecurityCodeOk returns a tuple with the SecurityCode field value and a boolean to check if the value has been set.

func (PaymentServiceTokenRequest) MarshalJSON ¶ added in v0.27.0

func (o PaymentServiceTokenRequest) MarshalJSON() ([]byte, error)

func (*PaymentServiceTokenRequest) SetPaymentServiceId ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) SetPaymentServiceId(v string)

SetPaymentServiceId sets field value

func (*PaymentServiceTokenRequest) SetRedirectUrl ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) SetRedirectUrl(v string)

SetRedirectUrl sets field value

func (*PaymentServiceTokenRequest) SetSecurityCode ¶ added in v0.27.0

func (o *PaymentServiceTokenRequest) SetSecurityCode(v string)

SetSecurityCode sets field value

type PaymentServiceTokens ¶ added in v0.27.0

type PaymentServiceTokens struct {
	// A list of payment service tokens.
	Items *[]PaymentServiceToken `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

PaymentServiceTokens A list of payment service tokens.

func NewPaymentServiceTokens ¶ added in v0.27.0

func NewPaymentServiceTokens() *PaymentServiceTokens

NewPaymentServiceTokens instantiates a new PaymentServiceTokens object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceTokensWithDefaults ¶ added in v0.27.0

func NewPaymentServiceTokensWithDefaults() *PaymentServiceTokens

NewPaymentServiceTokensWithDefaults instantiates a new PaymentServiceTokens object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceTokens) GetItems ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetItems() []PaymentServiceToken

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentServiceTokens) GetItemsOk ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetItemsOk() (*[]PaymentServiceToken, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceTokens) GetLimit ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PaymentServiceTokens) GetLimitOk ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceTokens) GetNextCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceTokens) GetNextCursorOk ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceTokens) GetPreviousCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceTokens) GetPreviousCursorOk ¶ added in v0.27.0

func (o *PaymentServiceTokens) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceTokens) HasItems ¶ added in v0.27.0

func (o *PaymentServiceTokens) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentServiceTokens) HasLimit ¶ added in v0.27.0

func (o *PaymentServiceTokens) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PaymentServiceTokens) HasNextCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*PaymentServiceTokens) HasPreviousCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (PaymentServiceTokens) MarshalJSON ¶ added in v0.27.0

func (o PaymentServiceTokens) MarshalJSON() ([]byte, error)

func (*PaymentServiceTokens) SetItems ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetItems(v []PaymentServiceToken)

SetItems gets a reference to the given []PaymentServiceToken and assigns it to the Items field.

func (*PaymentServiceTokens) SetLimit ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*PaymentServiceTokens) SetNextCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*PaymentServiceTokens) SetNextCursorNil ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*PaymentServiceTokens) SetPreviousCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*PaymentServiceTokens) SetPreviousCursorNil ¶ added in v0.27.0

func (o *PaymentServiceTokens) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*PaymentServiceTokens) UnsetNextCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*PaymentServiceTokens) UnsetPreviousCursor ¶ added in v0.27.0

func (o *PaymentServiceTokens) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type PaymentServiceUpdate ¶

type PaymentServiceUpdate struct {
	// A custom name for the payment service. This will be shown in the Admin UI.
	DisplayName *string `json:"display_name,omitempty"`
	// A list of fields, each containing a key-value pair for each field defined by the definition for this payment service e.g. for stripe-card `secret_key` is required and so must be sent within this field.
	Fields *[]PaymentServiceRequestFields `json:"fields,omitempty"`
	// A list of countries that this payment service needs to support in ISO two-letter code format.
	AcceptedCountries *[]string `json:"accepted_countries,omitempty"`
	// A list of currencies that this payment service needs to support in ISO 4217 three-letter code format.
	AcceptedCurrencies *[]string `json:"accepted_currencies,omitempty"`
	// Defines if 3-D Secure is enabled for the service (can only be enabled if the payment service definition supports the `three_d_secure_hosted` feature). This does not affect pass through 3-D Secure data.
	ThreeDSecureEnabled *bool `json:"three_d_secure_enabled,omitempty"`
	// Configuration for each supported card scheme. When updating a Payment Service, a key not being present will indicate no updates to be done on that scheme, whereas an object being sent as Null for a key will empty the configuration for that scheme.
	MerchantProfile NullableMerchantProfile `json:"merchant_profile,omitempty"`
	// Defines if this service is currently active or not.
	Active *bool `json:"active,omitempty"`
	// Defines if the service works as an open-loop service. This feature can only be enabled if the PSP is set up to accept previous scheme transaction IDs.  If this value is set to `null`, it will be set to the value of `open_loop` in the payment service definition.  If `open_loop_toggle` is `false` in the payment service definition, `open_loop` should either not be provided or set to `null`, or it will fail with a validation error.
	OpenLoop NullableBool `json:"open_loop,omitempty"`
	// Defines if tokenization is enabled for the service. This feature can only be enabled if the payment service is NOT set as `open_loop` and the PSP is set up to tokenize.
	PaymentMethodTokenizationEnabled *bool `json:"payment_method_tokenization_enabled,omitempty"`
	// Defines if network tokens are enabled for the service. This feature can only be enabled if the payment service is set as `open_loop` and the PSP is set up to accept network tokens.  If this value is set to `null`, it will be set to the value of `network_tokens_default` in the payment service definition.  If `network_tokens_toggle` is `false` in the payment service definition, `network_tokens_enabled` should either not be provided or set to `null`, or it will fail with a validation error.
	NetworkTokensEnabled NullableBool `json:"network_tokens_enabled,omitempty"`
}

PaymentServiceUpdate Request body for updating an active payment service.

func NewPaymentServiceUpdate ¶ added in v0.2.1

func NewPaymentServiceUpdate() *PaymentServiceUpdate

NewPaymentServiceUpdate instantiates a new PaymentServiceUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServiceUpdateWithDefaults ¶ added in v0.2.1

func NewPaymentServiceUpdateWithDefaults() *PaymentServiceUpdate

NewPaymentServiceUpdateWithDefaults instantiates a new PaymentServiceUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServiceUpdate) GetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetAcceptedCountries() []string

GetAcceptedCountries returns the AcceptedCountries field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetAcceptedCountriesOk ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetAcceptedCountriesOk() (*[]string, bool)

GetAcceptedCountriesOk returns a tuple with the AcceptedCountries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetAcceptedCurrencies() []string

GetAcceptedCurrencies returns the AcceptedCurrencies field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetAcceptedCurrenciesOk ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetAcceptedCurrenciesOk() (*[]string, bool)

GetAcceptedCurrenciesOk returns a tuple with the AcceptedCurrencies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetActive ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetActiveOk ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetDisplayNameOk ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetFields ¶ added in v0.2.1

GetFields returns the Fields field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetFieldsOk ¶ added in v0.2.1

func (o *PaymentServiceUpdate) GetFieldsOk() (*[]PaymentServiceRequestFields, bool)

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetMerchantProfile() MerchantProfile

GetMerchantProfile returns the MerchantProfile field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceUpdate) GetMerchantProfileOk ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetMerchantProfileOk() (*MerchantProfile, bool)

GetMerchantProfileOk returns a tuple with the MerchantProfile field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceUpdate) GetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetNetworkTokensEnabled() bool

GetNetworkTokensEnabled returns the NetworkTokensEnabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceUpdate) GetNetworkTokensEnabledOk ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetNetworkTokensEnabledOk() (*bool, bool)

GetNetworkTokensEnabledOk returns a tuple with the NetworkTokensEnabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceUpdate) GetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetOpenLoop() bool

GetOpenLoop returns the OpenLoop field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServiceUpdate) GetOpenLoopOk ¶ added in v0.22.0

func (o *PaymentServiceUpdate) GetOpenLoopOk() (*bool, bool)

GetOpenLoopOk returns a tuple with the OpenLoop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServiceUpdate) GetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceUpdate) GetPaymentMethodTokenizationEnabled() bool

GetPaymentMethodTokenizationEnabled returns the PaymentMethodTokenizationEnabled field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetPaymentMethodTokenizationEnabledOk ¶ added in v0.17.0

func (o *PaymentServiceUpdate) GetPaymentMethodTokenizationEnabledOk() (*bool, bool)

GetPaymentMethodTokenizationEnabledOk returns a tuple with the PaymentMethodTokenizationEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) GetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceUpdate) GetThreeDSecureEnabled() bool

GetThreeDSecureEnabled returns the ThreeDSecureEnabled field value if set, zero value otherwise.

func (*PaymentServiceUpdate) GetThreeDSecureEnabledOk ¶ added in v0.3.0

func (o *PaymentServiceUpdate) GetThreeDSecureEnabledOk() (*bool, bool)

GetThreeDSecureEnabledOk returns a tuple with the ThreeDSecureEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServiceUpdate) HasAcceptedCountries ¶ added in v0.2.1

func (o *PaymentServiceUpdate) HasAcceptedCountries() bool

HasAcceptedCountries returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceUpdate) HasAcceptedCurrencies() bool

HasAcceptedCurrencies returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasActive ¶ added in v0.2.1

func (o *PaymentServiceUpdate) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasDisplayName ¶ added in v0.2.1

func (o *PaymentServiceUpdate) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasFields ¶ added in v0.2.1

func (o *PaymentServiceUpdate) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceUpdate) HasMerchantProfile() bool

HasMerchantProfile returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceUpdate) HasNetworkTokensEnabled() bool

HasNetworkTokensEnabled returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceUpdate) HasOpenLoop() bool

HasOpenLoop returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceUpdate) HasPaymentMethodTokenizationEnabled() bool

HasPaymentMethodTokenizationEnabled returns a boolean if a field has been set.

func (*PaymentServiceUpdate) HasThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceUpdate) HasThreeDSecureEnabled() bool

HasThreeDSecureEnabled returns a boolean if a field has been set.

func (PaymentServiceUpdate) MarshalJSON ¶ added in v0.2.1

func (o PaymentServiceUpdate) MarshalJSON() ([]byte, error)

func (*PaymentServiceUpdate) SetAcceptedCountries ¶ added in v0.2.1

func (o *PaymentServiceUpdate) SetAcceptedCountries(v []string)

SetAcceptedCountries gets a reference to the given []string and assigns it to the AcceptedCountries field.

func (*PaymentServiceUpdate) SetAcceptedCurrencies ¶ added in v0.2.1

func (o *PaymentServiceUpdate) SetAcceptedCurrencies(v []string)

SetAcceptedCurrencies gets a reference to the given []string and assigns it to the AcceptedCurrencies field.

func (*PaymentServiceUpdate) SetActive ¶ added in v0.2.1

func (o *PaymentServiceUpdate) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PaymentServiceUpdate) SetDisplayName ¶ added in v0.2.1

func (o *PaymentServiceUpdate) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PaymentServiceUpdate) SetFields ¶ added in v0.2.1

SetFields gets a reference to the given []PaymentServiceRequestFields and assigns it to the Fields field.

func (*PaymentServiceUpdate) SetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetMerchantProfile(v MerchantProfile)

SetMerchantProfile gets a reference to the given NullableMerchantProfile and assigns it to the MerchantProfile field.

func (*PaymentServiceUpdate) SetMerchantProfileNil ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetMerchantProfileNil()

SetMerchantProfileNil sets the value for MerchantProfile to be an explicit nil

func (*PaymentServiceUpdate) SetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetNetworkTokensEnabled(v bool)

SetNetworkTokensEnabled gets a reference to the given NullableBool and assigns it to the NetworkTokensEnabled field.

func (*PaymentServiceUpdate) SetNetworkTokensEnabledNil ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetNetworkTokensEnabledNil()

SetNetworkTokensEnabledNil sets the value for NetworkTokensEnabled to be an explicit nil

func (*PaymentServiceUpdate) SetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetOpenLoop(v bool)

SetOpenLoop gets a reference to the given NullableBool and assigns it to the OpenLoop field.

func (*PaymentServiceUpdate) SetOpenLoopNil ¶ added in v0.22.0

func (o *PaymentServiceUpdate) SetOpenLoopNil()

SetOpenLoopNil sets the value for OpenLoop to be an explicit nil

func (*PaymentServiceUpdate) SetPaymentMethodTokenizationEnabled ¶ added in v0.17.0

func (o *PaymentServiceUpdate) SetPaymentMethodTokenizationEnabled(v bool)

SetPaymentMethodTokenizationEnabled gets a reference to the given bool and assigns it to the PaymentMethodTokenizationEnabled field.

func (*PaymentServiceUpdate) SetThreeDSecureEnabled ¶ added in v0.3.0

func (o *PaymentServiceUpdate) SetThreeDSecureEnabled(v bool)

SetThreeDSecureEnabled gets a reference to the given bool and assigns it to the ThreeDSecureEnabled field.

func (*PaymentServiceUpdate) UnsetMerchantProfile ¶ added in v0.22.0

func (o *PaymentServiceUpdate) UnsetMerchantProfile()

UnsetMerchantProfile ensures that no value is present for MerchantProfile, not even an explicit nil

func (*PaymentServiceUpdate) UnsetNetworkTokensEnabled ¶ added in v0.22.0

func (o *PaymentServiceUpdate) UnsetNetworkTokensEnabled()

UnsetNetworkTokensEnabled ensures that no value is present for NetworkTokensEnabled, not even an explicit nil

func (*PaymentServiceUpdate) UnsetOpenLoop ¶ added in v0.22.0

func (o *PaymentServiceUpdate) UnsetOpenLoop()

UnsetOpenLoop ensures that no value is present for OpenLoop, not even an explicit nil

type PaymentServices ¶

type PaymentServices struct {
	Items *[]PaymentService `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

PaymentServices A list of active, configured payment services.

func NewPaymentServices ¶ added in v0.2.1

func NewPaymentServices() *PaymentServices

NewPaymentServices instantiates a new PaymentServices object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentServicesWithDefaults ¶ added in v0.2.1

func NewPaymentServicesWithDefaults() *PaymentServices

NewPaymentServicesWithDefaults instantiates a new PaymentServices object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentServices) GetItems ¶ added in v0.2.1

func (o *PaymentServices) GetItems() []PaymentService

GetItems returns the Items field value if set, zero value otherwise.

func (*PaymentServices) GetItemsOk ¶ added in v0.2.1

func (o *PaymentServices) GetItemsOk() (*[]PaymentService, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServices) GetLimit ¶ added in v0.2.1

func (o *PaymentServices) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*PaymentServices) GetLimitOk ¶ added in v0.2.1

func (o *PaymentServices) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentServices) GetNextCursor ¶ added in v0.2.1

func (o *PaymentServices) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServices) GetNextCursorOk ¶ added in v0.2.1

func (o *PaymentServices) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServices) GetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServices) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentServices) GetPreviousCursorOk ¶ added in v0.2.1

func (o *PaymentServices) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentServices) HasItems ¶ added in v0.2.1

func (o *PaymentServices) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentServices) HasLimit ¶ added in v0.2.1

func (o *PaymentServices) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*PaymentServices) HasNextCursor ¶ added in v0.2.1

func (o *PaymentServices) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*PaymentServices) HasPreviousCursor ¶ added in v0.2.1

func (o *PaymentServices) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (PaymentServices) MarshalJSON ¶ added in v0.2.1

func (o PaymentServices) MarshalJSON() ([]byte, error)

func (*PaymentServices) SetItems ¶ added in v0.2.1

func (o *PaymentServices) SetItems(v []PaymentService)

SetItems gets a reference to the given []PaymentService and assigns it to the Items field.

func (*PaymentServices) SetLimit ¶ added in v0.2.1

func (o *PaymentServices) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*PaymentServices) SetNextCursor ¶ added in v0.2.1

func (o *PaymentServices) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*PaymentServices) SetNextCursorNil ¶ added in v0.2.1

func (o *PaymentServices) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*PaymentServices) SetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServices) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*PaymentServices) SetPreviousCursorNil ¶ added in v0.2.1

func (o *PaymentServices) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*PaymentServices) UnsetNextCursor ¶ added in v0.2.1

func (o *PaymentServices) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*PaymentServices) UnsetPreviousCursor ¶ added in v0.2.1

func (o *PaymentServices) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type PaymentServicesApiService ¶ added in v0.2.1

type PaymentServicesApiService service

PaymentServicesApiService PaymentServicesApi service

func (*PaymentServicesApiService) DeletePaymentService ¶ added in v0.2.1

func (a *PaymentServicesApiService) DeletePaymentService(ctx _context.Context, paymentServiceId string) ApiDeletePaymentServiceRequest

* DeletePaymentService Delete payment service * Deletes a specific active payment service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentServiceId The ID of the payment service. * @return ApiDeletePaymentServiceRequest

func (*PaymentServicesApiService) DeletePaymentServiceExecute ¶ added in v0.2.1

func (a *PaymentServicesApiService) DeletePaymentServiceExecute(r ApiDeletePaymentServiceRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*PaymentServicesApiService) GetPaymentService ¶ added in v0.2.1

func (a *PaymentServicesApiService) GetPaymentService(ctx _context.Context, paymentServiceId string) ApiGetPaymentServiceRequest

* GetPaymentService Get payment service * Retrieves the details of a single configured payment service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentServiceId The ID of the payment service. * @return ApiGetPaymentServiceRequest

func (*PaymentServicesApiService) GetPaymentServiceExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentService

func (*PaymentServicesApiService) ListPaymentServices ¶ added in v0.2.1

* ListPaymentServices List payment services * Lists the currently configured and activated payment services. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListPaymentServicesRequest

func (*PaymentServicesApiService) ListPaymentServicesExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentServices

func (*PaymentServicesApiService) NewPaymentService ¶ added in v0.27.0

* NewPaymentService New payment service * Adds a new payment service by providing a custom name and a value for each of the required fields. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewPaymentServiceRequest

func (*PaymentServicesApiService) NewPaymentServiceExecute ¶ added in v0.27.0

* Execute executes the request * @return PaymentService

func (*PaymentServicesApiService) UpdatePaymentService ¶ added in v0.2.1

func (a *PaymentServicesApiService) UpdatePaymentService(ctx _context.Context, paymentServiceId string) ApiUpdatePaymentServiceRequest

* UpdatePaymentService Update payment service * Updates an existing payment service. Allows all fields to be changed except for the service ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentServiceId The ID of the payment service. * @return ApiUpdatePaymentServiceRequest

func (*PaymentServicesApiService) UpdatePaymentServiceExecute ¶ added in v0.2.1

* Execute executes the request * @return PaymentService

type RedirectRequest ¶ added in v0.2.1

type RedirectRequest struct {
	// The method to use, this can be any of the methods that support redirect requests.  When storing a new payment method, only `gocardless` and `stripedd` are currently supported.
	Method string `json:"method"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction.
	RedirectUrl string `json:"redirect_url"`
	// The ISO-4217 currency code to use this payment method for. This is used to select the payment service to use.
	Currency string `json:"currency"`
	// The 2-letter ISO code of the country to use this payment method for. This is used to select the payment service to use.
	Country string `json:"country"`
	// An external identifier that can be used to match the account against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The ID of the buyer to associate this payment method to. If this field is provided then the `buyer_external_identifier` field needs to be unset.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The `external_identifier` of the buyer to associate this payment method to. If this field is provided then the `buyer_id` field needs to be unset.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
}

RedirectRequest Details to register a new redirect payment method.

func NewRedirectRequest ¶ added in v0.2.1

func NewRedirectRequest(method string, redirectUrl string, currency string, country string) *RedirectRequest

NewRedirectRequest instantiates a new RedirectRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRedirectRequestWithDefaults ¶ added in v0.2.1

func NewRedirectRequestWithDefaults() *RedirectRequest

NewRedirectRequestWithDefaults instantiates a new RedirectRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RedirectRequest) GetBuyerExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*RedirectRequest) GetBuyerExternalIdentifierOk ¶ added in v0.2.1

func (o *RedirectRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RedirectRequest) GetBuyerId ¶ added in v0.2.1

func (o *RedirectRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*RedirectRequest) GetBuyerIdOk ¶ added in v0.2.1

func (o *RedirectRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RedirectRequest) GetCountry ¶ added in v0.7.0

func (o *RedirectRequest) GetCountry() string

GetCountry returns the Country field value

func (*RedirectRequest) GetCountryOk ¶ added in v0.7.0

func (o *RedirectRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*RedirectRequest) GetCurrency ¶ added in v0.7.0

func (o *RedirectRequest) GetCurrency() string

GetCurrency returns the Currency field value

func (*RedirectRequest) GetCurrencyOk ¶ added in v0.7.0

func (o *RedirectRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*RedirectRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RedirectRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *RedirectRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RedirectRequest) GetMethod ¶ added in v0.2.1

func (o *RedirectRequest) GetMethod() string

GetMethod returns the Method field value

func (*RedirectRequest) GetMethodOk ¶ added in v0.2.1

func (o *RedirectRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*RedirectRequest) GetRedirectUrl ¶ added in v0.2.1

func (o *RedirectRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value

func (*RedirectRequest) GetRedirectUrlOk ¶ added in v0.2.1

func (o *RedirectRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value and a boolean to check if the value has been set.

func (*RedirectRequest) HasBuyerExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*RedirectRequest) HasBuyerId ¶ added in v0.2.1

func (o *RedirectRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*RedirectRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (RedirectRequest) MarshalJSON ¶ added in v0.2.1

func (o RedirectRequest) MarshalJSON() ([]byte, error)

func (*RedirectRequest) SetBuyerExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*RedirectRequest) SetBuyerId ¶ added in v0.2.1

func (o *RedirectRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*RedirectRequest) SetCountry ¶ added in v0.7.0

func (o *RedirectRequest) SetCountry(v string)

SetCountry sets field value

func (*RedirectRequest) SetCurrency ¶ added in v0.7.0

func (o *RedirectRequest) SetCurrency(v string)

SetCurrency sets field value

func (*RedirectRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*RedirectRequest) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *RedirectRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*RedirectRequest) SetMethod ¶ added in v0.2.1

func (o *RedirectRequest) SetMethod(v string)

SetMethod sets field value

func (*RedirectRequest) SetRedirectUrl ¶ added in v0.2.1

func (o *RedirectRequest) SetRedirectUrl(v string)

SetRedirectUrl sets field value

func (*RedirectRequest) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *RedirectRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type Refund ¶ added in v0.14.0

type Refund struct {
	// The type of this resource. Is always `refund`.
	Type *string `json:"type,omitempty"`
	// The unique ID of the refund.
	Id *string `json:"id,omitempty"`
	// The ID of the transaction associated with this refund.
	TransactionId *string `json:"transaction_id,omitempty"`
	// The payment service's unique ID for the refund.
	PaymentServiceRefundId *string `json:"payment_service_refund_id,omitempty"`
	// The status of the refund. It may change over time as asynchronous processing events occur.  - `processing` - The refund is being processed. - `succeeded` - The refund was successful. - `declined` - The refund was declined by the underlying PSP. - `failed` - The refund could not proceed due to a technical issue. - `voided` - The refund was voided and will not proceed.
	Status *string `json:"status,omitempty"`
	// The currency code for this refund. Will always match that of the associated transaction.
	Currency *string `json:"currency,omitempty"`
	// The amount requested for this refund.
	Amount *int32 `json:"amount,omitempty"`
	// The date and time when this refund was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time when this refund was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The type of the instrument that was refunded.
	TargetType *string `json:"target_type,omitempty"`
	// The optional ID of the instrument that was refunded. This may be `null` if the instrument was not stored.
	TargetId NullableString `json:"target_id,omitempty"`
}

Refund A refund record. A refund is always associated with a single transaction, while a transaction can potentially have several refunds.

func NewRefund ¶ added in v0.14.0

func NewRefund() *Refund

NewRefund instantiates a new Refund object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRefundWithDefaults ¶ added in v0.14.0

func NewRefundWithDefaults() *Refund

NewRefundWithDefaults instantiates a new Refund object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Refund) GetAmount ¶ added in v0.14.0

func (o *Refund) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Refund) GetAmountOk ¶ added in v0.14.0

func (o *Refund) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetCreatedAt ¶ added in v0.14.0

func (o *Refund) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Refund) GetCreatedAtOk ¶ added in v0.14.0

func (o *Refund) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetCurrency ¶ added in v0.14.0

func (o *Refund) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*Refund) GetCurrencyOk ¶ added in v0.14.0

func (o *Refund) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetId ¶ added in v0.14.0

func (o *Refund) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Refund) GetIdOk ¶ added in v0.14.0

func (o *Refund) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetPaymentServiceRefundId ¶ added in v0.31.0

func (o *Refund) GetPaymentServiceRefundId() string

GetPaymentServiceRefundId returns the PaymentServiceRefundId field value if set, zero value otherwise.

func (*Refund) GetPaymentServiceRefundIdOk ¶ added in v0.31.0

func (o *Refund) GetPaymentServiceRefundIdOk() (*string, bool)

GetPaymentServiceRefundIdOk returns a tuple with the PaymentServiceRefundId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetStatus ¶ added in v0.14.0

func (o *Refund) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Refund) GetStatusOk ¶ added in v0.14.0

func (o *Refund) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetTargetId ¶ added in v0.31.0

func (o *Refund) GetTargetId() string

GetTargetId returns the TargetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Refund) GetTargetIdOk ¶ added in v0.31.0

func (o *Refund) GetTargetIdOk() (*string, bool)

GetTargetIdOk returns a tuple with the TargetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Refund) GetTargetType ¶ added in v0.31.0

func (o *Refund) GetTargetType() string

GetTargetType returns the TargetType field value if set, zero value otherwise.

func (*Refund) GetTargetTypeOk ¶ added in v0.31.0

func (o *Refund) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetTransactionId ¶ added in v0.14.0

func (o *Refund) GetTransactionId() string

GetTransactionId returns the TransactionId field value if set, zero value otherwise.

func (*Refund) GetTransactionIdOk ¶ added in v0.14.0

func (o *Refund) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetType ¶ added in v0.14.0

func (o *Refund) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Refund) GetTypeOk ¶ added in v0.14.0

func (o *Refund) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) GetUpdatedAt ¶ added in v0.14.0

func (o *Refund) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Refund) GetUpdatedAtOk ¶ added in v0.14.0

func (o *Refund) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refund) HasAmount ¶ added in v0.14.0

func (o *Refund) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Refund) HasCreatedAt ¶ added in v0.14.0

func (o *Refund) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Refund) HasCurrency ¶ added in v0.14.0

func (o *Refund) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*Refund) HasId ¶ added in v0.14.0

func (o *Refund) HasId() bool

HasId returns a boolean if a field has been set.

func (*Refund) HasPaymentServiceRefundId ¶ added in v0.31.0

func (o *Refund) HasPaymentServiceRefundId() bool

HasPaymentServiceRefundId returns a boolean if a field has been set.

func (*Refund) HasStatus ¶ added in v0.14.0

func (o *Refund) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Refund) HasTargetId ¶ added in v0.31.0

func (o *Refund) HasTargetId() bool

HasTargetId returns a boolean if a field has been set.

func (*Refund) HasTargetType ¶ added in v0.31.0

func (o *Refund) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (*Refund) HasTransactionId ¶ added in v0.14.0

func (o *Refund) HasTransactionId() bool

HasTransactionId returns a boolean if a field has been set.

func (*Refund) HasType ¶ added in v0.14.0

func (o *Refund) HasType() bool

HasType returns a boolean if a field has been set.

func (*Refund) HasUpdatedAt ¶ added in v0.14.0

func (o *Refund) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Refund) MarshalJSON ¶ added in v0.14.0

func (o Refund) MarshalJSON() ([]byte, error)

func (*Refund) SetAmount ¶ added in v0.14.0

func (o *Refund) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*Refund) SetCreatedAt ¶ added in v0.14.0

func (o *Refund) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Refund) SetCurrency ¶ added in v0.14.0

func (o *Refund) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*Refund) SetId ¶ added in v0.14.0

func (o *Refund) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Refund) SetPaymentServiceRefundId ¶ added in v0.31.0

func (o *Refund) SetPaymentServiceRefundId(v string)

SetPaymentServiceRefundId gets a reference to the given string and assigns it to the PaymentServiceRefundId field.

func (*Refund) SetStatus ¶ added in v0.14.0

func (o *Refund) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Refund) SetTargetId ¶ added in v0.31.0

func (o *Refund) SetTargetId(v string)

SetTargetId gets a reference to the given NullableString and assigns it to the TargetId field.

func (*Refund) SetTargetIdNil ¶ added in v0.31.0

func (o *Refund) SetTargetIdNil()

SetTargetIdNil sets the value for TargetId to be an explicit nil

func (*Refund) SetTargetType ¶ added in v0.31.0

func (o *Refund) SetTargetType(v string)

SetTargetType gets a reference to the given string and assigns it to the TargetType field.

func (*Refund) SetTransactionId ¶ added in v0.14.0

func (o *Refund) SetTransactionId(v string)

SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.

func (*Refund) SetType ¶ added in v0.14.0

func (o *Refund) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Refund) SetUpdatedAt ¶ added in v0.14.0

func (o *Refund) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Refund) UnsetTargetId ¶ added in v0.31.0

func (o *Refund) UnsetTargetId()

UnsetTargetId ensures that no value is present for TargetId, not even an explicit nil

type Refunds ¶ added in v0.14.0

type Refunds struct {
	// A list of refunds.
	Items *[]Refund `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

Refunds A list of refunds.

func NewRefunds ¶ added in v0.14.0

func NewRefunds() *Refunds

NewRefunds instantiates a new Refunds object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRefundsWithDefaults ¶ added in v0.14.0

func NewRefundsWithDefaults() *Refunds

NewRefundsWithDefaults instantiates a new Refunds object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Refunds) GetItems ¶ added in v0.14.0

func (o *Refunds) GetItems() []Refund

GetItems returns the Items field value if set, zero value otherwise.

func (*Refunds) GetItemsOk ¶ added in v0.14.0

func (o *Refunds) GetItemsOk() (*[]Refund, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refunds) GetLimit ¶ added in v0.14.0

func (o *Refunds) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Refunds) GetLimitOk ¶ added in v0.14.0

func (o *Refunds) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Refunds) GetNextCursor ¶ added in v0.14.0

func (o *Refunds) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Refunds) GetNextCursorOk ¶ added in v0.14.0

func (o *Refunds) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Refunds) GetPreviousCursor ¶ added in v0.14.0

func (o *Refunds) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Refunds) GetPreviousCursorOk ¶ added in v0.14.0

func (o *Refunds) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Refunds) HasItems ¶ added in v0.14.0

func (o *Refunds) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Refunds) HasLimit ¶ added in v0.14.0

func (o *Refunds) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Refunds) HasNextCursor ¶ added in v0.14.0

func (o *Refunds) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*Refunds) HasPreviousCursor ¶ added in v0.14.0

func (o *Refunds) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (Refunds) MarshalJSON ¶ added in v0.14.0

func (o Refunds) MarshalJSON() ([]byte, error)

func (*Refunds) SetItems ¶ added in v0.14.0

func (o *Refunds) SetItems(v []Refund)

SetItems gets a reference to the given []Refund and assigns it to the Items field.

func (*Refunds) SetLimit ¶ added in v0.14.0

func (o *Refunds) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*Refunds) SetNextCursor ¶ added in v0.14.0

func (o *Refunds) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*Refunds) SetNextCursorNil ¶ added in v0.14.0

func (o *Refunds) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*Refunds) SetPreviousCursor ¶ added in v0.14.0

func (o *Refunds) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*Refunds) SetPreviousCursorNil ¶ added in v0.14.0

func (o *Refunds) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*Refunds) UnsetNextCursor ¶ added in v0.14.0

func (o *Refunds) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*Refunds) UnsetPreviousCursor ¶ added in v0.14.0

func (o *Refunds) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type Report ¶ added in v0.21.0

type Report struct {
	// The date and time this report was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time this report was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The date and time this report will next be executed, provided that `schedule_enabled` is `true`. This value is null if this is a one-off report.
	NextExecutionAt NullableTime `json:"next_execution_at,omitempty"`
	// The description of this report.
	Description NullableString `json:"description,omitempty"`
	// Specifies the schedule of this report.  If this is a one-off report, this value is `once`.  If this is a recurring report, this value is set to the frequency by which the report will be executed. For example, a `monthly` schedule means that this report will be periodically executed at the start of each month.  Note that a `weekly` schedule means that the report is executed at the start of every Monday.
	Schedule *string `json:"schedule,omitempty"`
	// Indicates whether this report's scheduling is enabled. This value can only be set to `true` if this is a recurring report.  When this value is set to `true`, this report will be executed at the `next_execution_at` date and time.  When this value is set to `false`, future executions of this report are paused until this value is set to `true` again.
	ScheduleEnabled *bool `json:"schedule_enabled,omitempty"`
	// The time zone in which the next execution will be scheduled. This value is used to calculate this report's `next_execution_at` value and is only relevant if this is a recurring report. This time zone is also used to calculate the timestamp range for reports that use date-time placeholders. Date-time placeholders are dynamic timestamps that change with every report execution.
	ScheduleTimezone *string `json:"schedule_timezone,omitempty"`
	// The specifications of this report.
	Spec *ReportSpec `json:"spec,omitempty"`
	// Details of the latest execution of this report.
	LatestExecution NullableReportExecutionSummary `json:"latest_execution,omitempty"`
	// The type of this resource. Is always `report`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this report.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The name of this report.
	Name *string `json:"name,omitempty"`
	// The unique identifier for the creator of this report.
	CreatorId NullableString `json:"creator_id,omitempty"`
	// The name of the creator of this report.
	CreatorDisplayName NullableString `json:"creator_display_name,omitempty"`
	// The type of the creator of this report.
	CreatorType NullableString `json:"creator_type,omitempty"`
}

Report A report record.

func NewReport ¶ added in v0.21.0

func NewReport() *Report

NewReport instantiates a new Report object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportWithDefaults ¶ added in v0.21.0

func NewReportWithDefaults() *Report

NewReportWithDefaults instantiates a new Report object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Report) GetCreatedAt ¶ added in v0.21.0

func (o *Report) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Report) GetCreatedAtOk ¶ added in v0.21.0

func (o *Report) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetCreatorDisplayName ¶ added in v0.27.0

func (o *Report) GetCreatorDisplayName() string

GetCreatorDisplayName returns the CreatorDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetCreatorDisplayNameOk ¶ added in v0.27.0

func (o *Report) GetCreatorDisplayNameOk() (*string, bool)

GetCreatorDisplayNameOk returns a tuple with the CreatorDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetCreatorId ¶ added in v0.27.0

func (o *Report) GetCreatorId() string

GetCreatorId returns the CreatorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetCreatorIdOk ¶ added in v0.27.0

func (o *Report) GetCreatorIdOk() (*string, bool)

GetCreatorIdOk returns a tuple with the CreatorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetCreatorType ¶ added in v0.27.0

func (o *Report) GetCreatorType() string

GetCreatorType returns the CreatorType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetCreatorTypeOk ¶ added in v0.27.0

func (o *Report) GetCreatorTypeOk() (*string, bool)

GetCreatorTypeOk returns a tuple with the CreatorType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetDescription ¶ added in v0.21.0

func (o *Report) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetDescriptionOk ¶ added in v0.21.0

func (o *Report) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetId ¶ added in v0.21.0

func (o *Report) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Report) GetIdOk ¶ added in v0.21.0

func (o *Report) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetLatestExecution ¶ added in v0.21.0

func (o *Report) GetLatestExecution() ReportExecutionSummary

GetLatestExecution returns the LatestExecution field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetLatestExecutionOk ¶ added in v0.21.0

func (o *Report) GetLatestExecutionOk() (*ReportExecutionSummary, bool)

GetLatestExecutionOk returns a tuple with the LatestExecution field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetMerchantAccountId ¶ added in v0.27.0

func (o *Report) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*Report) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *Report) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetName ¶ added in v0.21.0

func (o *Report) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Report) GetNameOk ¶ added in v0.21.0

func (o *Report) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetNextExecutionAt ¶ added in v0.21.0

func (o *Report) GetNextExecutionAt() time.Time

GetNextExecutionAt returns the NextExecutionAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Report) GetNextExecutionAtOk ¶ added in v0.21.0

func (o *Report) GetNextExecutionAtOk() (*time.Time, bool)

GetNextExecutionAtOk returns a tuple with the NextExecutionAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Report) GetSchedule ¶ added in v0.21.0

func (o *Report) GetSchedule() string

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*Report) GetScheduleEnabled ¶ added in v0.21.0

func (o *Report) GetScheduleEnabled() bool

GetScheduleEnabled returns the ScheduleEnabled field value if set, zero value otherwise.

func (*Report) GetScheduleEnabledOk ¶ added in v0.21.0

func (o *Report) GetScheduleEnabledOk() (*bool, bool)

GetScheduleEnabledOk returns a tuple with the ScheduleEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetScheduleOk ¶ added in v0.21.0

func (o *Report) GetScheduleOk() (*string, bool)

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetScheduleTimezone ¶ added in v0.21.0

func (o *Report) GetScheduleTimezone() string

GetScheduleTimezone returns the ScheduleTimezone field value if set, zero value otherwise.

func (*Report) GetScheduleTimezoneOk ¶ added in v0.21.0

func (o *Report) GetScheduleTimezoneOk() (*string, bool)

GetScheduleTimezoneOk returns a tuple with the ScheduleTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetSpec ¶ added in v0.21.0

func (o *Report) GetSpec() ReportSpec

GetSpec returns the Spec field value if set, zero value otherwise.

func (*Report) GetSpecOk ¶ added in v0.21.0

func (o *Report) GetSpecOk() (*ReportSpec, bool)

GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetType ¶ added in v0.21.0

func (o *Report) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Report) GetTypeOk ¶ added in v0.21.0

func (o *Report) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetUpdatedAt ¶ added in v0.21.0

func (o *Report) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Report) GetUpdatedAtOk ¶ added in v0.21.0

func (o *Report) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) HasCreatedAt ¶ added in v0.21.0

func (o *Report) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Report) HasCreatorDisplayName ¶ added in v0.27.0

func (o *Report) HasCreatorDisplayName() bool

HasCreatorDisplayName returns a boolean if a field has been set.

func (*Report) HasCreatorId ¶ added in v0.27.0

func (o *Report) HasCreatorId() bool

HasCreatorId returns a boolean if a field has been set.

func (*Report) HasCreatorType ¶ added in v0.27.0

func (o *Report) HasCreatorType() bool

HasCreatorType returns a boolean if a field has been set.

func (*Report) HasDescription ¶ added in v0.21.0

func (o *Report) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Report) HasId ¶ added in v0.21.0

func (o *Report) HasId() bool

HasId returns a boolean if a field has been set.

func (*Report) HasLatestExecution ¶ added in v0.21.0

func (o *Report) HasLatestExecution() bool

HasLatestExecution returns a boolean if a field has been set.

func (*Report) HasMerchantAccountId ¶ added in v0.27.0

func (o *Report) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*Report) HasName ¶ added in v0.21.0

func (o *Report) HasName() bool

HasName returns a boolean if a field has been set.

func (*Report) HasNextExecutionAt ¶ added in v0.21.0

func (o *Report) HasNextExecutionAt() bool

HasNextExecutionAt returns a boolean if a field has been set.

func (*Report) HasSchedule ¶ added in v0.21.0

func (o *Report) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*Report) HasScheduleEnabled ¶ added in v0.21.0

func (o *Report) HasScheduleEnabled() bool

HasScheduleEnabled returns a boolean if a field has been set.

func (*Report) HasScheduleTimezone ¶ added in v0.21.0

func (o *Report) HasScheduleTimezone() bool

HasScheduleTimezone returns a boolean if a field has been set.

func (*Report) HasSpec ¶ added in v0.21.0

func (o *Report) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*Report) HasType ¶ added in v0.21.0

func (o *Report) HasType() bool

HasType returns a boolean if a field has been set.

func (*Report) HasUpdatedAt ¶ added in v0.21.0

func (o *Report) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Report) MarshalJSON ¶ added in v0.21.0

func (o Report) MarshalJSON() ([]byte, error)

func (*Report) SetCreatedAt ¶ added in v0.21.0

func (o *Report) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Report) SetCreatorDisplayName ¶ added in v0.27.0

func (o *Report) SetCreatorDisplayName(v string)

SetCreatorDisplayName gets a reference to the given NullableString and assigns it to the CreatorDisplayName field.

func (*Report) SetCreatorDisplayNameNil ¶ added in v0.27.0

func (o *Report) SetCreatorDisplayNameNil()

SetCreatorDisplayNameNil sets the value for CreatorDisplayName to be an explicit nil

func (*Report) SetCreatorId ¶ added in v0.27.0

func (o *Report) SetCreatorId(v string)

SetCreatorId gets a reference to the given NullableString and assigns it to the CreatorId field.

func (*Report) SetCreatorIdNil ¶ added in v0.27.0

func (o *Report) SetCreatorIdNil()

SetCreatorIdNil sets the value for CreatorId to be an explicit nil

func (*Report) SetCreatorType ¶ added in v0.27.0

func (o *Report) SetCreatorType(v string)

SetCreatorType gets a reference to the given NullableString and assigns it to the CreatorType field.

func (*Report) SetCreatorTypeNil ¶ added in v0.27.0

func (o *Report) SetCreatorTypeNil()

SetCreatorTypeNil sets the value for CreatorType to be an explicit nil

func (*Report) SetDescription ¶ added in v0.21.0

func (o *Report) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Report) SetDescriptionNil ¶ added in v0.21.0

func (o *Report) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Report) SetId ¶ added in v0.21.0

func (o *Report) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Report) SetLatestExecution ¶ added in v0.21.0

func (o *Report) SetLatestExecution(v ReportExecutionSummary)

SetLatestExecution gets a reference to the given NullableReportExecutionSummary and assigns it to the LatestExecution field.

func (*Report) SetLatestExecutionNil ¶ added in v0.21.0

func (o *Report) SetLatestExecutionNil()

SetLatestExecutionNil sets the value for LatestExecution to be an explicit nil

func (*Report) SetMerchantAccountId ¶ added in v0.27.0

func (o *Report) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*Report) SetName ¶ added in v0.21.0

func (o *Report) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Report) SetNextExecutionAt ¶ added in v0.21.0

func (o *Report) SetNextExecutionAt(v time.Time)

SetNextExecutionAt gets a reference to the given NullableTime and assigns it to the NextExecutionAt field.

func (*Report) SetNextExecutionAtNil ¶ added in v0.21.0

func (o *Report) SetNextExecutionAtNil()

SetNextExecutionAtNil sets the value for NextExecutionAt to be an explicit nil

func (*Report) SetSchedule ¶ added in v0.21.0

func (o *Report) SetSchedule(v string)

SetSchedule gets a reference to the given string and assigns it to the Schedule field.

func (*Report) SetScheduleEnabled ¶ added in v0.21.0

func (o *Report) SetScheduleEnabled(v bool)

SetScheduleEnabled gets a reference to the given bool and assigns it to the ScheduleEnabled field.

func (*Report) SetScheduleTimezone ¶ added in v0.21.0

func (o *Report) SetScheduleTimezone(v string)

SetScheduleTimezone gets a reference to the given string and assigns it to the ScheduleTimezone field.

func (*Report) SetSpec ¶ added in v0.21.0

func (o *Report) SetSpec(v ReportSpec)

SetSpec gets a reference to the given ReportSpec and assigns it to the Spec field.

func (*Report) SetType ¶ added in v0.21.0

func (o *Report) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Report) SetUpdatedAt ¶ added in v0.21.0

func (o *Report) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Report) UnsetCreatorDisplayName ¶ added in v0.27.0

func (o *Report) UnsetCreatorDisplayName()

UnsetCreatorDisplayName ensures that no value is present for CreatorDisplayName, not even an explicit nil

func (*Report) UnsetCreatorId ¶ added in v0.27.0

func (o *Report) UnsetCreatorId()

UnsetCreatorId ensures that no value is present for CreatorId, not even an explicit nil

func (*Report) UnsetCreatorType ¶ added in v0.27.0

func (o *Report) UnsetCreatorType()

UnsetCreatorType ensures that no value is present for CreatorType, not even an explicit nil

func (*Report) UnsetDescription ¶ added in v0.21.0

func (o *Report) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Report) UnsetLatestExecution ¶ added in v0.21.0

func (o *Report) UnsetLatestExecution()

UnsetLatestExecution ensures that no value is present for LatestExecution, not even an explicit nil

func (*Report) UnsetNextExecutionAt ¶ added in v0.21.0

func (o *Report) UnsetNextExecutionAt()

UnsetNextExecutionAt ensures that no value is present for NextExecutionAt, not even an explicit nil

type ReportCreate ¶ added in v0.21.0

type ReportCreate struct {
	// The name of the report.
	Name string `json:"name"`
	// The description of the report.
	Description NullableString `json:"description,omitempty"`
	// Specifies the schedule of the report.  If this is a one-off report, set this value to `once`.  If this is a recurring report, this value should be set to the frequency by which the report will be executed. For example, a `monthly` schedule means that the report will be periodically executed at the start of each month.  Note that a `weekly` schedule means that the report will be executed at the start of every Monday.
	Schedule *string `json:"schedule,omitempty"`
	// Indicates whether the report's scheduling is enabled. This value can only be set to `true` if this is a recurring report.  If this value is set to `true`, the report will be executed at the `next_execution_at` date and time.  If this is a recurring report and this value is set to `false`, executions of the report will not occur until this value is set to `true`.  If this value is not provided, `schedule_enabled` will automatically be set to `false` if `schedule` is `once` and set to `true` otherwise.
	ScheduleEnabled NullableBool `json:"schedule_enabled,omitempty"`
	// The time zone in which the report's executions will be scheduled. This value is used to compute the report's `next_execution_at` value and is only relevant when this is a recurring report. This time zone is also used to calculate the timestamp range for reports that use date-time placeholders. Date-time placeholders are dynamic timestamps that change with every report execution.  This value must be set to the time zone's name as presented in the IANA time zone database. For example, to schedule reports in the time zone of New York, set this value to `America/New_York`.
	ScheduleTimezone *string `json:"schedule_timezone,omitempty"`
	// The specifications of the report.
	Spec ReportSpec `json:"spec"`
}

ReportCreate A request to create a report.

func NewReportCreate ¶ added in v0.21.0

func NewReportCreate(name string, spec ReportSpec) *ReportCreate

NewReportCreate instantiates a new ReportCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportCreateWithDefaults ¶ added in v0.21.0

func NewReportCreateWithDefaults() *ReportCreate

NewReportCreateWithDefaults instantiates a new ReportCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportCreate) GetDescription ¶ added in v0.21.0

func (o *ReportCreate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportCreate) GetDescriptionOk ¶ added in v0.21.0

func (o *ReportCreate) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportCreate) GetName ¶ added in v0.21.0

func (o *ReportCreate) GetName() string

GetName returns the Name field value

func (*ReportCreate) GetNameOk ¶ added in v0.21.0

func (o *ReportCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ReportCreate) GetSchedule ¶ added in v0.21.0

func (o *ReportCreate) GetSchedule() string

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*ReportCreate) GetScheduleEnabled ¶ added in v0.21.0

func (o *ReportCreate) GetScheduleEnabled() bool

GetScheduleEnabled returns the ScheduleEnabled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportCreate) GetScheduleEnabledOk ¶ added in v0.21.0

func (o *ReportCreate) GetScheduleEnabledOk() (*bool, bool)

GetScheduleEnabledOk returns a tuple with the ScheduleEnabled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportCreate) GetScheduleOk ¶ added in v0.21.0

func (o *ReportCreate) GetScheduleOk() (*string, bool)

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportCreate) GetScheduleTimezone ¶ added in v0.21.0

func (o *ReportCreate) GetScheduleTimezone() string

GetScheduleTimezone returns the ScheduleTimezone field value if set, zero value otherwise.

func (*ReportCreate) GetScheduleTimezoneOk ¶ added in v0.21.0

func (o *ReportCreate) GetScheduleTimezoneOk() (*string, bool)

GetScheduleTimezoneOk returns a tuple with the ScheduleTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportCreate) GetSpec ¶ added in v0.21.0

func (o *ReportCreate) GetSpec() ReportSpec

GetSpec returns the Spec field value

func (*ReportCreate) GetSpecOk ¶ added in v0.21.0

func (o *ReportCreate) GetSpecOk() (*ReportSpec, bool)

GetSpecOk returns a tuple with the Spec field value and a boolean to check if the value has been set.

func (*ReportCreate) HasDescription ¶ added in v0.21.0

func (o *ReportCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ReportCreate) HasSchedule ¶ added in v0.21.0

func (o *ReportCreate) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*ReportCreate) HasScheduleEnabled ¶ added in v0.21.0

func (o *ReportCreate) HasScheduleEnabled() bool

HasScheduleEnabled returns a boolean if a field has been set.

func (*ReportCreate) HasScheduleTimezone ¶ added in v0.21.0

func (o *ReportCreate) HasScheduleTimezone() bool

HasScheduleTimezone returns a boolean if a field has been set.

func (ReportCreate) MarshalJSON ¶ added in v0.21.0

func (o ReportCreate) MarshalJSON() ([]byte, error)

func (*ReportCreate) SetDescription ¶ added in v0.21.0

func (o *ReportCreate) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ReportCreate) SetDescriptionNil ¶ added in v0.21.0

func (o *ReportCreate) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ReportCreate) SetName ¶ added in v0.21.0

func (o *ReportCreate) SetName(v string)

SetName sets field value

func (*ReportCreate) SetSchedule ¶ added in v0.21.0

func (o *ReportCreate) SetSchedule(v string)

SetSchedule gets a reference to the given string and assigns it to the Schedule field.

func (*ReportCreate) SetScheduleEnabled ¶ added in v0.21.0

func (o *ReportCreate) SetScheduleEnabled(v bool)

SetScheduleEnabled gets a reference to the given NullableBool and assigns it to the ScheduleEnabled field.

func (*ReportCreate) SetScheduleEnabledNil ¶ added in v0.21.0

func (o *ReportCreate) SetScheduleEnabledNil()

SetScheduleEnabledNil sets the value for ScheduleEnabled to be an explicit nil

func (*ReportCreate) SetScheduleTimezone ¶ added in v0.21.0

func (o *ReportCreate) SetScheduleTimezone(v string)

SetScheduleTimezone gets a reference to the given string and assigns it to the ScheduleTimezone field.

func (*ReportCreate) SetSpec ¶ added in v0.21.0

func (o *ReportCreate) SetSpec(v ReportSpec)

SetSpec sets field value

func (*ReportCreate) UnsetDescription ¶ added in v0.21.0

func (o *ReportCreate) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*ReportCreate) UnsetScheduleEnabled ¶ added in v0.21.0

func (o *ReportCreate) UnsetScheduleEnabled()

UnsetScheduleEnabled ensures that no value is present for ScheduleEnabled, not even an explicit nil

type ReportExecution ¶ added in v0.21.0

type ReportExecution struct {
	// The report associated with this report execution.
	Report *ReportSummary `json:"report,omitempty"`
	// The type of this resource. Is always `report-execution`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this report execution.
	Id *string `json:"id,omitempty"`
	// The date and time this report execution was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time this report execution was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The status of this report execution.
	Status  *string                        `json:"status,omitempty"`
	Context *ReportExecutionSummaryContext `json:"context,omitempty"`
}

ReportExecution A report execution.

func NewReportExecution ¶ added in v0.21.0

func NewReportExecution() *ReportExecution

NewReportExecution instantiates a new ReportExecution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportExecutionWithDefaults ¶ added in v0.21.0

func NewReportExecutionWithDefaults() *ReportExecution

NewReportExecutionWithDefaults instantiates a new ReportExecution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportExecution) GetContext ¶ added in v0.21.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ReportExecution) GetContextOk ¶ added in v0.21.0

func (o *ReportExecution) GetContextOk() (*ReportExecutionSummaryContext, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetCreatedAt ¶ added in v0.21.0

func (o *ReportExecution) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ReportExecution) GetCreatedAtOk ¶ added in v0.21.0

func (o *ReportExecution) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetId ¶ added in v0.21.0

func (o *ReportExecution) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ReportExecution) GetIdOk ¶ added in v0.21.0

func (o *ReportExecution) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetReport ¶ added in v0.21.0

func (o *ReportExecution) GetReport() ReportSummary

GetReport returns the Report field value if set, zero value otherwise.

func (*ReportExecution) GetReportOk ¶ added in v0.21.0

func (o *ReportExecution) GetReportOk() (*ReportSummary, bool)

GetReportOk returns a tuple with the Report field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetStatus ¶ added in v0.21.0

func (o *ReportExecution) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ReportExecution) GetStatusOk ¶ added in v0.21.0

func (o *ReportExecution) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetType ¶ added in v0.21.0

func (o *ReportExecution) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ReportExecution) GetTypeOk ¶ added in v0.21.0

func (o *ReportExecution) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) GetUpdatedAt ¶ added in v0.21.0

func (o *ReportExecution) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ReportExecution) GetUpdatedAtOk ¶ added in v0.21.0

func (o *ReportExecution) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecution) HasContext ¶ added in v0.21.0

func (o *ReportExecution) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ReportExecution) HasCreatedAt ¶ added in v0.21.0

func (o *ReportExecution) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ReportExecution) HasId ¶ added in v0.21.0

func (o *ReportExecution) HasId() bool

HasId returns a boolean if a field has been set.

func (*ReportExecution) HasReport ¶ added in v0.21.0

func (o *ReportExecution) HasReport() bool

HasReport returns a boolean if a field has been set.

func (*ReportExecution) HasStatus ¶ added in v0.21.0

func (o *ReportExecution) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ReportExecution) HasType ¶ added in v0.21.0

func (o *ReportExecution) HasType() bool

HasType returns a boolean if a field has been set.

func (*ReportExecution) HasUpdatedAt ¶ added in v0.21.0

func (o *ReportExecution) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ReportExecution) MarshalJSON ¶ added in v0.21.0

func (o ReportExecution) MarshalJSON() ([]byte, error)

func (*ReportExecution) SetContext ¶ added in v0.21.0

SetContext gets a reference to the given ReportExecutionSummaryContext and assigns it to the Context field.

func (*ReportExecution) SetCreatedAt ¶ added in v0.21.0

func (o *ReportExecution) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ReportExecution) SetId ¶ added in v0.21.0

func (o *ReportExecution) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ReportExecution) SetReport ¶ added in v0.21.0

func (o *ReportExecution) SetReport(v ReportSummary)

SetReport gets a reference to the given ReportSummary and assigns it to the Report field.

func (*ReportExecution) SetStatus ¶ added in v0.21.0

func (o *ReportExecution) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ReportExecution) SetType ¶ added in v0.21.0

func (o *ReportExecution) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ReportExecution) SetUpdatedAt ¶ added in v0.21.0

func (o *ReportExecution) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type ReportExecutionSummary ¶ added in v0.21.0

type ReportExecutionSummary struct {
	// The type of this resource. Is always `report-execution`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this report execution.
	Id *string `json:"id,omitempty"`
	// The date and time this report execution was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The date and time this report execution was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The status of this report execution.
	Status  *string                        `json:"status,omitempty"`
	Context *ReportExecutionSummaryContext `json:"context,omitempty"`
}

ReportExecutionSummary A report execution summary.

func NewReportExecutionSummary ¶ added in v0.21.0

func NewReportExecutionSummary() *ReportExecutionSummary

NewReportExecutionSummary instantiates a new ReportExecutionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportExecutionSummaryWithDefaults ¶ added in v0.21.0

func NewReportExecutionSummaryWithDefaults() *ReportExecutionSummary

NewReportExecutionSummaryWithDefaults instantiates a new ReportExecutionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportExecutionSummary) GetContext ¶ added in v0.21.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetContextOk ¶ added in v0.21.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) GetCreatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetCreatedAtOk ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) GetId ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetIdOk ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) GetStatus ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetStatusOk ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) GetType ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetTypeOk ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) GetUpdatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ReportExecutionSummary) GetUpdatedAtOk ¶ added in v0.21.0

func (o *ReportExecutionSummary) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummary) HasContext ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ReportExecutionSummary) HasCreatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ReportExecutionSummary) HasId ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*ReportExecutionSummary) HasStatus ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ReportExecutionSummary) HasType ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (*ReportExecutionSummary) HasUpdatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ReportExecutionSummary) MarshalJSON ¶ added in v0.21.0

func (o ReportExecutionSummary) MarshalJSON() ([]byte, error)

func (*ReportExecutionSummary) SetContext ¶ added in v0.21.0

SetContext gets a reference to the given ReportExecutionSummaryContext and assigns it to the Context field.

func (*ReportExecutionSummary) SetCreatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ReportExecutionSummary) SetId ¶ added in v0.21.0

func (o *ReportExecutionSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ReportExecutionSummary) SetStatus ¶ added in v0.21.0

func (o *ReportExecutionSummary) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ReportExecutionSummary) SetType ¶ added in v0.21.0

func (o *ReportExecutionSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ReportExecutionSummary) SetUpdatedAt ¶ added in v0.21.0

func (o *ReportExecutionSummary) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type ReportExecutionSummaryContext ¶ added in v0.21.0

type ReportExecutionSummaryContext struct {
	// The date and time used by the system as a reference point to compute date-time placeholders.
	ReferenceTimestamp *time.Time `json:"reference_timestamp,omitempty"`
	// The time zone used to compute date-time placeholders.
	ReferenceTimezone *string `json:"reference_timezone,omitempty"`
}

ReportExecutionSummaryContext Contains the context values used to compute the value of date-time placeholders such as `month_start` and `month_end` if present in the report's specification. Date-time placeholders are dynamic timestamps that change with every report execution.

func NewReportExecutionSummaryContext ¶ added in v0.21.0

func NewReportExecutionSummaryContext() *ReportExecutionSummaryContext

NewReportExecutionSummaryContext instantiates a new ReportExecutionSummaryContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportExecutionSummaryContextWithDefaults ¶ added in v0.21.0

func NewReportExecutionSummaryContextWithDefaults() *ReportExecutionSummaryContext

NewReportExecutionSummaryContextWithDefaults instantiates a new ReportExecutionSummaryContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportExecutionSummaryContext) GetReferenceTimestamp ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) GetReferenceTimestamp() time.Time

GetReferenceTimestamp returns the ReferenceTimestamp field value if set, zero value otherwise.

func (*ReportExecutionSummaryContext) GetReferenceTimestampOk ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) GetReferenceTimestampOk() (*time.Time, bool)

GetReferenceTimestampOk returns a tuple with the ReferenceTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummaryContext) GetReferenceTimezone ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) GetReferenceTimezone() string

GetReferenceTimezone returns the ReferenceTimezone field value if set, zero value otherwise.

func (*ReportExecutionSummaryContext) GetReferenceTimezoneOk ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) GetReferenceTimezoneOk() (*string, bool)

GetReferenceTimezoneOk returns a tuple with the ReferenceTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionSummaryContext) HasReferenceTimestamp ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) HasReferenceTimestamp() bool

HasReferenceTimestamp returns a boolean if a field has been set.

func (*ReportExecutionSummaryContext) HasReferenceTimezone ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) HasReferenceTimezone() bool

HasReferenceTimezone returns a boolean if a field has been set.

func (ReportExecutionSummaryContext) MarshalJSON ¶ added in v0.21.0

func (o ReportExecutionSummaryContext) MarshalJSON() ([]byte, error)

func (*ReportExecutionSummaryContext) SetReferenceTimestamp ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) SetReferenceTimestamp(v time.Time)

SetReferenceTimestamp gets a reference to the given time.Time and assigns it to the ReferenceTimestamp field.

func (*ReportExecutionSummaryContext) SetReferenceTimezone ¶ added in v0.21.0

func (o *ReportExecutionSummaryContext) SetReferenceTimezone(v string)

SetReferenceTimezone gets a reference to the given string and assigns it to the ReferenceTimezone field.

type ReportExecutionUrl ¶ added in v0.21.0

type ReportExecutionUrl struct {
	// The URL to download the report execution.
	Url *string `json:"url,omitempty"`
	// The date and time when the download URL expires.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

ReportExecutionUrl The temporary signed URL to download the result of a report execution and its expiration date and time.

func NewReportExecutionUrl ¶ added in v0.21.0

func NewReportExecutionUrl() *ReportExecutionUrl

NewReportExecutionUrl instantiates a new ReportExecutionUrl object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportExecutionUrlWithDefaults ¶ added in v0.21.0

func NewReportExecutionUrlWithDefaults() *ReportExecutionUrl

NewReportExecutionUrlWithDefaults instantiates a new ReportExecutionUrl object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportExecutionUrl) GetExpiresAt ¶ added in v0.21.0

func (o *ReportExecutionUrl) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*ReportExecutionUrl) GetExpiresAtOk ¶ added in v0.21.0

func (o *ReportExecutionUrl) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionUrl) GetUrl ¶ added in v0.21.0

func (o *ReportExecutionUrl) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ReportExecutionUrl) GetUrlOk ¶ added in v0.21.0

func (o *ReportExecutionUrl) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutionUrl) HasExpiresAt ¶ added in v0.21.0

func (o *ReportExecutionUrl) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*ReportExecutionUrl) HasUrl ¶ added in v0.21.0

func (o *ReportExecutionUrl) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ReportExecutionUrl) MarshalJSON ¶ added in v0.21.0

func (o ReportExecutionUrl) MarshalJSON() ([]byte, error)

func (*ReportExecutionUrl) SetExpiresAt ¶ added in v0.21.0

func (o *ReportExecutionUrl) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*ReportExecutionUrl) SetUrl ¶ added in v0.21.0

func (o *ReportExecutionUrl) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type ReportExecutions ¶ added in v0.21.0

type ReportExecutions struct {
	// A list of report executions.
	Items *[]ReportExecution `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

ReportExecutions A list of report executions.

func NewReportExecutions ¶ added in v0.21.0

func NewReportExecutions() *ReportExecutions

NewReportExecutions instantiates a new ReportExecutions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportExecutionsWithDefaults ¶ added in v0.21.0

func NewReportExecutionsWithDefaults() *ReportExecutions

NewReportExecutionsWithDefaults instantiates a new ReportExecutions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportExecutions) GetItems ¶ added in v0.21.0

func (o *ReportExecutions) GetItems() []ReportExecution

GetItems returns the Items field value if set, zero value otherwise.

func (*ReportExecutions) GetItemsOk ¶ added in v0.21.0

func (o *ReportExecutions) GetItemsOk() (*[]ReportExecution, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutions) GetLimit ¶ added in v0.21.0

func (o *ReportExecutions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*ReportExecutions) GetLimitOk ¶ added in v0.21.0

func (o *ReportExecutions) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportExecutions) GetNextCursor ¶ added in v0.21.0

func (o *ReportExecutions) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportExecutions) GetNextCursorOk ¶ added in v0.21.0

func (o *ReportExecutions) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportExecutions) GetPreviousCursor ¶ added in v0.21.0

func (o *ReportExecutions) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportExecutions) GetPreviousCursorOk ¶ added in v0.21.0

func (o *ReportExecutions) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportExecutions) HasItems ¶ added in v0.21.0

func (o *ReportExecutions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ReportExecutions) HasLimit ¶ added in v0.21.0

func (o *ReportExecutions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ReportExecutions) HasNextCursor ¶ added in v0.21.0

func (o *ReportExecutions) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*ReportExecutions) HasPreviousCursor ¶ added in v0.21.0

func (o *ReportExecutions) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (ReportExecutions) MarshalJSON ¶ added in v0.21.0

func (o ReportExecutions) MarshalJSON() ([]byte, error)

func (*ReportExecutions) SetItems ¶ added in v0.21.0

func (o *ReportExecutions) SetItems(v []ReportExecution)

SetItems gets a reference to the given []ReportExecution and assigns it to the Items field.

func (*ReportExecutions) SetLimit ¶ added in v0.21.0

func (o *ReportExecutions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*ReportExecutions) SetNextCursor ¶ added in v0.21.0

func (o *ReportExecutions) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*ReportExecutions) SetNextCursorNil ¶ added in v0.21.0

func (o *ReportExecutions) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*ReportExecutions) SetPreviousCursor ¶ added in v0.21.0

func (o *ReportExecutions) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*ReportExecutions) SetPreviousCursorNil ¶ added in v0.21.0

func (o *ReportExecutions) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*ReportExecutions) UnsetNextCursor ¶ added in v0.21.0

func (o *ReportExecutions) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*ReportExecutions) UnsetPreviousCursor ¶ added in v0.21.0

func (o *ReportExecutions) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type ReportSpec ¶ added in v0.21.0

type ReportSpec struct {
	// The model (dataset) that the data used for the report is retrieved from.
	Model string `json:"model"`
	// Parameters used to configure the report. Acceptable values for this property depend on the value specified for `model`.
	Params map[string]map[string]interface{} `json:"params"`
}

ReportSpec The specification of a report.

func NewReportSpec ¶ added in v0.21.0

func NewReportSpec(model string, params map[string]map[string]interface{}) *ReportSpec

NewReportSpec instantiates a new ReportSpec object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportSpecWithDefaults ¶ added in v0.21.0

func NewReportSpecWithDefaults() *ReportSpec

NewReportSpecWithDefaults instantiates a new ReportSpec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportSpec) GetModel ¶ added in v0.21.0

func (o *ReportSpec) GetModel() string

GetModel returns the Model field value

func (*ReportSpec) GetModelOk ¶ added in v0.21.0

func (o *ReportSpec) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.

func (*ReportSpec) GetParams ¶ added in v0.21.0

func (o *ReportSpec) GetParams() map[string]map[string]interface{}

GetParams returns the Params field value

func (*ReportSpec) GetParamsOk ¶ added in v0.21.0

func (o *ReportSpec) GetParamsOk() (*map[string]map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (ReportSpec) MarshalJSON ¶ added in v0.21.0

func (o ReportSpec) MarshalJSON() ([]byte, error)

func (*ReportSpec) SetModel ¶ added in v0.21.0

func (o *ReportSpec) SetModel(v string)

SetModel sets field value

func (*ReportSpec) SetParams ¶ added in v0.21.0

func (o *ReportSpec) SetParams(v map[string]map[string]interface{})

SetParams sets field value

type ReportSummary ¶ added in v0.21.0

type ReportSummary struct {
	// The type of this resource. Is always `report`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this report.
	Id *string `json:"id,omitempty"`
	// The unique ID for a merchant account.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// The name of this report.
	Name *string `json:"name,omitempty"`
	// The unique identifier for the creator of this report.
	CreatorId NullableString `json:"creator_id,omitempty"`
	// The name of the creator of this report.
	CreatorDisplayName NullableString `json:"creator_display_name,omitempty"`
	// The type of the creator of this report.
	CreatorType NullableString `json:"creator_type,omitempty"`
}

ReportSummary A report record summary.

func NewReportSummary ¶ added in v0.21.0

func NewReportSummary() *ReportSummary

NewReportSummary instantiates a new ReportSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportSummaryWithDefaults ¶ added in v0.21.0

func NewReportSummaryWithDefaults() *ReportSummary

NewReportSummaryWithDefaults instantiates a new ReportSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportSummary) GetCreatorDisplayName ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorDisplayName() string

GetCreatorDisplayName returns the CreatorDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportSummary) GetCreatorDisplayNameOk ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorDisplayNameOk() (*string, bool)

GetCreatorDisplayNameOk returns a tuple with the CreatorDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportSummary) GetCreatorId ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorId() string

GetCreatorId returns the CreatorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportSummary) GetCreatorIdOk ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorIdOk() (*string, bool)

GetCreatorIdOk returns a tuple with the CreatorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportSummary) GetCreatorType ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorType() string

GetCreatorType returns the CreatorType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportSummary) GetCreatorTypeOk ¶ added in v0.27.0

func (o *ReportSummary) GetCreatorTypeOk() (*string, bool)

GetCreatorTypeOk returns a tuple with the CreatorType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportSummary) GetId ¶ added in v0.21.0

func (o *ReportSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ReportSummary) GetIdOk ¶ added in v0.21.0

func (o *ReportSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportSummary) GetMerchantAccountId ¶ added in v0.27.0

func (o *ReportSummary) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*ReportSummary) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *ReportSummary) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportSummary) GetName ¶ added in v0.21.0

func (o *ReportSummary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ReportSummary) GetNameOk ¶ added in v0.21.0

func (o *ReportSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportSummary) GetType ¶ added in v0.21.0

func (o *ReportSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ReportSummary) GetTypeOk ¶ added in v0.21.0

func (o *ReportSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportSummary) HasCreatorDisplayName ¶ added in v0.27.0

func (o *ReportSummary) HasCreatorDisplayName() bool

HasCreatorDisplayName returns a boolean if a field has been set.

func (*ReportSummary) HasCreatorId ¶ added in v0.27.0

func (o *ReportSummary) HasCreatorId() bool

HasCreatorId returns a boolean if a field has been set.

func (*ReportSummary) HasCreatorType ¶ added in v0.27.0

func (o *ReportSummary) HasCreatorType() bool

HasCreatorType returns a boolean if a field has been set.

func (*ReportSummary) HasId ¶ added in v0.21.0

func (o *ReportSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*ReportSummary) HasMerchantAccountId ¶ added in v0.27.0

func (o *ReportSummary) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*ReportSummary) HasName ¶ added in v0.21.0

func (o *ReportSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (*ReportSummary) HasType ¶ added in v0.21.0

func (o *ReportSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (ReportSummary) MarshalJSON ¶ added in v0.21.0

func (o ReportSummary) MarshalJSON() ([]byte, error)

func (*ReportSummary) SetCreatorDisplayName ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorDisplayName(v string)

SetCreatorDisplayName gets a reference to the given NullableString and assigns it to the CreatorDisplayName field.

func (*ReportSummary) SetCreatorDisplayNameNil ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorDisplayNameNil()

SetCreatorDisplayNameNil sets the value for CreatorDisplayName to be an explicit nil

func (*ReportSummary) SetCreatorId ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorId(v string)

SetCreatorId gets a reference to the given NullableString and assigns it to the CreatorId field.

func (*ReportSummary) SetCreatorIdNil ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorIdNil()

SetCreatorIdNil sets the value for CreatorId to be an explicit nil

func (*ReportSummary) SetCreatorType ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorType(v string)

SetCreatorType gets a reference to the given NullableString and assigns it to the CreatorType field.

func (*ReportSummary) SetCreatorTypeNil ¶ added in v0.27.0

func (o *ReportSummary) SetCreatorTypeNil()

SetCreatorTypeNil sets the value for CreatorType to be an explicit nil

func (*ReportSummary) SetId ¶ added in v0.21.0

func (o *ReportSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ReportSummary) SetMerchantAccountId ¶ added in v0.27.0

func (o *ReportSummary) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*ReportSummary) SetName ¶ added in v0.21.0

func (o *ReportSummary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ReportSummary) SetType ¶ added in v0.21.0

func (o *ReportSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ReportSummary) UnsetCreatorDisplayName ¶ added in v0.27.0

func (o *ReportSummary) UnsetCreatorDisplayName()

UnsetCreatorDisplayName ensures that no value is present for CreatorDisplayName, not even an explicit nil

func (*ReportSummary) UnsetCreatorId ¶ added in v0.27.0

func (o *ReportSummary) UnsetCreatorId()

UnsetCreatorId ensures that no value is present for CreatorId, not even an explicit nil

func (*ReportSummary) UnsetCreatorType ¶ added in v0.27.0

func (o *ReportSummary) UnsetCreatorType()

UnsetCreatorType ensures that no value is present for CreatorType, not even an explicit nil

type ReportUpdate ¶ added in v0.21.0

type ReportUpdate struct {
	// The name of the report.
	Name *string `json:"name,omitempty"`
	// The description of the report.
	Description NullableString `json:"description,omitempty"`
	// Indicates whether the report's scheduling is enabled. This value can only be set to `true` if this is a recurring report.  When this value is set to `true`, the report will be executed at the `next_execution_at` date and time.  When this value is set to `false`, future executions of the report are paused until this value is set to `true` again.  If scheduling is enabled after being disabled, then the `next_execution_at` value is updated if and only if its current value is a past date-time. The `next_execution_at` value is then set to the next closest date-time in the future depending on the values of `schedule` and `schedule_timezone`.
	ScheduleEnabled *bool `json:"schedule_enabled,omitempty"`
}

ReportUpdate Request body to update a report.

func NewReportUpdate ¶ added in v0.21.0

func NewReportUpdate() *ReportUpdate

NewReportUpdate instantiates a new ReportUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportUpdateWithDefaults ¶ added in v0.21.0

func NewReportUpdateWithDefaults() *ReportUpdate

NewReportUpdateWithDefaults instantiates a new ReportUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportUpdate) GetDescription ¶ added in v0.21.0

func (o *ReportUpdate) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReportUpdate) GetDescriptionOk ¶ added in v0.21.0

func (o *ReportUpdate) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReportUpdate) GetName ¶ added in v0.21.0

func (o *ReportUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ReportUpdate) GetNameOk ¶ added in v0.21.0

func (o *ReportUpdate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportUpdate) GetScheduleEnabled ¶ added in v0.21.0

func (o *ReportUpdate) GetScheduleEnabled() bool

GetScheduleEnabled returns the ScheduleEnabled field value if set, zero value otherwise.

func (*ReportUpdate) GetScheduleEnabledOk ¶ added in v0.21.0

func (o *ReportUpdate) GetScheduleEnabledOk() (*bool, bool)

GetScheduleEnabledOk returns a tuple with the ScheduleEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportUpdate) HasDescription ¶ added in v0.21.0

func (o *ReportUpdate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ReportUpdate) HasName ¶ added in v0.21.0

func (o *ReportUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*ReportUpdate) HasScheduleEnabled ¶ added in v0.21.0

func (o *ReportUpdate) HasScheduleEnabled() bool

HasScheduleEnabled returns a boolean if a field has been set.

func (ReportUpdate) MarshalJSON ¶ added in v0.21.0

func (o ReportUpdate) MarshalJSON() ([]byte, error)

func (*ReportUpdate) SetDescription ¶ added in v0.21.0

func (o *ReportUpdate) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ReportUpdate) SetDescriptionNil ¶ added in v0.21.0

func (o *ReportUpdate) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ReportUpdate) SetName ¶ added in v0.21.0

func (o *ReportUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ReportUpdate) SetScheduleEnabled ¶ added in v0.21.0

func (o *ReportUpdate) SetScheduleEnabled(v bool)

SetScheduleEnabled gets a reference to the given bool and assigns it to the ScheduleEnabled field.

func (*ReportUpdate) UnsetDescription ¶ added in v0.21.0

func (o *ReportUpdate) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type Reports ¶ added in v0.21.0

type Reports struct {
	// A list of reports.
	Items *[]Report `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

Reports A list of reports.

func NewReports ¶ added in v0.21.0

func NewReports() *Reports

NewReports instantiates a new Reports object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportsWithDefaults ¶ added in v0.21.0

func NewReportsWithDefaults() *Reports

NewReportsWithDefaults instantiates a new Reports object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Reports) GetItems ¶ added in v0.21.0

func (o *Reports) GetItems() []Report

GetItems returns the Items field value if set, zero value otherwise.

func (*Reports) GetItemsOk ¶ added in v0.21.0

func (o *Reports) GetItemsOk() (*[]Report, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Reports) GetLimit ¶ added in v0.21.0

func (o *Reports) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Reports) GetLimitOk ¶ added in v0.21.0

func (o *Reports) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Reports) GetNextCursor ¶ added in v0.21.0

func (o *Reports) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Reports) GetNextCursorOk ¶ added in v0.21.0

func (o *Reports) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Reports) GetPreviousCursor ¶ added in v0.21.0

func (o *Reports) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Reports) GetPreviousCursorOk ¶ added in v0.21.0

func (o *Reports) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Reports) HasItems ¶ added in v0.21.0

func (o *Reports) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Reports) HasLimit ¶ added in v0.21.0

func (o *Reports) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Reports) HasNextCursor ¶ added in v0.21.0

func (o *Reports) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*Reports) HasPreviousCursor ¶ added in v0.21.0

func (o *Reports) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (Reports) MarshalJSON ¶ added in v0.21.0

func (o Reports) MarshalJSON() ([]byte, error)

func (*Reports) SetItems ¶ added in v0.21.0

func (o *Reports) SetItems(v []Report)

SetItems gets a reference to the given []Report and assigns it to the Items field.

func (*Reports) SetLimit ¶ added in v0.21.0

func (o *Reports) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*Reports) SetNextCursor ¶ added in v0.21.0

func (o *Reports) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*Reports) SetNextCursorNil ¶ added in v0.21.0

func (o *Reports) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*Reports) SetPreviousCursor ¶ added in v0.21.0

func (o *Reports) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*Reports) SetPreviousCursorNil ¶ added in v0.21.0

func (o *Reports) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*Reports) UnsetNextCursor ¶ added in v0.21.0

func (o *Reports) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*Reports) UnsetPreviousCursor ¶ added in v0.21.0

func (o *Reports) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type ReportsApiService ¶ added in v0.21.0

type ReportsApiService service

ReportsApiService ReportsApi service

func (*ReportsApiService) GenerateDownloadUrl ¶ added in v0.21.0

func (a *ReportsApiService) GenerateDownloadUrl(ctx _context.Context, reportId string, reportExecutionId string) ApiGenerateDownloadUrlRequest
  • GenerateDownloadUrl Generate report download URL
  • Generates a temporary signed URL to download the result of a report

execution.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param reportId The unique ID for a report.
  • @param reportExecutionId The unique ID for a report execution.
  • @return ApiGenerateDownloadUrlRequest

func (*ReportsApiService) GenerateDownloadUrlExecute ¶ added in v0.21.0

* Execute executes the request * @return ReportExecutionUrl

func (*ReportsApiService) GetReport ¶ added in v0.21.0

func (a *ReportsApiService) GetReport(ctx _context.Context, reportId string) ApiGetReportRequest

* GetReport Get report * Retrieves the details of a single report. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reportId The unique ID for a report. * @return ApiGetReportRequest

func (*ReportsApiService) GetReportExecute ¶ added in v0.21.0

func (a *ReportsApiService) GetReportExecute(r ApiGetReportRequest) (Report, *_nethttp.Response, error)

* Execute executes the request * @return Report

func (*ReportsApiService) GetReportExecution ¶ added in v0.21.0

func (a *ReportsApiService) GetReportExecution(ctx _context.Context, reportExecutionId string) ApiGetReportExecutionRequest

* GetReportExecution Get report execution * Retrieves the details of a single report execution. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reportExecutionId The unique ID for a report execution. * @return ApiGetReportExecutionRequest

func (*ReportsApiService) GetReportExecutionExecute ¶ added in v0.21.0

* Execute executes the request * @return ReportExecution

func (*ReportsApiService) ListAllReportExecutions ¶ added in v0.21.0

func (a *ReportsApiService) ListAllReportExecutions(ctx _context.Context) ApiListAllReportExecutionsRequest

* ListAllReportExecutions List all report executions * Returns a list of executions belonging to any report. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListAllReportExecutionsRequest

func (*ReportsApiService) ListAllReportExecutionsExecute ¶ added in v0.21.0

* Execute executes the request * @return ReportExecutions

func (*ReportsApiService) ListReportExecutions ¶ added in v0.21.0

func (a *ReportsApiService) ListReportExecutions(ctx _context.Context, reportId string) ApiListReportExecutionsRequest
  • ListReportExecutions List executions for report
  • Returns a list of executions for a report. For a

one-off report there will only be one, where for scheduled ones there may be more.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param reportId The unique ID for a report.
  • @return ApiListReportExecutionsRequest

func (*ReportsApiService) ListReportExecutionsExecute ¶ added in v0.21.0

* Execute executes the request * @return ReportExecutions

func (*ReportsApiService) ListReports ¶ added in v0.21.0

* ListReports List reports * Returns a list of reports. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListReportsRequest

func (*ReportsApiService) ListReportsExecute ¶ added in v0.21.0

func (a *ReportsApiService) ListReportsExecute(r ApiListReportsRequest) (Reports, *_nethttp.Response, error)

* Execute executes the request * @return Reports

func (*ReportsApiService) NewReport ¶ added in v0.27.0

* NewReport New report * Creates a new report.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewReportRequest

func (*ReportsApiService) NewReportExecute ¶ added in v0.27.0

func (a *ReportsApiService) NewReportExecute(r ApiNewReportRequest) (Report, *_nethttp.Response, error)

* Execute executes the request * @return Report

func (*ReportsApiService) UpdateReport ¶ added in v0.21.0

func (a *ReportsApiService) UpdateReport(ctx _context.Context, reportId string) ApiUpdateReportRequest

* UpdateReport Update report * Updates a report. This is mostly used with scheduled reports. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reportId The unique ID for a report. * @return ApiUpdateReportRequest

func (*ReportsApiService) UpdateReportExecute ¶ added in v0.21.0

func (a *ReportsApiService) UpdateReportExecute(r ApiUpdateReportRequest) (Report, *_nethttp.Response, error)

* Execute executes the request * @return Report

type RequiredFields ¶ added in v0.19.0

type RequiredFields struct {
	// The first (given) name of the buyer.
	FirstName *bool `json:"first_name,omitempty"`
	// The last (family) name of the buyer.
	LastName *bool `json:"last_name,omitempty"`
	// The email address of the buyer.
	EmailAddress *bool `json:"email_address,omitempty"`
	// The phone number of the buyer.
	PhoneNumber *bool                  `json:"phone_number,omitempty"`
	Address     *RequiredFieldsAddress `json:"address,omitempty"`
	// The tax id code associated with the billing details.
	TaxId *bool `json:"tax_id,omitempty"`
}

RequiredFields The fields that are required to process a transaction for this payment option.

func NewRequiredFields ¶ added in v0.19.0

func NewRequiredFields() *RequiredFields

NewRequiredFields instantiates a new RequiredFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequiredFieldsWithDefaults ¶ added in v0.19.0

func NewRequiredFieldsWithDefaults() *RequiredFields

NewRequiredFieldsWithDefaults instantiates a new RequiredFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RequiredFields) GetAddress ¶ added in v0.19.0

func (o *RequiredFields) GetAddress() RequiredFieldsAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*RequiredFields) GetAddressOk ¶ added in v0.19.0

func (o *RequiredFields) GetAddressOk() (*RequiredFieldsAddress, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) GetEmailAddress ¶ added in v0.19.0

func (o *RequiredFields) GetEmailAddress() bool

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise.

func (*RequiredFields) GetEmailAddressOk ¶ added in v0.19.0

func (o *RequiredFields) GetEmailAddressOk() (*bool, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) GetFirstName ¶ added in v0.19.0

func (o *RequiredFields) GetFirstName() bool

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*RequiredFields) GetFirstNameOk ¶ added in v0.19.0

func (o *RequiredFields) GetFirstNameOk() (*bool, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) GetLastName ¶ added in v0.19.0

func (o *RequiredFields) GetLastName() bool

GetLastName returns the LastName field value if set, zero value otherwise.

func (*RequiredFields) GetLastNameOk ¶ added in v0.19.0

func (o *RequiredFields) GetLastNameOk() (*bool, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) GetPhoneNumber ¶ added in v0.19.0

func (o *RequiredFields) GetPhoneNumber() bool

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*RequiredFields) GetPhoneNumberOk ¶ added in v0.19.0

func (o *RequiredFields) GetPhoneNumberOk() (*bool, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) GetTaxId ¶ added in v0.19.0

func (o *RequiredFields) GetTaxId() bool

GetTaxId returns the TaxId field value if set, zero value otherwise.

func (*RequiredFields) GetTaxIdOk ¶ added in v0.19.0

func (o *RequiredFields) GetTaxIdOk() (*bool, bool)

GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFields) HasAddress ¶ added in v0.19.0

func (o *RequiredFields) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*RequiredFields) HasEmailAddress ¶ added in v0.19.0

func (o *RequiredFields) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*RequiredFields) HasFirstName ¶ added in v0.19.0

func (o *RequiredFields) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*RequiredFields) HasLastName ¶ added in v0.19.0

func (o *RequiredFields) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*RequiredFields) HasPhoneNumber ¶ added in v0.19.0

func (o *RequiredFields) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*RequiredFields) HasTaxId ¶ added in v0.19.0

func (o *RequiredFields) HasTaxId() bool

HasTaxId returns a boolean if a field has been set.

func (RequiredFields) MarshalJSON ¶ added in v0.19.0

func (o RequiredFields) MarshalJSON() ([]byte, error)

func (*RequiredFields) SetAddress ¶ added in v0.19.0

func (o *RequiredFields) SetAddress(v RequiredFieldsAddress)

SetAddress gets a reference to the given RequiredFieldsAddress and assigns it to the Address field.

func (*RequiredFields) SetEmailAddress ¶ added in v0.19.0

func (o *RequiredFields) SetEmailAddress(v bool)

SetEmailAddress gets a reference to the given bool and assigns it to the EmailAddress field.

func (*RequiredFields) SetFirstName ¶ added in v0.19.0

func (o *RequiredFields) SetFirstName(v bool)

SetFirstName gets a reference to the given bool and assigns it to the FirstName field.

func (*RequiredFields) SetLastName ¶ added in v0.19.0

func (o *RequiredFields) SetLastName(v bool)

SetLastName gets a reference to the given bool and assigns it to the LastName field.

func (*RequiredFields) SetPhoneNumber ¶ added in v0.19.0

func (o *RequiredFields) SetPhoneNumber(v bool)

SetPhoneNumber gets a reference to the given bool and assigns it to the PhoneNumber field.

func (*RequiredFields) SetTaxId ¶ added in v0.19.0

func (o *RequiredFields) SetTaxId(v bool)

SetTaxId gets a reference to the given bool and assigns it to the TaxId field.

type RequiredFieldsAddress ¶ added in v0.19.0

type RequiredFieldsAddress struct {
	// The city for the billing address.
	City *bool `json:"city,omitempty"`
	// The country for the billing address.
	Country *bool `json:"country,omitempty"`
	// The postal code or zip code for the billing address.
	PostalCode *bool `json:"postal_code,omitempty"`
	// The state, county, or province for the billing address.
	State *bool `json:"state,omitempty"`
	// The house number or name for the billing address. Not all payment services use this field but some do.
	HouseNumberOrName *bool `json:"house_number_or_name,omitempty"`
	// The first line of the billing address.
	Line1 *bool `json:"line1,omitempty"`
}

RequiredFieldsAddress The billing address of the buyer.

func NewRequiredFieldsAddress ¶ added in v0.19.0

func NewRequiredFieldsAddress() *RequiredFieldsAddress

NewRequiredFieldsAddress instantiates a new RequiredFieldsAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequiredFieldsAddressWithDefaults ¶ added in v0.19.0

func NewRequiredFieldsAddressWithDefaults() *RequiredFieldsAddress

NewRequiredFieldsAddressWithDefaults instantiates a new RequiredFieldsAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RequiredFieldsAddress) GetCity ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetCity() bool

GetCity returns the City field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetCityOk ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetCityOk() (*bool, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) GetCountry ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetCountry() bool

GetCountry returns the Country field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetCountryOk ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetCountryOk() (*bool, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) GetHouseNumberOrName ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetHouseNumberOrName() bool

GetHouseNumberOrName returns the HouseNumberOrName field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetHouseNumberOrNameOk ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetHouseNumberOrNameOk() (*bool, bool)

GetHouseNumberOrNameOk returns a tuple with the HouseNumberOrName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) GetLine1 ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetLine1() bool

GetLine1 returns the Line1 field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetLine1Ok ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetLine1Ok() (*bool, bool)

GetLine1Ok returns a tuple with the Line1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) GetPostalCode ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetPostalCode() bool

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetPostalCodeOk ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetPostalCodeOk() (*bool, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) GetState ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetState() bool

GetState returns the State field value if set, zero value otherwise.

func (*RequiredFieldsAddress) GetStateOk ¶ added in v0.19.0

func (o *RequiredFieldsAddress) GetStateOk() (*bool, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequiredFieldsAddress) HasCity ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*RequiredFieldsAddress) HasCountry ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*RequiredFieldsAddress) HasHouseNumberOrName ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasHouseNumberOrName() bool

HasHouseNumberOrName returns a boolean if a field has been set.

func (*RequiredFieldsAddress) HasLine1 ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*RequiredFieldsAddress) HasPostalCode ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*RequiredFieldsAddress) HasState ¶ added in v0.19.0

func (o *RequiredFieldsAddress) HasState() bool

HasState returns a boolean if a field has been set.

func (RequiredFieldsAddress) MarshalJSON ¶ added in v0.19.0

func (o RequiredFieldsAddress) MarshalJSON() ([]byte, error)

func (*RequiredFieldsAddress) SetCity ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetCity(v bool)

SetCity gets a reference to the given bool and assigns it to the City field.

func (*RequiredFieldsAddress) SetCountry ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetCountry(v bool)

SetCountry gets a reference to the given bool and assigns it to the Country field.

func (*RequiredFieldsAddress) SetHouseNumberOrName ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetHouseNumberOrName(v bool)

SetHouseNumberOrName gets a reference to the given bool and assigns it to the HouseNumberOrName field.

func (*RequiredFieldsAddress) SetLine1 ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetLine1(v bool)

SetLine1 gets a reference to the given bool and assigns it to the Line1 field.

func (*RequiredFieldsAddress) SetPostalCode ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetPostalCode(v bool)

SetPostalCode gets a reference to the given bool and assigns it to the PostalCode field.

func (*RequiredFieldsAddress) SetState ¶ added in v0.19.0

func (o *RequiredFieldsAddress) SetState(v bool)

SetState gets a reference to the given bool and assigns it to the State field.

type ResetPasswordRequest ¶ added in v0.2.1

type ResetPasswordRequest struct {
	// The email address of the user account to reset.
	EmailAddress *string `json:"email_address,omitempty"`
}

ResetPasswordRequest A request to reset a password for a user.

func NewResetPasswordRequest ¶ added in v0.2.1

func NewResetPasswordRequest() *ResetPasswordRequest

NewResetPasswordRequest instantiates a new ResetPasswordRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResetPasswordRequestWithDefaults ¶ added in v0.2.1

func NewResetPasswordRequestWithDefaults() *ResetPasswordRequest

NewResetPasswordRequestWithDefaults instantiates a new ResetPasswordRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResetPasswordRequest) GetEmailAddress ¶ added in v0.2.1

func (o *ResetPasswordRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise.

func (*ResetPasswordRequest) GetEmailAddressOk ¶ added in v0.2.1

func (o *ResetPasswordRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResetPasswordRequest) HasEmailAddress ¶ added in v0.2.1

func (o *ResetPasswordRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (ResetPasswordRequest) MarshalJSON ¶ added in v0.2.1

func (o ResetPasswordRequest) MarshalJSON() ([]byte, error)

func (*ResetPasswordRequest) SetEmailAddress ¶ added in v0.2.1

func (o *ResetPasswordRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given string and assigns it to the EmailAddress field.

type Role ¶ added in v0.22.0

type Role struct {
	// The type of this resource. Always `role`.
	Type *string `json:"type,omitempty"`
	// The unique ID for this role.
	Id *string `json:"id,omitempty"`
	// The unique name for this role.
	Name *string `json:"name,omitempty"`
	// The description for this role.
	Description *string          `json:"description,omitempty"`
	Permissions *RolePermissions `json:"permissions,omitempty"`
}

Role struct for Role

func NewRole ¶ added in v0.22.0

func NewRole() *Role

NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleWithDefaults ¶ added in v0.22.0

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Role) GetDescription ¶ added in v0.22.0

func (o *Role) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Role) GetDescriptionOk ¶ added in v0.22.0

func (o *Role) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetId ¶ added in v0.22.0

func (o *Role) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Role) GetIdOk ¶ added in v0.22.0

func (o *Role) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetName ¶ added in v0.22.0

func (o *Role) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Role) GetNameOk ¶ added in v0.22.0

func (o *Role) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetPermissions ¶ added in v0.22.0

func (o *Role) GetPermissions() RolePermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*Role) GetPermissionsOk ¶ added in v0.22.0

func (o *Role) GetPermissionsOk() (*RolePermissions, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) GetType ¶ added in v0.22.0

func (o *Role) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Role) GetTypeOk ¶ added in v0.22.0

func (o *Role) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Role) HasDescription ¶ added in v0.22.0

func (o *Role) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Role) HasId ¶ added in v0.22.0

func (o *Role) HasId() bool

HasId returns a boolean if a field has been set.

func (*Role) HasName ¶ added in v0.22.0

func (o *Role) HasName() bool

HasName returns a boolean if a field has been set.

func (*Role) HasPermissions ¶ added in v0.22.0

func (o *Role) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*Role) HasType ¶ added in v0.22.0

func (o *Role) HasType() bool

HasType returns a boolean if a field has been set.

func (Role) MarshalJSON ¶ added in v0.22.0

func (o Role) MarshalJSON() ([]byte, error)

func (*Role) SetDescription ¶ added in v0.22.0

func (o *Role) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Role) SetId ¶ added in v0.22.0

func (o *Role) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Role) SetName ¶ added in v0.22.0

func (o *Role) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Role) SetPermissions ¶ added in v0.22.0

func (o *Role) SetPermissions(v RolePermissions)

SetPermissions gets a reference to the given RolePermissions and assigns it to the Permissions field.

func (*Role) SetType ¶ added in v0.22.0

func (o *Role) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type RoleAssignment ¶ added in v0.22.0

type RoleAssignment struct {
	// The type of this resource. Always `role-assignment`.
	Type *string `json:"type,omitempty"`
	// The unique ID for this role assignment.
	Id       *string                 `json:"id,omitempty"`
	Role     *Role                   `json:"role,omitempty"`
	Assignee *RoleAssignmentAssignee `json:"assignee,omitempty"`
}

RoleAssignment struct for RoleAssignment

func NewRoleAssignment ¶ added in v0.22.0

func NewRoleAssignment() *RoleAssignment

NewRoleAssignment instantiates a new RoleAssignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentWithDefaults() *RoleAssignment

NewRoleAssignmentWithDefaults instantiates a new RoleAssignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignment) GetAssignee ¶ added in v0.22.0

func (o *RoleAssignment) GetAssignee() RoleAssignmentAssignee

GetAssignee returns the Assignee field value if set, zero value otherwise.

func (*RoleAssignment) GetAssigneeOk ¶ added in v0.22.0

func (o *RoleAssignment) GetAssigneeOk() (*RoleAssignmentAssignee, bool)

GetAssigneeOk returns a tuple with the Assignee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignment) GetId ¶ added in v0.22.0

func (o *RoleAssignment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RoleAssignment) GetIdOk ¶ added in v0.22.0

func (o *RoleAssignment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignment) GetRole ¶ added in v0.22.0

func (o *RoleAssignment) GetRole() Role

GetRole returns the Role field value if set, zero value otherwise.

func (*RoleAssignment) GetRoleOk ¶ added in v0.22.0

func (o *RoleAssignment) GetRoleOk() (*Role, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignment) GetType ¶ added in v0.22.0

func (o *RoleAssignment) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*RoleAssignment) GetTypeOk ¶ added in v0.22.0

func (o *RoleAssignment) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignment) HasAssignee ¶ added in v0.22.0

func (o *RoleAssignment) HasAssignee() bool

HasAssignee returns a boolean if a field has been set.

func (*RoleAssignment) HasId ¶ added in v0.22.0

func (o *RoleAssignment) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleAssignment) HasRole ¶ added in v0.22.0

func (o *RoleAssignment) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*RoleAssignment) HasType ¶ added in v0.22.0

func (o *RoleAssignment) HasType() bool

HasType returns a boolean if a field has been set.

func (RoleAssignment) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignment) MarshalJSON() ([]byte, error)

func (*RoleAssignment) SetAssignee ¶ added in v0.22.0

func (o *RoleAssignment) SetAssignee(v RoleAssignmentAssignee)

SetAssignee gets a reference to the given RoleAssignmentAssignee and assigns it to the Assignee field.

func (*RoleAssignment) SetId ¶ added in v0.22.0

func (o *RoleAssignment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RoleAssignment) SetRole ¶ added in v0.22.0

func (o *RoleAssignment) SetRole(v Role)

SetRole gets a reference to the given Role and assigns it to the Role field.

func (*RoleAssignment) SetType ¶ added in v0.22.0

func (o *RoleAssignment) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type RoleAssignmentAssignee ¶ added in v0.22.0

type RoleAssignmentAssignee struct {
	// The type of the assignee.
	Type *string `json:"type,omitempty"`
	// The unique ID of the assignee.
	Id *string `json:"id,omitempty"`
}

RoleAssignmentAssignee The assignee for this role assignment.

func NewRoleAssignmentAssignee ¶ added in v0.22.0

func NewRoleAssignmentAssignee() *RoleAssignmentAssignee

NewRoleAssignmentAssignee instantiates a new RoleAssignmentAssignee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentAssigneeWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentAssigneeWithDefaults() *RoleAssignmentAssignee

NewRoleAssignmentAssigneeWithDefaults instantiates a new RoleAssignmentAssignee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignmentAssignee) GetId ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RoleAssignmentAssignee) GetIdOk ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignmentAssignee) GetType ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*RoleAssignmentAssignee) GetTypeOk ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignmentAssignee) HasId ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoleAssignmentAssignee) HasType ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) HasType() bool

HasType returns a boolean if a field has been set.

func (RoleAssignmentAssignee) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignmentAssignee) MarshalJSON() ([]byte, error)

func (*RoleAssignmentAssignee) SetId ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RoleAssignmentAssignee) SetType ¶ added in v0.22.0

func (o *RoleAssignmentAssignee) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type RoleAssignmentRequest ¶ added in v0.22.0

type RoleAssignmentRequest struct {
	Role     RoleAssignmentRequestRole     `json:"role"`
	Assignee RoleAssignmentRequestAssignee `json:"assignee"`
}

RoleAssignmentRequest A request to create a role assignment.

func NewRoleAssignmentRequest ¶ added in v0.22.0

func NewRoleAssignmentRequest(role RoleAssignmentRequestRole, assignee RoleAssignmentRequestAssignee) *RoleAssignmentRequest

NewRoleAssignmentRequest instantiates a new RoleAssignmentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentRequestWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentRequestWithDefaults() *RoleAssignmentRequest

NewRoleAssignmentRequestWithDefaults instantiates a new RoleAssignmentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignmentRequest) GetAssignee ¶ added in v0.22.0

GetAssignee returns the Assignee field value

func (*RoleAssignmentRequest) GetAssigneeOk ¶ added in v0.22.0

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*RoleAssignmentRequest) GetRole ¶ added in v0.22.0

GetRole returns the Role field value

func (*RoleAssignmentRequest) GetRoleOk ¶ added in v0.22.0

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (RoleAssignmentRequest) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignmentRequest) MarshalJSON() ([]byte, error)

func (*RoleAssignmentRequest) SetAssignee ¶ added in v0.22.0

SetAssignee sets field value

func (*RoleAssignmentRequest) SetRole ¶ added in v0.22.0

SetRole sets field value

type RoleAssignmentRequestAssignee ¶ added in v0.22.0

type RoleAssignmentRequestAssignee struct {
	// The type of the assignee to associate with the role assignment.
	Type string `json:"type"`
	// The ID of the assignee to associate with the role assignment.
	Id string `json:"id"`
}

RoleAssignmentRequestAssignee The assignee to associate with the role assignment.

func NewRoleAssignmentRequestAssignee ¶ added in v0.22.0

func NewRoleAssignmentRequestAssignee(type_ string, id string) *RoleAssignmentRequestAssignee

NewRoleAssignmentRequestAssignee instantiates a new RoleAssignmentRequestAssignee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentRequestAssigneeWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentRequestAssigneeWithDefaults() *RoleAssignmentRequestAssignee

NewRoleAssignmentRequestAssigneeWithDefaults instantiates a new RoleAssignmentRequestAssignee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignmentRequestAssignee) GetId ¶ added in v0.22.0

GetId returns the Id field value

func (*RoleAssignmentRequestAssignee) GetIdOk ¶ added in v0.22.0

func (o *RoleAssignmentRequestAssignee) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RoleAssignmentRequestAssignee) GetType ¶ added in v0.22.0

GetType returns the Type field value

func (*RoleAssignmentRequestAssignee) GetTypeOk ¶ added in v0.22.0

func (o *RoleAssignmentRequestAssignee) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RoleAssignmentRequestAssignee) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignmentRequestAssignee) MarshalJSON() ([]byte, error)

func (*RoleAssignmentRequestAssignee) SetId ¶ added in v0.22.0

SetId sets field value

func (*RoleAssignmentRequestAssignee) SetType ¶ added in v0.22.0

func (o *RoleAssignmentRequestAssignee) SetType(v string)

SetType sets field value

type RoleAssignmentRequestRole ¶ added in v0.22.0

type RoleAssignmentRequestRole struct {
	// The ID of the role to associate with the role assignment.
	Id string `json:"id"`
}

RoleAssignmentRequestRole The role to associate with the role assignment.

func NewRoleAssignmentRequestRole ¶ added in v0.22.0

func NewRoleAssignmentRequestRole(id string) *RoleAssignmentRequestRole

NewRoleAssignmentRequestRole instantiates a new RoleAssignmentRequestRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentRequestRoleWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentRequestRoleWithDefaults() *RoleAssignmentRequestRole

NewRoleAssignmentRequestRoleWithDefaults instantiates a new RoleAssignmentRequestRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignmentRequestRole) GetId ¶ added in v0.22.0

func (o *RoleAssignmentRequestRole) GetId() string

GetId returns the Id field value

func (*RoleAssignmentRequestRole) GetIdOk ¶ added in v0.22.0

func (o *RoleAssignmentRequestRole) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (RoleAssignmentRequestRole) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignmentRequestRole) MarshalJSON() ([]byte, error)

func (*RoleAssignmentRequestRole) SetId ¶ added in v0.22.0

func (o *RoleAssignmentRequestRole) SetId(v string)

SetId sets field value

type RoleAssignments ¶ added in v0.22.0

type RoleAssignments struct {
	// A list of role assignments.
	Items *[]RoleAssignment `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

RoleAssignments A list of role assignments.

func NewRoleAssignments ¶ added in v0.22.0

func NewRoleAssignments() *RoleAssignments

NewRoleAssignments instantiates a new RoleAssignments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleAssignmentsWithDefaults ¶ added in v0.22.0

func NewRoleAssignmentsWithDefaults() *RoleAssignments

NewRoleAssignmentsWithDefaults instantiates a new RoleAssignments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleAssignments) GetItems ¶ added in v0.22.0

func (o *RoleAssignments) GetItems() []RoleAssignment

GetItems returns the Items field value if set, zero value otherwise.

func (*RoleAssignments) GetItemsOk ¶ added in v0.22.0

func (o *RoleAssignments) GetItemsOk() (*[]RoleAssignment, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignments) GetLimit ¶ added in v0.22.0

func (o *RoleAssignments) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RoleAssignments) GetLimitOk ¶ added in v0.22.0

func (o *RoleAssignments) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoleAssignments) GetNextCursor ¶ added in v0.22.0

func (o *RoleAssignments) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RoleAssignments) GetNextCursorOk ¶ added in v0.22.0

func (o *RoleAssignments) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoleAssignments) GetPreviousCursor ¶ added in v0.22.0

func (o *RoleAssignments) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RoleAssignments) GetPreviousCursorOk ¶ added in v0.22.0

func (o *RoleAssignments) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RoleAssignments) HasItems ¶ added in v0.22.0

func (o *RoleAssignments) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RoleAssignments) HasLimit ¶ added in v0.22.0

func (o *RoleAssignments) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*RoleAssignments) HasNextCursor ¶ added in v0.22.0

func (o *RoleAssignments) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*RoleAssignments) HasPreviousCursor ¶ added in v0.22.0

func (o *RoleAssignments) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (RoleAssignments) MarshalJSON ¶ added in v0.22.0

func (o RoleAssignments) MarshalJSON() ([]byte, error)

func (*RoleAssignments) SetItems ¶ added in v0.22.0

func (o *RoleAssignments) SetItems(v []RoleAssignment)

SetItems gets a reference to the given []RoleAssignment and assigns it to the Items field.

func (*RoleAssignments) SetLimit ¶ added in v0.22.0

func (o *RoleAssignments) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*RoleAssignments) SetNextCursor ¶ added in v0.22.0

func (o *RoleAssignments) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*RoleAssignments) SetNextCursorNil ¶ added in v0.22.0

func (o *RoleAssignments) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*RoleAssignments) SetPreviousCursor ¶ added in v0.22.0

func (o *RoleAssignments) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*RoleAssignments) SetPreviousCursorNil ¶ added in v0.22.0

func (o *RoleAssignments) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*RoleAssignments) UnsetNextCursor ¶ added in v0.22.0

func (o *RoleAssignments) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*RoleAssignments) UnsetPreviousCursor ¶ added in v0.22.0

func (o *RoleAssignments) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type RolePermissions ¶ added in v0.22.0

type RolePermissions struct {
	// The list of permissions to allow for a role.
	Allow *[]string `json:"allow,omitempty"`
}

RolePermissions The permissions associated with a role.

func NewRolePermissions ¶ added in v0.22.0

func NewRolePermissions() *RolePermissions

NewRolePermissions instantiates a new RolePermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRolePermissionsWithDefaults ¶ added in v0.22.0

func NewRolePermissionsWithDefaults() *RolePermissions

NewRolePermissionsWithDefaults instantiates a new RolePermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RolePermissions) GetAllow ¶ added in v0.22.0

func (o *RolePermissions) GetAllow() []string

GetAllow returns the Allow field value if set, zero value otherwise.

func (*RolePermissions) GetAllowOk ¶ added in v0.22.0

func (o *RolePermissions) GetAllowOk() (*[]string, bool)

GetAllowOk returns a tuple with the Allow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RolePermissions) HasAllow ¶ added in v0.22.0

func (o *RolePermissions) HasAllow() bool

HasAllow returns a boolean if a field has been set.

func (RolePermissions) MarshalJSON ¶ added in v0.22.0

func (o RolePermissions) MarshalJSON() ([]byte, error)

func (*RolePermissions) SetAllow ¶ added in v0.22.0

func (o *RolePermissions) SetAllow(v []string)

SetAllow gets a reference to the given []string and assigns it to the Allow field.

type Roles ¶ added in v0.22.0

type Roles struct {
	// A list of roles.
	Items *[]Role `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

Roles A list of roles.

func NewRoles ¶ added in v0.22.0

func NewRoles() *Roles

NewRoles instantiates a new Roles object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRolesWithDefaults ¶ added in v0.22.0

func NewRolesWithDefaults() *Roles

NewRolesWithDefaults instantiates a new Roles object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Roles) GetItems ¶ added in v0.22.0

func (o *Roles) GetItems() []Role

GetItems returns the Items field value if set, zero value otherwise.

func (*Roles) GetItemsOk ¶ added in v0.22.0

func (o *Roles) GetItemsOk() (*[]Role, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Roles) GetLimit ¶ added in v0.22.0

func (o *Roles) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Roles) GetLimitOk ¶ added in v0.22.0

func (o *Roles) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Roles) GetNextCursor ¶ added in v0.22.0

func (o *Roles) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Roles) GetNextCursorOk ¶ added in v0.22.0

func (o *Roles) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Roles) GetPreviousCursor ¶ added in v0.22.0

func (o *Roles) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Roles) GetPreviousCursorOk ¶ added in v0.22.0

func (o *Roles) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Roles) HasItems ¶ added in v0.22.0

func (o *Roles) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Roles) HasLimit ¶ added in v0.22.0

func (o *Roles) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Roles) HasNextCursor ¶ added in v0.22.0

func (o *Roles) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*Roles) HasPreviousCursor ¶ added in v0.22.0

func (o *Roles) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (Roles) MarshalJSON ¶ added in v0.22.0

func (o Roles) MarshalJSON() ([]byte, error)

func (*Roles) SetItems ¶ added in v0.22.0

func (o *Roles) SetItems(v []Role)

SetItems gets a reference to the given []Role and assigns it to the Items field.

func (*Roles) SetLimit ¶ added in v0.22.0

func (o *Roles) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*Roles) SetNextCursor ¶ added in v0.22.0

func (o *Roles) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*Roles) SetNextCursorNil ¶ added in v0.22.0

func (o *Roles) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*Roles) SetPreviousCursor ¶ added in v0.22.0

func (o *Roles) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*Roles) SetPreviousCursorNil ¶ added in v0.22.0

func (o *Roles) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*Roles) UnsetNextCursor ¶ added in v0.22.0

func (o *Roles) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*Roles) UnsetPreviousCursor ¶ added in v0.22.0

func (o *Roles) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type RolesApiService ¶ added in v0.22.0

type RolesApiService service

RolesApiService RolesApi service

func (*RolesApiService) DeleteRoleAssignment ¶ added in v0.22.0

func (a *RolesApiService) DeleteRoleAssignment(ctx _context.Context, roleAssignmentId string) ApiDeleteRoleAssignmentRequest
  • DeleteRoleAssignment Delete role assignment
  • Deletes a role assignment. The associated assignee will no longer be

assigned the role.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleAssignmentId The unique ID for the role assignment.
  • @return ApiDeleteRoleAssignmentRequest

func (*RolesApiService) DeleteRoleAssignmentExecute ¶ added in v0.22.0

func (a *RolesApiService) DeleteRoleAssignmentExecute(r ApiDeleteRoleAssignmentRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*RolesApiService) ListRoleAssignments ¶ added in v0.22.0

func (a *RolesApiService) ListRoleAssignments(ctx _context.Context) ApiListRoleAssignmentsRequest
  • ListRoleAssignments List role assignments
  • Returns a list of role assignments.

Role assignments can be filtered for a given role by providing the `role_id` search parameter, or for a given assignee by providing both the `assignee_type` and `assignee_id` parameters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiListRoleAssignmentsRequest

func (*RolesApiService) ListRoleAssignmentsExecute ¶ added in v0.22.0

* Execute executes the request * @return RoleAssignments

func (*RolesApiService) ListRoles ¶ added in v0.22.0

* ListRoles List roles * Returns a list of roles. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListRolesRequest

func (*RolesApiService) ListRolesExecute ¶ added in v0.22.0

func (a *RolesApiService) ListRolesExecute(r ApiListRolesRequest) (Roles, *_nethttp.Response, error)

* Execute executes the request * @return Roles

func (*RolesApiService) NewRoleAssignment ¶ added in v0.27.0

func (a *RolesApiService) NewRoleAssignment(ctx _context.Context) ApiNewRoleAssignmentRequest

* NewRoleAssignment New role assignment * Adds a role assignment, in effect applying a role to the given assignee.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiNewRoleAssignmentRequest

func (*RolesApiService) NewRoleAssignmentExecute ¶ added in v0.27.0

* Execute executes the request * @return RoleAssignment

type ServerConfiguration ¶ added in v0.2.1

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations ¶ added in v0.2.1

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL ¶ added in v0.2.1

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable ¶ added in v0.2.1

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SetPasswordRequest ¶ added in v0.2.1

type SetPasswordRequest struct {
	// Unique reset token valid for 7 days.
	ResetToken *string `json:"reset_token,omitempty"`
	// The password the user to log in with.
	Password *string `json:"password,omitempty"`
}

SetPasswordRequest A request to set a password for a user.

func NewSetPasswordRequest ¶ added in v0.2.1

func NewSetPasswordRequest() *SetPasswordRequest

NewSetPasswordRequest instantiates a new SetPasswordRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSetPasswordRequestWithDefaults ¶ added in v0.2.1

func NewSetPasswordRequestWithDefaults() *SetPasswordRequest

NewSetPasswordRequestWithDefaults instantiates a new SetPasswordRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SetPasswordRequest) GetPassword ¶ added in v0.2.1

func (o *SetPasswordRequest) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*SetPasswordRequest) GetPasswordOk ¶ added in v0.2.1

func (o *SetPasswordRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetPasswordRequest) GetResetToken ¶ added in v0.2.1

func (o *SetPasswordRequest) GetResetToken() string

GetResetToken returns the ResetToken field value if set, zero value otherwise.

func (*SetPasswordRequest) GetResetTokenOk ¶ added in v0.2.1

func (o *SetPasswordRequest) GetResetTokenOk() (*string, bool)

GetResetTokenOk returns a tuple with the ResetToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetPasswordRequest) HasPassword ¶ added in v0.2.1

func (o *SetPasswordRequest) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*SetPasswordRequest) HasResetToken ¶ added in v0.2.1

func (o *SetPasswordRequest) HasResetToken() bool

HasResetToken returns a boolean if a field has been set.

func (SetPasswordRequest) MarshalJSON ¶ added in v0.2.1

func (o SetPasswordRequest) MarshalJSON() ([]byte, error)

func (*SetPasswordRequest) SetPassword ¶ added in v0.2.1

func (o *SetPasswordRequest) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*SetPasswordRequest) SetResetToken ¶ added in v0.2.1

func (o *SetPasswordRequest) SetResetToken(v string)

SetResetToken gets a reference to the given string and assigns it to the ResetToken field.

type ShippingDetail ¶ added in v0.22.0

type ShippingDetail struct {
	// The type of this resource. Is always `shipping-details`.
	Type *string `json:"type,omitempty"`
	// The unique ID for a buyer's shipping detail.
	Id *string `json:"id,omitempty"`
	// The unique ID for a buyer.
	BuyerId *string `json:"buyer_id,omitempty"`
	// The first name(s) or given name of the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address of the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number of the buyer. This number is formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The physical shipping address associated to this buyer.
	Address NullableAddress `json:"address,omitempty"`
}

ShippingDetail Shipping detail for a buyer.

func NewShippingDetail ¶ added in v0.22.0

func NewShippingDetail() *ShippingDetail

NewShippingDetail instantiates a new ShippingDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShippingDetailWithDefaults ¶ added in v0.22.0

func NewShippingDetailWithDefaults() *ShippingDetail

NewShippingDetailWithDefaults instantiates a new ShippingDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ShippingDetail) GetAddress ¶ added in v0.22.0

func (o *ShippingDetail) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetail) GetAddressOk ¶ added in v0.22.0

func (o *ShippingDetail) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetail) GetBuyerId ¶ added in v0.22.0

func (o *ShippingDetail) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*ShippingDetail) GetBuyerIdOk ¶ added in v0.22.0

func (o *ShippingDetail) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShippingDetail) GetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetail) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetail) GetEmailAddressOk ¶ added in v0.22.0

func (o *ShippingDetail) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetail) GetFirstName ¶ added in v0.22.0

func (o *ShippingDetail) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetail) GetFirstNameOk ¶ added in v0.22.0

func (o *ShippingDetail) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetail) GetId ¶ added in v0.22.0

func (o *ShippingDetail) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ShippingDetail) GetIdOk ¶ added in v0.22.0

func (o *ShippingDetail) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShippingDetail) GetLastName ¶ added in v0.22.0

func (o *ShippingDetail) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetail) GetLastNameOk ¶ added in v0.22.0

func (o *ShippingDetail) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetail) GetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetail) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetail) GetPhoneNumberOk ¶ added in v0.22.0

func (o *ShippingDetail) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetail) GetType ¶ added in v0.22.0

func (o *ShippingDetail) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ShippingDetail) GetTypeOk ¶ added in v0.22.0

func (o *ShippingDetail) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShippingDetail) HasAddress ¶ added in v0.22.0

func (o *ShippingDetail) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ShippingDetail) HasBuyerId ¶ added in v0.22.0

func (o *ShippingDetail) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*ShippingDetail) HasEmailAddress ¶ added in v0.22.0

func (o *ShippingDetail) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*ShippingDetail) HasFirstName ¶ added in v0.22.0

func (o *ShippingDetail) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*ShippingDetail) HasId ¶ added in v0.22.0

func (o *ShippingDetail) HasId() bool

HasId returns a boolean if a field has been set.

func (*ShippingDetail) HasLastName ¶ added in v0.22.0

func (o *ShippingDetail) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*ShippingDetail) HasPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetail) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*ShippingDetail) HasType ¶ added in v0.22.0

func (o *ShippingDetail) HasType() bool

HasType returns a boolean if a field has been set.

func (ShippingDetail) MarshalJSON ¶ added in v0.22.0

func (o ShippingDetail) MarshalJSON() ([]byte, error)

func (*ShippingDetail) SetAddress ¶ added in v0.22.0

func (o *ShippingDetail) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*ShippingDetail) SetAddressNil ¶ added in v0.22.0

func (o *ShippingDetail) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*ShippingDetail) SetBuyerId ¶ added in v0.22.0

func (o *ShippingDetail) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*ShippingDetail) SetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetail) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*ShippingDetail) SetEmailAddressNil ¶ added in v0.22.0

func (o *ShippingDetail) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*ShippingDetail) SetFirstName ¶ added in v0.22.0

func (o *ShippingDetail) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*ShippingDetail) SetFirstNameNil ¶ added in v0.22.0

func (o *ShippingDetail) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*ShippingDetail) SetId ¶ added in v0.22.0

func (o *ShippingDetail) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ShippingDetail) SetLastName ¶ added in v0.22.0

func (o *ShippingDetail) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*ShippingDetail) SetLastNameNil ¶ added in v0.22.0

func (o *ShippingDetail) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*ShippingDetail) SetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetail) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*ShippingDetail) SetPhoneNumberNil ¶ added in v0.22.0

func (o *ShippingDetail) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*ShippingDetail) SetType ¶ added in v0.22.0

func (o *ShippingDetail) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ShippingDetail) UnsetAddress ¶ added in v0.22.0

func (o *ShippingDetail) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*ShippingDetail) UnsetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetail) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*ShippingDetail) UnsetFirstName ¶ added in v0.22.0

func (o *ShippingDetail) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*ShippingDetail) UnsetLastName ¶ added in v0.22.0

func (o *ShippingDetail) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*ShippingDetail) UnsetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetail) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

type ShippingDetailRequest ¶ added in v0.22.0

type ShippingDetailRequest struct {
	// The first name(s) or given name for the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address for the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number for the buyer which should be formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The physical shipping address associated to this buyer.
	Address NullableAddress `json:"address,omitempty"`
}

ShippingDetailRequest Shipping detail associated to a buyer.

func NewShippingDetailRequest ¶ added in v0.22.0

func NewShippingDetailRequest() *ShippingDetailRequest

NewShippingDetailRequest instantiates a new ShippingDetailRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShippingDetailRequestWithDefaults ¶ added in v0.22.0

func NewShippingDetailRequestWithDefaults() *ShippingDetailRequest

NewShippingDetailRequestWithDefaults instantiates a new ShippingDetailRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ShippingDetailRequest) GetAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailRequest) GetAddressOk ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailRequest) GetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailRequest) GetEmailAddressOk ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailRequest) GetFirstName ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailRequest) GetFirstNameOk ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailRequest) GetLastName ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailRequest) GetLastNameOk ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailRequest) GetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailRequest) GetPhoneNumberOk ¶ added in v0.22.0

func (o *ShippingDetailRequest) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailRequest) HasAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ShippingDetailRequest) HasEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*ShippingDetailRequest) HasFirstName ¶ added in v0.22.0

func (o *ShippingDetailRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*ShippingDetailRequest) HasLastName ¶ added in v0.22.0

func (o *ShippingDetailRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*ShippingDetailRequest) HasPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (ShippingDetailRequest) MarshalJSON ¶ added in v0.22.0

func (o ShippingDetailRequest) MarshalJSON() ([]byte, error)

func (*ShippingDetailRequest) SetAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*ShippingDetailRequest) SetAddressNil ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*ShippingDetailRequest) SetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*ShippingDetailRequest) SetEmailAddressNil ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*ShippingDetailRequest) SetFirstName ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*ShippingDetailRequest) SetFirstNameNil ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*ShippingDetailRequest) SetLastName ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*ShippingDetailRequest) SetLastNameNil ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*ShippingDetailRequest) SetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*ShippingDetailRequest) SetPhoneNumberNil ¶ added in v0.22.0

func (o *ShippingDetailRequest) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*ShippingDetailRequest) UnsetAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*ShippingDetailRequest) UnsetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailRequest) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*ShippingDetailRequest) UnsetFirstName ¶ added in v0.22.0

func (o *ShippingDetailRequest) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*ShippingDetailRequest) UnsetLastName ¶ added in v0.22.0

func (o *ShippingDetailRequest) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*ShippingDetailRequest) UnsetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailRequest) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

type ShippingDetailUpdateRequest ¶ added in v0.22.0

type ShippingDetailUpdateRequest struct {
	// The first name(s) or given name for the buyer.
	FirstName NullableString `json:"first_name,omitempty"`
	// The last name, or family name, of the buyer.
	LastName NullableString `json:"last_name,omitempty"`
	// The email address for the buyer.
	EmailAddress NullableString `json:"email_address,omitempty"`
	// The phone number for the buyer which should be formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The physical shipping address associated to this buyer.
	Address NullableAddress `json:"address,omitempty"`
}

ShippingDetailUpdateRequest struct for ShippingDetailUpdateRequest

func NewShippingDetailUpdateRequest ¶ added in v0.22.0

func NewShippingDetailUpdateRequest() *ShippingDetailUpdateRequest

NewShippingDetailUpdateRequest instantiates a new ShippingDetailUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShippingDetailUpdateRequestWithDefaults ¶ added in v0.22.0

func NewShippingDetailUpdateRequestWithDefaults() *ShippingDetailUpdateRequest

NewShippingDetailUpdateRequestWithDefaults instantiates a new ShippingDetailUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ShippingDetailUpdateRequest) GetAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailUpdateRequest) GetAddressOk ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailUpdateRequest) GetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailUpdateRequest) GetEmailAddressOk ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailUpdateRequest) GetFirstName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailUpdateRequest) GetFirstNameOk ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailUpdateRequest) GetLastName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailUpdateRequest) GetLastNameOk ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailUpdateRequest) GetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ShippingDetailUpdateRequest) GetPhoneNumberOk ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ShippingDetailUpdateRequest) HasAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ShippingDetailUpdateRequest) HasEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*ShippingDetailUpdateRequest) HasFirstName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*ShippingDetailUpdateRequest) HasLastName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*ShippingDetailUpdateRequest) HasPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (ShippingDetailUpdateRequest) MarshalJSON ¶ added in v0.22.0

func (o ShippingDetailUpdateRequest) MarshalJSON() ([]byte, error)

func (*ShippingDetailUpdateRequest) SetAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetAddress(v Address)

SetAddress gets a reference to the given NullableAddress and assigns it to the Address field.

func (*ShippingDetailUpdateRequest) SetAddressNil ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*ShippingDetailUpdateRequest) SetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given NullableString and assigns it to the EmailAddress field.

func (*ShippingDetailUpdateRequest) SetEmailAddressNil ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetEmailAddressNil()

SetEmailAddressNil sets the value for EmailAddress to be an explicit nil

func (*ShippingDetailUpdateRequest) SetFirstName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetFirstName(v string)

SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.

func (*ShippingDetailUpdateRequest) SetFirstNameNil ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetFirstNameNil()

SetFirstNameNil sets the value for FirstName to be an explicit nil

func (*ShippingDetailUpdateRequest) SetLastName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetLastName(v string)

SetLastName gets a reference to the given NullableString and assigns it to the LastName field.

func (*ShippingDetailUpdateRequest) SetLastNameNil ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetLastNameNil()

SetLastNameNil sets the value for LastName to be an explicit nil

func (*ShippingDetailUpdateRequest) SetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*ShippingDetailUpdateRequest) SetPhoneNumberNil ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*ShippingDetailUpdateRequest) UnsetAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*ShippingDetailUpdateRequest) UnsetEmailAddress ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) UnsetEmailAddress()

UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil

func (*ShippingDetailUpdateRequest) UnsetFirstName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

func (*ShippingDetailUpdateRequest) UnsetLastName ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

func (*ShippingDetailUpdateRequest) UnsetPhoneNumber ¶ added in v0.22.0

func (o *ShippingDetailUpdateRequest) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

type ShippingDetails ¶ added in v0.22.0

type ShippingDetails struct {
	// A list of shipping details.
	Items *[]ShippingDetail `json:"items,omitempty"`
}

ShippingDetails A list of shipping details.

func NewShippingDetails ¶ added in v0.22.0

func NewShippingDetails() *ShippingDetails

NewShippingDetails instantiates a new ShippingDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShippingDetailsWithDefaults ¶ added in v0.22.0

func NewShippingDetailsWithDefaults() *ShippingDetails

NewShippingDetailsWithDefaults instantiates a new ShippingDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ShippingDetails) GetItems ¶ added in v0.22.0

func (o *ShippingDetails) GetItems() []ShippingDetail

GetItems returns the Items field value if set, zero value otherwise.

func (*ShippingDetails) GetItemsOk ¶ added in v0.22.0

func (o *ShippingDetails) GetItemsOk() (*[]ShippingDetail, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ShippingDetails) HasItems ¶ added in v0.22.0

func (o *ShippingDetails) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ShippingDetails) MarshalJSON ¶ added in v0.22.0

func (o ShippingDetails) MarshalJSON() ([]byte, error)

func (*ShippingDetails) SetItems ¶ added in v0.22.0

func (o *ShippingDetails) SetItems(v []ShippingDetail)

SetItems gets a reference to the given []ShippingDetail and assigns it to the Items field.

type StatementDescriptor ¶ added in v0.13.0

type StatementDescriptor struct {
	// Reflects your doing business as (DBA) name.  Other validations:  1. Contains only Latin characters. 2. Contain at least one letter 3. Does not contain any of the special characters `< > \\ ' \" *` 4. Supports:   1. Lower case: `a-z`   2. Upper case: `A-Z`   3. Numbers: `0-9`   4. Spaces: ` `   5. Special characters: `. , _ - ? + /`.
	Name NullableString `json:"name,omitempty"`
	// A short description about the purchase.  Other validations: 1. Contains only Latin characters. 2. Contain at least one letter 3. Does not contain any of the special characters `< > \\ ' \" *` 4. Supports:   1. Lower case: `a-z`   2. Upper case: `A-Z`   3. Numbers: `0-9`   4. Spaces: ` `   5. Special characters: `. , _ - ? + /`.
	Description NullableString `json:"description,omitempty"`
	// City from which the charge originated.
	City NullableString `json:"city,omitempty"`
	// The value in the phone number field of a customer's statement which should be formatted according to the [E164 number standard](https://www.twilio.com/docs/glossary/what-e164).
	PhoneNumber NullableString `json:"phone_number,omitempty"`
	// The value in the URL/web address field of a customer's statement.
	Url NullableString `json:"url,omitempty"`
}

StatementDescriptor The statement descriptor is the text to be shown on the buyer's statements. The specific usage of these fields will depend on the capabilities of the underlying PSP and bank. As a typical example, 'name' and 'description' could be concatenated using '* ' as a separator, and then the resulting descriptor would be truncated to 22 characters by the issuing bank.

func NewStatementDescriptor ¶ added in v0.13.0

func NewStatementDescriptor() *StatementDescriptor

NewStatementDescriptor instantiates a new StatementDescriptor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStatementDescriptorWithDefaults ¶ added in v0.13.0

func NewStatementDescriptorWithDefaults() *StatementDescriptor

NewStatementDescriptorWithDefaults instantiates a new StatementDescriptor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StatementDescriptor) GetCity ¶ added in v0.13.0

func (o *StatementDescriptor) GetCity() string

GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StatementDescriptor) GetCityOk ¶ added in v0.13.0

func (o *StatementDescriptor) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StatementDescriptor) GetDescription ¶ added in v0.13.0

func (o *StatementDescriptor) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StatementDescriptor) GetDescriptionOk ¶ added in v0.13.0

func (o *StatementDescriptor) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StatementDescriptor) GetName ¶ added in v0.13.0

func (o *StatementDescriptor) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StatementDescriptor) GetNameOk ¶ added in v0.13.0

func (o *StatementDescriptor) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StatementDescriptor) GetPhoneNumber ¶ added in v0.13.0

func (o *StatementDescriptor) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StatementDescriptor) GetPhoneNumberOk ¶ added in v0.13.0

func (o *StatementDescriptor) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StatementDescriptor) GetUrl ¶ added in v0.13.0

func (o *StatementDescriptor) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).

func (*StatementDescriptor) GetUrlOk ¶ added in v0.13.0

func (o *StatementDescriptor) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StatementDescriptor) HasCity ¶ added in v0.13.0

func (o *StatementDescriptor) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*StatementDescriptor) HasDescription ¶ added in v0.13.0

func (o *StatementDescriptor) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StatementDescriptor) HasName ¶ added in v0.13.0

func (o *StatementDescriptor) HasName() bool

HasName returns a boolean if a field has been set.

func (*StatementDescriptor) HasPhoneNumber ¶ added in v0.13.0

func (o *StatementDescriptor) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*StatementDescriptor) HasUrl ¶ added in v0.13.0

func (o *StatementDescriptor) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (StatementDescriptor) MarshalJSON ¶ added in v0.13.0

func (o StatementDescriptor) MarshalJSON() ([]byte, error)

func (*StatementDescriptor) SetCity ¶ added in v0.13.0

func (o *StatementDescriptor) SetCity(v string)

SetCity gets a reference to the given NullableString and assigns it to the City field.

func (*StatementDescriptor) SetCityNil ¶ added in v0.13.0

func (o *StatementDescriptor) SetCityNil()

SetCityNil sets the value for City to be an explicit nil

func (*StatementDescriptor) SetDescription ¶ added in v0.13.0

func (o *StatementDescriptor) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*StatementDescriptor) SetDescriptionNil ¶ added in v0.13.0

func (o *StatementDescriptor) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*StatementDescriptor) SetName ¶ added in v0.13.0

func (o *StatementDescriptor) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*StatementDescriptor) SetNameNil ¶ added in v0.13.0

func (o *StatementDescriptor) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*StatementDescriptor) SetPhoneNumber ¶ added in v0.13.0

func (o *StatementDescriptor) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*StatementDescriptor) SetPhoneNumberNil ¶ added in v0.13.0

func (o *StatementDescriptor) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*StatementDescriptor) SetUrl ¶ added in v0.13.0

func (o *StatementDescriptor) SetUrl(v string)

SetUrl gets a reference to the given NullableString and assigns it to the Url field.

func (*StatementDescriptor) SetUrlNil ¶ added in v0.13.0

func (o *StatementDescriptor) SetUrlNil()

SetUrlNil sets the value for Url to be an explicit nil

func (*StatementDescriptor) UnsetCity ¶ added in v0.13.0

func (o *StatementDescriptor) UnsetCity()

UnsetCity ensures that no value is present for City, not even an explicit nil

func (*StatementDescriptor) UnsetDescription ¶ added in v0.13.0

func (o *StatementDescriptor) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*StatementDescriptor) UnsetName ¶ added in v0.13.0

func (o *StatementDescriptor) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*StatementDescriptor) UnsetPhoneNumber ¶ added in v0.13.0

func (o *StatementDescriptor) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

func (*StatementDescriptor) UnsetUrl ¶ added in v0.13.0

func (o *StatementDescriptor) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

type TaxId ¶ added in v0.3.0

type TaxId struct {
	// The tax ID for the buyer.
	Value string `json:"value"`
	// The kind of tax ID.
	Kind string `json:"kind"`
}

TaxId The tax ID information associated to a buyer.

func NewTaxId ¶ added in v0.3.0

func NewTaxId(value string, kind string) *TaxId

NewTaxId instantiates a new TaxId object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaxIdWithDefaults ¶ added in v0.3.0

func NewTaxIdWithDefaults() *TaxId

NewTaxIdWithDefaults instantiates a new TaxId object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaxId) GetKind ¶ added in v0.3.0

func (o *TaxId) GetKind() string

GetKind returns the Kind field value

func (*TaxId) GetKindOk ¶ added in v0.3.0

func (o *TaxId) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*TaxId) GetValue ¶ added in v0.16.0

func (o *TaxId) GetValue() string

GetValue returns the Value field value

func (*TaxId) GetValueOk ¶ added in v0.16.0

func (o *TaxId) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (TaxId) MarshalJSON ¶ added in v0.3.0

func (o TaxId) MarshalJSON() ([]byte, error)

func (*TaxId) SetKind ¶ added in v0.3.0

func (o *TaxId) SetKind(v string)

SetKind sets field value

func (*TaxId) SetValue ¶ added in v0.16.0

func (o *TaxId) SetValue(v string)

SetValue sets field value

type ThreeDSecureAuthenticationRequestEvent ¶ added in v0.28.0

type ThreeDSecureAuthenticationRequestEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `three-d-secure-authentication-request`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                     `json:"created_at,omitempty"`
	Context   *ThreeDSecureAuthenticationRequestEventContext `json:"context,omitempty"`
}

ThreeDSecureAuthenticationRequestEvent The result and raw data for a 3DS authorization call.

func NewThreeDSecureAuthenticationRequestEvent ¶ added in v0.28.0

func NewThreeDSecureAuthenticationRequestEvent() *ThreeDSecureAuthenticationRequestEvent

NewThreeDSecureAuthenticationRequestEvent instantiates a new ThreeDSecureAuthenticationRequestEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureAuthenticationRequestEventWithDefaults ¶ added in v0.28.0

func NewThreeDSecureAuthenticationRequestEventWithDefaults() *ThreeDSecureAuthenticationRequestEvent

NewThreeDSecureAuthenticationRequestEventWithDefaults instantiates a new ThreeDSecureAuthenticationRequestEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureAuthenticationRequestEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEvent) GetCreatedAt ¶ added in v0.28.0

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEvent) GetNameOk ¶ added in v0.28.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEvent) GetTypeOk ¶ added in v0.28.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEvent) HasContext ¶ added in v0.28.0

HasContext returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEvent) HasCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (ThreeDSecureAuthenticationRequestEvent) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureAuthenticationRequestEvent) MarshalJSON() ([]byte, error)

func (*ThreeDSecureAuthenticationRequestEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given ThreeDSecureAuthenticationRequestEventContext and assigns it to the Context field.

func (*ThreeDSecureAuthenticationRequestEvent) SetCreatedAt ¶ added in v0.28.0

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ThreeDSecureAuthenticationRequestEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThreeDSecureAuthenticationRequestEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThreeDSecureAuthenticationRequestEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type ThreeDSecureAuthenticationRequestEventContext ¶ added in v0.28.0

type ThreeDSecureAuthenticationRequestEventContext struct {
	// The URL that was called for this request.
	Url *string `json:"url,omitempty"`
	// The request body sent to the `url`.
	Request *string `json:"request,omitempty"`
	// The response body received from the `url`.
	Response *string `json:"response,omitempty"`
	// The response status code received from the `url`.
	ResponseStatusCode *int32 `json:"response_status_code,omitempty"`
	// The 3DS CAVV value parsed from the `response`.
	Cavv *string `json:"cavv,omitempty"`
	// The 3DS ECI value parsed from the `response`.
	Eci *string `json:"eci,omitempty"`
	// The `transStatus` parsed from the `response`.
	DirectoryResponse *string `json:"directory_response,omitempty"`
	// The `dsTransID` parsed from the `response`.
	DirectoryTransactionId *string `json:"directory_transaction_id,omitempty"`
	// The version of 3DS used.
	Version *string `json:"version,omitempty"`
}

ThreeDSecureAuthenticationRequestEventContext 3DS authentication context.

func NewThreeDSecureAuthenticationRequestEventContext ¶ added in v0.28.0

func NewThreeDSecureAuthenticationRequestEventContext() *ThreeDSecureAuthenticationRequestEventContext

NewThreeDSecureAuthenticationRequestEventContext instantiates a new ThreeDSecureAuthenticationRequestEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureAuthenticationRequestEventContextWithDefaults ¶ added in v0.28.0

func NewThreeDSecureAuthenticationRequestEventContextWithDefaults() *ThreeDSecureAuthenticationRequestEventContext

NewThreeDSecureAuthenticationRequestEventContextWithDefaults instantiates a new ThreeDSecureAuthenticationRequestEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureAuthenticationRequestEventContext) GetCavv ¶ added in v0.28.0

GetCavv returns the Cavv field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetCavvOk ¶ added in v0.28.0

GetCavvOk returns a tuple with the Cavv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetDirectoryResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetDirectoryTransactionIdOk ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetEci ¶ added in v0.28.0

GetEci returns the Eci field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetEciOk ¶ added in v0.28.0

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetRequest ¶ added in v0.28.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetRequestOk ¶ added in v0.28.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetResponse ¶ added in v0.28.0

GetResponse returns the Response field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetResponseOk ¶ added in v0.28.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetResponseStatusCode() int32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetResponseStatusCodeOk ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) GetResponseStatusCodeOk() (*int32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetUrl ¶ added in v0.28.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetUrlOk ¶ added in v0.28.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) GetVersion ¶ added in v0.28.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecureAuthenticationRequestEventContext) GetVersionOk ¶ added in v0.28.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasCavv ¶ added in v0.28.0

HasCavv returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) HasDirectoryResponse() bool

HasDirectoryResponse returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) HasDirectoryTransactionId() bool

HasDirectoryTransactionId returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasEci ¶ added in v0.28.0

HasEci returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasRequest ¶ added in v0.28.0

HasRequest returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasResponse ¶ added in v0.28.0

HasResponse returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasUrl ¶ added in v0.28.0

HasUrl returns a boolean if a field has been set.

func (*ThreeDSecureAuthenticationRequestEventContext) HasVersion ¶ added in v0.28.0

HasVersion returns a boolean if a field has been set.

func (ThreeDSecureAuthenticationRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (*ThreeDSecureAuthenticationRequestEventContext) SetCavv ¶ added in v0.28.0

SetCavv gets a reference to the given string and assigns it to the Cavv field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) SetDirectoryResponse(v string)

SetDirectoryResponse gets a reference to the given string and assigns it to the DirectoryResponse field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId gets a reference to the given string and assigns it to the DirectoryTransactionId field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetEci ¶ added in v0.28.0

SetEci gets a reference to the given string and assigns it to the Eci field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetRequest ¶ added in v0.28.0

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetResponse ¶ added in v0.28.0

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureAuthenticationRequestEventContext) SetResponseStatusCode(v int32)

SetResponseStatusCode gets a reference to the given int32 and assigns it to the ResponseStatusCode field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetUrl ¶ added in v0.28.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*ThreeDSecureAuthenticationRequestEventContext) SetVersion ¶ added in v0.28.0

SetVersion gets a reference to the given string and assigns it to the Version field.

type ThreeDSecureData ¶ added in v0.3.0

type ThreeDSecureData struct {
	// The cardholder authentication value or AAV.
	Cavv string `json:"cavv"`
	// The electronic commerce indicator for the 3DS transaction.
	Eci string `json:"eci"`
	// The version of 3-D Secure that was used.
	Version string `json:"version"`
	// For 3-D Secure version 1, the enrolment response. For 3-D Secure version , the transaction status from the `ARes`.
	DirectoryResponse string `json:"directory_response"`
}

ThreeDSecureData struct for ThreeDSecureData

func NewThreeDSecureData ¶ added in v0.3.0

func NewThreeDSecureData(cavv string, eci string, version string, directoryResponse string) *ThreeDSecureData

NewThreeDSecureData instantiates a new ThreeDSecureData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataWithDefaults ¶ added in v0.3.0

func NewThreeDSecureDataWithDefaults() *ThreeDSecureData

NewThreeDSecureDataWithDefaults instantiates a new ThreeDSecureData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureData) GetCavv ¶ added in v0.3.0

func (o *ThreeDSecureData) GetCavv() string

GetCavv returns the Cavv field value

func (*ThreeDSecureData) GetCavvOk ¶ added in v0.3.0

func (o *ThreeDSecureData) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value and a boolean to check if the value has been set.

func (*ThreeDSecureData) GetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureData) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value

func (*ThreeDSecureData) GetDirectoryResponseOk ¶ added in v0.3.0

func (o *ThreeDSecureData) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureData) GetEci ¶ added in v0.3.0

func (o *ThreeDSecureData) GetEci() string

GetEci returns the Eci field value

func (*ThreeDSecureData) GetEciOk ¶ added in v0.3.0

func (o *ThreeDSecureData) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value and a boolean to check if the value has been set.

func (*ThreeDSecureData) GetVersion ¶ added in v0.3.0

func (o *ThreeDSecureData) GetVersion() string

GetVersion returns the Version field value

func (*ThreeDSecureData) GetVersionOk ¶ added in v0.3.0

func (o *ThreeDSecureData) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (ThreeDSecureData) MarshalJSON ¶ added in v0.3.0

func (o ThreeDSecureData) MarshalJSON() ([]byte, error)

func (*ThreeDSecureData) SetCavv ¶ added in v0.3.0

func (o *ThreeDSecureData) SetCavv(v string)

SetCavv sets field value

func (*ThreeDSecureData) SetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureData) SetDirectoryResponse(v string)

SetDirectoryResponse sets field value

func (*ThreeDSecureData) SetEci ¶ added in v0.3.0

func (o *ThreeDSecureData) SetEci(v string)

SetEci sets field value

func (*ThreeDSecureData) SetVersion ¶ added in v0.3.0

func (o *ThreeDSecureData) SetVersion(v string)

SetVersion sets field value

type ThreeDSecureDataV1 ¶ added in v0.3.0

type ThreeDSecureDataV1 struct {
	// The cardholder authentication value or AAV.
	Cavv string `json:"cavv"`
	// The electronic commerce indicator for the 3DS transaction.
	Eci string `json:"eci"`
	// The version of 3-D Secure that was used.
	Version string `json:"version"`
	// For 3-D Secure version 1, the enrolment response. For 3-D Secure version , the transaction status from the `ARes`.
	DirectoryResponse string `json:"directory_response"`
	// The response for the 3DS authentication call.
	AuthenticationResponse string `json:"authentication_response"`
	// The CAVV algorithm used.
	CavvAlgorithm string `json:"cavv_algorithm"`
	// The transaction identifier.
	Xid string `json:"xid"`
}

ThreeDSecureDataV1 struct for ThreeDSecureDataV1

func NewThreeDSecureDataV1 ¶ added in v0.3.0

func NewThreeDSecureDataV1(cavv string, eci string, version string, directoryResponse string, authenticationResponse string, cavvAlgorithm string, xid string) *ThreeDSecureDataV1

NewThreeDSecureDataV1 instantiates a new ThreeDSecureDataV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataV1WithDefaults ¶ added in v0.3.0

func NewThreeDSecureDataV1WithDefaults() *ThreeDSecureDataV1

NewThreeDSecureDataV1WithDefaults instantiates a new ThreeDSecureDataV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureDataV1) GetAuthenticationResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value

func (*ThreeDSecureDataV1) GetAuthenticationResponseOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetCavv ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetCavv() string

GetCavv returns the Cavv field value

func (*ThreeDSecureDataV1) GetCavvAlgorithm ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetCavvAlgorithm() string

GetCavvAlgorithm returns the CavvAlgorithm field value

func (*ThreeDSecureDataV1) GetCavvAlgorithmOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetCavvAlgorithmOk() (*string, bool)

GetCavvAlgorithmOk returns a tuple with the CavvAlgorithm field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetCavvOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value

func (*ThreeDSecureDataV1) GetDirectoryResponseOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetEci ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetEci() string

GetEci returns the Eci field value

func (*ThreeDSecureDataV1) GetEciOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetVersion ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetVersion() string

GetVersion returns the Version field value

func (*ThreeDSecureDataV1) GetVersionOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1) GetXid ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetXid() string

GetXid returns the Xid field value

func (*ThreeDSecureDataV1) GetXidOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) GetXidOk() (*string, bool)

GetXidOk returns a tuple with the Xid field value and a boolean to check if the value has been set.

func (ThreeDSecureDataV1) MarshalJSON ¶ added in v0.3.0

func (o ThreeDSecureDataV1) MarshalJSON() ([]byte, error)

func (*ThreeDSecureDataV1) SetAuthenticationResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetAuthenticationResponse(v string)

SetAuthenticationResponse sets field value

func (*ThreeDSecureDataV1) SetCavv ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetCavv(v string)

SetCavv sets field value

func (*ThreeDSecureDataV1) SetCavvAlgorithm ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetCavvAlgorithm(v string)

SetCavvAlgorithm sets field value

func (*ThreeDSecureDataV1) SetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetDirectoryResponse(v string)

SetDirectoryResponse sets field value

func (*ThreeDSecureDataV1) SetEci ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetEci(v string)

SetEci sets field value

func (*ThreeDSecureDataV1) SetVersion ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetVersion(v string)

SetVersion sets field value

func (*ThreeDSecureDataV1) SetXid ¶ added in v0.3.0

func (o *ThreeDSecureDataV1) SetXid(v string)

SetXid sets field value

type ThreeDSecureDataV1AllOf ¶ added in v0.7.0

type ThreeDSecureDataV1AllOf struct {
	// The response for the 3DS authentication call.
	AuthenticationResponse string `json:"authentication_response"`
	// The CAVV algorithm used.
	CavvAlgorithm string `json:"cavv_algorithm"`
	// The transaction identifier.
	Xid string `json:"xid"`
}

ThreeDSecureDataV1AllOf struct for ThreeDSecureDataV1AllOf

func NewThreeDSecureDataV1AllOf ¶ added in v0.7.0

func NewThreeDSecureDataV1AllOf(authenticationResponse string, cavvAlgorithm string, xid string) *ThreeDSecureDataV1AllOf

NewThreeDSecureDataV1AllOf instantiates a new ThreeDSecureDataV1AllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataV1AllOfWithDefaults ¶ added in v0.7.0

func NewThreeDSecureDataV1AllOfWithDefaults() *ThreeDSecureDataV1AllOf

NewThreeDSecureDataV1AllOfWithDefaults instantiates a new ThreeDSecureDataV1AllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureDataV1AllOf) GetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value

func (*ThreeDSecureDataV1AllOf) GetAuthenticationResponseOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1AllOf) GetCavvAlgorithm ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetCavvAlgorithm() string

GetCavvAlgorithm returns the CavvAlgorithm field value

func (*ThreeDSecureDataV1AllOf) GetCavvAlgorithmOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetCavvAlgorithmOk() (*string, bool)

GetCavvAlgorithmOk returns a tuple with the CavvAlgorithm field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1AllOf) GetXid ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetXid() string

GetXid returns the Xid field value

func (*ThreeDSecureDataV1AllOf) GetXidOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) GetXidOk() (*string, bool)

GetXidOk returns a tuple with the Xid field value and a boolean to check if the value has been set.

func (ThreeDSecureDataV1AllOf) MarshalJSON ¶ added in v0.7.0

func (o ThreeDSecureDataV1AllOf) MarshalJSON() ([]byte, error)

func (*ThreeDSecureDataV1AllOf) SetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) SetAuthenticationResponse(v string)

SetAuthenticationResponse sets field value

func (*ThreeDSecureDataV1AllOf) SetCavvAlgorithm ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) SetCavvAlgorithm(v string)

SetCavvAlgorithm sets field value

func (*ThreeDSecureDataV1AllOf) SetXid ¶ added in v0.7.0

func (o *ThreeDSecureDataV1AllOf) SetXid(v string)

SetXid sets field value

type ThreeDSecureDataV1V2 ¶ added in v0.7.0

type ThreeDSecureDataV1V2 struct {
	// The cardholder authentication value or AAV.
	Cavv string `json:"cavv"`
	// The electronic commerce indicator for the 3DS transaction.
	Eci string `json:"eci"`
	// The version of 3-D Secure that was used.
	Version string `json:"version"`
	// The transaction status received as part of the authentication request.
	DirectoryResponse string `json:"directory_response"`
	// The transaction status after a the 3DS challenge. This will be null in case of a frictionless 3DS flow.
	AuthenticationResponse NullableString `json:"authentication_response"`
	// The CAVV algorithm used.
	CavvAlgorithm string `json:"cavv_algorithm"`
	// The transaction identifier.
	Xid string `json:"xid"`
	// The transaction identifier.
	DirectoryTransactionId string `json:"directory_transaction_id"`
}

ThreeDSecureDataV1V2 struct for ThreeDSecureDataV1V2

func NewThreeDSecureDataV1V2 ¶ added in v0.7.0

func NewThreeDSecureDataV1V2(cavv string, eci string, version string, directoryResponse string, authenticationResponse NullableString, cavvAlgorithm string, xid string, directoryTransactionId string) *ThreeDSecureDataV1V2

NewThreeDSecureDataV1V2 instantiates a new ThreeDSecureDataV1V2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataV1V2WithDefaults ¶ added in v0.7.0

func NewThreeDSecureDataV1V2WithDefaults() *ThreeDSecureDataV1V2

NewThreeDSecureDataV1V2WithDefaults instantiates a new ThreeDSecureDataV1V2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureDataV1V2) GetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value If the value is explicit nil, the zero value for string will be returned

func (*ThreeDSecureDataV1V2) GetAuthenticationResponseOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureDataV1V2) GetCavv ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetCavv() string

GetCavv returns the Cavv field value

func (*ThreeDSecureDataV1V2) GetCavvAlgorithm ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetCavvAlgorithm() string

GetCavvAlgorithm returns the CavvAlgorithm field value

func (*ThreeDSecureDataV1V2) GetCavvAlgorithmOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetCavvAlgorithmOk() (*string, bool)

GetCavvAlgorithmOk returns a tuple with the CavvAlgorithm field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetCavvOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetDirectoryResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value

func (*ThreeDSecureDataV1V2) GetDirectoryResponseOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetDirectoryTransactionId ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value

func (*ThreeDSecureDataV1V2) GetDirectoryTransactionIdOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetEci ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetEci() string

GetEci returns the Eci field value

func (*ThreeDSecureDataV1V2) GetEciOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetVersion ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetVersion() string

GetVersion returns the Version field value

func (*ThreeDSecureDataV1V2) GetVersionOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV1V2) GetXid ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetXid() string

GetXid returns the Xid field value

func (*ThreeDSecureDataV1V2) GetXidOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) GetXidOk() (*string, bool)

GetXidOk returns a tuple with the Xid field value and a boolean to check if the value has been set.

func (ThreeDSecureDataV1V2) MarshalJSON ¶ added in v0.7.0

func (o ThreeDSecureDataV1V2) MarshalJSON() ([]byte, error)

func (*ThreeDSecureDataV1V2) SetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetAuthenticationResponse(v string)

SetAuthenticationResponse sets field value

func (*ThreeDSecureDataV1V2) SetCavv ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetCavv(v string)

SetCavv sets field value

func (*ThreeDSecureDataV1V2) SetCavvAlgorithm ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetCavvAlgorithm(v string)

SetCavvAlgorithm sets field value

func (*ThreeDSecureDataV1V2) SetDirectoryResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetDirectoryResponse(v string)

SetDirectoryResponse sets field value

func (*ThreeDSecureDataV1V2) SetDirectoryTransactionId ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId sets field value

func (*ThreeDSecureDataV1V2) SetEci ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetEci(v string)

SetEci sets field value

func (*ThreeDSecureDataV1V2) SetVersion ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetVersion(v string)

SetVersion sets field value

func (*ThreeDSecureDataV1V2) SetXid ¶ added in v0.7.0

func (o *ThreeDSecureDataV1V2) SetXid(v string)

SetXid sets field value

type ThreeDSecureDataV2 ¶ added in v0.3.0

type ThreeDSecureDataV2 struct {
	// The cardholder authentication value or AAV.
	Cavv string `json:"cavv"`
	// The electronic commerce indicator for the 3DS transaction.
	Eci string `json:"eci"`
	// The version of 3-D Secure that was used.
	Version string `json:"version"`
	// The transaction status received as part of the authentication request.
	DirectoryResponse string `json:"directory_response"`
	// The transaction status after a the 3DS challenge. This will be null in case of a frictionless 3DS flow.
	AuthenticationResponse NullableString `json:"authentication_response,omitempty"`
	// The transaction identifier.
	DirectoryTransactionId string `json:"directory_transaction_id"`
}

ThreeDSecureDataV2 struct for ThreeDSecureDataV2

func NewThreeDSecureDataV2 ¶ added in v0.3.0

func NewThreeDSecureDataV2(cavv string, eci string, version string, directoryResponse string, directoryTransactionId string) *ThreeDSecureDataV2

NewThreeDSecureDataV2 instantiates a new ThreeDSecureDataV2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataV2WithDefaults ¶ added in v0.3.0

func NewThreeDSecureDataV2WithDefaults() *ThreeDSecureDataV2

NewThreeDSecureDataV2WithDefaults instantiates a new ThreeDSecureDataV2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureDataV2) GetAuthenticationResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureDataV2) GetAuthenticationResponseOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureDataV2) GetCavv ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetCavv() string

GetCavv returns the Cavv field value

func (*ThreeDSecureDataV2) GetCavvOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2) GetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value

func (*ThreeDSecureDataV2) GetDirectoryResponseOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2) GetDirectoryTransactionId ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value

func (*ThreeDSecureDataV2) GetDirectoryTransactionIdOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2) GetEci ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetEci() string

GetEci returns the Eci field value

func (*ThreeDSecureDataV2) GetEciOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2) GetVersion ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetVersion() string

GetVersion returns the Version field value

func (*ThreeDSecureDataV2) GetVersionOk ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2) HasAuthenticationResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) HasAuthenticationResponse() bool

HasAuthenticationResponse returns a boolean if a field has been set.

func (ThreeDSecureDataV2) MarshalJSON ¶ added in v0.3.0

func (o ThreeDSecureDataV2) MarshalJSON() ([]byte, error)

func (*ThreeDSecureDataV2) SetAuthenticationResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetAuthenticationResponse(v string)

SetAuthenticationResponse gets a reference to the given NullableString and assigns it to the AuthenticationResponse field.

func (*ThreeDSecureDataV2) SetAuthenticationResponseNil ¶ added in v0.28.0

func (o *ThreeDSecureDataV2) SetAuthenticationResponseNil()

SetAuthenticationResponseNil sets the value for AuthenticationResponse to be an explicit nil

func (*ThreeDSecureDataV2) SetCavv ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetCavv(v string)

SetCavv sets field value

func (*ThreeDSecureDataV2) SetDirectoryResponse ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetDirectoryResponse(v string)

SetDirectoryResponse sets field value

func (*ThreeDSecureDataV2) SetDirectoryTransactionId ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId sets field value

func (*ThreeDSecureDataV2) SetEci ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetEci(v string)

SetEci sets field value

func (*ThreeDSecureDataV2) SetVersion ¶ added in v0.3.0

func (o *ThreeDSecureDataV2) SetVersion(v string)

SetVersion sets field value

func (*ThreeDSecureDataV2) UnsetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureDataV2) UnsetAuthenticationResponse()

UnsetAuthenticationResponse ensures that no value is present for AuthenticationResponse, not even an explicit nil

type ThreeDSecureDataV2AllOf ¶ added in v0.7.0

type ThreeDSecureDataV2AllOf struct {
	// The transaction status after a the 3DS challenge. This will be null in case of a frictionless 3DS flow.
	AuthenticationResponse NullableString `json:"authentication_response,omitempty"`
	// The transaction status received as part of the authentication request.
	DirectoryResponse *string `json:"directory_response,omitempty"`
	// The transaction identifier.
	DirectoryTransactionId string `json:"directory_transaction_id"`
}

ThreeDSecureDataV2AllOf struct for ThreeDSecureDataV2AllOf

func NewThreeDSecureDataV2AllOf ¶ added in v0.7.0

func NewThreeDSecureDataV2AllOf(directoryTransactionId string) *ThreeDSecureDataV2AllOf

NewThreeDSecureDataV2AllOf instantiates a new ThreeDSecureDataV2AllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureDataV2AllOfWithDefaults ¶ added in v0.7.0

func NewThreeDSecureDataV2AllOfWithDefaults() *ThreeDSecureDataV2AllOf

NewThreeDSecureDataV2AllOfWithDefaults instantiates a new ThreeDSecureDataV2AllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureDataV2AllOf) GetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureDataV2AllOf) GetAuthenticationResponseOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureDataV2AllOf) GetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value if set, zero value otherwise.

func (*ThreeDSecureDataV2AllOf) GetDirectoryResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2AllOf) GetDirectoryTransactionId ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value

func (*ThreeDSecureDataV2AllOf) GetDirectoryTransactionIdOk ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value and a boolean to check if the value has been set.

func (*ThreeDSecureDataV2AllOf) HasAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) HasAuthenticationResponse() bool

HasAuthenticationResponse returns a boolean if a field has been set.

func (*ThreeDSecureDataV2AllOf) HasDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) HasDirectoryResponse() bool

HasDirectoryResponse returns a boolean if a field has been set.

func (ThreeDSecureDataV2AllOf) MarshalJSON ¶ added in v0.7.0

func (o ThreeDSecureDataV2AllOf) MarshalJSON() ([]byte, error)

func (*ThreeDSecureDataV2AllOf) SetAuthenticationResponse ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) SetAuthenticationResponse(v string)

SetAuthenticationResponse gets a reference to the given NullableString and assigns it to the AuthenticationResponse field.

func (*ThreeDSecureDataV2AllOf) SetAuthenticationResponseNil ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) SetAuthenticationResponseNil()

SetAuthenticationResponseNil sets the value for AuthenticationResponse to be an explicit nil

func (*ThreeDSecureDataV2AllOf) SetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) SetDirectoryResponse(v string)

SetDirectoryResponse gets a reference to the given string and assigns it to the DirectoryResponse field.

func (*ThreeDSecureDataV2AllOf) SetDirectoryTransactionId ¶ added in v0.7.0

func (o *ThreeDSecureDataV2AllOf) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId sets field value

func (*ThreeDSecureDataV2AllOf) UnsetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureDataV2AllOf) UnsetAuthenticationResponse()

UnsetAuthenticationResponse ensures that no value is present for AuthenticationResponse, not even an explicit nil

type ThreeDSecureError ¶ added in v0.22.0

type ThreeDSecureError struct {
	// The error description.
	Description NullableString `json:"description"`
	// Detail for the error.
	Detail NullableString `json:"detail"`
	// The error code.
	Code NullableString `json:"code"`
	// Code indicating the 3-D Secure component that identified the error..
	Component NullableString `json:"component"`
}

ThreeDSecureError Details about the error resulting from 3DS processing a Transaction.

func NewThreeDSecureError ¶ added in v0.22.0

func NewThreeDSecureError(description NullableString, detail NullableString, code NullableString, component NullableString) *ThreeDSecureError

NewThreeDSecureError instantiates a new ThreeDSecureError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureErrorWithDefaults ¶ added in v0.22.0

func NewThreeDSecureErrorWithDefaults() *ThreeDSecureError

NewThreeDSecureErrorWithDefaults instantiates a new ThreeDSecureError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureError) GetCode ¶ added in v0.22.0

func (o *ThreeDSecureError) GetCode() string

GetCode returns the Code field value If the value is explicit nil, the zero value for string will be returned

func (*ThreeDSecureError) GetCodeOk ¶ added in v0.22.0

func (o *ThreeDSecureError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureError) GetComponent ¶ added in v0.22.0

func (o *ThreeDSecureError) GetComponent() string

GetComponent returns the Component field value If the value is explicit nil, the zero value for string will be returned

func (*ThreeDSecureError) GetComponentOk ¶ added in v0.22.0

func (o *ThreeDSecureError) GetComponentOk() (*string, bool)

GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureError) GetDescription ¶ added in v0.22.0

func (o *ThreeDSecureError) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*ThreeDSecureError) GetDescriptionOk ¶ added in v0.22.0

func (o *ThreeDSecureError) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureError) GetDetail ¶ added in v0.22.0

func (o *ThreeDSecureError) GetDetail() string

GetDetail returns the Detail field value If the value is explicit nil, the zero value for string will be returned

func (*ThreeDSecureError) GetDetailOk ¶ added in v0.22.0

func (o *ThreeDSecureError) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (ThreeDSecureError) MarshalJSON ¶ added in v0.22.0

func (o ThreeDSecureError) MarshalJSON() ([]byte, error)

func (*ThreeDSecureError) SetCode ¶ added in v0.22.0

func (o *ThreeDSecureError) SetCode(v string)

SetCode sets field value

func (*ThreeDSecureError) SetComponent ¶ added in v0.22.0

func (o *ThreeDSecureError) SetComponent(v string)

SetComponent sets field value

func (*ThreeDSecureError) SetDescription ¶ added in v0.22.0

func (o *ThreeDSecureError) SetDescription(v string)

SetDescription sets field value

func (*ThreeDSecureError) SetDetail ¶ added in v0.22.0

func (o *ThreeDSecureError) SetDetail(v string)

SetDetail sets field value

type ThreeDSecurePreparationRequestEvent ¶ added in v0.28.0

type ThreeDSecurePreparationRequestEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `three-d-secure-preparation-request`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                                  `json:"created_at,omitempty"`
	Context   *ThreeDSecurePreparationRequestEventContext `json:"context,omitempty"`
}

ThreeDSecurePreparationRequestEvent The result and raw data for a 3DS pre-authorization call.

func NewThreeDSecurePreparationRequestEvent ¶ added in v0.28.0

func NewThreeDSecurePreparationRequestEvent() *ThreeDSecurePreparationRequestEvent

NewThreeDSecurePreparationRequestEvent instantiates a new ThreeDSecurePreparationRequestEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecurePreparationRequestEventWithDefaults ¶ added in v0.28.0

func NewThreeDSecurePreparationRequestEventWithDefaults() *ThreeDSecurePreparationRequestEvent

NewThreeDSecurePreparationRequestEventWithDefaults instantiates a new ThreeDSecurePreparationRequestEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecurePreparationRequestEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEvent) GetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEvent) GetIdOk ¶ added in v0.28.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEvent) GetNameOk ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEvent) GetTypeOk ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEvent) HasContext ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEvent) HasCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEvent) HasName ¶ added in v0.28.0

HasName returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEvent) HasType ¶ added in v0.28.0

HasType returns a boolean if a field has been set.

func (ThreeDSecurePreparationRequestEvent) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecurePreparationRequestEvent) MarshalJSON() ([]byte, error)

func (*ThreeDSecurePreparationRequestEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given ThreeDSecurePreparationRequestEventContext and assigns it to the Context field.

func (*ThreeDSecurePreparationRequestEvent) SetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ThreeDSecurePreparationRequestEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThreeDSecurePreparationRequestEvent) SetName ¶ added in v0.28.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThreeDSecurePreparationRequestEvent) SetType ¶ added in v0.28.0

SetType gets a reference to the given string and assigns it to the Type field.

type ThreeDSecurePreparationRequestEventContext ¶ added in v0.28.0

type ThreeDSecurePreparationRequestEventContext struct {
	// The URL that was called for this request.
	Url *string `json:"url,omitempty"`
	// The request body sent to the `url`.
	Request *string `json:"request,omitempty"`
	// The response body received from the `url`.
	Response *string `json:"response,omitempty"`
	// The response status code received from the `url`.
	ResponseStatusCode *int32 `json:"response_status_code,omitempty"`
	// If the card is enrolled for 3DS.
	IsEnrolled *bool `json:"is_enrolled,omitempty"`
	// The version of 3DS extracted from the `response.
	Version *string `json:"version,omitempty"`
}

ThreeDSecurePreparationRequestEventContext 3DS pre-authentication context.

func NewThreeDSecurePreparationRequestEventContext ¶ added in v0.28.0

func NewThreeDSecurePreparationRequestEventContext() *ThreeDSecurePreparationRequestEventContext

NewThreeDSecurePreparationRequestEventContext instantiates a new ThreeDSecurePreparationRequestEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecurePreparationRequestEventContextWithDefaults ¶ added in v0.28.0

func NewThreeDSecurePreparationRequestEventContextWithDefaults() *ThreeDSecurePreparationRequestEventContext

NewThreeDSecurePreparationRequestEventContextWithDefaults instantiates a new ThreeDSecurePreparationRequestEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecurePreparationRequestEventContext) GetIsEnrolled ¶ added in v0.28.0

GetIsEnrolled returns the IsEnrolled field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetIsEnrolledOk ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEventContext) GetIsEnrolledOk() (*bool, bool)

GetIsEnrolledOk returns a tuple with the IsEnrolled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) GetRequest ¶ added in v0.28.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetRequestOk ¶ added in v0.28.0

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) GetResponse ¶ added in v0.28.0

GetResponse returns the Response field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetResponseOk ¶ added in v0.28.0

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) GetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEventContext) GetResponseStatusCode() int32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetResponseStatusCodeOk ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEventContext) GetResponseStatusCodeOk() (*int32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) GetUrl ¶ added in v0.28.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetUrlOk ¶ added in v0.28.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) GetVersion ¶ added in v0.28.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecurePreparationRequestEventContext) GetVersionOk ¶ added in v0.28.0

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasIsEnrolled ¶ added in v0.28.0

HasIsEnrolled returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasRequest ¶ added in v0.28.0

HasRequest returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasResponse ¶ added in v0.28.0

HasResponse returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasUrl ¶ added in v0.28.0

HasUrl returns a boolean if a field has been set.

func (*ThreeDSecurePreparationRequestEventContext) HasVersion ¶ added in v0.28.0

HasVersion returns a boolean if a field has been set.

func (ThreeDSecurePreparationRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (*ThreeDSecurePreparationRequestEventContext) SetIsEnrolled ¶ added in v0.28.0

SetIsEnrolled gets a reference to the given bool and assigns it to the IsEnrolled field.

func (*ThreeDSecurePreparationRequestEventContext) SetRequest ¶ added in v0.28.0

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*ThreeDSecurePreparationRequestEventContext) SetResponse ¶ added in v0.28.0

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*ThreeDSecurePreparationRequestEventContext) SetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecurePreparationRequestEventContext) SetResponseStatusCode(v int32)

SetResponseStatusCode gets a reference to the given int32 and assigns it to the ResponseStatusCode field.

func (*ThreeDSecurePreparationRequestEventContext) SetUrl ¶ added in v0.28.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*ThreeDSecurePreparationRequestEventContext) SetVersion ¶ added in v0.28.0

SetVersion gets a reference to the given string and assigns it to the Version field.

type ThreeDSecureRequestErrorEvent ¶ added in v0.28.0

type ThreeDSecureRequestErrorEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `three-d-secure-request-error`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                            `json:"created_at,omitempty"`
	Context   *ThreeDSecureRequestErrorEventContext `json:"context,omitempty"`
}

ThreeDSecureRequestErrorEvent Error details for a failed 3DS call.

func NewThreeDSecureRequestErrorEvent ¶ added in v0.28.0

func NewThreeDSecureRequestErrorEvent() *ThreeDSecureRequestErrorEvent

NewThreeDSecureRequestErrorEvent instantiates a new ThreeDSecureRequestErrorEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureRequestErrorEventWithDefaults ¶ added in v0.28.0

func NewThreeDSecureRequestErrorEventWithDefaults() *ThreeDSecureRequestErrorEvent

NewThreeDSecureRequestErrorEventWithDefaults instantiates a new ThreeDSecureRequestErrorEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureRequestErrorEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEvent) GetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEvent) GetIdOk ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEvent) GetNameOk ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEvent) GetTypeOk ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEvent) HasContext ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ThreeDSecureRequestErrorEvent) HasCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ThreeDSecureRequestErrorEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*ThreeDSecureRequestErrorEvent) HasName ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThreeDSecureRequestErrorEvent) HasType ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (ThreeDSecureRequestErrorEvent) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureRequestErrorEvent) MarshalJSON() ([]byte, error)

func (*ThreeDSecureRequestErrorEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given ThreeDSecureRequestErrorEventContext and assigns it to the Context field.

func (*ThreeDSecureRequestErrorEvent) SetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ThreeDSecureRequestErrorEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThreeDSecureRequestErrorEvent) SetName ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThreeDSecureRequestErrorEvent) SetType ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ThreeDSecureRequestErrorEventContext ¶ added in v0.28.0

type ThreeDSecureRequestErrorEventContext struct {
	// The URL that was called for this request.
	Url *string `json:"url,omitempty"`
	// The reason for the error.
	Reason *string `json:"reason,omitempty"`
}

ThreeDSecureRequestErrorEventContext 3DS post-authentication context.

func NewThreeDSecureRequestErrorEventContext ¶ added in v0.28.0

func NewThreeDSecureRequestErrorEventContext() *ThreeDSecureRequestErrorEventContext

NewThreeDSecureRequestErrorEventContext instantiates a new ThreeDSecureRequestErrorEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureRequestErrorEventContextWithDefaults ¶ added in v0.28.0

func NewThreeDSecureRequestErrorEventContextWithDefaults() *ThreeDSecureRequestErrorEventContext

NewThreeDSecureRequestErrorEventContextWithDefaults instantiates a new ThreeDSecureRequestErrorEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureRequestErrorEventContext) GetReason ¶ added in v0.28.0

GetReason returns the Reason field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEventContext) GetReasonOk ¶ added in v0.28.0

func (o *ThreeDSecureRequestErrorEventContext) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEventContext) GetUrl ¶ added in v0.28.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*ThreeDSecureRequestErrorEventContext) GetUrlOk ¶ added in v0.28.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureRequestErrorEventContext) HasReason ¶ added in v0.28.0

HasReason returns a boolean if a field has been set.

func (*ThreeDSecureRequestErrorEventContext) HasUrl ¶ added in v0.28.0

HasUrl returns a boolean if a field has been set.

func (ThreeDSecureRequestErrorEventContext) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureRequestErrorEventContext) MarshalJSON() ([]byte, error)

func (*ThreeDSecureRequestErrorEventContext) SetReason ¶ added in v0.28.0

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*ThreeDSecureRequestErrorEventContext) SetUrl ¶ added in v0.28.0

SetUrl gets a reference to the given string and assigns it to the Url field.

type ThreeDSecureResultRequestEvent ¶ added in v0.28.0

type ThreeDSecureResultRequestEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `three-d-secure-result-request`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                             `json:"created_at,omitempty"`
	Context   *ThreeDSecureResultRequestEventContext `json:"context,omitempty"`
}

ThreeDSecureResultRequestEvent The result and raw data for a 3DS post-authorization call.

func NewThreeDSecureResultRequestEvent ¶ added in v0.28.0

func NewThreeDSecureResultRequestEvent() *ThreeDSecureResultRequestEvent

NewThreeDSecureResultRequestEvent instantiates a new ThreeDSecureResultRequestEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureResultRequestEventWithDefaults ¶ added in v0.28.0

func NewThreeDSecureResultRequestEventWithDefaults() *ThreeDSecureResultRequestEvent

NewThreeDSecureResultRequestEventWithDefaults instantiates a new ThreeDSecureResultRequestEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureResultRequestEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEvent) GetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEvent) GetId ¶ added in v0.28.0

GetId returns the Id field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEvent) GetIdOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEvent) GetName ¶ added in v0.28.0

GetName returns the Name field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEvent) GetNameOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEvent) GetType ¶ added in v0.28.0

GetType returns the Type field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEvent) GetTypeOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEvent) HasContext ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEvent) HasCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEvent) HasId ¶ added in v0.28.0

HasId returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEvent) HasName ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEvent) HasType ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (ThreeDSecureResultRequestEvent) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureResultRequestEvent) MarshalJSON() ([]byte, error)

func (*ThreeDSecureResultRequestEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given ThreeDSecureResultRequestEventContext and assigns it to the Context field.

func (*ThreeDSecureResultRequestEvent) SetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ThreeDSecureResultRequestEvent) SetId ¶ added in v0.28.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThreeDSecureResultRequestEvent) SetName ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThreeDSecureResultRequestEvent) SetType ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ThreeDSecureResultRequestEventContext ¶ added in v0.28.0

type ThreeDSecureResultRequestEventContext struct {
	// The URL that was called for this request.
	Url *string `json:"url,omitempty"`
	// The request body sent to the `url`.
	Request *string `json:"request,omitempty"`
	// The response body received from the `url`.
	Response *string `json:"response,omitempty"`
	// The response status code received from the `url`.
	ResponseStatusCode *int32 `json:"response_status_code,omitempty"`
	// The 3DS CAVV value parsed from the `response`.
	Cavv *string `json:"cavv,omitempty"`
	// The 3DS ECI value parsed from the `response`.
	Eci *string `json:"eci,omitempty"`
	// The `transStatus` parsed from the post-authorization `response`.
	AuthenticationResponse *string `json:"authentication_response,omitempty"`
	// The `transStatus` parsed from the authorization `response`.
	DirectoryResponse *string `json:"directory_response,omitempty"`
	// The `dsTransID` parsed from the `response`.
	DirectoryTransactionId *string `json:"directory_transaction_id,omitempty"`
	// The version of 3DS used.
	Version *string `json:"version,omitempty"`
}

ThreeDSecureResultRequestEventContext 3DS post-authentication context.

func NewThreeDSecureResultRequestEventContext ¶ added in v0.28.0

func NewThreeDSecureResultRequestEventContext() *ThreeDSecureResultRequestEventContext

NewThreeDSecureResultRequestEventContext instantiates a new ThreeDSecureResultRequestEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureResultRequestEventContextWithDefaults ¶ added in v0.28.0

func NewThreeDSecureResultRequestEventContextWithDefaults() *ThreeDSecureResultRequestEventContext

NewThreeDSecureResultRequestEventContextWithDefaults instantiates a new ThreeDSecureResultRequestEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureResultRequestEventContext) GetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetAuthenticationResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetCavv ¶ added in v0.28.0

GetCavv returns the Cavv field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetCavvOk ¶ added in v0.28.0

GetCavvOk returns a tuple with the Cavv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetDirectoryResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetDirectoryTransactionIdOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetEci ¶ added in v0.28.0

GetEci returns the Eci field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetEciOk ¶ added in v0.28.0

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetRequest ¶ added in v0.28.0

GetRequest returns the Request field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetRequestOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetResponse ¶ added in v0.28.0

GetResponse returns the Response field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetResponseStatusCode() int32

GetResponseStatusCode returns the ResponseStatusCode field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetResponseStatusCodeOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetResponseStatusCodeOk() (*int32, bool)

GetResponseStatusCodeOk returns a tuple with the ResponseStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetUrl ¶ added in v0.28.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetUrlOk ¶ added in v0.28.0

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) GetVersion ¶ added in v0.28.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecureResultRequestEventContext) GetVersionOk ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureResultRequestEventContext) HasAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) HasAuthenticationResponse() bool

HasAuthenticationResponse returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasCavv ¶ added in v0.28.0

HasCavv returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) HasDirectoryResponse() bool

HasDirectoryResponse returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) HasDirectoryTransactionId() bool

HasDirectoryTransactionId returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasEci ¶ added in v0.28.0

HasEci returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasRequest ¶ added in v0.28.0

HasRequest returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasResponse ¶ added in v0.28.0

HasResponse returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) HasResponseStatusCode() bool

HasResponseStatusCode returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasUrl ¶ added in v0.28.0

HasUrl returns a boolean if a field has been set.

func (*ThreeDSecureResultRequestEventContext) HasVersion ¶ added in v0.28.0

HasVersion returns a boolean if a field has been set.

func (ThreeDSecureResultRequestEventContext) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureResultRequestEventContext) MarshalJSON() ([]byte, error)

func (*ThreeDSecureResultRequestEventContext) SetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) SetAuthenticationResponse(v string)

SetAuthenticationResponse gets a reference to the given string and assigns it to the AuthenticationResponse field.

func (*ThreeDSecureResultRequestEventContext) SetCavv ¶ added in v0.28.0

SetCavv gets a reference to the given string and assigns it to the Cavv field.

func (*ThreeDSecureResultRequestEventContext) SetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) SetDirectoryResponse(v string)

SetDirectoryResponse gets a reference to the given string and assigns it to the DirectoryResponse field.

func (*ThreeDSecureResultRequestEventContext) SetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId gets a reference to the given string and assigns it to the DirectoryTransactionId field.

func (*ThreeDSecureResultRequestEventContext) SetEci ¶ added in v0.28.0

SetEci gets a reference to the given string and assigns it to the Eci field.

func (*ThreeDSecureResultRequestEventContext) SetRequest ¶ added in v0.28.0

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*ThreeDSecureResultRequestEventContext) SetResponse ¶ added in v0.28.0

SetResponse gets a reference to the given string and assigns it to the Response field.

func (*ThreeDSecureResultRequestEventContext) SetResponseStatusCode ¶ added in v0.28.0

func (o *ThreeDSecureResultRequestEventContext) SetResponseStatusCode(v int32)

SetResponseStatusCode gets a reference to the given int32 and assigns it to the ResponseStatusCode field.

func (*ThreeDSecureResultRequestEventContext) SetUrl ¶ added in v0.28.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*ThreeDSecureResultRequestEventContext) SetVersion ¶ added in v0.28.0

SetVersion gets a reference to the given string and assigns it to the Version field.

type ThreeDSecureSuccessEvent ¶ added in v0.28.0

type ThreeDSecureSuccessEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource. Is always `three-d-secure-success`.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time                       `json:"created_at,omitempty"`
	Context   *ThreeDSecureSuccessEventContext `json:"context,omitempty"`
}

ThreeDSecureSuccessEvent Details related to 3DS processing.

func NewThreeDSecureSuccessEvent ¶ added in v0.28.0

func NewThreeDSecureSuccessEvent() *ThreeDSecureSuccessEvent

NewThreeDSecureSuccessEvent instantiates a new ThreeDSecureSuccessEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureSuccessEventWithDefaults ¶ added in v0.28.0

func NewThreeDSecureSuccessEventWithDefaults() *ThreeDSecureSuccessEvent

NewThreeDSecureSuccessEventWithDefaults instantiates a new ThreeDSecureSuccessEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureSuccessEvent) GetContext ¶ added in v0.28.0

GetContext returns the Context field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEvent) GetContextOk ¶ added in v0.28.0

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEvent) GetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEvent) GetId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEvent) GetIdOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEvent) GetName ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEvent) GetNameOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEvent) GetType ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEvent) GetTypeOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEvent) HasContext ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEvent) HasCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEvent) HasId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEvent) HasName ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEvent) HasType ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (ThreeDSecureSuccessEvent) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureSuccessEvent) MarshalJSON() ([]byte, error)

func (*ThreeDSecureSuccessEvent) SetContext ¶ added in v0.28.0

SetContext gets a reference to the given ThreeDSecureSuccessEventContext and assigns it to the Context field.

func (*ThreeDSecureSuccessEvent) SetCreatedAt ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ThreeDSecureSuccessEvent) SetId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ThreeDSecureSuccessEvent) SetName ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThreeDSecureSuccessEvent) SetType ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ThreeDSecureSuccessEventContext ¶ added in v0.28.0

type ThreeDSecureSuccessEventContext struct {
	// The electronic commerce indicator for the 3DS transaction.
	Eci *string `json:"eci,omitempty"`
	// The cardholder authentication value or AAV.
	Cavv *string `json:"cavv,omitempty"`
	// The version of 3-D Secure that was used.
	Version *string `json:"version,omitempty"`
	// For 3-D Secure version 1, the enrolment response. For 3-D Secure version , the transaction status from the `ARes`.
	DirectoryResponse *string `json:"directory_response,omitempty"`
	// The transaction status from the challenge result (not required for frictionless).
	AuthenticationResponse NullableString `json:"authentication_response,omitempty"`
	// The transaction identifier.
	DirectoryTransactionId NullableString `json:"directory_transaction_id,omitempty"`
	// The CAVV Algorithm used.
	CavvAlgorithm NullableString `json:"cavv_algorithm,omitempty"`
	// The method used for 3DS authentication for this transaction.
	Method NullableString `json:"method,omitempty"`
}

ThreeDSecureSuccessEventContext 3DS context.

func NewThreeDSecureSuccessEventContext ¶ added in v0.28.0

func NewThreeDSecureSuccessEventContext() *ThreeDSecureSuccessEventContext

NewThreeDSecureSuccessEventContext instantiates a new ThreeDSecureSuccessEventContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureSuccessEventContextWithDefaults ¶ added in v0.28.0

func NewThreeDSecureSuccessEventContextWithDefaults() *ThreeDSecureSuccessEventContext

NewThreeDSecureSuccessEventContextWithDefaults instantiates a new ThreeDSecureSuccessEventContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureSuccessEventContext) GetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureSuccessEventContext) GetAuthenticationResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureSuccessEventContext) GetCavv ¶ added in v0.28.0

GetCavv returns the Cavv field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEventContext) GetCavvAlgorithm ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetCavvAlgorithm() string

GetCavvAlgorithm returns the CavvAlgorithm field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureSuccessEventContext) GetCavvAlgorithmOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetCavvAlgorithmOk() (*string, bool)

GetCavvAlgorithmOk returns a tuple with the CavvAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureSuccessEventContext) GetCavvOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEventContext) GetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEventContext) GetDirectoryResponseOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEventContext) GetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureSuccessEventContext) GetDirectoryTransactionIdOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureSuccessEventContext) GetEci ¶ added in v0.28.0

GetEci returns the Eci field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEventContext) GetEciOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEventContext) GetMethod ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureSuccessEventContext) GetMethodOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureSuccessEventContext) GetVersion ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecureSuccessEventContext) GetVersionOk ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSuccessEventContext) HasAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasAuthenticationResponse() bool

HasAuthenticationResponse returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasCavv ¶ added in v0.28.0

HasCavv returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasCavvAlgorithm ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasCavvAlgorithm() bool

HasCavvAlgorithm returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasDirectoryResponse() bool

HasDirectoryResponse returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasDirectoryTransactionId() bool

HasDirectoryTransactionId returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasEci ¶ added in v0.28.0

HasEci returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasMethod ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*ThreeDSecureSuccessEventContext) HasVersion ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ThreeDSecureSuccessEventContext) MarshalJSON ¶ added in v0.28.0

func (o ThreeDSecureSuccessEventContext) MarshalJSON() ([]byte, error)

func (*ThreeDSecureSuccessEventContext) SetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetAuthenticationResponse(v string)

SetAuthenticationResponse gets a reference to the given NullableString and assigns it to the AuthenticationResponse field.

func (*ThreeDSecureSuccessEventContext) SetAuthenticationResponseNil ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetAuthenticationResponseNil()

SetAuthenticationResponseNil sets the value for AuthenticationResponse to be an explicit nil

func (*ThreeDSecureSuccessEventContext) SetCavv ¶ added in v0.28.0

SetCavv gets a reference to the given string and assigns it to the Cavv field.

func (*ThreeDSecureSuccessEventContext) SetCavvAlgorithm ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetCavvAlgorithm(v string)

SetCavvAlgorithm gets a reference to the given NullableString and assigns it to the CavvAlgorithm field.

func (*ThreeDSecureSuccessEventContext) SetCavvAlgorithmNil ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetCavvAlgorithmNil()

SetCavvAlgorithmNil sets the value for CavvAlgorithm to be an explicit nil

func (*ThreeDSecureSuccessEventContext) SetDirectoryResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetDirectoryResponse(v string)

SetDirectoryResponse gets a reference to the given string and assigns it to the DirectoryResponse field.

func (*ThreeDSecureSuccessEventContext) SetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId gets a reference to the given NullableString and assigns it to the DirectoryTransactionId field.

func (*ThreeDSecureSuccessEventContext) SetDirectoryTransactionIdNil ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetDirectoryTransactionIdNil()

SetDirectoryTransactionIdNil sets the value for DirectoryTransactionId to be an explicit nil

func (*ThreeDSecureSuccessEventContext) SetEci ¶ added in v0.28.0

SetEci gets a reference to the given string and assigns it to the Eci field.

func (*ThreeDSecureSuccessEventContext) SetMethod ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetMethod(v string)

SetMethod gets a reference to the given NullableString and assigns it to the Method field.

func (*ThreeDSecureSuccessEventContext) SetMethodNil ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetMethodNil()

SetMethodNil sets the value for Method to be an explicit nil

func (*ThreeDSecureSuccessEventContext) SetVersion ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*ThreeDSecureSuccessEventContext) UnsetAuthenticationResponse ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) UnsetAuthenticationResponse()

UnsetAuthenticationResponse ensures that no value is present for AuthenticationResponse, not even an explicit nil

func (*ThreeDSecureSuccessEventContext) UnsetCavvAlgorithm ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) UnsetCavvAlgorithm()

UnsetCavvAlgorithm ensures that no value is present for CavvAlgorithm, not even an explicit nil

func (*ThreeDSecureSuccessEventContext) UnsetDirectoryTransactionId ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) UnsetDirectoryTransactionId()

UnsetDirectoryTransactionId ensures that no value is present for DirectoryTransactionId, not even an explicit nil

func (*ThreeDSecureSuccessEventContext) UnsetMethod ¶ added in v0.28.0

func (o *ThreeDSecureSuccessEventContext) UnsetMethod()

UnsetMethod ensures that no value is present for Method, not even an explicit nil

type ThreeDSecureSummary ¶ added in v0.18.0

type ThreeDSecureSummary struct {
	// The version of 3DS used for this transaction.
	Version *string `json:"version,omitempty"`
	// The status of the 3DS challenge for this transaction.
	Status *string `json:"status,omitempty"`
	// The method used for 3DS authentication for this transaction.
	Method *string `json:"method,omitempty"`
	// The error data received from our 3DS server. This will not be populated if the customer failed the authentication with a status code of `N`, `R`, or `U`.  To see full details about the 3DS calls in those situations please use our transaction events API.
	ErrorData    NullableThreeDSecureError `json:"error_data,omitempty"`
	ResponseData *ThreeDSecureDataV1V2     `json:"response_data,omitempty"`
}

ThreeDSecureSummary The 3-D Secure data that was sent to the payment service for the transaction.

func NewThreeDSecureSummary ¶ added in v0.18.0

func NewThreeDSecureSummary() *ThreeDSecureSummary

NewThreeDSecureSummary instantiates a new ThreeDSecureSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureSummaryWithDefaults ¶ added in v0.18.0

func NewThreeDSecureSummaryWithDefaults() *ThreeDSecureSummary

NewThreeDSecureSummaryWithDefaults instantiates a new ThreeDSecureSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureSummary) GetErrorData ¶ added in v0.22.0

func (o *ThreeDSecureSummary) GetErrorData() ThreeDSecureError

GetErrorData returns the ErrorData field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureSummary) GetErrorDataOk ¶ added in v0.22.0

func (o *ThreeDSecureSummary) GetErrorDataOk() (*ThreeDSecureError, bool)

GetErrorDataOk returns a tuple with the ErrorData field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureSummary) GetMethod ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*ThreeDSecureSummary) GetMethodOk ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSummary) GetResponseData ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetResponseData() ThreeDSecureDataV1V2

GetResponseData returns the ResponseData field value if set, zero value otherwise.

func (*ThreeDSecureSummary) GetResponseDataOk ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetResponseDataOk() (*ThreeDSecureDataV1V2, bool)

GetResponseDataOk returns a tuple with the ResponseData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSummary) GetStatus ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ThreeDSecureSummary) GetStatusOk ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSummary) GetVersion ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecureSummary) GetVersionOk ¶ added in v0.18.0

func (o *ThreeDSecureSummary) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureSummary) HasErrorData ¶ added in v0.22.0

func (o *ThreeDSecureSummary) HasErrorData() bool

HasErrorData returns a boolean if a field has been set.

func (*ThreeDSecureSummary) HasMethod ¶ added in v0.18.0

func (o *ThreeDSecureSummary) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*ThreeDSecureSummary) HasResponseData ¶ added in v0.18.0

func (o *ThreeDSecureSummary) HasResponseData() bool

HasResponseData returns a boolean if a field has been set.

func (*ThreeDSecureSummary) HasStatus ¶ added in v0.18.0

func (o *ThreeDSecureSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ThreeDSecureSummary) HasVersion ¶ added in v0.18.0

func (o *ThreeDSecureSummary) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ThreeDSecureSummary) MarshalJSON ¶ added in v0.18.0

func (o ThreeDSecureSummary) MarshalJSON() ([]byte, error)

func (*ThreeDSecureSummary) SetErrorData ¶ added in v0.22.0

func (o *ThreeDSecureSummary) SetErrorData(v ThreeDSecureError)

SetErrorData gets a reference to the given NullableThreeDSecureError and assigns it to the ErrorData field.

func (*ThreeDSecureSummary) SetErrorDataNil ¶ added in v0.22.0

func (o *ThreeDSecureSummary) SetErrorDataNil()

SetErrorDataNil sets the value for ErrorData to be an explicit nil

func (*ThreeDSecureSummary) SetMethod ¶ added in v0.18.0

func (o *ThreeDSecureSummary) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*ThreeDSecureSummary) SetResponseData ¶ added in v0.18.0

func (o *ThreeDSecureSummary) SetResponseData(v ThreeDSecureDataV1V2)

SetResponseData gets a reference to the given ThreeDSecureDataV1V2 and assigns it to the ResponseData field.

func (*ThreeDSecureSummary) SetStatus ¶ added in v0.18.0

func (o *ThreeDSecureSummary) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ThreeDSecureSummary) SetVersion ¶ added in v0.18.0

func (o *ThreeDSecureSummary) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*ThreeDSecureSummary) UnsetErrorData ¶ added in v0.22.0

func (o *ThreeDSecureSummary) UnsetErrorData()

UnsetErrorData ensures that no value is present for ErrorData, not even an explicit nil

type ThreeDSecureV2 ¶ added in v0.31.0

type ThreeDSecureV2 struct {
	// The cardholder authentication value or AAV.
	Cavv NullableString `json:"cavv,omitempty"`
	// The electronic commerce indicator for the 3DS transaction.
	Eci NullableString `json:"eci,omitempty"`
	// The version of 3-D Secure that was used.
	Version *string `json:"version,omitempty"`
	// The transaction status after a the 3DS challenge. This will be null in case of a frictionless 3DS flow.
	AuthenticationResponse NullableString `json:"authentication_response,omitempty"`
	// The transaction status received as part of the authentication request.
	DirectoryResponse NullableString `json:"directory_response,omitempty"`
	// The transaction identifier.
	DirectoryTransactionId NullableString `json:"directory_transaction_id,omitempty"`
	// The reason identifier for a declined transaction.
	TransactionReason NullableString `json:"transaction_reason,omitempty"`
}

ThreeDSecureV2 struct for ThreeDSecureV2

func NewThreeDSecureV2 ¶ added in v0.31.0

func NewThreeDSecureV2() *ThreeDSecureV2

NewThreeDSecureV2 instantiates a new ThreeDSecureV2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewThreeDSecureV2WithDefaults ¶ added in v0.31.0

func NewThreeDSecureV2WithDefaults() *ThreeDSecureV2

NewThreeDSecureV2WithDefaults instantiates a new ThreeDSecureV2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ThreeDSecureV2) GetAuthenticationResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetAuthenticationResponse() string

GetAuthenticationResponse returns the AuthenticationResponse field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetAuthenticationResponseOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetAuthenticationResponseOk() (*string, bool)

GetAuthenticationResponseOk returns a tuple with the AuthenticationResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetCavv ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetCavv() string

GetCavv returns the Cavv field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetCavvOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetCavvOk() (*string, bool)

GetCavvOk returns a tuple with the Cavv field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetDirectoryResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetDirectoryResponse() string

GetDirectoryResponse returns the DirectoryResponse field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetDirectoryResponseOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetDirectoryResponseOk() (*string, bool)

GetDirectoryResponseOk returns a tuple with the DirectoryResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetDirectoryTransactionId ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetDirectoryTransactionId() string

GetDirectoryTransactionId returns the DirectoryTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetDirectoryTransactionIdOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetDirectoryTransactionIdOk() (*string, bool)

GetDirectoryTransactionIdOk returns a tuple with the DirectoryTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetEci ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetEci() string

GetEci returns the Eci field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetEciOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetEciOk() (*string, bool)

GetEciOk returns a tuple with the Eci field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetTransactionReason ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetTransactionReason() string

GetTransactionReason returns the TransactionReason field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ThreeDSecureV2) GetTransactionReasonOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetTransactionReasonOk() (*string, bool)

GetTransactionReasonOk returns a tuple with the TransactionReason field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ThreeDSecureV2) GetVersion ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ThreeDSecureV2) GetVersionOk ¶ added in v0.31.0

func (o *ThreeDSecureV2) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThreeDSecureV2) HasAuthenticationResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasAuthenticationResponse() bool

HasAuthenticationResponse returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasCavv ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasCavv() bool

HasCavv returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasDirectoryResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasDirectoryResponse() bool

HasDirectoryResponse returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasDirectoryTransactionId ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasDirectoryTransactionId() bool

HasDirectoryTransactionId returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasEci ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasEci() bool

HasEci returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasTransactionReason ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasTransactionReason() bool

HasTransactionReason returns a boolean if a field has been set.

func (*ThreeDSecureV2) HasVersion ¶ added in v0.31.0

func (o *ThreeDSecureV2) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ThreeDSecureV2) MarshalJSON ¶ added in v0.31.0

func (o ThreeDSecureV2) MarshalJSON() ([]byte, error)

func (*ThreeDSecureV2) SetAuthenticationResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetAuthenticationResponse(v string)

SetAuthenticationResponse gets a reference to the given NullableString and assigns it to the AuthenticationResponse field.

func (*ThreeDSecureV2) SetAuthenticationResponseNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetAuthenticationResponseNil()

SetAuthenticationResponseNil sets the value for AuthenticationResponse to be an explicit nil

func (*ThreeDSecureV2) SetCavv ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetCavv(v string)

SetCavv gets a reference to the given NullableString and assigns it to the Cavv field.

func (*ThreeDSecureV2) SetCavvNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetCavvNil()

SetCavvNil sets the value for Cavv to be an explicit nil

func (*ThreeDSecureV2) SetDirectoryResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetDirectoryResponse(v string)

SetDirectoryResponse gets a reference to the given NullableString and assigns it to the DirectoryResponse field.

func (*ThreeDSecureV2) SetDirectoryResponseNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetDirectoryResponseNil()

SetDirectoryResponseNil sets the value for DirectoryResponse to be an explicit nil

func (*ThreeDSecureV2) SetDirectoryTransactionId ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetDirectoryTransactionId(v string)

SetDirectoryTransactionId gets a reference to the given NullableString and assigns it to the DirectoryTransactionId field.

func (*ThreeDSecureV2) SetDirectoryTransactionIdNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetDirectoryTransactionIdNil()

SetDirectoryTransactionIdNil sets the value for DirectoryTransactionId to be an explicit nil

func (*ThreeDSecureV2) SetEci ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetEci(v string)

SetEci gets a reference to the given NullableString and assigns it to the Eci field.

func (*ThreeDSecureV2) SetEciNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetEciNil()

SetEciNil sets the value for Eci to be an explicit nil

func (*ThreeDSecureV2) SetTransactionReason ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetTransactionReason(v string)

SetTransactionReason gets a reference to the given NullableString and assigns it to the TransactionReason field.

func (*ThreeDSecureV2) SetTransactionReasonNil ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetTransactionReasonNil()

SetTransactionReasonNil sets the value for TransactionReason to be an explicit nil

func (*ThreeDSecureV2) SetVersion ¶ added in v0.31.0

func (o *ThreeDSecureV2) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*ThreeDSecureV2) UnsetAuthenticationResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetAuthenticationResponse()

UnsetAuthenticationResponse ensures that no value is present for AuthenticationResponse, not even an explicit nil

func (*ThreeDSecureV2) UnsetCavv ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetCavv()

UnsetCavv ensures that no value is present for Cavv, not even an explicit nil

func (*ThreeDSecureV2) UnsetDirectoryResponse ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetDirectoryResponse()

UnsetDirectoryResponse ensures that no value is present for DirectoryResponse, not even an explicit nil

func (*ThreeDSecureV2) UnsetDirectoryTransactionId ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetDirectoryTransactionId()

UnsetDirectoryTransactionId ensures that no value is present for DirectoryTransactionId, not even an explicit nil

func (*ThreeDSecureV2) UnsetEci ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetEci()

UnsetEci ensures that no value is present for Eci, not even an explicit nil

func (*ThreeDSecureV2) UnsetTransactionReason ¶ added in v0.31.0

func (o *ThreeDSecureV2) UnsetTransactionReason()

UnsetTransactionReason ensures that no value is present for TransactionReason, not even an explicit nil

type TokenizedRequest ¶

type TokenizedRequest struct {
	// `id`.
	Method string `json:"method"`
	// A ID that represents a previously stored payment method. This ID can represent any type of payment method.
	Id string `json:"id"`
	// This value is mandatory for stored redirect payment methods. For stored cards, we strongly recommend providing a `redirect_url` either when 3-D Secure is enabled and `three_d_secure_data` is not provided, or when using connections where 3DS is enabled. This value will be appended with both a transaction ID and status (e.g. `https://example.com/callback?gr4vy_transaction_id=123 &gr4vy_transaction_status=capture_succeeded`) after 3-D Secure has completed. For those cases, if the value is not present, the transaction will be marked as failed.
	RedirectUrl *string `json:"redirect_url,omitempty"`
	// The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.  The security code can only be set if the stored payment method represents a card.
	SecurityCode *string `json:"security_code,omitempty"`
}

TokenizedRequest Details for a previously stored payment method.

func NewTokenizedRequest ¶ added in v0.2.1

func NewTokenizedRequest(method string, id string) *TokenizedRequest

NewTokenizedRequest instantiates a new TokenizedRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenizedRequestWithDefaults ¶ added in v0.2.1

func NewTokenizedRequestWithDefaults() *TokenizedRequest

NewTokenizedRequestWithDefaults instantiates a new TokenizedRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenizedRequest) GetId ¶ added in v0.2.1

func (o *TokenizedRequest) GetId() string

GetId returns the Id field value

func (*TokenizedRequest) GetIdOk ¶ added in v0.2.1

func (o *TokenizedRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TokenizedRequest) GetMethod ¶ added in v0.2.1

func (o *TokenizedRequest) GetMethod() string

GetMethod returns the Method field value

func (*TokenizedRequest) GetMethodOk ¶ added in v0.2.1

func (o *TokenizedRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*TokenizedRequest) GetRedirectUrl ¶ added in v0.3.0

func (o *TokenizedRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise.

func (*TokenizedRequest) GetRedirectUrlOk ¶ added in v0.3.0

func (o *TokenizedRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenizedRequest) GetSecurityCode ¶ added in v0.19.0

func (o *TokenizedRequest) GetSecurityCode() string

GetSecurityCode returns the SecurityCode field value if set, zero value otherwise.

func (*TokenizedRequest) GetSecurityCodeOk ¶ added in v0.19.0

func (o *TokenizedRequest) GetSecurityCodeOk() (*string, bool)

GetSecurityCodeOk returns a tuple with the SecurityCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenizedRequest) HasRedirectUrl ¶ added in v0.3.0

func (o *TokenizedRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*TokenizedRequest) HasSecurityCode ¶ added in v0.19.0

func (o *TokenizedRequest) HasSecurityCode() bool

HasSecurityCode returns a boolean if a field has been set.

func (TokenizedRequest) MarshalJSON ¶ added in v0.2.1

func (o TokenizedRequest) MarshalJSON() ([]byte, error)

func (*TokenizedRequest) SetId ¶ added in v0.2.1

func (o *TokenizedRequest) SetId(v string)

SetId sets field value

func (*TokenizedRequest) SetMethod ¶ added in v0.2.1

func (o *TokenizedRequest) SetMethod(v string)

SetMethod sets field value

func (*TokenizedRequest) SetRedirectUrl ¶ added in v0.3.0

func (o *TokenizedRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given string and assigns it to the RedirectUrl field.

func (*TokenizedRequest) SetSecurityCode ¶ added in v0.19.0

func (o *TokenizedRequest) SetSecurityCode(v string)

SetSecurityCode gets a reference to the given string and assigns it to the SecurityCode field.

type TokensApiService ¶ added in v0.27.0

type TokensApiService service

TokensApiService TokensApi service

func (*TokensApiService) DeleteNetworkToken ¶ added in v0.27.0

func (a *TokensApiService) DeleteNetworkToken(ctx _context.Context, paymentMethodId string, networkTokenId string) ApiDeleteNetworkTokenRequest

* DeleteNetworkToken Delete network token * Deletes a specific network token. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @param networkTokenId The ID of the network token. * @return ApiDeleteNetworkTokenRequest

func (*TokensApiService) DeleteNetworkTokenExecute ¶ added in v0.27.0

func (a *TokensApiService) DeleteNetworkTokenExecute(r ApiDeleteNetworkTokenRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*TokensApiService) DeletePaymentServiceToken ¶ added in v0.27.0

func (a *TokensApiService) DeletePaymentServiceToken(ctx _context.Context, paymentMethodId string, paymentServiceTokenId string) ApiDeletePaymentServiceTokenRequest

* DeletePaymentServiceToken Delete payment service token * Deletes a specific payment service token. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @param paymentServiceTokenId The ID of the payment service token. * @return ApiDeletePaymentServiceTokenRequest

func (*TokensApiService) DeletePaymentServiceTokenExecute ¶ added in v0.27.0

func (a *TokensApiService) DeletePaymentServiceTokenExecute(r ApiDeletePaymentServiceTokenRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*TokensApiService) GetNetworkTokens ¶ added in v0.27.0

func (a *TokensApiService) GetNetworkTokens(ctx _context.Context, paymentMethodId string) ApiGetNetworkTokensRequest

* GetNetworkTokens Get network tokens * Get stored network tokens for the given payment method. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiGetNetworkTokensRequest

func (*TokensApiService) GetNetworkTokensExecute ¶ added in v0.27.0

* Execute executes the request * @return NetworkTokens

func (*TokensApiService) GetPaymentServiceTokens ¶ added in v0.27.0

func (a *TokensApiService) GetPaymentServiceTokens(ctx _context.Context, paymentMethodId string) ApiGetPaymentServiceTokensRequest

* GetPaymentServiceTokens Get payment service tokens * Get all payment service tokens for a given payment method and payment service. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiGetPaymentServiceTokensRequest

func (*TokensApiService) GetPaymentServiceTokensExecute ¶ added in v0.27.0

* Execute executes the request * @return PaymentServiceTokens

func (*TokensApiService) IssueCryptogram ¶ added in v0.27.0

func (a *TokensApiService) IssueCryptogram(ctx _context.Context, paymentMethodId string, networkTokenId string) ApiIssueCryptogramRequest
  • IssueCryptogram Issue cryptogram
  • Issue a cryptogram for a stored network token of a stored card.

The endpoint is disabled by default, please contact our team for more information on enablement.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param paymentMethodId The ID of the payment method.
  • @param networkTokenId The ID of the network token.
  • @return ApiIssueCryptogramRequest

func (*TokensApiService) IssueCryptogramExecute ¶ added in v0.27.0

func (a *TokensApiService) IssueCryptogramExecute(r ApiIssueCryptogramRequest) (Cryptogram, *_nethttp.Response, error)

* Execute executes the request * @return Cryptogram

func (*TokensApiService) ProvisionNetworkToken ¶ added in v0.27.0

func (a *TokensApiService) ProvisionNetworkToken(ctx _context.Context, paymentMethodId string) ApiProvisionNetworkTokenRequest

* ProvisionNetworkToken Provision network token * Provision a network token for a stored card.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiProvisionNetworkTokenRequest

func (*TokensApiService) ProvisionNetworkTokenExecute ¶ added in v0.27.0

func (a *TokensApiService) ProvisionNetworkTokenExecute(r ApiProvisionNetworkTokenRequest) (NetworkToken, *_nethttp.Response, error)

* Execute executes the request * @return NetworkToken

func (*TokensApiService) ProvisionPaymentServiceToken ¶ added in v0.27.0

func (a *TokensApiService) ProvisionPaymentServiceToken(ctx _context.Context, paymentMethodId string) ApiProvisionPaymentServiceTokenRequest

* ProvisionPaymentServiceToken Provision payment service token * Tokenize stored card against a payment service.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @return ApiProvisionPaymentServiceTokenRequest

func (*TokensApiService) ProvisionPaymentServiceTokenExecute ¶ added in v0.27.0

* Execute executes the request * @return PaymentServiceToken

func (*TokensApiService) ResumeNetworkToken ¶ added in v0.27.0

func (a *TokensApiService) ResumeNetworkToken(ctx _context.Context, paymentMethodId string, networkTokenId string) ApiResumeNetworkTokenRequest

* ResumeNetworkToken Resume network token * Resumes a specific network token. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @param networkTokenId The ID of the network token. * @return ApiResumeNetworkTokenRequest

func (*TokensApiService) ResumeNetworkTokenExecute ¶ added in v0.27.0

* Execute executes the request * @return NetworkToken

func (*TokensApiService) SuspendNetworkToken ¶ added in v0.27.0

func (a *TokensApiService) SuspendNetworkToken(ctx _context.Context, paymentMethodId string, networkTokenId string) ApiSuspendNetworkTokenRequest

* SuspendNetworkToken Suspend network token * Suspends a specific network token. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param paymentMethodId The ID of the payment method. * @param networkTokenId The ID of the network token. * @return ApiSuspendNetworkTokenRequest

func (*TokensApiService) SuspendNetworkTokenExecute ¶ added in v0.27.0

func (a *TokensApiService) SuspendNetworkTokenExecute(r ApiSuspendNetworkTokenRequest) (NetworkToken, *_nethttp.Response, error)

* Execute executes the request * @return NetworkToken

type Transaction ¶

type Transaction struct {
	// The type of this resource. Is always `transaction`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this transaction.
	Id *string `json:"id,omitempty"`
	// The total amount for this transaction across all funding sources including gift cards.
	Amount *int32 `json:"amount,omitempty"`
	// This is the response description received from the processor.
	AuthResponseCode NullableString `json:"auth_response_code,omitempty"`
	// The amount for this transaction that has been authorized for the `payment_method`. This can be less than the `amount` if gift cards were used.
	AuthorizedAmount *int32 `json:"authorized_amount,omitempty"`
	// The date and time when this transaction was authorized in the payment service.  Don't use this field to determine whether the transaction was authorized. A `null` value doesn't necessarily imply that the transaction wasn't authorized, it can mean that the payment service doesn't provide this value, that it didn't provide it at the time the transaction was authorized or that the transaction was authorized before the introduction of this field.
	AuthorizedAt NullableTime `json:"authorized_at,omitempty"`
	// The response code received from the payment service for the Address Verification Check (AVS). This code is mapped to a standardized Gr4vy AVS response code.  - `no_match` - neither address or postal code match - `match` - both address and postal code match - `partial_match_address` - address matches but postal code does not - `partial_match_postcode` - postal code matches but address does not - `unavailable ` - AVS is unavailable for card/country  The value of this field can be `null` if the payment service did not provide a response.
	AvsResponseCode NullableString `json:"avs_response_code,omitempty"`
	// The buyer used for this transaction.
	Buyer NullableBuyerSnapshot `json:"buyer,omitempty"`
	// The captured amount for this transaction. This can be the full value of the `authorized_amount` or less.
	CapturedAmount *int32 `json:"captured_amount,omitempty"`
	// The date and time when this transaction was captured in the payment service.  Don't use this field to determine whether the transaction was captured. A `null` value doesn't necessarily imply that the transaction wasn't captured, it can mean that the payment service doesn't provide this value, that it didn't provide it at the time the transaction was captured or that the transaction was captured before the introduction of this field.
	CapturedAt NullableTime `json:"captured_at,omitempty"`
	// An array of cart items that represents the line items of a transaction.
	CartItems *[]CartItem `json:"cart_items,omitempty"`
	// The identifier for the checkout session this transaction is associated with.
	CheckoutSessionId *string `json:"checkout_session_id,omitempty"`
	// The 2-letter ISO code of the country of the transaction. This is used to filter the payment services that is used to process the transaction.
	Country NullableString `json:"country,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The currency code for this transaction.
	Currency *string `json:"currency,omitempty"`
	// The response code received from the payment service for the Card Verification Value (CVV). This code is mapped to a standardized Gr4vy CVV response code.  - `no_match` - the CVV does not match the expected value - `match` - the CVV matches the expected value - `unavailable ` - CVV check unavailable for card our country - `not_provided ` - CVV not provided  The value of this field can be `null` if the payment service did not provide a response.
	CvvResponseCode NullableString `json:"cvv_response_code,omitempty"`
	// This is an error code set by Gr4vy.
	ErrorCode NullableString `json:"error_code,omitempty"`
	// An external identifier that can be used to match the transaction against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The gift card service used for this transaction.
	GiftCardService *GiftCardServiceSnapshot `json:"gift_card_service,omitempty"`
	// The gift cards redeemed for this transaction.
	GiftCardRedemptions *[]GiftCardRedemption `json:"gift_card_redemptions,omitempty"`
	// The original `intent` used when the transaction was [created](#operation/authorize-new-transaction).
	Intent *string `json:"intent,omitempty"`
	// The outcome of the original intent of a transaction.  This allows you to understand if the intent of the transaction (e.g. `capture` or `authorize`) has been achieved when dealing with multiple payment instruments.  If all payment instruments (`payment_method` and/or `gift_cards`) have succeeded to get an authorization or direct sale **at any point in time** then this will return a `succeeded` value.  If any of the payment instruments fails or declines then this will return a `failed` value.  If any payment instruments is still in a `pending` or `processing` state then the result will be `pending`.  Please note that if any of the payment instruments are voided or refunded after the result reaches a `succeeded` state  then the result will remain unchanged.
	IntentOutcome *string `json:"intent_outcome,omitempty"`
	// Indicates whether the transaction represents a subsequent payment coming from a setup recurring payment. Please note there are some restrictions on how this flag may be used.  The flag can only be `false` (or not set) when the transaction meets one of the following criteria:  * It is not `merchant_initiated`. * `payment_source` is set to `card_on_file`.  The flag can only be set to `true` when the transaction meets one of the following criteria:  * It is not `merchant_initiated`. * `payment_source` is set to `recurring` or `installment` and `merchant_initiated` is set to `true`. * `payment_source` is set to `card_on_file`.
	IsSubsequentPayment *bool `json:"is_subsequent_payment,omitempty"`
	// The ID of the merchant account to which this transaction belongs to.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	// Indicates whether the transaction was initiated by the merchant (true) or customer (false).
	MerchantInitiated *bool `json:"merchant_initiated,omitempty"`
	// Additional information about the transaction stored as key-value pairs.
	Metadata *map[string]string `json:"metadata,omitempty"`
	Method   *string            `json:"method,omitempty"`
	// Defines if this transaction has been split across multiple payment instruments such as a `payment_method` and one or more `gift_cards`, or multiple `gift_cards` without a `payment_method`.
	MultiTender *bool `json:"multi_tender,omitempty"`
	// The payment method used for this transaction.
	PaymentMethod *PaymentMethodSnapshot `json:"payment_method,omitempty"`
	// The payment service used for this transaction.
	PaymentService *PaymentServiceSnapshot `json:"payment_service,omitempty"`
	// The payment service's unique ID for the transaction.
	PaymentServiceTransactionId *string `json:"payment_service_transaction_id,omitempty"`
	// The source of the transaction. Defaults to `ecommerce`.
	PaymentSource *string `json:"payment_source,omitempty"`
	// Whether a manual review is pending.
	PendingReview *bool `json:"pending_review,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The base62 encoded transaction ID. This represents a shorter version of this transaction's `id` which is sent to payment services, anti-fraud services, and other connectors. You can use this ID to reconcile a payment service's transaction against our system.  This ID is sent instead of the transaction ID because not all services support 36 digit identifiers.
	ReconciliationId *string `json:"reconciliation_id,omitempty"`
	// The refunded amount for this transaction. This can be the full value of the `captured_amount` or less.
	RefundedAmount *int32 `json:"refunded_amount,omitempty"`
	// An identifier for the transaction used by the scheme itself, when available.  e.g. the Visa Transaction Identifier, or Mastercard Trace ID.
	SchemeTransactionId NullableString `json:"scheme_transaction_id,omitempty"`
	// The shipping details associated with the transaction.
	ShippingDetails     NullableShippingDetail      `json:"shipping_details,omitempty"`
	StatementDescriptor NullableStatementDescriptor `json:"statement_descriptor,omitempty"`
	// The status of the transaction for the `payment_method`. The status may change over time as asynchronous processing events occur.  Please note that the possible statuses returned will depend on the operation performed. For example, a captured transaction will never move to a `authorization_voided` status.
	Status       *string              `json:"status,omitempty"`
	ThreeDSecure *ThreeDSecureSummary `json:"three_d_secure,omitempty"`
	// Defines when the transaction was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The date and time when this transaction was voided in the payment service.  Don't use this field to determine whether the transaction was voided. A `null` value doesn't necessarily imply that the transaction wasn't voided, it can mean that the payment service doesn't provide this value, that it didn't provide it at the time the transaction was voided or that the transaction was voided before the introduction of this field.
	VoidedAt NullableTime `json:"voided_at,omitempty"`
}

Transaction A transaction record.

func NewTransaction ¶ added in v0.2.1

func NewTransaction() *Transaction

NewTransaction instantiates a new Transaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionWithDefaults ¶ added in v0.2.1

func NewTransactionWithDefaults() *Transaction

NewTransactionWithDefaults instantiates a new Transaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Transaction) GetAmount ¶ added in v0.2.1

func (o *Transaction) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Transaction) GetAmountOk ¶ added in v0.2.1

func (o *Transaction) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetAuthResponseCode ¶ added in v0.28.0

func (o *Transaction) GetAuthResponseCode() string

GetAuthResponseCode returns the AuthResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetAuthResponseCodeOk ¶ added in v0.28.0

func (o *Transaction) GetAuthResponseCodeOk() (*string, bool)

GetAuthResponseCodeOk returns a tuple with the AuthResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetAuthorizedAmount ¶ added in v0.31.0

func (o *Transaction) GetAuthorizedAmount() int32

GetAuthorizedAmount returns the AuthorizedAmount field value if set, zero value otherwise.

func (*Transaction) GetAuthorizedAmountOk ¶ added in v0.31.0

func (o *Transaction) GetAuthorizedAmountOk() (*int32, bool)

GetAuthorizedAmountOk returns a tuple with the AuthorizedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetAuthorizedAt ¶ added in v0.19.0

func (o *Transaction) GetAuthorizedAt() time.Time

GetAuthorizedAt returns the AuthorizedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetAuthorizedAtOk ¶ added in v0.19.0

func (o *Transaction) GetAuthorizedAtOk() (*time.Time, bool)

GetAuthorizedAtOk returns a tuple with the AuthorizedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetAvsResponseCode ¶ added in v0.16.0

func (o *Transaction) GetAvsResponseCode() string

GetAvsResponseCode returns the AvsResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetAvsResponseCodeOk ¶ added in v0.16.0

func (o *Transaction) GetAvsResponseCodeOk() (*string, bool)

GetAvsResponseCodeOk returns a tuple with the AvsResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetBuyer ¶ added in v0.2.1

func (o *Transaction) GetBuyer() BuyerSnapshot

GetBuyer returns the Buyer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetBuyerOk ¶ added in v0.2.1

func (o *Transaction) GetBuyerOk() (*BuyerSnapshot, bool)

GetBuyerOk returns a tuple with the Buyer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetCapturedAmount ¶ added in v0.2.1

func (o *Transaction) GetCapturedAmount() int32

GetCapturedAmount returns the CapturedAmount field value if set, zero value otherwise.

func (*Transaction) GetCapturedAmountOk ¶ added in v0.2.1

func (o *Transaction) GetCapturedAmountOk() (*int32, bool)

GetCapturedAmountOk returns a tuple with the CapturedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetCapturedAt ¶ added in v0.19.0

func (o *Transaction) GetCapturedAt() time.Time

GetCapturedAt returns the CapturedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetCapturedAtOk ¶ added in v0.19.0

func (o *Transaction) GetCapturedAtOk() (*time.Time, bool)

GetCapturedAtOk returns a tuple with the CapturedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetCartItems ¶ added in v0.12.0

func (o *Transaction) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise.

func (*Transaction) GetCartItemsOk ¶ added in v0.12.0

func (o *Transaction) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetCheckoutSessionId ¶ added in v0.27.0

func (o *Transaction) GetCheckoutSessionId() string

GetCheckoutSessionId returns the CheckoutSessionId field value if set, zero value otherwise.

func (*Transaction) GetCheckoutSessionIdOk ¶ added in v0.27.0

func (o *Transaction) GetCheckoutSessionIdOk() (*string, bool)

GetCheckoutSessionIdOk returns a tuple with the CheckoutSessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetCountry ¶ added in v0.17.0

func (o *Transaction) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetCountryOk ¶ added in v0.17.0

func (o *Transaction) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetCreatedAt ¶ added in v0.2.1

func (o *Transaction) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Transaction) GetCreatedAtOk ¶ added in v0.2.1

func (o *Transaction) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetCurrency ¶ added in v0.2.1

func (o *Transaction) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*Transaction) GetCurrencyOk ¶ added in v0.2.1

func (o *Transaction) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetCvvResponseCode ¶ added in v0.16.0

func (o *Transaction) GetCvvResponseCode() string

GetCvvResponseCode returns the CvvResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetCvvResponseCodeOk ¶ added in v0.16.0

func (o *Transaction) GetCvvResponseCodeOk() (*string, bool)

GetCvvResponseCodeOk returns a tuple with the CvvResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetErrorCode ¶ added in v0.31.0

func (o *Transaction) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetErrorCodeOk ¶ added in v0.31.0

func (o *Transaction) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetExternalIdentifier ¶ added in v0.2.1

func (o *Transaction) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *Transaction) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetGiftCardRedemptions ¶ added in v0.32.0

func (o *Transaction) GetGiftCardRedemptions() []GiftCardRedemption

GetGiftCardRedemptions returns the GiftCardRedemptions field value if set, zero value otherwise.

func (*Transaction) GetGiftCardRedemptionsOk ¶ added in v0.32.0

func (o *Transaction) GetGiftCardRedemptionsOk() (*[]GiftCardRedemption, bool)

GetGiftCardRedemptionsOk returns a tuple with the GiftCardRedemptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetGiftCardService ¶ added in v0.31.0

func (o *Transaction) GetGiftCardService() GiftCardServiceSnapshot

GetGiftCardService returns the GiftCardService field value if set, zero value otherwise.

func (*Transaction) GetGiftCardServiceOk ¶ added in v0.31.0

func (o *Transaction) GetGiftCardServiceOk() (*GiftCardServiceSnapshot, bool)

GetGiftCardServiceOk returns a tuple with the GiftCardService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetId ¶ added in v0.2.1

func (o *Transaction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Transaction) GetIdOk ¶ added in v0.2.1

func (o *Transaction) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetIntent ¶ added in v0.17.0

func (o *Transaction) GetIntent() string

GetIntent returns the Intent field value if set, zero value otherwise.

func (*Transaction) GetIntentOk ¶ added in v0.17.0

func (o *Transaction) GetIntentOk() (*string, bool)

GetIntentOk returns a tuple with the Intent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetIntentOutcome ¶ added in v0.31.0

func (o *Transaction) GetIntentOutcome() string

GetIntentOutcome returns the IntentOutcome field value if set, zero value otherwise.

func (*Transaction) GetIntentOutcomeOk ¶ added in v0.31.0

func (o *Transaction) GetIntentOutcomeOk() (*string, bool)

GetIntentOutcomeOk returns a tuple with the IntentOutcome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetIsSubsequentPayment ¶ added in v0.8.0

func (o *Transaction) GetIsSubsequentPayment() bool

GetIsSubsequentPayment returns the IsSubsequentPayment field value if set, zero value otherwise.

func (*Transaction) GetIsSubsequentPaymentOk ¶ added in v0.8.0

func (o *Transaction) GetIsSubsequentPaymentOk() (*bool, bool)

GetIsSubsequentPaymentOk returns a tuple with the IsSubsequentPayment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetMerchantAccountId ¶ added in v0.27.0

func (o *Transaction) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*Transaction) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *Transaction) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetMerchantInitiated ¶ added in v0.8.0

func (o *Transaction) GetMerchantInitiated() bool

GetMerchantInitiated returns the MerchantInitiated field value if set, zero value otherwise.

func (*Transaction) GetMerchantInitiatedOk ¶ added in v0.8.0

func (o *Transaction) GetMerchantInitiatedOk() (*bool, bool)

GetMerchantInitiatedOk returns a tuple with the MerchantInitiated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetMetadata ¶ added in v0.17.0

func (o *Transaction) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Transaction) GetMetadataOk ¶ added in v0.17.0

func (o *Transaction) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetMethod ¶ added in v0.17.0

func (o *Transaction) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*Transaction) GetMethodOk ¶ added in v0.17.0

func (o *Transaction) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetMultiTender ¶ added in v0.31.0

func (o *Transaction) GetMultiTender() bool

GetMultiTender returns the MultiTender field value if set, zero value otherwise.

func (*Transaction) GetMultiTenderOk ¶ added in v0.31.0

func (o *Transaction) GetMultiTenderOk() (*bool, bool)

GetMultiTenderOk returns a tuple with the MultiTender field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetPaymentMethod ¶ added in v0.2.1

func (o *Transaction) GetPaymentMethod() PaymentMethodSnapshot

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*Transaction) GetPaymentMethodOk ¶ added in v0.2.1

func (o *Transaction) GetPaymentMethodOk() (*PaymentMethodSnapshot, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetPaymentService ¶ added in v0.2.1

func (o *Transaction) GetPaymentService() PaymentServiceSnapshot

GetPaymentService returns the PaymentService field value if set, zero value otherwise.

func (*Transaction) GetPaymentServiceOk ¶ added in v0.2.1

func (o *Transaction) GetPaymentServiceOk() (*PaymentServiceSnapshot, bool)

GetPaymentServiceOk returns a tuple with the PaymentService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetPaymentServiceTransactionId ¶ added in v0.17.0

func (o *Transaction) GetPaymentServiceTransactionId() string

GetPaymentServiceTransactionId returns the PaymentServiceTransactionId field value if set, zero value otherwise.

func (*Transaction) GetPaymentServiceTransactionIdOk ¶ added in v0.17.0

func (o *Transaction) GetPaymentServiceTransactionIdOk() (*string, bool)

GetPaymentServiceTransactionIdOk returns a tuple with the PaymentServiceTransactionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetPaymentSource ¶ added in v0.8.0

func (o *Transaction) GetPaymentSource() string

GetPaymentSource returns the PaymentSource field value if set, zero value otherwise.

func (*Transaction) GetPaymentSourceOk ¶ added in v0.8.0

func (o *Transaction) GetPaymentSourceOk() (*string, bool)

GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetPendingReview ¶ added in v0.27.0

func (o *Transaction) GetPendingReview() bool

GetPendingReview returns the PendingReview field value if set, zero value otherwise.

func (*Transaction) GetPendingReviewOk ¶ added in v0.27.0

func (o *Transaction) GetPendingReviewOk() (*bool, bool)

GetPendingReviewOk returns a tuple with the PendingReview field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetRawResponseCode ¶ added in v0.16.0

func (o *Transaction) GetRawResponseCode() string

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetRawResponseCodeOk ¶ added in v0.16.0

func (o *Transaction) GetRawResponseCodeOk() (*string, bool)

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetRawResponseDescription ¶ added in v0.16.0

func (o *Transaction) GetRawResponseDescription() string

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetRawResponseDescriptionOk ¶ added in v0.16.0

func (o *Transaction) GetRawResponseDescriptionOk() (*string, bool)

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetReconciliationId ¶ added in v0.31.0

func (o *Transaction) GetReconciliationId() string

GetReconciliationId returns the ReconciliationId field value if set, zero value otherwise.

func (*Transaction) GetReconciliationIdOk ¶ added in v0.31.0

func (o *Transaction) GetReconciliationIdOk() (*string, bool)

GetReconciliationIdOk returns a tuple with the ReconciliationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetRefundedAmount ¶ added in v0.2.1

func (o *Transaction) GetRefundedAmount() int32

GetRefundedAmount returns the RefundedAmount field value if set, zero value otherwise.

func (*Transaction) GetRefundedAmountOk ¶ added in v0.2.1

func (o *Transaction) GetRefundedAmountOk() (*int32, bool)

GetRefundedAmountOk returns a tuple with the RefundedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetSchemeTransactionId ¶ added in v0.16.0

func (o *Transaction) GetSchemeTransactionId() string

GetSchemeTransactionId returns the SchemeTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetSchemeTransactionIdOk ¶ added in v0.16.0

func (o *Transaction) GetSchemeTransactionIdOk() (*string, bool)

GetSchemeTransactionIdOk returns a tuple with the SchemeTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetShippingDetails ¶ added in v0.21.0

func (o *Transaction) GetShippingDetails() ShippingDetail

GetShippingDetails returns the ShippingDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetShippingDetailsOk ¶ added in v0.21.0

func (o *Transaction) GetShippingDetailsOk() (*ShippingDetail, bool)

GetShippingDetailsOk returns a tuple with the ShippingDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetStatementDescriptor ¶ added in v0.13.0

func (o *Transaction) GetStatementDescriptor() StatementDescriptor

GetStatementDescriptor returns the StatementDescriptor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetStatementDescriptorOk ¶ added in v0.13.0

func (o *Transaction) GetStatementDescriptorOk() (*StatementDescriptor, bool)

GetStatementDescriptorOk returns a tuple with the StatementDescriptor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) GetStatus ¶ added in v0.2.1

func (o *Transaction) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Transaction) GetStatusOk ¶ added in v0.2.1

func (o *Transaction) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetThreeDSecure ¶ added in v0.18.0

func (o *Transaction) GetThreeDSecure() ThreeDSecureSummary

GetThreeDSecure returns the ThreeDSecure field value if set, zero value otherwise.

func (*Transaction) GetThreeDSecureOk ¶ added in v0.18.0

func (o *Transaction) GetThreeDSecureOk() (*ThreeDSecureSummary, bool)

GetThreeDSecureOk returns a tuple with the ThreeDSecure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetType ¶ added in v0.2.1

func (o *Transaction) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Transaction) GetTypeOk ¶ added in v0.2.1

func (o *Transaction) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetUpdatedAt ¶ added in v0.2.1

func (o *Transaction) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Transaction) GetUpdatedAtOk ¶ added in v0.2.1

func (o *Transaction) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transaction) GetVoidedAt ¶ added in v0.19.0

func (o *Transaction) GetVoidedAt() time.Time

GetVoidedAt returns the VoidedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transaction) GetVoidedAtOk ¶ added in v0.19.0

func (o *Transaction) GetVoidedAtOk() (*time.Time, bool)

GetVoidedAtOk returns a tuple with the VoidedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transaction) HasAmount ¶ added in v0.2.1

func (o *Transaction) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Transaction) HasAuthResponseCode ¶ added in v0.28.0

func (o *Transaction) HasAuthResponseCode() bool

HasAuthResponseCode returns a boolean if a field has been set.

func (*Transaction) HasAuthorizedAmount ¶ added in v0.31.0

func (o *Transaction) HasAuthorizedAmount() bool

HasAuthorizedAmount returns a boolean if a field has been set.

func (*Transaction) HasAuthorizedAt ¶ added in v0.19.0

func (o *Transaction) HasAuthorizedAt() bool

HasAuthorizedAt returns a boolean if a field has been set.

func (*Transaction) HasAvsResponseCode ¶ added in v0.16.0

func (o *Transaction) HasAvsResponseCode() bool

HasAvsResponseCode returns a boolean if a field has been set.

func (*Transaction) HasBuyer ¶ added in v0.2.1

func (o *Transaction) HasBuyer() bool

HasBuyer returns a boolean if a field has been set.

func (*Transaction) HasCapturedAmount ¶ added in v0.2.1

func (o *Transaction) HasCapturedAmount() bool

HasCapturedAmount returns a boolean if a field has been set.

func (*Transaction) HasCapturedAt ¶ added in v0.19.0

func (o *Transaction) HasCapturedAt() bool

HasCapturedAt returns a boolean if a field has been set.

func (*Transaction) HasCartItems ¶ added in v0.12.0

func (o *Transaction) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*Transaction) HasCheckoutSessionId ¶ added in v0.27.0

func (o *Transaction) HasCheckoutSessionId() bool

HasCheckoutSessionId returns a boolean if a field has been set.

func (*Transaction) HasCountry ¶ added in v0.17.0

func (o *Transaction) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Transaction) HasCreatedAt ¶ added in v0.2.1

func (o *Transaction) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Transaction) HasCurrency ¶ added in v0.2.1

func (o *Transaction) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*Transaction) HasCvvResponseCode ¶ added in v0.16.0

func (o *Transaction) HasCvvResponseCode() bool

HasCvvResponseCode returns a boolean if a field has been set.

func (*Transaction) HasErrorCode ¶ added in v0.31.0

func (o *Transaction) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*Transaction) HasExternalIdentifier ¶ added in v0.2.1

func (o *Transaction) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*Transaction) HasGiftCardRedemptions ¶ added in v0.32.0

func (o *Transaction) HasGiftCardRedemptions() bool

HasGiftCardRedemptions returns a boolean if a field has been set.

func (*Transaction) HasGiftCardService ¶ added in v0.31.0

func (o *Transaction) HasGiftCardService() bool

HasGiftCardService returns a boolean if a field has been set.

func (*Transaction) HasId ¶ added in v0.2.1

func (o *Transaction) HasId() bool

HasId returns a boolean if a field has been set.

func (*Transaction) HasIntent ¶ added in v0.17.0

func (o *Transaction) HasIntent() bool

HasIntent returns a boolean if a field has been set.

func (*Transaction) HasIntentOutcome ¶ added in v0.31.0

func (o *Transaction) HasIntentOutcome() bool

HasIntentOutcome returns a boolean if a field has been set.

func (*Transaction) HasIsSubsequentPayment ¶ added in v0.8.0

func (o *Transaction) HasIsSubsequentPayment() bool

HasIsSubsequentPayment returns a boolean if a field has been set.

func (*Transaction) HasMerchantAccountId ¶ added in v0.27.0

func (o *Transaction) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*Transaction) HasMerchantInitiated ¶ added in v0.8.0

func (o *Transaction) HasMerchantInitiated() bool

HasMerchantInitiated returns a boolean if a field has been set.

func (*Transaction) HasMetadata ¶ added in v0.17.0

func (o *Transaction) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Transaction) HasMethod ¶ added in v0.17.0

func (o *Transaction) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*Transaction) HasMultiTender ¶ added in v0.31.0

func (o *Transaction) HasMultiTender() bool

HasMultiTender returns a boolean if a field has been set.

func (*Transaction) HasPaymentMethod ¶ added in v0.2.1

func (o *Transaction) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*Transaction) HasPaymentService ¶ added in v0.2.1

func (o *Transaction) HasPaymentService() bool

HasPaymentService returns a boolean if a field has been set.

func (*Transaction) HasPaymentServiceTransactionId ¶ added in v0.17.0

func (o *Transaction) HasPaymentServiceTransactionId() bool

HasPaymentServiceTransactionId returns a boolean if a field has been set.

func (*Transaction) HasPaymentSource ¶ added in v0.8.0

func (o *Transaction) HasPaymentSource() bool

HasPaymentSource returns a boolean if a field has been set.

func (*Transaction) HasPendingReview ¶ added in v0.27.0

func (o *Transaction) HasPendingReview() bool

HasPendingReview returns a boolean if a field has been set.

func (*Transaction) HasRawResponseCode ¶ added in v0.16.0

func (o *Transaction) HasRawResponseCode() bool

HasRawResponseCode returns a boolean if a field has been set.

func (*Transaction) HasRawResponseDescription ¶ added in v0.16.0

func (o *Transaction) HasRawResponseDescription() bool

HasRawResponseDescription returns a boolean if a field has been set.

func (*Transaction) HasReconciliationId ¶ added in v0.31.0

func (o *Transaction) HasReconciliationId() bool

HasReconciliationId returns a boolean if a field has been set.

func (*Transaction) HasRefundedAmount ¶ added in v0.2.1

func (o *Transaction) HasRefundedAmount() bool

HasRefundedAmount returns a boolean if a field has been set.

func (*Transaction) HasSchemeTransactionId ¶ added in v0.16.0

func (o *Transaction) HasSchemeTransactionId() bool

HasSchemeTransactionId returns a boolean if a field has been set.

func (*Transaction) HasShippingDetails ¶ added in v0.21.0

func (o *Transaction) HasShippingDetails() bool

HasShippingDetails returns a boolean if a field has been set.

func (*Transaction) HasStatementDescriptor ¶ added in v0.13.0

func (o *Transaction) HasStatementDescriptor() bool

HasStatementDescriptor returns a boolean if a field has been set.

func (*Transaction) HasStatus ¶ added in v0.2.1

func (o *Transaction) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Transaction) HasThreeDSecure ¶ added in v0.18.0

func (o *Transaction) HasThreeDSecure() bool

HasThreeDSecure returns a boolean if a field has been set.

func (*Transaction) HasType ¶ added in v0.2.1

func (o *Transaction) HasType() bool

HasType returns a boolean if a field has been set.

func (*Transaction) HasUpdatedAt ¶ added in v0.2.1

func (o *Transaction) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Transaction) HasVoidedAt ¶ added in v0.19.0

func (o *Transaction) HasVoidedAt() bool

HasVoidedAt returns a boolean if a field has been set.

func (Transaction) MarshalJSON ¶ added in v0.2.1

func (o Transaction) MarshalJSON() ([]byte, error)

func (*Transaction) SetAmount ¶ added in v0.2.1

func (o *Transaction) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*Transaction) SetAuthResponseCode ¶ added in v0.28.0

func (o *Transaction) SetAuthResponseCode(v string)

SetAuthResponseCode gets a reference to the given NullableString and assigns it to the AuthResponseCode field.

func (*Transaction) SetAuthResponseCodeNil ¶ added in v0.28.0

func (o *Transaction) SetAuthResponseCodeNil()

SetAuthResponseCodeNil sets the value for AuthResponseCode to be an explicit nil

func (*Transaction) SetAuthorizedAmount ¶ added in v0.31.0

func (o *Transaction) SetAuthorizedAmount(v int32)

SetAuthorizedAmount gets a reference to the given int32 and assigns it to the AuthorizedAmount field.

func (*Transaction) SetAuthorizedAt ¶ added in v0.19.0

func (o *Transaction) SetAuthorizedAt(v time.Time)

SetAuthorizedAt gets a reference to the given NullableTime and assigns it to the AuthorizedAt field.

func (*Transaction) SetAuthorizedAtNil ¶ added in v0.19.0

func (o *Transaction) SetAuthorizedAtNil()

SetAuthorizedAtNil sets the value for AuthorizedAt to be an explicit nil

func (*Transaction) SetAvsResponseCode ¶ added in v0.16.0

func (o *Transaction) SetAvsResponseCode(v string)

SetAvsResponseCode gets a reference to the given NullableString and assigns it to the AvsResponseCode field.

func (*Transaction) SetAvsResponseCodeNil ¶ added in v0.16.0

func (o *Transaction) SetAvsResponseCodeNil()

SetAvsResponseCodeNil sets the value for AvsResponseCode to be an explicit nil

func (*Transaction) SetBuyer ¶ added in v0.2.1

func (o *Transaction) SetBuyer(v BuyerSnapshot)

SetBuyer gets a reference to the given NullableBuyerSnapshot and assigns it to the Buyer field.

func (*Transaction) SetBuyerNil ¶ added in v0.2.1

func (o *Transaction) SetBuyerNil()

SetBuyerNil sets the value for Buyer to be an explicit nil

func (*Transaction) SetCapturedAmount ¶ added in v0.2.1

func (o *Transaction) SetCapturedAmount(v int32)

SetCapturedAmount gets a reference to the given int32 and assigns it to the CapturedAmount field.

func (*Transaction) SetCapturedAt ¶ added in v0.19.0

func (o *Transaction) SetCapturedAt(v time.Time)

SetCapturedAt gets a reference to the given NullableTime and assigns it to the CapturedAt field.

func (*Transaction) SetCapturedAtNil ¶ added in v0.19.0

func (o *Transaction) SetCapturedAtNil()

SetCapturedAtNil sets the value for CapturedAt to be an explicit nil

func (*Transaction) SetCartItems ¶ added in v0.12.0

func (o *Transaction) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*Transaction) SetCheckoutSessionId ¶ added in v0.27.0

func (o *Transaction) SetCheckoutSessionId(v string)

SetCheckoutSessionId gets a reference to the given string and assigns it to the CheckoutSessionId field.

func (*Transaction) SetCountry ¶ added in v0.17.0

func (o *Transaction) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*Transaction) SetCountryNil ¶ added in v0.17.0

func (o *Transaction) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*Transaction) SetCreatedAt ¶ added in v0.2.1

func (o *Transaction) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Transaction) SetCurrency ¶ added in v0.2.1

func (o *Transaction) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*Transaction) SetCvvResponseCode ¶ added in v0.16.0

func (o *Transaction) SetCvvResponseCode(v string)

SetCvvResponseCode gets a reference to the given NullableString and assigns it to the CvvResponseCode field.

func (*Transaction) SetCvvResponseCodeNil ¶ added in v0.16.0

func (o *Transaction) SetCvvResponseCodeNil()

SetCvvResponseCodeNil sets the value for CvvResponseCode to be an explicit nil

func (*Transaction) SetErrorCode ¶ added in v0.31.0

func (o *Transaction) SetErrorCode(v string)

SetErrorCode gets a reference to the given NullableString and assigns it to the ErrorCode field.

func (*Transaction) SetErrorCodeNil ¶ added in v0.31.0

func (o *Transaction) SetErrorCodeNil()

SetErrorCodeNil sets the value for ErrorCode to be an explicit nil

func (*Transaction) SetExternalIdentifier ¶ added in v0.2.1

func (o *Transaction) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*Transaction) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *Transaction) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*Transaction) SetGiftCardRedemptions ¶ added in v0.32.0

func (o *Transaction) SetGiftCardRedemptions(v []GiftCardRedemption)

SetGiftCardRedemptions gets a reference to the given []GiftCardRedemption and assigns it to the GiftCardRedemptions field.

func (*Transaction) SetGiftCardService ¶ added in v0.31.0

func (o *Transaction) SetGiftCardService(v GiftCardServiceSnapshot)

SetGiftCardService gets a reference to the given GiftCardServiceSnapshot and assigns it to the GiftCardService field.

func (*Transaction) SetId ¶ added in v0.2.1

func (o *Transaction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Transaction) SetIntent ¶ added in v0.17.0

func (o *Transaction) SetIntent(v string)

SetIntent gets a reference to the given string and assigns it to the Intent field.

func (*Transaction) SetIntentOutcome ¶ added in v0.31.0

func (o *Transaction) SetIntentOutcome(v string)

SetIntentOutcome gets a reference to the given string and assigns it to the IntentOutcome field.

func (*Transaction) SetIsSubsequentPayment ¶ added in v0.8.0

func (o *Transaction) SetIsSubsequentPayment(v bool)

SetIsSubsequentPayment gets a reference to the given bool and assigns it to the IsSubsequentPayment field.

func (*Transaction) SetMerchantAccountId ¶ added in v0.27.0

func (o *Transaction) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*Transaction) SetMerchantInitiated ¶ added in v0.8.0

func (o *Transaction) SetMerchantInitiated(v bool)

SetMerchantInitiated gets a reference to the given bool and assigns it to the MerchantInitiated field.

func (*Transaction) SetMetadata ¶ added in v0.17.0

func (o *Transaction) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*Transaction) SetMethod ¶ added in v0.17.0

func (o *Transaction) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*Transaction) SetMultiTender ¶ added in v0.31.0

func (o *Transaction) SetMultiTender(v bool)

SetMultiTender gets a reference to the given bool and assigns it to the MultiTender field.

func (*Transaction) SetPaymentMethod ¶ added in v0.2.1

func (o *Transaction) SetPaymentMethod(v PaymentMethodSnapshot)

SetPaymentMethod gets a reference to the given PaymentMethodSnapshot and assigns it to the PaymentMethod field.

func (*Transaction) SetPaymentService ¶ added in v0.2.1

func (o *Transaction) SetPaymentService(v PaymentServiceSnapshot)

SetPaymentService gets a reference to the given PaymentServiceSnapshot and assigns it to the PaymentService field.

func (*Transaction) SetPaymentServiceTransactionId ¶ added in v0.17.0

func (o *Transaction) SetPaymentServiceTransactionId(v string)

SetPaymentServiceTransactionId gets a reference to the given string and assigns it to the PaymentServiceTransactionId field.

func (*Transaction) SetPaymentSource ¶ added in v0.8.0

func (o *Transaction) SetPaymentSource(v string)

SetPaymentSource gets a reference to the given string and assigns it to the PaymentSource field.

func (*Transaction) SetPendingReview ¶ added in v0.27.0

func (o *Transaction) SetPendingReview(v bool)

SetPendingReview gets a reference to the given bool and assigns it to the PendingReview field.

func (*Transaction) SetRawResponseCode ¶ added in v0.16.0

func (o *Transaction) SetRawResponseCode(v string)

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*Transaction) SetRawResponseCodeNil ¶ added in v0.16.0

func (o *Transaction) SetRawResponseCodeNil()

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*Transaction) SetRawResponseDescription ¶ added in v0.16.0

func (o *Transaction) SetRawResponseDescription(v string)

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*Transaction) SetRawResponseDescriptionNil ¶ added in v0.16.0

func (o *Transaction) SetRawResponseDescriptionNil()

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*Transaction) SetReconciliationId ¶ added in v0.31.0

func (o *Transaction) SetReconciliationId(v string)

SetReconciliationId gets a reference to the given string and assigns it to the ReconciliationId field.

func (*Transaction) SetRefundedAmount ¶ added in v0.2.1

func (o *Transaction) SetRefundedAmount(v int32)

SetRefundedAmount gets a reference to the given int32 and assigns it to the RefundedAmount field.

func (*Transaction) SetSchemeTransactionId ¶ added in v0.16.0

func (o *Transaction) SetSchemeTransactionId(v string)

SetSchemeTransactionId gets a reference to the given NullableString and assigns it to the SchemeTransactionId field.

func (*Transaction) SetSchemeTransactionIdNil ¶ added in v0.16.0

func (o *Transaction) SetSchemeTransactionIdNil()

SetSchemeTransactionIdNil sets the value for SchemeTransactionId to be an explicit nil

func (*Transaction) SetShippingDetails ¶ added in v0.21.0

func (o *Transaction) SetShippingDetails(v ShippingDetail)

SetShippingDetails gets a reference to the given NullableShippingDetail and assigns it to the ShippingDetails field.

func (*Transaction) SetShippingDetailsNil ¶ added in v0.22.0

func (o *Transaction) SetShippingDetailsNil()

SetShippingDetailsNil sets the value for ShippingDetails to be an explicit nil

func (*Transaction) SetStatementDescriptor ¶ added in v0.13.0

func (o *Transaction) SetStatementDescriptor(v StatementDescriptor)

SetStatementDescriptor gets a reference to the given NullableStatementDescriptor and assigns it to the StatementDescriptor field.

func (*Transaction) SetStatementDescriptorNil ¶ added in v0.22.0

func (o *Transaction) SetStatementDescriptorNil()

SetStatementDescriptorNil sets the value for StatementDescriptor to be an explicit nil

func (*Transaction) SetStatus ¶ added in v0.2.1

func (o *Transaction) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Transaction) SetThreeDSecure ¶ added in v0.18.0

func (o *Transaction) SetThreeDSecure(v ThreeDSecureSummary)

SetThreeDSecure gets a reference to the given ThreeDSecureSummary and assigns it to the ThreeDSecure field.

func (*Transaction) SetType ¶ added in v0.2.1

func (o *Transaction) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Transaction) SetUpdatedAt ¶ added in v0.2.1

func (o *Transaction) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Transaction) SetVoidedAt ¶ added in v0.19.0

func (o *Transaction) SetVoidedAt(v time.Time)

SetVoidedAt gets a reference to the given NullableTime and assigns it to the VoidedAt field.

func (*Transaction) SetVoidedAtNil ¶ added in v0.19.0

func (o *Transaction) SetVoidedAtNil()

SetVoidedAtNil sets the value for VoidedAt to be an explicit nil

func (*Transaction) UnsetAuthResponseCode ¶ added in v0.28.0

func (o *Transaction) UnsetAuthResponseCode()

UnsetAuthResponseCode ensures that no value is present for AuthResponseCode, not even an explicit nil

func (*Transaction) UnsetAuthorizedAt ¶ added in v0.19.0

func (o *Transaction) UnsetAuthorizedAt()

UnsetAuthorizedAt ensures that no value is present for AuthorizedAt, not even an explicit nil

func (*Transaction) UnsetAvsResponseCode ¶ added in v0.16.0

func (o *Transaction) UnsetAvsResponseCode()

UnsetAvsResponseCode ensures that no value is present for AvsResponseCode, not even an explicit nil

func (*Transaction) UnsetBuyer ¶ added in v0.2.1

func (o *Transaction) UnsetBuyer()

UnsetBuyer ensures that no value is present for Buyer, not even an explicit nil

func (*Transaction) UnsetCapturedAt ¶ added in v0.19.0

func (o *Transaction) UnsetCapturedAt()

UnsetCapturedAt ensures that no value is present for CapturedAt, not even an explicit nil

func (*Transaction) UnsetCountry ¶ added in v0.17.0

func (o *Transaction) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*Transaction) UnsetCvvResponseCode ¶ added in v0.16.0

func (o *Transaction) UnsetCvvResponseCode()

UnsetCvvResponseCode ensures that no value is present for CvvResponseCode, not even an explicit nil

func (*Transaction) UnsetErrorCode ¶ added in v0.31.0

func (o *Transaction) UnsetErrorCode()

UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil

func (*Transaction) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *Transaction) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*Transaction) UnsetRawResponseCode ¶ added in v0.16.0

func (o *Transaction) UnsetRawResponseCode()

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*Transaction) UnsetRawResponseDescription ¶ added in v0.16.0

func (o *Transaction) UnsetRawResponseDescription()

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

func (*Transaction) UnsetSchemeTransactionId ¶ added in v0.16.0

func (o *Transaction) UnsetSchemeTransactionId()

UnsetSchemeTransactionId ensures that no value is present for SchemeTransactionId, not even an explicit nil

func (*Transaction) UnsetShippingDetails ¶ added in v0.22.0

func (o *Transaction) UnsetShippingDetails()

UnsetShippingDetails ensures that no value is present for ShippingDetails, not even an explicit nil

func (*Transaction) UnsetStatementDescriptor ¶ added in v0.22.0

func (o *Transaction) UnsetStatementDescriptor()

UnsetStatementDescriptor ensures that no value is present for StatementDescriptor, not even an explicit nil

func (*Transaction) UnsetVoidedAt ¶ added in v0.19.0

func (o *Transaction) UnsetVoidedAt()

UnsetVoidedAt ensures that no value is present for VoidedAt, not even an explicit nil

type TransactionCaptureRequest ¶

type TransactionCaptureRequest struct {
	// The monetary amount to capture an authorization for, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  When omitted blank, this will capture the entire amount.  Capturing an amount that is greater than the authorized amount is not supported.
	Amount *int32 `json:"amount,omitempty"`
}

TransactionCaptureRequest A request to capture a transaction.

func NewTransactionCaptureRequest ¶ added in v0.2.1

func NewTransactionCaptureRequest() *TransactionCaptureRequest

NewTransactionCaptureRequest instantiates a new TransactionCaptureRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionCaptureRequestWithDefaults ¶ added in v0.2.1

func NewTransactionCaptureRequestWithDefaults() *TransactionCaptureRequest

NewTransactionCaptureRequestWithDefaults instantiates a new TransactionCaptureRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionCaptureRequest) GetAmount ¶ added in v0.2.1

func (o *TransactionCaptureRequest) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*TransactionCaptureRequest) GetAmountOk ¶ added in v0.2.1

func (o *TransactionCaptureRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionCaptureRequest) HasAmount ¶ added in v0.2.1

func (o *TransactionCaptureRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (TransactionCaptureRequest) MarshalJSON ¶ added in v0.2.1

func (o TransactionCaptureRequest) MarshalJSON() ([]byte, error)

func (*TransactionCaptureRequest) SetAmount ¶ added in v0.2.1

func (o *TransactionCaptureRequest) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

type TransactionCardRequest ¶ added in v0.22.0

type TransactionCardRequest struct {
	// `card`.
	Method string `json:"method"`
	// The 13-19 digit number for this card as it can be found on the front of the card.
	Number string `json:"number"`
	// The expiration date of the card, formatted `MM/YY`.
	ExpirationDate string `json:"expiration_date"`
	// The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.
	SecurityCode string `json:"security_code"`
	// An external identifier that can be used to match the card against your own records. This can only be set if the `store` flag is set to `true`.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// We strongly recommend providing a `redirect_url` either when 3-D Secure is enabled and `three_d_secure_data` is not provided, or when using connections where 3DS is enabled. This value will be appended with both a transaction ID and status (e.g. `https://example.com/callback?gr4vy_transaction_id=123 &gr4vy_transaction_status=capture_succeeded`) after 3-D Secure has completed. For those cases, if the value is not present, the transaction will be marked as failed.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
}

TransactionCardRequest Card payment method details to use in a transaction.

func NewTransactionCardRequest ¶ added in v0.22.0

func NewTransactionCardRequest(method string, number string, expirationDate string, securityCode string) *TransactionCardRequest

NewTransactionCardRequest instantiates a new TransactionCardRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionCardRequestWithDefaults ¶ added in v0.22.0

func NewTransactionCardRequestWithDefaults() *TransactionCardRequest

NewTransactionCardRequestWithDefaults instantiates a new TransactionCardRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionCardRequest) GetExpirationDate ¶ added in v0.22.0

func (o *TransactionCardRequest) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value

func (*TransactionCardRequest) GetExpirationDateOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.

func (*TransactionCardRequest) GetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCardRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionCardRequest) GetExternalIdentifierOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionCardRequest) GetMethod ¶ added in v0.22.0

func (o *TransactionCardRequest) GetMethod() string

GetMethod returns the Method field value

func (*TransactionCardRequest) GetMethodOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*TransactionCardRequest) GetNumber ¶ added in v0.22.0

func (o *TransactionCardRequest) GetNumber() string

GetNumber returns the Number field value

func (*TransactionCardRequest) GetNumberOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*TransactionCardRequest) GetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCardRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionCardRequest) GetRedirectUrlOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionCardRequest) GetSecurityCode ¶ added in v0.22.0

func (o *TransactionCardRequest) GetSecurityCode() string

GetSecurityCode returns the SecurityCode field value

func (*TransactionCardRequest) GetSecurityCodeOk ¶ added in v0.22.0

func (o *TransactionCardRequest) GetSecurityCodeOk() (*string, bool)

GetSecurityCodeOk returns a tuple with the SecurityCode field value and a boolean to check if the value has been set.

func (*TransactionCardRequest) HasExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCardRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*TransactionCardRequest) HasRedirectUrl ¶ added in v0.22.0

func (o *TransactionCardRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (TransactionCardRequest) MarshalJSON ¶ added in v0.22.0

func (o TransactionCardRequest) MarshalJSON() ([]byte, error)

func (*TransactionCardRequest) SetExpirationDate ¶ added in v0.22.0

func (o *TransactionCardRequest) SetExpirationDate(v string)

SetExpirationDate sets field value

func (*TransactionCardRequest) SetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCardRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionCardRequest) SetExternalIdentifierNil ¶ added in v0.22.0

func (o *TransactionCardRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionCardRequest) SetMethod ¶ added in v0.22.0

func (o *TransactionCardRequest) SetMethod(v string)

SetMethod sets field value

func (*TransactionCardRequest) SetNumber ¶ added in v0.22.0

func (o *TransactionCardRequest) SetNumber(v string)

SetNumber sets field value

func (*TransactionCardRequest) SetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCardRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*TransactionCardRequest) SetRedirectUrlNil ¶ added in v0.22.0

func (o *TransactionCardRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*TransactionCardRequest) SetSecurityCode ¶ added in v0.22.0

func (o *TransactionCardRequest) SetSecurityCode(v string)

SetSecurityCode sets field value

func (*TransactionCardRequest) UnsetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCardRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*TransactionCardRequest) UnsetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCardRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

type TransactionCheckoutSessionRequest ¶ added in v0.22.0

type TransactionCheckoutSessionRequest struct {
	// `checkout-session`.
	Method string `json:"method"`
	// The ID of the Checkout Session.
	Id string `json:"id"`
	// An external identifier that can be used to match the card against your own records. This can only be set if the `store` flag is set to `true`.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// We strongly recommend providing a `redirect_url` either when 3-D Secure is enabled and `three_d_secure_data` is not provided, or when using connections where 3DS is enabled. This value will be appended with both a transaction ID and status (e.g. `https://example.com/callback?gr4vy_transaction_id=123 &gr4vy_transaction_status=capture_succeeded`) after 3-D Secure has completed. For those cases, if the value is not present, the transaction will be marked as failed.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
}

TransactionCheckoutSessionRequest Checkout Session payment method details to use in a transaction.

func NewTransactionCheckoutSessionRequest ¶ added in v0.22.0

func NewTransactionCheckoutSessionRequest(method string, id string) *TransactionCheckoutSessionRequest

NewTransactionCheckoutSessionRequest instantiates a new TransactionCheckoutSessionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionCheckoutSessionRequestWithDefaults ¶ added in v0.22.0

func NewTransactionCheckoutSessionRequestWithDefaults() *TransactionCheckoutSessionRequest

NewTransactionCheckoutSessionRequestWithDefaults instantiates a new TransactionCheckoutSessionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionCheckoutSessionRequest) GetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionCheckoutSessionRequest) GetExternalIdentifierOk ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionCheckoutSessionRequest) GetId ¶ added in v0.22.0

GetId returns the Id field value

func (*TransactionCheckoutSessionRequest) GetIdOk ¶ added in v0.22.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TransactionCheckoutSessionRequest) GetMethod ¶ added in v0.22.0

GetMethod returns the Method field value

func (*TransactionCheckoutSessionRequest) GetMethodOk ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*TransactionCheckoutSessionRequest) GetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionCheckoutSessionRequest) GetRedirectUrlOk ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionCheckoutSessionRequest) HasExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*TransactionCheckoutSessionRequest) HasRedirectUrl ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (TransactionCheckoutSessionRequest) MarshalJSON ¶ added in v0.22.0

func (o TransactionCheckoutSessionRequest) MarshalJSON() ([]byte, error)

func (*TransactionCheckoutSessionRequest) SetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionCheckoutSessionRequest) SetExternalIdentifierNil ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionCheckoutSessionRequest) SetId ¶ added in v0.22.0

SetId sets field value

func (*TransactionCheckoutSessionRequest) SetMethod ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) SetMethod(v string)

SetMethod sets field value

func (*TransactionCheckoutSessionRequest) SetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*TransactionCheckoutSessionRequest) SetRedirectUrlNil ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*TransactionCheckoutSessionRequest) UnsetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*TransactionCheckoutSessionRequest) UnsetRedirectUrl ¶ added in v0.22.0

func (o *TransactionCheckoutSessionRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

type TransactionGiftCardNewRequest ¶ added in v0.31.0

type TransactionGiftCardNewRequest struct {
	// The 16-19 digit number for this gift card.
	Number string `json:"number"`
	// The PIN for this gift card.
	Pin string `json:"pin"`
	// The monetary amount to charge for this gift card, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  All gift card amounts are subtracted from the total transaction amount. The remainder is charged to the provided `payment_method`.
	Amount int32 `json:"amount"`
}

TransactionGiftCardNewRequest Create a transaction with this gift card.

func NewTransactionGiftCardNewRequest ¶ added in v0.31.0

func NewTransactionGiftCardNewRequest(number string, pin string, amount int32) *TransactionGiftCardNewRequest

NewTransactionGiftCardNewRequest instantiates a new TransactionGiftCardNewRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionGiftCardNewRequestWithDefaults ¶ added in v0.31.0

func NewTransactionGiftCardNewRequestWithDefaults() *TransactionGiftCardNewRequest

NewTransactionGiftCardNewRequestWithDefaults instantiates a new TransactionGiftCardNewRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionGiftCardNewRequest) GetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) GetAmount() int32

GetAmount returns the Amount field value

func (*TransactionGiftCardNewRequest) GetAmountOk ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionGiftCardNewRequest) GetNumber ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) GetNumber() string

GetNumber returns the Number field value

func (*TransactionGiftCardNewRequest) GetNumberOk ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.

func (*TransactionGiftCardNewRequest) GetPin ¶ added in v0.31.0

GetPin returns the Pin field value

func (*TransactionGiftCardNewRequest) GetPinOk ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value and a boolean to check if the value has been set.

func (TransactionGiftCardNewRequest) MarshalJSON ¶ added in v0.31.0

func (o TransactionGiftCardNewRequest) MarshalJSON() ([]byte, error)

func (*TransactionGiftCardNewRequest) SetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) SetAmount(v int32)

SetAmount sets field value

func (*TransactionGiftCardNewRequest) SetNumber ¶ added in v0.31.0

func (o *TransactionGiftCardNewRequest) SetNumber(v string)

SetNumber sets field value

func (*TransactionGiftCardNewRequest) SetPin ¶ added in v0.31.0

SetPin sets field value

type TransactionGiftCardRequest ¶ added in v0.31.0

type TransactionGiftCardRequest struct {
	// The ID of the gift card to check a balance for. Required if `number` is not set.
	Id *string `json:"id,omitempty"`
	// The 16-19 digit number for this gift card. Required if `id` is not set.
	Number *string `json:"number,omitempty"`
	// The PIN for this gift card. Required if `number` is set.
	Pin *string `json:"pin,omitempty"`
	// The monetary amount to charge for this gift card, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  All gift card amounts are subtracted from the total transaction amount. The remainder is charged to the provided `payment_method`.
	Amount int32 `json:"amount"`
}

TransactionGiftCardRequest Create a transaction with this gift card.

func NewTransactionGiftCardRequest ¶ added in v0.31.0

func NewTransactionGiftCardRequest(amount int32) *TransactionGiftCardRequest

NewTransactionGiftCardRequest instantiates a new TransactionGiftCardRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionGiftCardRequestWithDefaults ¶ added in v0.31.0

func NewTransactionGiftCardRequestWithDefaults() *TransactionGiftCardRequest

NewTransactionGiftCardRequestWithDefaults instantiates a new TransactionGiftCardRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionGiftCardRequest) GetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetAmount() int32

GetAmount returns the Amount field value

func (*TransactionGiftCardRequest) GetAmountOk ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionGiftCardRequest) GetId ¶ added in v0.31.0

GetId returns the Id field value if set, zero value otherwise.

func (*TransactionGiftCardRequest) GetIdOk ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionGiftCardRequest) GetNumber ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*TransactionGiftCardRequest) GetNumberOk ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionGiftCardRequest) GetPin ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetPin() string

GetPin returns the Pin field value if set, zero value otherwise.

func (*TransactionGiftCardRequest) GetPinOk ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionGiftCardRequest) HasId ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*TransactionGiftCardRequest) HasNumber ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*TransactionGiftCardRequest) HasPin ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) HasPin() bool

HasPin returns a boolean if a field has been set.

func (TransactionGiftCardRequest) MarshalJSON ¶ added in v0.31.0

func (o TransactionGiftCardRequest) MarshalJSON() ([]byte, error)

func (*TransactionGiftCardRequest) SetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) SetAmount(v int32)

SetAmount sets field value

func (*TransactionGiftCardRequest) SetId ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TransactionGiftCardRequest) SetNumber ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*TransactionGiftCardRequest) SetPin ¶ added in v0.31.0

func (o *TransactionGiftCardRequest) SetPin(v string)

SetPin gets a reference to the given string and assigns it to the Pin field.

type TransactionGiftCardStoredRequest ¶ added in v0.31.0

type TransactionGiftCardStoredRequest struct {
	// The ID of the gift card to check a balance for.
	Id string `json:"id"`
	// The monetary amount to charge for this gift card, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  All gift card amounts are subtracted from the total transaction amount. The remainder is charged to the provided `payment_method`.
	Amount int32 `json:"amount"`
}

TransactionGiftCardStoredRequest Create a transaction with a stored gift card.

func NewTransactionGiftCardStoredRequest ¶ added in v0.31.0

func NewTransactionGiftCardStoredRequest(id string, amount int32) *TransactionGiftCardStoredRequest

NewTransactionGiftCardStoredRequest instantiates a new TransactionGiftCardStoredRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionGiftCardStoredRequestWithDefaults ¶ added in v0.31.0

func NewTransactionGiftCardStoredRequestWithDefaults() *TransactionGiftCardStoredRequest

NewTransactionGiftCardStoredRequestWithDefaults instantiates a new TransactionGiftCardStoredRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionGiftCardStoredRequest) GetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardStoredRequest) GetAmount() int32

GetAmount returns the Amount field value

func (*TransactionGiftCardStoredRequest) GetAmountOk ¶ added in v0.31.0

func (o *TransactionGiftCardStoredRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionGiftCardStoredRequest) GetId ¶ added in v0.31.0

GetId returns the Id field value

func (*TransactionGiftCardStoredRequest) GetIdOk ¶ added in v0.31.0

func (o *TransactionGiftCardStoredRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (TransactionGiftCardStoredRequest) MarshalJSON ¶ added in v0.31.0

func (o TransactionGiftCardStoredRequest) MarshalJSON() ([]byte, error)

func (*TransactionGiftCardStoredRequest) SetAmount ¶ added in v0.31.0

func (o *TransactionGiftCardStoredRequest) SetAmount(v int32)

SetAmount sets field value

func (*TransactionGiftCardStoredRequest) SetId ¶ added in v0.31.0

SetId sets field value

type TransactionHistoryEvent ¶ added in v0.28.0

type TransactionHistoryEvent struct {
	// The type of this resource. Is always `transaction-event`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this event.
	Id *string `json:"id,omitempty"`
	// The name of this resource.
	Name *string `json:"name,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// A list of key/values with additional data.
	Context *map[string]map[string]interface{} `json:"context,omitempty"`
}

TransactionHistoryEvent A generic transaction history event.

func NewTransactionHistoryEvent ¶ added in v0.28.0

func NewTransactionHistoryEvent() *TransactionHistoryEvent

NewTransactionHistoryEvent instantiates a new TransactionHistoryEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionHistoryEventWithDefaults ¶ added in v0.28.0

func NewTransactionHistoryEventWithDefaults() *TransactionHistoryEvent

NewTransactionHistoryEventWithDefaults instantiates a new TransactionHistoryEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionHistoryEvent) GetContext ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetContext() map[string]map[string]interface{}

GetContext returns the Context field value if set, zero value otherwise.

func (*TransactionHistoryEvent) GetContextOk ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetContextOk() (*map[string]map[string]interface{}, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvent) GetCreatedAt ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*TransactionHistoryEvent) GetCreatedAtOk ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvent) GetId ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TransactionHistoryEvent) GetIdOk ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvent) GetName ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TransactionHistoryEvent) GetNameOk ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvent) GetType ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionHistoryEvent) GetTypeOk ¶ added in v0.28.0

func (o *TransactionHistoryEvent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvent) HasContext ¶ added in v0.28.0

func (o *TransactionHistoryEvent) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*TransactionHistoryEvent) HasCreatedAt ¶ added in v0.28.0

func (o *TransactionHistoryEvent) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*TransactionHistoryEvent) HasId ¶ added in v0.28.0

func (o *TransactionHistoryEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*TransactionHistoryEvent) HasName ¶ added in v0.28.0

func (o *TransactionHistoryEvent) HasName() bool

HasName returns a boolean if a field has been set.

func (*TransactionHistoryEvent) HasType ¶ added in v0.28.0

func (o *TransactionHistoryEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (TransactionHistoryEvent) MarshalJSON ¶ added in v0.28.0

func (o TransactionHistoryEvent) MarshalJSON() ([]byte, error)

func (*TransactionHistoryEvent) SetContext ¶ added in v0.28.0

func (o *TransactionHistoryEvent) SetContext(v map[string]map[string]interface{})

SetContext gets a reference to the given map[string]map[string]interface{} and assigns it to the Context field.

func (*TransactionHistoryEvent) SetCreatedAt ¶ added in v0.28.0

func (o *TransactionHistoryEvent) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*TransactionHistoryEvent) SetId ¶ added in v0.28.0

func (o *TransactionHistoryEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TransactionHistoryEvent) SetName ¶ added in v0.28.0

func (o *TransactionHistoryEvent) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TransactionHistoryEvent) SetType ¶ added in v0.28.0

func (o *TransactionHistoryEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type TransactionHistoryEvents ¶ added in v0.31.0

type TransactionHistoryEvents struct {
	// A list of events related to processing a transaction.
	Items *[]TransactionHistoryEvents `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

TransactionHistoryEvents A list of transaction history events.

func NewTransactionHistoryEvents ¶ added in v0.31.0

func NewTransactionHistoryEvents() *TransactionHistoryEvents

NewTransactionHistoryEvents instantiates a new TransactionHistoryEvents object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionHistoryEventsWithDefaults ¶ added in v0.31.0

func NewTransactionHistoryEventsWithDefaults() *TransactionHistoryEvents

NewTransactionHistoryEventsWithDefaults instantiates a new TransactionHistoryEvents object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionHistoryEvents) GetItems ¶ added in v0.31.0

GetItems returns the Items field value if set, zero value otherwise.

func (*TransactionHistoryEvents) GetItemsOk ¶ added in v0.31.0

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvents) GetLimit ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*TransactionHistoryEvents) GetLimitOk ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionHistoryEvents) GetNextCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionHistoryEvents) GetNextCursorOk ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionHistoryEvents) GetPreviousCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionHistoryEvents) GetPreviousCursorOk ¶ added in v0.31.0

func (o *TransactionHistoryEvents) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionHistoryEvents) HasItems ¶ added in v0.31.0

func (o *TransactionHistoryEvents) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*TransactionHistoryEvents) HasLimit ¶ added in v0.31.0

func (o *TransactionHistoryEvents) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TransactionHistoryEvents) HasNextCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*TransactionHistoryEvents) HasPreviousCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (TransactionHistoryEvents) MarshalJSON ¶ added in v0.31.0

func (o TransactionHistoryEvents) MarshalJSON() ([]byte, error)

func (*TransactionHistoryEvents) SetItems ¶ added in v0.31.0

SetItems gets a reference to the given []TransactionHistoryEvents and assigns it to the Items field.

func (*TransactionHistoryEvents) SetLimit ¶ added in v0.31.0

func (o *TransactionHistoryEvents) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*TransactionHistoryEvents) SetNextCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*TransactionHistoryEvents) SetNextCursorNil ¶ added in v0.31.0

func (o *TransactionHistoryEvents) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*TransactionHistoryEvents) SetPreviousCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*TransactionHistoryEvents) SetPreviousCursorNil ¶ added in v0.31.0

func (o *TransactionHistoryEvents) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*TransactionHistoryEvents) UnsetNextCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*TransactionHistoryEvents) UnsetPreviousCursor ¶ added in v0.31.0

func (o *TransactionHistoryEvents) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type TransactionPaymentMethodRequest ¶ added in v0.2.1

type TransactionPaymentMethodRequest struct {
	// The method to use for this request.
	Method string `json:"method"`
	// The 13-19 digit number for this credit card as it can be found on the front of the card.
	Number NullableString `json:"number,omitempty"`
	// The expiration date of the card, formatted `MM/YY`. If a card has been previously stored with us this value is optional.
	ExpirationDate NullableString `json:"expiration_date,omitempty"`
	// The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.
	SecurityCode NullableString `json:"security_code,omitempty"`
	// An external identifier that can be used to match the card against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction or payment method. This only applies to payment methods that require buyer approval.
	RedirectUrl NullableString `json:"redirect_url,omitempty"`
	// An identifier for a previously tokenized payment method or checkout-session. This id can represent any type of payment method or checkout-session.
	Id NullableString `json:"id,omitempty"`
	// The ISO-4217 currency code to use this payment method for. This is used to select the payment service to use.
	Currency NullableString `json:"currency,omitempty"`
	// The 2-letter ISO code of the country to use this payment method for. This is used to select the payment service to use.
	Country NullableString `json:"country,omitempty"`
	// The encrypted (opaque) token that was passed to the `onpaymentauthorized` callback by the Apple Pay integration.
	Token            map[string]interface{}                   `json:"token,omitempty"`
	AssuranceDetails NullableGooglePayRequestAssuranceDetails `json:"assurance_details,omitempty"`
	// Name of the card holder.
	CardHolderName NullableString `json:"card_holder_name,omitempty"`
}

TransactionPaymentMethodRequest Payment method details to use in a transaction or to register a new payment method.

func NewTransactionPaymentMethodRequest ¶ added in v0.2.1

func NewTransactionPaymentMethodRequest(method string) *TransactionPaymentMethodRequest

NewTransactionPaymentMethodRequest instantiates a new TransactionPaymentMethodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionPaymentMethodRequestWithDefaults ¶ added in v0.2.1

func NewTransactionPaymentMethodRequestWithDefaults() *TransactionPaymentMethodRequest

NewTransactionPaymentMethodRequestWithDefaults instantiates a new TransactionPaymentMethodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionPaymentMethodRequest) GetAssuranceDetails ¶ added in v0.31.0

GetAssuranceDetails returns the AssuranceDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetAssuranceDetailsOk ¶ added in v0.31.0

GetAssuranceDetailsOk returns a tuple with the AssuranceDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetCardHolderName ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) GetCardHolderName() string

GetCardHolderName returns the CardHolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetCardHolderNameOk ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) GetCardHolderNameOk() (*string, bool)

GetCardHolderNameOk returns a tuple with the CardHolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetCountry ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetCountryOk ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetCurrency ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetCurrencyOk ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetExpirationDate ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetExpirationDateOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetExpirationDateOk() (*string, bool)

GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetId ¶ added in v0.4.0

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetIdOk ¶ added in v0.4.0

func (o *TransactionPaymentMethodRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetMethod ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetMethod() string

GetMethod returns the Method field value

func (*TransactionPaymentMethodRequest) GetMethodOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*TransactionPaymentMethodRequest) GetNumber ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetNumberOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetRedirectUrl ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetRedirectUrlOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetSecurityCode ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetSecurityCode() string

GetSecurityCode returns the SecurityCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetSecurityCodeOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetSecurityCodeOk() (*string, bool)

GetSecurityCodeOk returns a tuple with the SecurityCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) GetToken ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetToken() map[string]interface{}

GetToken returns the Token field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionPaymentMethodRequest) GetTokenOk ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) GetTokenOk() (*map[string]interface{}, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionPaymentMethodRequest) HasAssuranceDetails ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) HasAssuranceDetails() bool

HasAssuranceDetails returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasCardHolderName ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) HasCardHolderName() bool

HasCardHolderName returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasCountry ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasCurrency ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasExpirationDate ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasId ¶ added in v0.4.0

HasId returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasNumber ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasRedirectUrl ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasRedirectUrl() bool

HasRedirectUrl returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasSecurityCode ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasSecurityCode() bool

HasSecurityCode returns a boolean if a field has been set.

func (*TransactionPaymentMethodRequest) HasToken ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) HasToken() bool

HasToken returns a boolean if a field has been set.

func (TransactionPaymentMethodRequest) MarshalJSON ¶ added in v0.2.1

func (o TransactionPaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*TransactionPaymentMethodRequest) SetAssuranceDetails ¶ added in v0.31.0

SetAssuranceDetails gets a reference to the given NullableGooglePayRequestAssuranceDetails and assigns it to the AssuranceDetails field.

func (*TransactionPaymentMethodRequest) SetAssuranceDetailsNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetAssuranceDetailsNil()

SetAssuranceDetailsNil sets the value for AssuranceDetails to be an explicit nil

func (*TransactionPaymentMethodRequest) SetCardHolderName ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetCardHolderName(v string)

SetCardHolderName gets a reference to the given NullableString and assigns it to the CardHolderName field.

func (*TransactionPaymentMethodRequest) SetCardHolderNameNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetCardHolderNameNil()

SetCardHolderNameNil sets the value for CardHolderName to be an explicit nil

func (*TransactionPaymentMethodRequest) SetCountry ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*TransactionPaymentMethodRequest) SetCountryNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*TransactionPaymentMethodRequest) SetCurrency ¶ added in v0.27.0

func (o *TransactionPaymentMethodRequest) SetCurrency(v string)

SetCurrency gets a reference to the given NullableString and assigns it to the Currency field.

func (*TransactionPaymentMethodRequest) SetCurrencyNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetCurrencyNil()

SetCurrencyNil sets the value for Currency to be an explicit nil

func (*TransactionPaymentMethodRequest) SetExpirationDate ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given NullableString and assigns it to the ExpirationDate field.

func (*TransactionPaymentMethodRequest) SetExpirationDateNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetExpirationDateNil()

SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil

func (*TransactionPaymentMethodRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionPaymentMethodRequest) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionPaymentMethodRequest) SetId ¶ added in v0.4.0

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*TransactionPaymentMethodRequest) SetIdNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*TransactionPaymentMethodRequest) SetMethod ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetMethod(v string)

SetMethod sets field value

func (*TransactionPaymentMethodRequest) SetNumber ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetNumber(v string)

SetNumber gets a reference to the given NullableString and assigns it to the Number field.

func (*TransactionPaymentMethodRequest) SetNumberNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetNumberNil()

SetNumberNil sets the value for Number to be an explicit nil

func (*TransactionPaymentMethodRequest) SetRedirectUrl ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetRedirectUrl(v string)

SetRedirectUrl gets a reference to the given NullableString and assigns it to the RedirectUrl field.

func (*TransactionPaymentMethodRequest) SetRedirectUrlNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetRedirectUrlNil()

SetRedirectUrlNil sets the value for RedirectUrl to be an explicit nil

func (*TransactionPaymentMethodRequest) SetSecurityCode ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetSecurityCode(v string)

SetSecurityCode gets a reference to the given NullableString and assigns it to the SecurityCode field.

func (*TransactionPaymentMethodRequest) SetSecurityCodeNil ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) SetSecurityCodeNil()

SetSecurityCodeNil sets the value for SecurityCode to be an explicit nil

func (*TransactionPaymentMethodRequest) SetToken ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) SetToken(v map[string]interface{})

SetToken gets a reference to the given map[string]interface{} and assigns it to the Token field.

func (*TransactionPaymentMethodRequest) UnsetAssuranceDetails ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetAssuranceDetails()

UnsetAssuranceDetails ensures that no value is present for AssuranceDetails, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetCardHolderName ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetCardHolderName()

UnsetCardHolderName ensures that no value is present for CardHolderName, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetCountry ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetCurrency ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetExpirationDate ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetExpirationDate()

UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionPaymentMethodRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetId ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetNumber ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetNumber()

UnsetNumber ensures that no value is present for Number, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetRedirectUrl ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetRedirectUrl()

UnsetRedirectUrl ensures that no value is present for RedirectUrl, not even an explicit nil

func (*TransactionPaymentMethodRequest) UnsetSecurityCode ¶ added in v0.31.0

func (o *TransactionPaymentMethodRequest) UnsetSecurityCode()

UnsetSecurityCode ensures that no value is present for SecurityCode, not even an explicit nil

type TransactionRedirectRequest ¶ added in v0.22.0

type TransactionRedirectRequest struct {
	// The method to use, this can be any of the methods that support redirect requests.  When storing a new payment method, only `gocardless` and `stripedd` are currently supported.
	Method string `json:"method"`
	// The redirect URL to redirect a buyer to after they have authorized their transaction.
	RedirectUrl string `json:"redirect_url"`
	// The ISO-4217 currency code to use this payment method for. This is used to select the payment service to use.
	Currency string `json:"currency"`
	// The 2-letter ISO code of the country to use this payment method for. This is used to select the payment service to use.
	Country string `json:"country"`
	// An external identifier that can be used to match the account against your own records. This can only be set if the `store` flag is set to `true`.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
}

TransactionRedirectRequest Redirect payment method details to use in a transaction.

func NewTransactionRedirectRequest ¶ added in v0.22.0

func NewTransactionRedirectRequest(method string, redirectUrl string, currency string, country string) *TransactionRedirectRequest

NewTransactionRedirectRequest instantiates a new TransactionRedirectRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionRedirectRequestWithDefaults ¶ added in v0.22.0

func NewTransactionRedirectRequestWithDefaults() *TransactionRedirectRequest

NewTransactionRedirectRequestWithDefaults instantiates a new TransactionRedirectRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionRedirectRequest) GetCountry ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetCountry() string

GetCountry returns the Country field value

func (*TransactionRedirectRequest) GetCountryOk ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*TransactionRedirectRequest) GetCurrency ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetCurrency() string

GetCurrency returns the Currency field value

func (*TransactionRedirectRequest) GetCurrencyOk ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*TransactionRedirectRequest) GetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRedirectRequest) GetExternalIdentifierOk ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRedirectRequest) GetMethod ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetMethod() string

GetMethod returns the Method field value

func (*TransactionRedirectRequest) GetMethodOk ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*TransactionRedirectRequest) GetRedirectUrl ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetRedirectUrl() string

GetRedirectUrl returns the RedirectUrl field value

func (*TransactionRedirectRequest) GetRedirectUrlOk ¶ added in v0.22.0

func (o *TransactionRedirectRequest) GetRedirectUrlOk() (*string, bool)

GetRedirectUrlOk returns a tuple with the RedirectUrl field value and a boolean to check if the value has been set.

func (*TransactionRedirectRequest) HasExternalIdentifier ¶ added in v0.22.0

func (o *TransactionRedirectRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (TransactionRedirectRequest) MarshalJSON ¶ added in v0.22.0

func (o TransactionRedirectRequest) MarshalJSON() ([]byte, error)

func (*TransactionRedirectRequest) SetCountry ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetCountry(v string)

SetCountry sets field value

func (*TransactionRedirectRequest) SetCurrency ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetCurrency(v string)

SetCurrency sets field value

func (*TransactionRedirectRequest) SetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionRedirectRequest) SetExternalIdentifierNil ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionRedirectRequest) SetMethod ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetMethod(v string)

SetMethod sets field value

func (*TransactionRedirectRequest) SetRedirectUrl ¶ added in v0.22.0

func (o *TransactionRedirectRequest) SetRedirectUrl(v string)

SetRedirectUrl sets field value

func (*TransactionRedirectRequest) UnsetExternalIdentifier ¶ added in v0.22.0

func (o *TransactionRedirectRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

type TransactionRefundRequest ¶ added in v0.2.1

type TransactionRefundRequest struct {
	// The amount requested to refund.  If omitted, a full refund will be requested for the main payment method.  When set, the amount must be lower than or equal to the remaining balance in the associated transaction. Negative and zero-amount refunds are not supported.
	Amount *int32 `json:"amount,omitempty"`
	// The target type to refund for. This can be used to target a gift card to refund to instead of the main payment method.
	TargetType NullableString `json:"target_type,omitempty"`
	// The optional ID of the instrument to refund for. This is only required when the `target_type` is set to `gift-card-redemption`.
	TargetId NullableString `json:"target_id,omitempty"`
}

TransactionRefundRequest A request to refund a transaction.

func NewTransactionRefundRequest ¶ added in v0.2.1

func NewTransactionRefundRequest() *TransactionRefundRequest

NewTransactionRefundRequest instantiates a new TransactionRefundRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionRefundRequestWithDefaults ¶ added in v0.2.1

func NewTransactionRefundRequestWithDefaults() *TransactionRefundRequest

NewTransactionRefundRequestWithDefaults instantiates a new TransactionRefundRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionRefundRequest) GetAmount ¶ added in v0.2.1

func (o *TransactionRefundRequest) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*TransactionRefundRequest) GetAmountOk ¶ added in v0.2.1

func (o *TransactionRefundRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRefundRequest) GetTargetId ¶ added in v0.31.0

func (o *TransactionRefundRequest) GetTargetId() string

GetTargetId returns the TargetId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRefundRequest) GetTargetIdOk ¶ added in v0.31.0

func (o *TransactionRefundRequest) GetTargetIdOk() (*string, bool)

GetTargetIdOk returns a tuple with the TargetId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRefundRequest) GetTargetType ¶ added in v0.31.0

func (o *TransactionRefundRequest) GetTargetType() string

GetTargetType returns the TargetType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRefundRequest) GetTargetTypeOk ¶ added in v0.31.0

func (o *TransactionRefundRequest) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRefundRequest) HasAmount ¶ added in v0.2.1

func (o *TransactionRefundRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*TransactionRefundRequest) HasTargetId ¶ added in v0.31.0

func (o *TransactionRefundRequest) HasTargetId() bool

HasTargetId returns a boolean if a field has been set.

func (*TransactionRefundRequest) HasTargetType ¶ added in v0.31.0

func (o *TransactionRefundRequest) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (TransactionRefundRequest) MarshalJSON ¶ added in v0.2.1

func (o TransactionRefundRequest) MarshalJSON() ([]byte, error)

func (*TransactionRefundRequest) SetAmount ¶ added in v0.2.1

func (o *TransactionRefundRequest) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*TransactionRefundRequest) SetTargetId ¶ added in v0.31.0

func (o *TransactionRefundRequest) SetTargetId(v string)

SetTargetId gets a reference to the given NullableString and assigns it to the TargetId field.

func (*TransactionRefundRequest) SetTargetIdNil ¶ added in v0.31.0

func (o *TransactionRefundRequest) SetTargetIdNil()

SetTargetIdNil sets the value for TargetId to be an explicit nil

func (*TransactionRefundRequest) SetTargetType ¶ added in v0.31.0

func (o *TransactionRefundRequest) SetTargetType(v string)

SetTargetType gets a reference to the given NullableString and assigns it to the TargetType field.

func (*TransactionRefundRequest) SetTargetTypeNil ¶ added in v0.31.0

func (o *TransactionRefundRequest) SetTargetTypeNil()

SetTargetTypeNil sets the value for TargetType to be an explicit nil

func (*TransactionRefundRequest) UnsetTargetId ¶ added in v0.31.0

func (o *TransactionRefundRequest) UnsetTargetId()

UnsetTargetId ensures that no value is present for TargetId, not even an explicit nil

func (*TransactionRefundRequest) UnsetTargetType ¶ added in v0.31.0

func (o *TransactionRefundRequest) UnsetTargetType()

UnsetTargetType ensures that no value is present for TargetType, not even an explicit nil

type TransactionRequest ¶

type TransactionRequest struct {
	// The monetary amount for this transaction, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`.  If the `intent` is set to `capture`, an amount greater than zero must be supplied.  All gift card amounts are subtracted from this amount before the remainder is charged to the provided `payment_method`.
	Amount int32 `json:"amount"`
	// A supported ISO-4217 currency code.  For redirect requests, this value must match the one specified for `currency` in `payment_method`.
	Currency      string                           `json:"currency"`
	PaymentMethod *TransactionPaymentMethodRequest `json:"payment_method,omitempty"`
	// This field represents the fingerprint data to be passed to the active anti-fraud service.
	AntiFraudFingerprint NullableString `json:"anti_fraud_fingerprint,omitempty"`
	// Whether to capture the transaction asynchronously.  - When `async_capture` is `false` (default), the transaction is captured   in the same request. - When `async_capture` is `true`, the transaction is automatically   captured at a later time.  Redirect transactions are not affected by this flag.  This flag can only be set to `true` when `intent` is set to `capture`.
	AsyncCapture *bool `json:"async_capture,omitempty"`
	// Information about the browser used by the buyer.
	BrowserInfo NullableBrowserInfo `json:"browser_info,omitempty"`
	// The `external_identifier` of the buyer to associate this payment method to. If this field is provided then the `buyer_id` field needs to be unset.  If a stored payment method or gift card is provided, then the buyer for that payment method needs to match the buyer for this field.
	BuyerExternalIdentifier *string `json:"buyer_external_identifier,omitempty"`
	// The ID of the buyer to associate this payment method to. If this field is provided then the `buyer_external_identifier` field needs to be unset.  If a stored payment method or gift card is provided, then the buyer for that payment method needs to match the buyer for this field.
	BuyerId *string `json:"buyer_id,omitempty"`
	// An array of cart items that represents the line items of a transaction.
	CartItems *[]CartItem `json:"cart_items,omitempty"`
	// Allows for passing optional configuration per connection to take advantage of connection specific features. When provided, the data is only passed to the target connection type to prevent sharing configuration across connections.  Please note that each of the keys this object are in kebab-case, for example `cybersource-anti-fraud` as they represent the ID of the connector. All the other keys will be snake-case, for example `merchant_defined_data`.
	ConnectionOptions NullableConnectionOptions `json:"connection_options,omitempty"`
	// The 2-letter ISO code of the country of the transaction. This is used to filter the payment services that is used to process the transaction.  If this value is provided for redirect requests and it's not `null`, it must match the one specified for `country` in `payment_method`. Otherwise, the value specified for `country` in `payment_method` will be assumed implicitly.
	Country NullableString `json:"country,omitempty"`
	// An external identifier that can be used to match the transaction against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The optional gift card(s) to use for this transaction. At least one gift card is required if no other `payment_method` has been added. By default, only a maximum limit of 10 gift cards may be used in a single transaction. Please contact our team to change this limit.
	GiftCards []TransactionGiftCardRequest `json:"gift_cards,omitempty"`
	// Defines the intent of this API call. This determines the desired initial state of the transaction.  * `authorize` - (Default) Optionally approves and then authorizes a transaction but does not capture the funds. * `capture` - Optionally approves and then authorizes and captures the funds of the transaction.
	Intent *string `json:"intent,omitempty"`
	// Indicates whether the transaction represents a subsequent payment coming from a setup recurring payment. Please note there are some restrictions on how this flag may be used.  The flag can only be `false` (or not set) when the transaction meets one of the following criteria:  * It is not `merchant_initiated`. * `payment_source` is set to `card_on_file`.  The flag can only be set to `true` when the transaction meets one of the following criteria:  * It is not `merchant_initiated`. * `payment_source` is set to `recurring` or `installment` and `merchant_initiated` is set to `true`. * `payment_source` is set to `card_on_file`.
	IsSubsequentPayment *bool `json:"is_subsequent_payment,omitempty"`
	// Indicates whether the transaction was initiated by the merchant (true) or customer (false).
	MerchantInitiated *bool `json:"merchant_initiated,omitempty"`
	// Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it.
	Metadata *map[string]string `json:"metadata,omitempty"`
	// The source of the transaction. Defaults to `ecommerce`.
	PaymentSource *string `json:"payment_source,omitempty"`
	// A scheme's transaction identifier to use in connecting a merchant initiated transaction to a previous customer initiated transaction.  If not provided, and a qualifying customer initiated transaction has been previously made, then Gr4vy will populate this value with the identifier returned for that transaction.  e.g. the Visa Transaction Identifier, or Mastercard Trace ID.
	PreviousSchemeTransactionId NullableString `json:"previous_scheme_transaction_id,omitempty"`
	// The unique identifier of a set of shipping details stored for the buyer.  If provided, the created transaction will include a copy of the details at the point of transaction creation; i.e. it will not be affected by later changes to the detail in the database.
	ShippingDetailsId   NullableString              `json:"shipping_details_id,omitempty"`
	StatementDescriptor NullableStatementDescriptor `json:"statement_descriptor,omitempty"`
	// Whether or not to also try and store the payment method with us so that it can be used again for future use. This is only supported for payment methods that support this feature. There are also a few restrictions on how the flag may be set:  * The flag has to be set to `true` when the `payment_source` is set to `recurring` or `installment`, and `merchant_initiated` is set to `false`.  * The flag has to be set to `false` (or not set) when using a previously vaulted payment method.
	Store            *bool                 `json:"store,omitempty"`
	ThreeDSecureData *ThreeDSecureDataV1V2 `json:"three_d_secure_data,omitempty"`
}

TransactionRequest A request to create a transaction.

func NewTransactionRequest ¶ added in v0.2.1

func NewTransactionRequest(amount int32, currency string) *TransactionRequest

NewTransactionRequest instantiates a new TransactionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionRequestWithDefaults ¶ added in v0.2.1

func NewTransactionRequestWithDefaults() *TransactionRequest

NewTransactionRequestWithDefaults instantiates a new TransactionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionRequest) GetAmount ¶ added in v0.2.1

func (o *TransactionRequest) GetAmount() int32

GetAmount returns the Amount field value

func (*TransactionRequest) GetAmountOk ¶ added in v0.2.1

func (o *TransactionRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionRequest) GetAntiFraudFingerprint ¶ added in v0.28.0

func (o *TransactionRequest) GetAntiFraudFingerprint() string

GetAntiFraudFingerprint returns the AntiFraudFingerprint field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetAntiFraudFingerprintOk ¶ added in v0.28.0

func (o *TransactionRequest) GetAntiFraudFingerprintOk() (*string, bool)

GetAntiFraudFingerprintOk returns a tuple with the AntiFraudFingerprint field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetAsyncCapture ¶ added in v0.22.0

func (o *TransactionRequest) GetAsyncCapture() bool

GetAsyncCapture returns the AsyncCapture field value if set, zero value otherwise.

func (*TransactionRequest) GetAsyncCaptureOk ¶ added in v0.22.0

func (o *TransactionRequest) GetAsyncCaptureOk() (*bool, bool)

GetAsyncCaptureOk returns a tuple with the AsyncCapture field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetBrowserInfo ¶ added in v0.17.0

func (o *TransactionRequest) GetBrowserInfo() BrowserInfo

GetBrowserInfo returns the BrowserInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetBrowserInfoOk ¶ added in v0.17.0

func (o *TransactionRequest) GetBrowserInfoOk() (*BrowserInfo, bool)

GetBrowserInfoOk returns a tuple with the BrowserInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetBuyerExternalIdentifier ¶ added in v0.31.0

func (o *TransactionRequest) GetBuyerExternalIdentifier() string

GetBuyerExternalIdentifier returns the BuyerExternalIdentifier field value if set, zero value otherwise.

func (*TransactionRequest) GetBuyerExternalIdentifierOk ¶ added in v0.31.0

func (o *TransactionRequest) GetBuyerExternalIdentifierOk() (*string, bool)

GetBuyerExternalIdentifierOk returns a tuple with the BuyerExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetBuyerId ¶ added in v0.31.0

func (o *TransactionRequest) GetBuyerId() string

GetBuyerId returns the BuyerId field value if set, zero value otherwise.

func (*TransactionRequest) GetBuyerIdOk ¶ added in v0.31.0

func (o *TransactionRequest) GetBuyerIdOk() (*string, bool)

GetBuyerIdOk returns a tuple with the BuyerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetCartItems ¶ added in v0.12.0

func (o *TransactionRequest) GetCartItems() []CartItem

GetCartItems returns the CartItems field value if set, zero value otherwise.

func (*TransactionRequest) GetCartItemsOk ¶ added in v0.12.0

func (o *TransactionRequest) GetCartItemsOk() (*[]CartItem, bool)

GetCartItemsOk returns a tuple with the CartItems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetConnectionOptions ¶ added in v0.22.0

func (o *TransactionRequest) GetConnectionOptions() ConnectionOptions

GetConnectionOptions returns the ConnectionOptions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetConnectionOptionsOk ¶ added in v0.22.0

func (o *TransactionRequest) GetConnectionOptionsOk() (*ConnectionOptions, bool)

GetConnectionOptionsOk returns a tuple with the ConnectionOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetCountry ¶ added in v0.17.0

func (o *TransactionRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetCountryOk ¶ added in v0.17.0

func (o *TransactionRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetCurrency ¶ added in v0.2.1

func (o *TransactionRequest) GetCurrency() string

GetCurrency returns the Currency field value

func (*TransactionRequest) GetCurrencyOk ¶ added in v0.2.1

func (o *TransactionRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*TransactionRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *TransactionRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetGiftCards ¶ added in v0.31.0

func (o *TransactionRequest) GetGiftCards() []TransactionGiftCardRequest

GetGiftCards returns the GiftCards field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetGiftCardsOk ¶ added in v0.31.0

func (o *TransactionRequest) GetGiftCardsOk() (*[]TransactionGiftCardRequest, bool)

GetGiftCardsOk returns a tuple with the GiftCards field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetIntent ¶ added in v0.2.1

func (o *TransactionRequest) GetIntent() string

GetIntent returns the Intent field value if set, zero value otherwise.

func (*TransactionRequest) GetIntentOk ¶ added in v0.2.1

func (o *TransactionRequest) GetIntentOk() (*string, bool)

GetIntentOk returns a tuple with the Intent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetIsSubsequentPayment ¶ added in v0.8.0

func (o *TransactionRequest) GetIsSubsequentPayment() bool

GetIsSubsequentPayment returns the IsSubsequentPayment field value if set, zero value otherwise.

func (*TransactionRequest) GetIsSubsequentPaymentOk ¶ added in v0.8.0

func (o *TransactionRequest) GetIsSubsequentPaymentOk() (*bool, bool)

GetIsSubsequentPaymentOk returns a tuple with the IsSubsequentPayment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetMerchantInitiated ¶ added in v0.8.0

func (o *TransactionRequest) GetMerchantInitiated() bool

GetMerchantInitiated returns the MerchantInitiated field value if set, zero value otherwise.

func (*TransactionRequest) GetMerchantInitiatedOk ¶ added in v0.8.0

func (o *TransactionRequest) GetMerchantInitiatedOk() (*bool, bool)

GetMerchantInitiatedOk returns a tuple with the MerchantInitiated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetMetadata ¶ added in v0.8.0

func (o *TransactionRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*TransactionRequest) GetMetadataOk ¶ added in v0.8.0

func (o *TransactionRequest) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetPaymentMethod ¶ added in v0.2.1

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*TransactionRequest) GetPaymentMethodOk ¶ added in v0.2.1

func (o *TransactionRequest) GetPaymentMethodOk() (*TransactionPaymentMethodRequest, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetPaymentSource ¶ added in v0.8.0

func (o *TransactionRequest) GetPaymentSource() string

GetPaymentSource returns the PaymentSource field value if set, zero value otherwise.

func (*TransactionRequest) GetPaymentSourceOk ¶ added in v0.8.0

func (o *TransactionRequest) GetPaymentSourceOk() (*string, bool)

GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetPreviousSchemeTransactionId ¶ added in v0.16.0

func (o *TransactionRequest) GetPreviousSchemeTransactionId() string

GetPreviousSchemeTransactionId returns the PreviousSchemeTransactionId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetPreviousSchemeTransactionIdOk ¶ added in v0.16.0

func (o *TransactionRequest) GetPreviousSchemeTransactionIdOk() (*string, bool)

GetPreviousSchemeTransactionIdOk returns a tuple with the PreviousSchemeTransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetShippingDetailsId ¶ added in v0.21.0

func (o *TransactionRequest) GetShippingDetailsId() string

GetShippingDetailsId returns the ShippingDetailsId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetShippingDetailsIdOk ¶ added in v0.21.0

func (o *TransactionRequest) GetShippingDetailsIdOk() (*string, bool)

GetShippingDetailsIdOk returns a tuple with the ShippingDetailsId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetStatementDescriptor ¶ added in v0.13.0

func (o *TransactionRequest) GetStatementDescriptor() StatementDescriptor

GetStatementDescriptor returns the StatementDescriptor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionRequest) GetStatementDescriptorOk ¶ added in v0.13.0

func (o *TransactionRequest) GetStatementDescriptorOk() (*StatementDescriptor, bool)

GetStatementDescriptorOk returns a tuple with the StatementDescriptor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionRequest) GetStore ¶ added in v0.2.1

func (o *TransactionRequest) GetStore() bool

GetStore returns the Store field value if set, zero value otherwise.

func (*TransactionRequest) GetStoreOk ¶ added in v0.2.1

func (o *TransactionRequest) GetStoreOk() (*bool, bool)

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) GetThreeDSecureData ¶ added in v0.3.0

func (o *TransactionRequest) GetThreeDSecureData() ThreeDSecureDataV1V2

GetThreeDSecureData returns the ThreeDSecureData field value if set, zero value otherwise.

func (*TransactionRequest) GetThreeDSecureDataOk ¶ added in v0.3.0

func (o *TransactionRequest) GetThreeDSecureDataOk() (*ThreeDSecureDataV1V2, bool)

GetThreeDSecureDataOk returns a tuple with the ThreeDSecureData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionRequest) HasAntiFraudFingerprint ¶ added in v0.28.0

func (o *TransactionRequest) HasAntiFraudFingerprint() bool

HasAntiFraudFingerprint returns a boolean if a field has been set.

func (*TransactionRequest) HasAsyncCapture ¶ added in v0.22.0

func (o *TransactionRequest) HasAsyncCapture() bool

HasAsyncCapture returns a boolean if a field has been set.

func (*TransactionRequest) HasBrowserInfo ¶ added in v0.17.0

func (o *TransactionRequest) HasBrowserInfo() bool

HasBrowserInfo returns a boolean if a field has been set.

func (*TransactionRequest) HasBuyerExternalIdentifier ¶ added in v0.31.0

func (o *TransactionRequest) HasBuyerExternalIdentifier() bool

HasBuyerExternalIdentifier returns a boolean if a field has been set.

func (*TransactionRequest) HasBuyerId ¶ added in v0.31.0

func (o *TransactionRequest) HasBuyerId() bool

HasBuyerId returns a boolean if a field has been set.

func (*TransactionRequest) HasCartItems ¶ added in v0.12.0

func (o *TransactionRequest) HasCartItems() bool

HasCartItems returns a boolean if a field has been set.

func (*TransactionRequest) HasConnectionOptions ¶ added in v0.22.0

func (o *TransactionRequest) HasConnectionOptions() bool

HasConnectionOptions returns a boolean if a field has been set.

func (*TransactionRequest) HasCountry ¶ added in v0.17.0

func (o *TransactionRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*TransactionRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *TransactionRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*TransactionRequest) HasGiftCards ¶ added in v0.31.0

func (o *TransactionRequest) HasGiftCards() bool

HasGiftCards returns a boolean if a field has been set.

func (*TransactionRequest) HasIntent ¶ added in v0.2.1

func (o *TransactionRequest) HasIntent() bool

HasIntent returns a boolean if a field has been set.

func (*TransactionRequest) HasIsSubsequentPayment ¶ added in v0.8.0

func (o *TransactionRequest) HasIsSubsequentPayment() bool

HasIsSubsequentPayment returns a boolean if a field has been set.

func (*TransactionRequest) HasMerchantInitiated ¶ added in v0.8.0

func (o *TransactionRequest) HasMerchantInitiated() bool

HasMerchantInitiated returns a boolean if a field has been set.

func (*TransactionRequest) HasMetadata ¶ added in v0.8.0

func (o *TransactionRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*TransactionRequest) HasPaymentMethod ¶ added in v0.31.0

func (o *TransactionRequest) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*TransactionRequest) HasPaymentSource ¶ added in v0.8.0

func (o *TransactionRequest) HasPaymentSource() bool

HasPaymentSource returns a boolean if a field has been set.

func (*TransactionRequest) HasPreviousSchemeTransactionId ¶ added in v0.16.0

func (o *TransactionRequest) HasPreviousSchemeTransactionId() bool

HasPreviousSchemeTransactionId returns a boolean if a field has been set.

func (*TransactionRequest) HasShippingDetailsId ¶ added in v0.21.0

func (o *TransactionRequest) HasShippingDetailsId() bool

HasShippingDetailsId returns a boolean if a field has been set.

func (*TransactionRequest) HasStatementDescriptor ¶ added in v0.13.0

func (o *TransactionRequest) HasStatementDescriptor() bool

HasStatementDescriptor returns a boolean if a field has been set.

func (*TransactionRequest) HasStore ¶ added in v0.2.1

func (o *TransactionRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*TransactionRequest) HasThreeDSecureData ¶ added in v0.3.0

func (o *TransactionRequest) HasThreeDSecureData() bool

HasThreeDSecureData returns a boolean if a field has been set.

func (TransactionRequest) MarshalJSON ¶ added in v0.2.1

func (o TransactionRequest) MarshalJSON() ([]byte, error)

func (*TransactionRequest) SetAmount ¶ added in v0.2.1

func (o *TransactionRequest) SetAmount(v int32)

SetAmount sets field value

func (*TransactionRequest) SetAntiFraudFingerprint ¶ added in v0.28.0

func (o *TransactionRequest) SetAntiFraudFingerprint(v string)

SetAntiFraudFingerprint gets a reference to the given NullableString and assigns it to the AntiFraudFingerprint field.

func (*TransactionRequest) SetAntiFraudFingerprintNil ¶ added in v0.28.0

func (o *TransactionRequest) SetAntiFraudFingerprintNil()

SetAntiFraudFingerprintNil sets the value for AntiFraudFingerprint to be an explicit nil

func (*TransactionRequest) SetAsyncCapture ¶ added in v0.22.0

func (o *TransactionRequest) SetAsyncCapture(v bool)

SetAsyncCapture gets a reference to the given bool and assigns it to the AsyncCapture field.

func (*TransactionRequest) SetBrowserInfo ¶ added in v0.17.0

func (o *TransactionRequest) SetBrowserInfo(v BrowserInfo)

SetBrowserInfo gets a reference to the given NullableBrowserInfo and assigns it to the BrowserInfo field.

func (*TransactionRequest) SetBrowserInfoNil ¶ added in v0.22.0

func (o *TransactionRequest) SetBrowserInfoNil()

SetBrowserInfoNil sets the value for BrowserInfo to be an explicit nil

func (*TransactionRequest) SetBuyerExternalIdentifier ¶ added in v0.31.0

func (o *TransactionRequest) SetBuyerExternalIdentifier(v string)

SetBuyerExternalIdentifier gets a reference to the given string and assigns it to the BuyerExternalIdentifier field.

func (*TransactionRequest) SetBuyerId ¶ added in v0.31.0

func (o *TransactionRequest) SetBuyerId(v string)

SetBuyerId gets a reference to the given string and assigns it to the BuyerId field.

func (*TransactionRequest) SetCartItems ¶ added in v0.12.0

func (o *TransactionRequest) SetCartItems(v []CartItem)

SetCartItems gets a reference to the given []CartItem and assigns it to the CartItems field.

func (*TransactionRequest) SetConnectionOptions ¶ added in v0.22.0

func (o *TransactionRequest) SetConnectionOptions(v ConnectionOptions)

SetConnectionOptions gets a reference to the given NullableConnectionOptions and assigns it to the ConnectionOptions field.

func (*TransactionRequest) SetConnectionOptionsNil ¶ added in v0.22.0

func (o *TransactionRequest) SetConnectionOptionsNil()

SetConnectionOptionsNil sets the value for ConnectionOptions to be an explicit nil

func (*TransactionRequest) SetCountry ¶ added in v0.17.0

func (o *TransactionRequest) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*TransactionRequest) SetCountryNil ¶ added in v0.17.0

func (o *TransactionRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*TransactionRequest) SetCurrency ¶ added in v0.2.1

func (o *TransactionRequest) SetCurrency(v string)

SetCurrency sets field value

func (*TransactionRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionRequest) SetExternalIdentifierNil ¶ added in v0.2.1

func (o *TransactionRequest) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionRequest) SetGiftCards ¶ added in v0.31.0

func (o *TransactionRequest) SetGiftCards(v []TransactionGiftCardRequest)

SetGiftCards gets a reference to the given []TransactionGiftCardRequest and assigns it to the GiftCards field.

func (*TransactionRequest) SetIntent ¶ added in v0.2.1

func (o *TransactionRequest) SetIntent(v string)

SetIntent gets a reference to the given string and assigns it to the Intent field.

func (*TransactionRequest) SetIsSubsequentPayment ¶ added in v0.8.0

func (o *TransactionRequest) SetIsSubsequentPayment(v bool)

SetIsSubsequentPayment gets a reference to the given bool and assigns it to the IsSubsequentPayment field.

func (*TransactionRequest) SetMerchantInitiated ¶ added in v0.8.0

func (o *TransactionRequest) SetMerchantInitiated(v bool)

SetMerchantInitiated gets a reference to the given bool and assigns it to the MerchantInitiated field.

func (*TransactionRequest) SetMetadata ¶ added in v0.8.0

func (o *TransactionRequest) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*TransactionRequest) SetPaymentMethod ¶ added in v0.2.1

func (o *TransactionRequest) SetPaymentMethod(v TransactionPaymentMethodRequest)

SetPaymentMethod gets a reference to the given TransactionPaymentMethodRequest and assigns it to the PaymentMethod field.

func (*TransactionRequest) SetPaymentSource ¶ added in v0.8.0

func (o *TransactionRequest) SetPaymentSource(v string)

SetPaymentSource gets a reference to the given string and assigns it to the PaymentSource field.

func (*TransactionRequest) SetPreviousSchemeTransactionId ¶ added in v0.16.0

func (o *TransactionRequest) SetPreviousSchemeTransactionId(v string)

SetPreviousSchemeTransactionId gets a reference to the given NullableString and assigns it to the PreviousSchemeTransactionId field.

func (*TransactionRequest) SetPreviousSchemeTransactionIdNil ¶ added in v0.16.0

func (o *TransactionRequest) SetPreviousSchemeTransactionIdNil()

SetPreviousSchemeTransactionIdNil sets the value for PreviousSchemeTransactionId to be an explicit nil

func (*TransactionRequest) SetShippingDetailsId ¶ added in v0.21.0

func (o *TransactionRequest) SetShippingDetailsId(v string)

SetShippingDetailsId gets a reference to the given NullableString and assigns it to the ShippingDetailsId field.

func (*TransactionRequest) SetShippingDetailsIdNil ¶ added in v0.21.0

func (o *TransactionRequest) SetShippingDetailsIdNil()

SetShippingDetailsIdNil sets the value for ShippingDetailsId to be an explicit nil

func (*TransactionRequest) SetStatementDescriptor ¶ added in v0.13.0

func (o *TransactionRequest) SetStatementDescriptor(v StatementDescriptor)

SetStatementDescriptor gets a reference to the given NullableStatementDescriptor and assigns it to the StatementDescriptor field.

func (*TransactionRequest) SetStatementDescriptorNil ¶ added in v0.22.0

func (o *TransactionRequest) SetStatementDescriptorNil()

SetStatementDescriptorNil sets the value for StatementDescriptor to be an explicit nil

func (*TransactionRequest) SetStore ¶ added in v0.2.1

func (o *TransactionRequest) SetStore(v bool)

SetStore gets a reference to the given bool and assigns it to the Store field.

func (*TransactionRequest) SetThreeDSecureData ¶ added in v0.3.0

func (o *TransactionRequest) SetThreeDSecureData(v ThreeDSecureDataV1V2)

SetThreeDSecureData gets a reference to the given ThreeDSecureDataV1V2 and assigns it to the ThreeDSecureData field.

func (*TransactionRequest) UnsetAntiFraudFingerprint ¶ added in v0.28.0

func (o *TransactionRequest) UnsetAntiFraudFingerprint()

UnsetAntiFraudFingerprint ensures that no value is present for AntiFraudFingerprint, not even an explicit nil

func (*TransactionRequest) UnsetBrowserInfo ¶ added in v0.22.0

func (o *TransactionRequest) UnsetBrowserInfo()

UnsetBrowserInfo ensures that no value is present for BrowserInfo, not even an explicit nil

func (*TransactionRequest) UnsetConnectionOptions ¶ added in v0.22.0

func (o *TransactionRequest) UnsetConnectionOptions()

UnsetConnectionOptions ensures that no value is present for ConnectionOptions, not even an explicit nil

func (*TransactionRequest) UnsetCountry ¶ added in v0.17.0

func (o *TransactionRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*TransactionRequest) UnsetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionRequest) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*TransactionRequest) UnsetPreviousSchemeTransactionId ¶ added in v0.16.0

func (o *TransactionRequest) UnsetPreviousSchemeTransactionId()

UnsetPreviousSchemeTransactionId ensures that no value is present for PreviousSchemeTransactionId, not even an explicit nil

func (*TransactionRequest) UnsetShippingDetailsId ¶ added in v0.21.0

func (o *TransactionRequest) UnsetShippingDetailsId()

UnsetShippingDetailsId ensures that no value is present for ShippingDetailsId, not even an explicit nil

func (*TransactionRequest) UnsetStatementDescriptor ¶ added in v0.22.0

func (o *TransactionRequest) UnsetStatementDescriptor()

UnsetStatementDescriptor ensures that no value is present for StatementDescriptor, not even an explicit nil

type TransactionStatusSummary ¶ added in v0.22.0

type TransactionStatusSummary struct {
	// The type of this resource. Is always `transaction`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this transaction.
	Id *string `json:"id,omitempty"`
	// The status of the transaction. The status may change over time as asynchronous processing events occur.
	Status *string `json:"status,omitempty"`
}

TransactionStatusSummary A transaction record.

func NewTransactionStatusSummary ¶ added in v0.22.0

func NewTransactionStatusSummary() *TransactionStatusSummary

NewTransactionStatusSummary instantiates a new TransactionStatusSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionStatusSummaryWithDefaults ¶ added in v0.22.0

func NewTransactionStatusSummaryWithDefaults() *TransactionStatusSummary

NewTransactionStatusSummaryWithDefaults instantiates a new TransactionStatusSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionStatusSummary) GetId ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TransactionStatusSummary) GetIdOk ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionStatusSummary) GetStatus ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*TransactionStatusSummary) GetStatusOk ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionStatusSummary) GetType ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionStatusSummary) GetTypeOk ¶ added in v0.22.0

func (o *TransactionStatusSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionStatusSummary) HasId ¶ added in v0.22.0

func (o *TransactionStatusSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*TransactionStatusSummary) HasStatus ¶ added in v0.22.0

func (o *TransactionStatusSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*TransactionStatusSummary) HasType ¶ added in v0.22.0

func (o *TransactionStatusSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (TransactionStatusSummary) MarshalJSON ¶ added in v0.22.0

func (o TransactionStatusSummary) MarshalJSON() ([]byte, error)

func (*TransactionStatusSummary) SetId ¶ added in v0.22.0

func (o *TransactionStatusSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TransactionStatusSummary) SetStatus ¶ added in v0.22.0

func (o *TransactionStatusSummary) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*TransactionStatusSummary) SetType ¶ added in v0.22.0

func (o *TransactionStatusSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type TransactionSummary ¶ added in v0.8.0

type TransactionSummary struct {
	// The type of this resource. Is always `transaction`.
	Type *string `json:"type,omitempty"`
	// The unique identifier for this transaction.
	Id *string `json:"id,omitempty"`
	// The authorized amount for this transaction. This can be more than the actual captured amount and part of this amount may be refunded.
	Amount *int32 `json:"amount,omitempty"`
	// The amount for this transaction that has been authorized for the `payment_method`. This can be less than the `amount` if gift cards were used.
	AuthorizedAmount *int32 `json:"authorized_amount,omitempty"`
	// The buyer used for this transaction.
	Buyer NullableBuyerSnapshot `json:"buyer,omitempty"`
	// The captured amount for this transaction. This can be the full value of the `authorized_amount` or less.
	CapturedAmount *int32 `json:"captured_amount,omitempty"`
	// The identifier for the checkout session this transaction is associated with.
	CheckoutSessionId *string `json:"checkout_session_id,omitempty"`
	// The 2-letter ISO code of the country of the transaction. This is used to filter the payment services that is used to process the transaction.
	Country NullableString `json:"country,omitempty"`
	// The date and time when this transaction was created in our system.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The currency code for this transaction.
	Currency *string `json:"currency,omitempty"`
	// An external identifier that can be used to match the transaction against your own records.
	ExternalIdentifier NullableString `json:"external_identifier,omitempty"`
	// The gift cards redeemed for this transaction.
	GiftCardRedemptions *[]GiftCardRedemption `json:"gift_card_redemptions,omitempty"`
	// The original `intent` used when the transaction was [created](#operation/authorize-new-transaction).
	Intent *string `json:"intent,omitempty"`
	// The ID of the merchant account to which this transaction belongs to.
	MerchantAccountId *string `json:"merchant_account_id,omitempty"`
	Method            *string `json:"method,omitempty"`
	// The payment method used for this transaction.
	PaymentMethod *PaymentMethodSnapshot `json:"payment_method,omitempty"`
	// The payment service used for this transaction.
	PaymentService *PaymentServiceSnapshot `json:"payment_service,omitempty"`
	// Whether a manual review is pending.
	PendingReview *bool `json:"pending_review,omitempty"`
	// This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseCode NullableString `json:"raw_response_code,omitempty"`
	// This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
	RawResponseDescription NullableString `json:"raw_response_description,omitempty"`
	// The base62 encoded transaction ID. This represents a shorter version of this transaction's `id` which is sent to payment services, anti-fraud services, and other connectors. You can use this ID to reconcile a payment service's transaction against our system.  This ID is sent instead of the transaction ID because not all services support 36 digit identifiers.
	ReconciliationId *string `json:"reconciliation_id,omitempty"`
	// The refunded amount for this transaction. This can be the full value of the `captured_amount` or less.
	RefundedAmount *int32 `json:"refunded_amount,omitempty"`
	// The status of the transaction. The status may change over time as asynchronous processing events occur.
	Status *string `json:"status,omitempty"`
	// Defines when the transaction was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

TransactionSummary A transaction record.

func NewTransactionSummary ¶ added in v0.8.0

func NewTransactionSummary() *TransactionSummary

NewTransactionSummary instantiates a new TransactionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionSummaryWithDefaults ¶ added in v0.8.0

func NewTransactionSummaryWithDefaults() *TransactionSummary

NewTransactionSummaryWithDefaults instantiates a new TransactionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionSummary) GetAmount ¶ added in v0.8.0

func (o *TransactionSummary) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*TransactionSummary) GetAmountOk ¶ added in v0.8.0

func (o *TransactionSummary) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetAuthorizedAmount ¶ added in v0.31.0

func (o *TransactionSummary) GetAuthorizedAmount() int32

GetAuthorizedAmount returns the AuthorizedAmount field value if set, zero value otherwise.

func (*TransactionSummary) GetAuthorizedAmountOk ¶ added in v0.31.0

func (o *TransactionSummary) GetAuthorizedAmountOk() (*int32, bool)

GetAuthorizedAmountOk returns a tuple with the AuthorizedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetBuyer ¶ added in v0.8.0

func (o *TransactionSummary) GetBuyer() BuyerSnapshot

GetBuyer returns the Buyer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionSummary) GetBuyerOk ¶ added in v0.8.0

func (o *TransactionSummary) GetBuyerOk() (*BuyerSnapshot, bool)

GetBuyerOk returns a tuple with the Buyer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionSummary) GetCapturedAmount ¶ added in v0.8.0

func (o *TransactionSummary) GetCapturedAmount() int32

GetCapturedAmount returns the CapturedAmount field value if set, zero value otherwise.

func (*TransactionSummary) GetCapturedAmountOk ¶ added in v0.8.0

func (o *TransactionSummary) GetCapturedAmountOk() (*int32, bool)

GetCapturedAmountOk returns a tuple with the CapturedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetCheckoutSessionId ¶ added in v0.27.0

func (o *TransactionSummary) GetCheckoutSessionId() string

GetCheckoutSessionId returns the CheckoutSessionId field value if set, zero value otherwise.

func (*TransactionSummary) GetCheckoutSessionIdOk ¶ added in v0.27.0

func (o *TransactionSummary) GetCheckoutSessionIdOk() (*string, bool)

GetCheckoutSessionIdOk returns a tuple with the CheckoutSessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetCountry ¶ added in v0.17.0

func (o *TransactionSummary) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionSummary) GetCountryOk ¶ added in v0.17.0

func (o *TransactionSummary) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionSummary) GetCreatedAt ¶ added in v0.8.0

func (o *TransactionSummary) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*TransactionSummary) GetCreatedAtOk ¶ added in v0.8.0

func (o *TransactionSummary) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetCurrency ¶ added in v0.8.0

func (o *TransactionSummary) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*TransactionSummary) GetCurrencyOk ¶ added in v0.8.0

func (o *TransactionSummary) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetExternalIdentifier ¶ added in v0.8.0

func (o *TransactionSummary) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionSummary) GetExternalIdentifierOk ¶ added in v0.8.0

func (o *TransactionSummary) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionSummary) GetGiftCardRedemptions ¶ added in v0.32.0

func (o *TransactionSummary) GetGiftCardRedemptions() []GiftCardRedemption

GetGiftCardRedemptions returns the GiftCardRedemptions field value if set, zero value otherwise.

func (*TransactionSummary) GetGiftCardRedemptionsOk ¶ added in v0.32.0

func (o *TransactionSummary) GetGiftCardRedemptionsOk() (*[]GiftCardRedemption, bool)

GetGiftCardRedemptionsOk returns a tuple with the GiftCardRedemptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetId ¶ added in v0.8.0

func (o *TransactionSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TransactionSummary) GetIdOk ¶ added in v0.8.0

func (o *TransactionSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetIntent ¶ added in v0.17.0

func (o *TransactionSummary) GetIntent() string

GetIntent returns the Intent field value if set, zero value otherwise.

func (*TransactionSummary) GetIntentOk ¶ added in v0.17.0

func (o *TransactionSummary) GetIntentOk() (*string, bool)

GetIntentOk returns a tuple with the Intent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetMerchantAccountId ¶ added in v0.27.0

func (o *TransactionSummary) GetMerchantAccountId() string

GetMerchantAccountId returns the MerchantAccountId field value if set, zero value otherwise.

func (*TransactionSummary) GetMerchantAccountIdOk ¶ added in v0.27.0

func (o *TransactionSummary) GetMerchantAccountIdOk() (*string, bool)

GetMerchantAccountIdOk returns a tuple with the MerchantAccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetMethod ¶ added in v0.17.0

func (o *TransactionSummary) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*TransactionSummary) GetMethodOk ¶ added in v0.17.0

func (o *TransactionSummary) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetPaymentMethod ¶ added in v0.8.0

func (o *TransactionSummary) GetPaymentMethod() PaymentMethodSnapshot

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*TransactionSummary) GetPaymentMethodOk ¶ added in v0.8.0

func (o *TransactionSummary) GetPaymentMethodOk() (*PaymentMethodSnapshot, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetPaymentService ¶ added in v0.8.0

func (o *TransactionSummary) GetPaymentService() PaymentServiceSnapshot

GetPaymentService returns the PaymentService field value if set, zero value otherwise.

func (*TransactionSummary) GetPaymentServiceOk ¶ added in v0.8.0

func (o *TransactionSummary) GetPaymentServiceOk() (*PaymentServiceSnapshot, bool)

GetPaymentServiceOk returns a tuple with the PaymentService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetPendingReview ¶ added in v0.27.0

func (o *TransactionSummary) GetPendingReview() bool

GetPendingReview returns the PendingReview field value if set, zero value otherwise.

func (*TransactionSummary) GetPendingReviewOk ¶ added in v0.27.0

func (o *TransactionSummary) GetPendingReviewOk() (*bool, bool)

GetPendingReviewOk returns a tuple with the PendingReview field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetRawResponseCode ¶ added in v0.19.0

func (o *TransactionSummary) GetRawResponseCode() string

GetRawResponseCode returns the RawResponseCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionSummary) GetRawResponseCodeOk ¶ added in v0.19.0

func (o *TransactionSummary) GetRawResponseCodeOk() (*string, bool)

GetRawResponseCodeOk returns a tuple with the RawResponseCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionSummary) GetRawResponseDescription ¶ added in v0.19.0

func (o *TransactionSummary) GetRawResponseDescription() string

GetRawResponseDescription returns the RawResponseDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TransactionSummary) GetRawResponseDescriptionOk ¶ added in v0.19.0

func (o *TransactionSummary) GetRawResponseDescriptionOk() (*string, bool)

GetRawResponseDescriptionOk returns a tuple with the RawResponseDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TransactionSummary) GetReconciliationId ¶ added in v0.31.0

func (o *TransactionSummary) GetReconciliationId() string

GetReconciliationId returns the ReconciliationId field value if set, zero value otherwise.

func (*TransactionSummary) GetReconciliationIdOk ¶ added in v0.31.0

func (o *TransactionSummary) GetReconciliationIdOk() (*string, bool)

GetReconciliationIdOk returns a tuple with the ReconciliationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetRefundedAmount ¶ added in v0.8.0

func (o *TransactionSummary) GetRefundedAmount() int32

GetRefundedAmount returns the RefundedAmount field value if set, zero value otherwise.

func (*TransactionSummary) GetRefundedAmountOk ¶ added in v0.8.0

func (o *TransactionSummary) GetRefundedAmountOk() (*int32, bool)

GetRefundedAmountOk returns a tuple with the RefundedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetStatus ¶ added in v0.8.0

func (o *TransactionSummary) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*TransactionSummary) GetStatusOk ¶ added in v0.8.0

func (o *TransactionSummary) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetType ¶ added in v0.8.0

func (o *TransactionSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TransactionSummary) GetTypeOk ¶ added in v0.8.0

func (o *TransactionSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) GetUpdatedAt ¶ added in v0.8.0

func (o *TransactionSummary) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*TransactionSummary) GetUpdatedAtOk ¶ added in v0.8.0

func (o *TransactionSummary) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionSummary) HasAmount ¶ added in v0.8.0

func (o *TransactionSummary) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*TransactionSummary) HasAuthorizedAmount ¶ added in v0.31.0

func (o *TransactionSummary) HasAuthorizedAmount() bool

HasAuthorizedAmount returns a boolean if a field has been set.

func (*TransactionSummary) HasBuyer ¶ added in v0.8.0

func (o *TransactionSummary) HasBuyer() bool

HasBuyer returns a boolean if a field has been set.

func (*TransactionSummary) HasCapturedAmount ¶ added in v0.8.0

func (o *TransactionSummary) HasCapturedAmount() bool

HasCapturedAmount returns a boolean if a field has been set.

func (*TransactionSummary) HasCheckoutSessionId ¶ added in v0.27.0

func (o *TransactionSummary) HasCheckoutSessionId() bool

HasCheckoutSessionId returns a boolean if a field has been set.

func (*TransactionSummary) HasCountry ¶ added in v0.17.0

func (o *TransactionSummary) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*TransactionSummary) HasCreatedAt ¶ added in v0.8.0

func (o *TransactionSummary) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*TransactionSummary) HasCurrency ¶ added in v0.8.0

func (o *TransactionSummary) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*TransactionSummary) HasExternalIdentifier ¶ added in v0.8.0

func (o *TransactionSummary) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (*TransactionSummary) HasGiftCardRedemptions ¶ added in v0.32.0

func (o *TransactionSummary) HasGiftCardRedemptions() bool

HasGiftCardRedemptions returns a boolean if a field has been set.

func (*TransactionSummary) HasId ¶ added in v0.8.0

func (o *TransactionSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*TransactionSummary) HasIntent ¶ added in v0.17.0

func (o *TransactionSummary) HasIntent() bool

HasIntent returns a boolean if a field has been set.

func (*TransactionSummary) HasMerchantAccountId ¶ added in v0.27.0

func (o *TransactionSummary) HasMerchantAccountId() bool

HasMerchantAccountId returns a boolean if a field has been set.

func (*TransactionSummary) HasMethod ¶ added in v0.17.0

func (o *TransactionSummary) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*TransactionSummary) HasPaymentMethod ¶ added in v0.8.0

func (o *TransactionSummary) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*TransactionSummary) HasPaymentService ¶ added in v0.8.0

func (o *TransactionSummary) HasPaymentService() bool

HasPaymentService returns a boolean if a field has been set.

func (*TransactionSummary) HasPendingReview ¶ added in v0.27.0

func (o *TransactionSummary) HasPendingReview() bool

HasPendingReview returns a boolean if a field has been set.

func (*TransactionSummary) HasRawResponseCode ¶ added in v0.19.0

func (o *TransactionSummary) HasRawResponseCode() bool

HasRawResponseCode returns a boolean if a field has been set.

func (*TransactionSummary) HasRawResponseDescription ¶ added in v0.19.0

func (o *TransactionSummary) HasRawResponseDescription() bool

HasRawResponseDescription returns a boolean if a field has been set.

func (*TransactionSummary) HasReconciliationId ¶ added in v0.31.0

func (o *TransactionSummary) HasReconciliationId() bool

HasReconciliationId returns a boolean if a field has been set.

func (*TransactionSummary) HasRefundedAmount ¶ added in v0.8.0

func (o *TransactionSummary) HasRefundedAmount() bool

HasRefundedAmount returns a boolean if a field has been set.

func (*TransactionSummary) HasStatus ¶ added in v0.8.0

func (o *TransactionSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*TransactionSummary) HasType ¶ added in v0.8.0

func (o *TransactionSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (*TransactionSummary) HasUpdatedAt ¶ added in v0.8.0

func (o *TransactionSummary) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (TransactionSummary) MarshalJSON ¶ added in v0.8.0

func (o TransactionSummary) MarshalJSON() ([]byte, error)

func (*TransactionSummary) SetAmount ¶ added in v0.8.0

func (o *TransactionSummary) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*TransactionSummary) SetAuthorizedAmount ¶ added in v0.31.0

func (o *TransactionSummary) SetAuthorizedAmount(v int32)

SetAuthorizedAmount gets a reference to the given int32 and assigns it to the AuthorizedAmount field.

func (*TransactionSummary) SetBuyer ¶ added in v0.8.0

func (o *TransactionSummary) SetBuyer(v BuyerSnapshot)

SetBuyer gets a reference to the given NullableBuyerSnapshot and assigns it to the Buyer field.

func (*TransactionSummary) SetBuyerNil ¶ added in v0.22.0

func (o *TransactionSummary) SetBuyerNil()

SetBuyerNil sets the value for Buyer to be an explicit nil

func (*TransactionSummary) SetCapturedAmount ¶ added in v0.8.0

func (o *TransactionSummary) SetCapturedAmount(v int32)

SetCapturedAmount gets a reference to the given int32 and assigns it to the CapturedAmount field.

func (*TransactionSummary) SetCheckoutSessionId ¶ added in v0.27.0

func (o *TransactionSummary) SetCheckoutSessionId(v string)

SetCheckoutSessionId gets a reference to the given string and assigns it to the CheckoutSessionId field.

func (*TransactionSummary) SetCountry ¶ added in v0.17.0

func (o *TransactionSummary) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*TransactionSummary) SetCountryNil ¶ added in v0.17.0

func (o *TransactionSummary) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*TransactionSummary) SetCreatedAt ¶ added in v0.8.0

func (o *TransactionSummary) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*TransactionSummary) SetCurrency ¶ added in v0.8.0

func (o *TransactionSummary) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*TransactionSummary) SetExternalIdentifier ¶ added in v0.8.0

func (o *TransactionSummary) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given NullableString and assigns it to the ExternalIdentifier field.

func (*TransactionSummary) SetExternalIdentifierNil ¶ added in v0.8.0

func (o *TransactionSummary) SetExternalIdentifierNil()

SetExternalIdentifierNil sets the value for ExternalIdentifier to be an explicit nil

func (*TransactionSummary) SetGiftCardRedemptions ¶ added in v0.32.0

func (o *TransactionSummary) SetGiftCardRedemptions(v []GiftCardRedemption)

SetGiftCardRedemptions gets a reference to the given []GiftCardRedemption and assigns it to the GiftCardRedemptions field.

func (*TransactionSummary) SetId ¶ added in v0.8.0

func (o *TransactionSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TransactionSummary) SetIntent ¶ added in v0.17.0

func (o *TransactionSummary) SetIntent(v string)

SetIntent gets a reference to the given string and assigns it to the Intent field.

func (*TransactionSummary) SetMerchantAccountId ¶ added in v0.27.0

func (o *TransactionSummary) SetMerchantAccountId(v string)

SetMerchantAccountId gets a reference to the given string and assigns it to the MerchantAccountId field.

func (*TransactionSummary) SetMethod ¶ added in v0.17.0

func (o *TransactionSummary) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*TransactionSummary) SetPaymentMethod ¶ added in v0.8.0

func (o *TransactionSummary) SetPaymentMethod(v PaymentMethodSnapshot)

SetPaymentMethod gets a reference to the given PaymentMethodSnapshot and assigns it to the PaymentMethod field.

func (*TransactionSummary) SetPaymentService ¶ added in v0.8.0

func (o *TransactionSummary) SetPaymentService(v PaymentServiceSnapshot)

SetPaymentService gets a reference to the given PaymentServiceSnapshot and assigns it to the PaymentService field.

func (*TransactionSummary) SetPendingReview ¶ added in v0.27.0

func (o *TransactionSummary) SetPendingReview(v bool)

SetPendingReview gets a reference to the given bool and assigns it to the PendingReview field.

func (*TransactionSummary) SetRawResponseCode ¶ added in v0.19.0

func (o *TransactionSummary) SetRawResponseCode(v string)

SetRawResponseCode gets a reference to the given NullableString and assigns it to the RawResponseCode field.

func (*TransactionSummary) SetRawResponseCodeNil ¶ added in v0.19.0

func (o *TransactionSummary) SetRawResponseCodeNil()

SetRawResponseCodeNil sets the value for RawResponseCode to be an explicit nil

func (*TransactionSummary) SetRawResponseDescription ¶ added in v0.19.0

func (o *TransactionSummary) SetRawResponseDescription(v string)

SetRawResponseDescription gets a reference to the given NullableString and assigns it to the RawResponseDescription field.

func (*TransactionSummary) SetRawResponseDescriptionNil ¶ added in v0.19.0

func (o *TransactionSummary) SetRawResponseDescriptionNil()

SetRawResponseDescriptionNil sets the value for RawResponseDescription to be an explicit nil

func (*TransactionSummary) SetReconciliationId ¶ added in v0.31.0

func (o *TransactionSummary) SetReconciliationId(v string)

SetReconciliationId gets a reference to the given string and assigns it to the ReconciliationId field.

func (*TransactionSummary) SetRefundedAmount ¶ added in v0.8.0

func (o *TransactionSummary) SetRefundedAmount(v int32)

SetRefundedAmount gets a reference to the given int32 and assigns it to the RefundedAmount field.

func (*TransactionSummary) SetStatus ¶ added in v0.8.0

func (o *TransactionSummary) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*TransactionSummary) SetType ¶ added in v0.8.0

func (o *TransactionSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*TransactionSummary) SetUpdatedAt ¶ added in v0.8.0

func (o *TransactionSummary) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*TransactionSummary) UnsetBuyer ¶ added in v0.22.0

func (o *TransactionSummary) UnsetBuyer()

UnsetBuyer ensures that no value is present for Buyer, not even an explicit nil

func (*TransactionSummary) UnsetCountry ¶ added in v0.17.0

func (o *TransactionSummary) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*TransactionSummary) UnsetExternalIdentifier ¶ added in v0.8.0

func (o *TransactionSummary) UnsetExternalIdentifier()

UnsetExternalIdentifier ensures that no value is present for ExternalIdentifier, not even an explicit nil

func (*TransactionSummary) UnsetRawResponseCode ¶ added in v0.19.0

func (o *TransactionSummary) UnsetRawResponseCode()

UnsetRawResponseCode ensures that no value is present for RawResponseCode, not even an explicit nil

func (*TransactionSummary) UnsetRawResponseDescription ¶ added in v0.19.0

func (o *TransactionSummary) UnsetRawResponseDescription()

UnsetRawResponseDescription ensures that no value is present for RawResponseDescription, not even an explicit nil

type Transactions ¶

type Transactions struct {
	// A list of transactions.
	Items *[]TransactionSummary `json:"items,omitempty"`
	// The limit applied to request. This represents the number of items that are at maximum returned by this request.
	Limit *int32 `json:"limit,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	NextCursor NullableString `json:"next_cursor,omitempty"`
	// The cursor that represents the next page of results. Use the `cursor` query parameter to fetch this page of items.
	PreviousCursor NullableString `json:"previous_cursor,omitempty"`
}

Transactions A list of transactions.

func NewTransactions ¶ added in v0.2.1

func NewTransactions() *Transactions

NewTransactions instantiates a new Transactions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionsWithDefaults ¶ added in v0.2.1

func NewTransactionsWithDefaults() *Transactions

NewTransactionsWithDefaults instantiates a new Transactions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Transactions) GetItems ¶ added in v0.2.1

func (o *Transactions) GetItems() []TransactionSummary

GetItems returns the Items field value if set, zero value otherwise.

func (*Transactions) GetItemsOk ¶ added in v0.2.1

func (o *Transactions) GetItemsOk() (*[]TransactionSummary, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transactions) GetLimit ¶ added in v0.2.1

func (o *Transactions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Transactions) GetLimitOk ¶ added in v0.2.1

func (o *Transactions) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transactions) GetNextCursor ¶ added in v0.2.1

func (o *Transactions) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transactions) GetNextCursorOk ¶ added in v0.2.1

func (o *Transactions) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transactions) GetPreviousCursor ¶ added in v0.2.1

func (o *Transactions) GetPreviousCursor() string

GetPreviousCursor returns the PreviousCursor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Transactions) GetPreviousCursorOk ¶ added in v0.2.1

func (o *Transactions) GetPreviousCursorOk() (*string, bool)

GetPreviousCursorOk returns a tuple with the PreviousCursor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Transactions) HasItems ¶ added in v0.2.1

func (o *Transactions) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Transactions) HasLimit ¶ added in v0.2.1

func (o *Transactions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Transactions) HasNextCursor ¶ added in v0.2.1

func (o *Transactions) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*Transactions) HasPreviousCursor ¶ added in v0.2.1

func (o *Transactions) HasPreviousCursor() bool

HasPreviousCursor returns a boolean if a field has been set.

func (Transactions) MarshalJSON ¶ added in v0.2.1

func (o Transactions) MarshalJSON() ([]byte, error)

func (*Transactions) SetItems ¶ added in v0.2.1

func (o *Transactions) SetItems(v []TransactionSummary)

SetItems gets a reference to the given []TransactionSummary and assigns it to the Items field.

func (*Transactions) SetLimit ¶ added in v0.2.1

func (o *Transactions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*Transactions) SetNextCursor ¶ added in v0.2.1

func (o *Transactions) SetNextCursor(v string)

SetNextCursor gets a reference to the given NullableString and assigns it to the NextCursor field.

func (*Transactions) SetNextCursorNil ¶ added in v0.2.1

func (o *Transactions) SetNextCursorNil()

SetNextCursorNil sets the value for NextCursor to be an explicit nil

func (*Transactions) SetPreviousCursor ¶ added in v0.2.1

func (o *Transactions) SetPreviousCursor(v string)

SetPreviousCursor gets a reference to the given NullableString and assigns it to the PreviousCursor field.

func (*Transactions) SetPreviousCursorNil ¶ added in v0.2.1

func (o *Transactions) SetPreviousCursorNil()

SetPreviousCursorNil sets the value for PreviousCursor to be an explicit nil

func (*Transactions) UnsetNextCursor ¶ added in v0.2.1

func (o *Transactions) UnsetNextCursor()

UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil

func (*Transactions) UnsetPreviousCursor ¶ added in v0.2.1

func (o *Transactions) UnsetPreviousCursor()

UnsetPreviousCursor ensures that no value is present for PreviousCursor, not even an explicit nil

type TransactionsApiService ¶ added in v0.2.1

type TransactionsApiService service

TransactionsApiService TransactionsApi service

func (*TransactionsApiService) CaptureTransaction ¶ added in v0.2.1

func (a *TransactionsApiService) CaptureTransaction(ctx _context.Context, transactionId string) ApiCaptureTransactionRequest

* CaptureTransaction Capture transaction * Captures a previously authorized transaction. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param transactionId The ID for the transaction to get the information for. * @return ApiCaptureTransactionRequest

func (*TransactionsApiService) CaptureTransactionExecute ¶ added in v0.2.1

* Execute executes the request * @return Transaction

func (*TransactionsApiService) GetRefund ¶ added in v0.27.0

func (a *TransactionsApiService) GetRefund(ctx _context.Context, transactionId string, refundId string) ApiGetRefundRequest

* GetRefund Get refund * Gets information about a refund associated with a certain transaction. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param transactionId The ID for the transaction to get the information for. * @param refundId The unique ID of the refund. * @return ApiGetRefundRequest

func (*TransactionsApiService) GetRefundExecute ¶ added in v0.27.0

* Execute executes the request * @return Refund

func (*TransactionsApiService) GetTransaction ¶ added in v0.2.1

func (a *TransactionsApiService) GetTransaction(ctx _context.Context, transactionId string) ApiGetTransactionRequest

* GetTransaction Get transaction * Get information about a transaction. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param transactionId The ID for the transaction to get the information for. * @return ApiGetTransactionRequest

func (*TransactionsApiService) GetTransactionExecute ¶ added in v0.2.1

* Execute executes the request * @return Transaction

func (*TransactionsApiService) ListTransactionRefunds ¶ added in v0.14.0

func (a *TransactionsApiService) ListTransactionRefunds(ctx _context.Context, transactionId string) ApiListTransactionRefundsRequest

* ListTransactionRefunds List refunds * Lists all refunds associated with a certain transaction. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param transactionId The ID for the transaction to get the information for. * @return ApiListTransactionRefundsRequest

func (*TransactionsApiService) ListTransactionRefundsExecute ¶ added in v0.14.0

func (a *TransactionsApiService) ListTransactionRefundsExecute(r ApiListTransactionRefundsRequest) (Refunds, *_nethttp.Response, error)

* Execute executes the request * @return Refunds

func (*TransactionsApiService) ListTransactions ¶ added in v0.2.1

* ListTransactions List transactions * Lists all transactions for an account. Sorted by last updated at. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListTransactionsRequest

func (*TransactionsApiService) ListTransactionsExecute ¶ added in v0.2.1

* Execute executes the request * @return Transactions

func (*TransactionsApiService) NewRefund ¶ added in v0.27.0

func (a *TransactionsApiService) NewRefund(ctx _context.Context, transactionId string) ApiNewRefundRequest
  • NewRefund Refund transaction
  • Refunds a transaction, fully or partially.

If the transaction was not yet successfully captured, the refund will not be processed. Authorized transactions can be voided instead.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transactionId The ID for the transaction to get the information for.
  • @return ApiNewRefundRequest

func (*TransactionsApiService) NewRefundExecute ¶ added in v0.27.0

* Execute executes the request * @return Refund

func (*TransactionsApiService) NewTransaction ¶ added in v0.27.0

  • NewTransaction New transaction
  • Attempts to create an authorization for a payment method. In some cases it is

not possible to create the authorization without redirecting the user for their authorization. In these cases the status is set to indicate buyer approval is pending and an approval URL is returned.

Duplicated gift card numbers are not supported. This includes both stored gift cards, as well as those directly provided via the request.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiNewTransactionRequest

func (*TransactionsApiService) NewTransactionExecute ¶ added in v0.27.0

* Execute executes the request * @return Transaction

func (*TransactionsApiService) RefundAll ¶ added in v0.31.0

func (a *TransactionsApiService) RefundAll(ctx _context.Context, transactionId string) ApiRefundAllRequest

* RefundAll Refund all instruments in a transaction * Refunds a transaction fully across all instruments. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param transactionId The ID for the transaction to get the information for. * @return ApiRefundAllRequest

func (*TransactionsApiService) RefundAllExecute ¶ added in v0.31.0

* Execute executes the request * @return Refunds

func (*TransactionsApiService) VoidTransaction ¶ added in v0.14.0

func (a *TransactionsApiService) VoidTransaction(ctx _context.Context, transactionId string) ApiVoidTransactionRequest
  • VoidTransaction Void transaction
  • Voids a transaction.

If the transaction was not yet successfully authorized, or was already captured, the void will not be processed. Captured transactions can be refunded instead.

Voiding zero-amount authorized transactions is not supported.

Once voided, the status of the transaction will be either `authorization_voided`, `authorization_void_pending`, or if the void fails the original status will remain.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transactionId The ID for the transaction to get the information for.
  • @return ApiVoidTransactionRequest

func (*TransactionsApiService) VoidTransactionExecute ¶ added in v0.14.0

* Execute executes the request * @return Transaction

type TransactionsBatchCaptureRequest ¶

type TransactionsBatchCaptureRequest struct {
	// The (partial) amount to capture.  When left blank, this will capture the entire amount.
	Amount int32 `json:"amount"`
	// A supported ISO-4217 currency code.
	Currency string `json:"currency"`
	// An external identifier that can be used to match the transaction against your own records.
	ExternalIdentifier *string `json:"external_identifier,omitempty"`
	// The ID of the transaction to capture.
	TransactionId string `json:"transaction_id"`
}

TransactionsBatchCaptureRequest A request to capture multiple previously authorized transactions.

func NewTransactionsBatchCaptureRequest ¶ added in v0.2.1

func NewTransactionsBatchCaptureRequest(amount int32, currency string, transactionId string) *TransactionsBatchCaptureRequest

NewTransactionsBatchCaptureRequest instantiates a new TransactionsBatchCaptureRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransactionsBatchCaptureRequestWithDefaults ¶ added in v0.2.1

func NewTransactionsBatchCaptureRequestWithDefaults() *TransactionsBatchCaptureRequest

NewTransactionsBatchCaptureRequestWithDefaults instantiates a new TransactionsBatchCaptureRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransactionsBatchCaptureRequest) GetAmount ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetAmount() int32

GetAmount returns the Amount field value

func (*TransactionsBatchCaptureRequest) GetAmountOk ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TransactionsBatchCaptureRequest) GetCurrency ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetCurrency() string

GetCurrency returns the Currency field value

func (*TransactionsBatchCaptureRequest) GetCurrencyOk ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*TransactionsBatchCaptureRequest) GetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetExternalIdentifier() string

GetExternalIdentifier returns the ExternalIdentifier field value if set, zero value otherwise.

func (*TransactionsBatchCaptureRequest) GetExternalIdentifierOk ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetExternalIdentifierOk() (*string, bool)

GetExternalIdentifierOk returns a tuple with the ExternalIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransactionsBatchCaptureRequest) GetTransactionId ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetTransactionId() string

GetTransactionId returns the TransactionId field value

func (*TransactionsBatchCaptureRequest) GetTransactionIdOk ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.

func (*TransactionsBatchCaptureRequest) HasExternalIdentifier ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) HasExternalIdentifier() bool

HasExternalIdentifier returns a boolean if a field has been set.

func (TransactionsBatchCaptureRequest) MarshalJSON ¶ added in v0.2.1

func (o TransactionsBatchCaptureRequest) MarshalJSON() ([]byte, error)

func (*TransactionsBatchCaptureRequest) SetAmount ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) SetAmount(v int32)

SetAmount sets field value

func (*TransactionsBatchCaptureRequest) SetCurrency ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) SetCurrency(v string)

SetCurrency sets field value

func (*TransactionsBatchCaptureRequest) SetExternalIdentifier ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) SetExternalIdentifier(v string)

SetExternalIdentifier gets a reference to the given string and assigns it to the ExternalIdentifier field.

func (*TransactionsBatchCaptureRequest) SetTransactionId ¶ added in v0.2.1

func (o *TransactionsBatchCaptureRequest) SetTransactionId(v string)

SetTransactionId sets field value

type UserCurrentUpdate ¶ added in v0.22.0

type UserCurrentUpdate struct {
	// The full name of the user which is used in the Gr4vy admin panel to give a user a human readable name.
	Name *string `json:"name,omitempty"`
}

UserCurrentUpdate A request to update the current user.

func NewUserCurrentUpdate ¶ added in v0.22.0

func NewUserCurrentUpdate() *UserCurrentUpdate

NewUserCurrentUpdate instantiates a new UserCurrentUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserCurrentUpdateWithDefaults ¶ added in v0.22.0

func NewUserCurrentUpdateWithDefaults() *UserCurrentUpdate

NewUserCurrentUpdateWithDefaults instantiates a new UserCurrentUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserCurrentUpdate) GetName ¶ added in v0.22.0

func (o *UserCurrentUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserCurrentUpdate) GetNameOk ¶ added in v0.22.0

func (o *UserCurrentUpdate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCurrentUpdate) HasName ¶ added in v0.22.0

func (o *UserCurrentUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (UserCurrentUpdate) MarshalJSON ¶ added in v0.22.0

func (o UserCurrentUpdate) MarshalJSON() ([]byte, error)

func (*UserCurrentUpdate) SetName ¶ added in v0.22.0

func (o *UserCurrentUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type UserRequest ¶ added in v0.2.1

type UserRequest struct {
	// The full name of the user which is used in the Gr4vy admin panel to give an user a human readable name.
	Name *string `json:"name,omitempty"`
	// The email address for this user.
	EmailAddress *string `json:"email_address,omitempty"`
	// A list of role ids that will be assigned to the user being created. The creator must have `roles.write` or the role that is being assigned.
	RoleIds *[]string `json:"role_ids,omitempty"`
	// A list of merchant account IDs that the user being created will be assigned to.
	MerchantAccountIds []string `json:"merchant_account_ids,omitempty"`
}

UserRequest A request to create a user.

func NewUserRequest ¶ added in v0.2.1

func NewUserRequest() *UserRequest

NewUserRequest instantiates a new UserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserRequestWithDefaults ¶ added in v0.2.1

func NewUserRequestWithDefaults() *UserRequest

NewUserRequestWithDefaults instantiates a new UserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserRequest) GetEmailAddress ¶ added in v0.2.1

func (o *UserRequest) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise.

func (*UserRequest) GetEmailAddressOk ¶ added in v0.2.1

func (o *UserRequest) GetEmailAddressOk() (*string, bool)

GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRequest) GetMerchantAccountIds ¶ added in v0.27.0

func (o *UserRequest) GetMerchantAccountIds() []string

GetMerchantAccountIds returns the MerchantAccountIds field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserRequest) GetMerchantAccountIdsOk ¶ added in v0.27.0

func (o *UserRequest) GetMerchantAccountIdsOk() (*[]string, bool)

GetMerchantAccountIdsOk returns a tuple with the MerchantAccountIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserRequest) GetName ¶ added in v0.22.0

func (o *UserRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserRequest) GetNameOk ¶ added in v0.22.0

func (o *UserRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRequest) GetRoleIds ¶ added in v0.22.0

func (o *UserRequest) GetRoleIds() []string

GetRoleIds returns the RoleIds field value if set, zero value otherwise.

func (*UserRequest) GetRoleIdsOk ¶ added in v0.22.0

func (o *UserRequest) GetRoleIdsOk() (*[]string, bool)

GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRequest) HasEmailAddress ¶ added in v0.2.1

func (o *UserRequest) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*UserRequest) HasMerchantAccountIds ¶ added in v0.27.0

func (o *UserRequest) HasMerchantAccountIds() bool

HasMerchantAccountIds returns a boolean if a field has been set.

func (*UserRequest) HasName ¶ added in v0.22.0

func (o *UserRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserRequest) HasRoleIds ¶ added in v0.22.0

func (o *UserRequest) HasRoleIds() bool

HasRoleIds returns a boolean if a field has been set.

func (UserRequest) MarshalJSON ¶ added in v0.2.1

func (o UserRequest) MarshalJSON() ([]byte, error)

func (*UserRequest) SetEmailAddress ¶ added in v0.2.1

func (o *UserRequest) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given string and assigns it to the EmailAddress field.

func (*UserRequest) SetMerchantAccountIds ¶ added in v0.27.0

func (o *UserRequest) SetMerchantAccountIds(v []string)

SetMerchantAccountIds gets a reference to the given []string and assigns it to the MerchantAccountIds field.

func (*UserRequest) SetName ¶ added in v0.22.0

func (o *UserRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserRequest) SetRoleIds ¶ added in v0.22.0

func (o *UserRequest) SetRoleIds(v []string)

SetRoleIds gets a reference to the given []string and assigns it to the RoleIds field.

type UserRole ¶ added in v0.22.0

type UserRole struct {
	// The type of this resource. Always `role`.
	Type *string `json:"type,omitempty"`
	// The unique ID for this role.
	Id *string `json:"id,omitempty"`
	// The unique name for this role.
	Name *string `json:"name,omitempty"`
	// The description for this role.
	Description *string          `json:"description,omitempty"`
	Permissions *RolePermissions `json:"permissions,omitempty"`
}

UserRole struct for UserRole

func NewUserRole ¶ added in v0.22.0

func NewUserRole() *UserRole

NewUserRole instantiates a new UserRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserRoleWithDefaults ¶ added in v0.22.0

func NewUserRoleWithDefaults() *UserRole

NewUserRoleWithDefaults instantiates a new UserRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserRole) GetDescription ¶ added in v0.22.0

func (o *UserRole) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UserRole) GetDescriptionOk ¶ added in v0.22.0

func (o *UserRole) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRole) GetId ¶ added in v0.22.0

func (o *UserRole) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UserRole) GetIdOk ¶ added in v0.22.0

func (o *UserRole) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRole) GetName ¶ added in v0.22.0

func (o *UserRole) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserRole) GetNameOk ¶ added in v0.22.0

func (o *UserRole) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRole) GetPermissions ¶ added in v0.22.0

func (o *UserRole) GetPermissions() RolePermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*UserRole) GetPermissionsOk ¶ added in v0.22.0

func (o *UserRole) GetPermissionsOk() (*RolePermissions, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRole) GetType ¶ added in v0.22.0

func (o *UserRole) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserRole) GetTypeOk ¶ added in v0.22.0

func (o *UserRole) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRole) HasDescription ¶ added in v0.22.0

func (o *UserRole) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UserRole) HasId ¶ added in v0.22.0

func (o *UserRole) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserRole) HasName ¶ added in v0.22.0

func (o *UserRole) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserRole) HasPermissions ¶ added in v0.22.0

func (o *UserRole) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*UserRole) HasType ¶ added in v0.22.0

func (o *UserRole) HasType() bool

HasType returns a boolean if a field has been set.

func (UserRole) MarshalJSON ¶ added in v0.22.0

func (o UserRole) MarshalJSON() ([]byte, error)

func (*UserRole) SetDescription ¶ added in v0.22.0

func (o *UserRole) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UserRole) SetId ¶ added in v0.22.0

func (o *UserRole) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserRole) SetName ¶ added in v0.22.0

func (o *UserRole) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserRole) SetPermissions ¶ added in v0.22.0

func (o *UserRole) SetPermissions(v RolePermissions)

SetPermissions gets a reference to the given RolePermissions and assigns it to the Permissions field.

func (*UserRole) SetType ¶ added in v0.22.0

func (o *UserRole) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type UserUpdate ¶ added in v0.22.0

type UserUpdate struct {
	// The full name of the user which is used in the Gr4vy admin panel to give a user a human readable name.
	Name *string `json:"name,omitempty"`
	// The IDs of the roles to assign to the user. Sending an empty list will remove all roles assigned to the user.
	RoleIds *[]string `json:"role_ids,omitempty"`
	// A list of merchant account IDs that the user is assigned to.
	MerchantAccountIds []string `json:"merchant_account_ids,omitempty"`
}

UserUpdate A request to update a user.

func NewUserUpdate ¶ added in v0.22.0

func NewUserUpdate() *UserUpdate

NewUserUpdate instantiates a new UserUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserUpdateWithDefaults ¶ added in v0.22.0

func NewUserUpdateWithDefaults() *UserUpdate

NewUserUpdateWithDefaults instantiates a new UserUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserUpdate) GetMerchantAccountIds ¶ added in v0.27.0

func (o *UserUpdate) GetMerchantAccountIds() []string

GetMerchantAccountIds returns the MerchantAccountIds field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserUpdate) GetMerchantAccountIdsOk ¶ added in v0.27.0

func (o *UserUpdate) GetMerchantAccountIdsOk() (*[]string, bool)

GetMerchantAccountIdsOk returns a tuple with the MerchantAccountIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserUpdate) GetName ¶ added in v0.22.0

func (o *UserUpdate) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserUpdate) GetNameOk ¶ added in v0.22.0

func (o *UserUpdate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdate) GetRoleIds ¶ added in v0.22.0

func (o *UserUpdate) GetRoleIds() []string

GetRoleIds returns the RoleIds field value if set, zero value otherwise.

func (*UserUpdate) GetRoleIdsOk ¶ added in v0.22.0

func (o *UserUpdate) GetRoleIdsOk() (*[]string, bool)

GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdate) HasMerchantAccountIds ¶ added in v0.27.0

func (o *UserUpdate) HasMerchantAccountIds() bool

HasMerchantAccountIds returns a boolean if a field has been set.

func (*UserUpdate) HasName ¶ added in v0.22.0

func (o *UserUpdate) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserUpdate) HasRoleIds ¶ added in v0.22.0

func (o *UserUpdate) HasRoleIds() bool

HasRoleIds returns a boolean if a field has been set.

func (UserUpdate) MarshalJSON ¶ added in v0.22.0

func (o UserUpdate) MarshalJSON() ([]byte, error)

func (*UserUpdate) SetMerchantAccountIds ¶ added in v0.27.0

func (o *UserUpdate) SetMerchantAccountIds(v []string)

SetMerchantAccountIds gets a reference to the given []string and assigns it to the MerchantAccountIds field.

func (*UserUpdate) SetName ¶ added in v0.22.0

func (o *UserUpdate) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserUpdate) SetRoleIds ¶ added in v0.22.0

func (o *UserUpdate) SetRoleIds(v []string)

SetRoleIds gets a reference to the given []string and assigns it to the RoleIds field.

type VaultForwardApiService ¶ added in v0.28.0

type VaultForwardApiService service

VaultForwardApiService VaultForwardApi service

func (*VaultForwardApiService) MakeVaultForward ¶ added in v0.28.0

* MakeVaultForward Forward PCI data * Forward an API call to a PCI endpoint. The request body is evaluated and any template fields are replaced by the card data before the request is sent to the given destination. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiMakeVaultForwardRequest

func (*VaultForwardApiService) MakeVaultForwardExecute ¶ added in v0.28.0

* Execute executes the request * @return string

Source Files ¶

Jump to

Keyboard shortcuts

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