storedvalue

package
v7.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount struct {
	// The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
	Currency string `json:"currency"`
	// The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
	Value int64 `json:"value"`
}

Amount struct for Amount

func NewAmount

func NewAmount(currency string, value int64) *Amount

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

func NewAmountWithDefaults

func NewAmountWithDefaults() *Amount

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

func (*Amount) GetCurrency

func (o *Amount) GetCurrency() string

GetCurrency returns the Currency field value

func (*Amount) GetCurrencyOk

func (o *Amount) GetCurrencyOk() (*string, bool)

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

func (*Amount) GetValue

func (o *Amount) GetValue() int64

GetValue returns the Value field value

func (*Amount) GetValueOk

func (o *Amount) GetValueOk() (*int64, bool)

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

func (Amount) MarshalJSON

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

func (*Amount) SetCurrency

func (o *Amount) SetCurrency(v string)

SetCurrency sets field value

func (*Amount) SetValue

func (o *Amount) SetValue(v int64)

SetValue sets field value

func (Amount) ToMap

func (o Amount) ToMap() (map[string]interface{}, error)

type GeneralApi

type GeneralApi common.Service

GeneralApi service

func (*GeneralApi) ChangeStatus

ChangeStatus Changes the status of the payment method.

Changes the status of the provided payment method to the specified status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiChangeStatusInput - Request parameters, see ChangeStatusInput @return StoredValueStatusChangeResponse, *http.Response, error

func (*GeneralApi) ChangeStatusInput

func (a *GeneralApi) ChangeStatusInput() GeneralApiChangeStatusInput

Prepare a request for ChangeStatus

@return GeneralApiChangeStatusInput

func (*GeneralApi) CheckBalance

CheckBalance Checks the balance.

Checks the balance of the provided payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiCheckBalanceInput - Request parameters, see CheckBalanceInput @return StoredValueBalanceCheckResponse, *http.Response, error

func (*GeneralApi) CheckBalanceInput

func (a *GeneralApi) CheckBalanceInput() GeneralApiCheckBalanceInput

Prepare a request for CheckBalance

@return GeneralApiCheckBalanceInput

func (*GeneralApi) Issue

Issue Issues a new card.

Issues a new card of the given payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiIssueInput - Request parameters, see IssueInput @return StoredValueIssueResponse, *http.Response, error

func (*GeneralApi) IssueInput

func (a *GeneralApi) IssueInput() GeneralApiIssueInput

Prepare a request for Issue

@return GeneralApiIssueInput

func (*GeneralApi) Load

Load Loads the payment method.

Loads the payment method with the specified funds.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiLoadInput - Request parameters, see LoadInput @return StoredValueLoadResponse, *http.Response, error

func (*GeneralApi) LoadInput

func (a *GeneralApi) LoadInput() GeneralApiLoadInput

Prepare a request for Load

@return GeneralApiLoadInput

func (*GeneralApi) MergeBalance

MergeBalance Merge the balance of two cards.

Increases the balance of the paymentmethod by the full amount left on the source paymentmethod

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiMergeBalanceInput - Request parameters, see MergeBalanceInput @return StoredValueBalanceMergeResponse, *http.Response, error

func (*GeneralApi) MergeBalanceInput

func (a *GeneralApi) MergeBalanceInput() GeneralApiMergeBalanceInput

Prepare a request for MergeBalance

@return GeneralApiMergeBalanceInput

func (*GeneralApi) VoidTransaction

VoidTransaction Voids a transaction.

Voids the referenced stored value transaction.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiVoidTransactionInput - Request parameters, see VoidTransactionInput @return StoredValueVoidResponse, *http.Response, error

func (*GeneralApi) VoidTransactionInput

func (a *GeneralApi) VoidTransactionInput() GeneralApiVoidTransactionInput

Prepare a request for VoidTransaction

@return GeneralApiVoidTransactionInput

type GeneralApiChangeStatusInput

type GeneralApiChangeStatusInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.ChangeStatus

func (GeneralApiChangeStatusInput) StoredValueStatusChangeRequest

func (r GeneralApiChangeStatusInput) StoredValueStatusChangeRequest(storedValueStatusChangeRequest StoredValueStatusChangeRequest) GeneralApiChangeStatusInput

type GeneralApiCheckBalanceInput

type GeneralApiCheckBalanceInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.CheckBalance

func (GeneralApiCheckBalanceInput) StoredValueBalanceCheckRequest

func (r GeneralApiCheckBalanceInput) StoredValueBalanceCheckRequest(storedValueBalanceCheckRequest StoredValueBalanceCheckRequest) GeneralApiCheckBalanceInput

type GeneralApiIssueInput

type GeneralApiIssueInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.Issue

func (GeneralApiIssueInput) StoredValueIssueRequest

func (r GeneralApiIssueInput) StoredValueIssueRequest(storedValueIssueRequest StoredValueIssueRequest) GeneralApiIssueInput

type GeneralApiLoadInput

type GeneralApiLoadInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.Load

func (GeneralApiLoadInput) StoredValueLoadRequest

func (r GeneralApiLoadInput) StoredValueLoadRequest(storedValueLoadRequest StoredValueLoadRequest) GeneralApiLoadInput

type GeneralApiMergeBalanceInput

type GeneralApiMergeBalanceInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.MergeBalance

func (GeneralApiMergeBalanceInput) StoredValueBalanceMergeRequest

func (r GeneralApiMergeBalanceInput) StoredValueBalanceMergeRequest(storedValueBalanceMergeRequest StoredValueBalanceMergeRequest) GeneralApiMergeBalanceInput

type GeneralApiVoidTransactionInput

type GeneralApiVoidTransactionInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.VoidTransaction

func (GeneralApiVoidTransactionInput) StoredValueVoidRequest

func (r GeneralApiVoidTransactionInput) StoredValueVoidRequest(storedValueVoidRequest StoredValueVoidRequest) GeneralApiVoidTransactionInput

type NullableAmount

type NullableAmount struct {
	// contains filtered or unexported fields
}

func NewNullableAmount

func NewNullableAmount(val *Amount) *NullableAmount

func (NullableAmount) Get

func (v NullableAmount) Get() *Amount

func (NullableAmount) IsSet

func (v NullableAmount) IsSet() bool

func (NullableAmount) MarshalJSON

func (v NullableAmount) MarshalJSON() ([]byte, error)

func (*NullableAmount) Set

func (v *NullableAmount) Set(val *Amount)

func (*NullableAmount) UnmarshalJSON

func (v *NullableAmount) UnmarshalJSON(src []byte) error

func (*NullableAmount) Unset

func (v *NullableAmount) Unset()

type NullableServiceError

type NullableServiceError struct {
	// contains filtered or unexported fields
}

func NewNullableServiceError

func NewNullableServiceError(val *ServiceError) *NullableServiceError

func (NullableServiceError) Get

func (NullableServiceError) IsSet

func (v NullableServiceError) IsSet() bool

func (NullableServiceError) MarshalJSON

func (v NullableServiceError) MarshalJSON() ([]byte, error)

func (*NullableServiceError) Set

func (v *NullableServiceError) Set(val *ServiceError)

func (*NullableServiceError) UnmarshalJSON

func (v *NullableServiceError) UnmarshalJSON(src []byte) error

func (*NullableServiceError) Unset

func (v *NullableServiceError) Unset()

type NullableStoredValueBalanceCheckRequest

type NullableStoredValueBalanceCheckRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueBalanceCheckRequest) Get

func (NullableStoredValueBalanceCheckRequest) IsSet

func (NullableStoredValueBalanceCheckRequest) MarshalJSON

func (v NullableStoredValueBalanceCheckRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueBalanceCheckRequest) Set

func (*NullableStoredValueBalanceCheckRequest) UnmarshalJSON

func (v *NullableStoredValueBalanceCheckRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueBalanceCheckRequest) Unset

type NullableStoredValueBalanceCheckResponse

type NullableStoredValueBalanceCheckResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueBalanceCheckResponse) Get

func (NullableStoredValueBalanceCheckResponse) IsSet

func (NullableStoredValueBalanceCheckResponse) MarshalJSON

func (v NullableStoredValueBalanceCheckResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueBalanceCheckResponse) Set

func (*NullableStoredValueBalanceCheckResponse) UnmarshalJSON

func (v *NullableStoredValueBalanceCheckResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueBalanceCheckResponse) Unset

type NullableStoredValueBalanceMergeRequest

type NullableStoredValueBalanceMergeRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueBalanceMergeRequest) Get

func (NullableStoredValueBalanceMergeRequest) IsSet

func (NullableStoredValueBalanceMergeRequest) MarshalJSON

func (v NullableStoredValueBalanceMergeRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueBalanceMergeRequest) Set

func (*NullableStoredValueBalanceMergeRequest) UnmarshalJSON

func (v *NullableStoredValueBalanceMergeRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueBalanceMergeRequest) Unset

type NullableStoredValueBalanceMergeResponse

type NullableStoredValueBalanceMergeResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueBalanceMergeResponse) Get

func (NullableStoredValueBalanceMergeResponse) IsSet

func (NullableStoredValueBalanceMergeResponse) MarshalJSON

func (v NullableStoredValueBalanceMergeResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueBalanceMergeResponse) Set

func (*NullableStoredValueBalanceMergeResponse) UnmarshalJSON

func (v *NullableStoredValueBalanceMergeResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueBalanceMergeResponse) Unset

type NullableStoredValueIssueRequest

type NullableStoredValueIssueRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueIssueRequest) Get

func (NullableStoredValueIssueRequest) IsSet

func (NullableStoredValueIssueRequest) MarshalJSON

func (v NullableStoredValueIssueRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueIssueRequest) Set

func (*NullableStoredValueIssueRequest) UnmarshalJSON

func (v *NullableStoredValueIssueRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueIssueRequest) Unset

type NullableStoredValueIssueResponse

type NullableStoredValueIssueResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueIssueResponse) Get

func (NullableStoredValueIssueResponse) IsSet

func (NullableStoredValueIssueResponse) MarshalJSON

func (v NullableStoredValueIssueResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueIssueResponse) Set

func (*NullableStoredValueIssueResponse) UnmarshalJSON

func (v *NullableStoredValueIssueResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueIssueResponse) Unset

type NullableStoredValueLoadRequest

type NullableStoredValueLoadRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueLoadRequest) Get

func (NullableStoredValueLoadRequest) IsSet

func (NullableStoredValueLoadRequest) MarshalJSON

func (v NullableStoredValueLoadRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueLoadRequest) Set

func (*NullableStoredValueLoadRequest) UnmarshalJSON

func (v *NullableStoredValueLoadRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueLoadRequest) Unset

func (v *NullableStoredValueLoadRequest) Unset()

type NullableStoredValueLoadResponse

type NullableStoredValueLoadResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueLoadResponse) Get

func (NullableStoredValueLoadResponse) IsSet

func (NullableStoredValueLoadResponse) MarshalJSON

func (v NullableStoredValueLoadResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueLoadResponse) Set

func (*NullableStoredValueLoadResponse) UnmarshalJSON

func (v *NullableStoredValueLoadResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueLoadResponse) Unset

type NullableStoredValueStatusChangeRequest

type NullableStoredValueStatusChangeRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueStatusChangeRequest) Get

func (NullableStoredValueStatusChangeRequest) IsSet

func (NullableStoredValueStatusChangeRequest) MarshalJSON

func (v NullableStoredValueStatusChangeRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueStatusChangeRequest) Set

func (*NullableStoredValueStatusChangeRequest) UnmarshalJSON

func (v *NullableStoredValueStatusChangeRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueStatusChangeRequest) Unset

type NullableStoredValueStatusChangeResponse

type NullableStoredValueStatusChangeResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueStatusChangeResponse) Get

func (NullableStoredValueStatusChangeResponse) IsSet

func (NullableStoredValueStatusChangeResponse) MarshalJSON

func (v NullableStoredValueStatusChangeResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueStatusChangeResponse) Set

func (*NullableStoredValueStatusChangeResponse) UnmarshalJSON

func (v *NullableStoredValueStatusChangeResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueStatusChangeResponse) Unset

type NullableStoredValueVoidRequest

type NullableStoredValueVoidRequest struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueVoidRequest) Get

func (NullableStoredValueVoidRequest) IsSet

func (NullableStoredValueVoidRequest) MarshalJSON

func (v NullableStoredValueVoidRequest) MarshalJSON() ([]byte, error)

func (*NullableStoredValueVoidRequest) Set

func (*NullableStoredValueVoidRequest) UnmarshalJSON

func (v *NullableStoredValueVoidRequest) UnmarshalJSON(src []byte) error

func (*NullableStoredValueVoidRequest) Unset

func (v *NullableStoredValueVoidRequest) Unset()

type NullableStoredValueVoidResponse

type NullableStoredValueVoidResponse struct {
	// contains filtered or unexported fields
}

func (NullableStoredValueVoidResponse) Get

func (NullableStoredValueVoidResponse) IsSet

func (NullableStoredValueVoidResponse) MarshalJSON

func (v NullableStoredValueVoidResponse) MarshalJSON() ([]byte, error)

func (*NullableStoredValueVoidResponse) Set

func (*NullableStoredValueVoidResponse) UnmarshalJSON

func (v *NullableStoredValueVoidResponse) UnmarshalJSON(src []byte) error

func (*NullableStoredValueVoidResponse) Unset

type ServiceError

type ServiceError struct {
	// Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.
	AdditionalData *map[string]string `json:"additionalData,omitempty"`
	// The error code mapped to the error message.
	ErrorCode *string `json:"errorCode,omitempty"`
	// The category of the error.
	ErrorType *string `json:"errorType,omitempty"`
	// A short explanation of the issue.
	Message *string `json:"message,omitempty"`
	// The PSP reference of the payment.
	PspReference *string `json:"pspReference,omitempty"`
	// The HTTP response status.
	Status *int32 `json:"status,omitempty"`
}

ServiceError struct for ServiceError

func NewServiceError

func NewServiceError() *ServiceError

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

func NewServiceErrorWithDefaults

func NewServiceErrorWithDefaults() *ServiceError

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

func (*ServiceError) GetAdditionalData

func (o *ServiceError) GetAdditionalData() map[string]string

GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.

func (*ServiceError) GetAdditionalDataOk

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

func (o *ServiceError) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ServiceError) GetErrorCodeOk

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

func (*ServiceError) GetErrorType

func (o *ServiceError) GetErrorType() string

GetErrorType returns the ErrorType field value if set, zero value otherwise.

func (*ServiceError) GetErrorTypeOk

func (o *ServiceError) GetErrorTypeOk() (*string, bool)

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

func (*ServiceError) GetMessage

func (o *ServiceError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ServiceError) GetMessageOk

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

func (o *ServiceError) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*ServiceError) GetPspReferenceOk

func (o *ServiceError) GetPspReferenceOk() (*string, bool)

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

func (*ServiceError) GetStatus

func (o *ServiceError) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServiceError) GetStatusOk

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

func (o *ServiceError) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field has been set.

func (*ServiceError) HasErrorCode

func (o *ServiceError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ServiceError) HasErrorType

func (o *ServiceError) HasErrorType() bool

HasErrorType returns a boolean if a field has been set.

func (*ServiceError) HasMessage

func (o *ServiceError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ServiceError) HasPspReference

func (o *ServiceError) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*ServiceError) HasStatus

func (o *ServiceError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ServiceError) MarshalJSON

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

func (*ServiceError) SetAdditionalData

func (o *ServiceError) SetAdditionalData(v map[string]string)

SetAdditionalData gets a reference to the given map[string]string and assigns it to the AdditionalData field.

func (*ServiceError) SetErrorCode

func (o *ServiceError) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ServiceError) SetErrorType

func (o *ServiceError) SetErrorType(v string)

SetErrorType gets a reference to the given string and assigns it to the ErrorType field.

func (*ServiceError) SetMessage

func (o *ServiceError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ServiceError) SetPspReference

func (o *ServiceError) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*ServiceError) SetStatus

func (o *ServiceError) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (ServiceError) ToMap

func (o ServiceError) ToMap() (map[string]interface{}, error)

type StoredValueBalanceCheckRequest

type StoredValueBalanceCheckRequest struct {
	Amount *Amount `json:"amount,omitempty"`
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod            map[string]string `json:"paymentMethod"`
	RecurringDetailReference *string           `json:"recurringDetailReference,omitempty"`
	// The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.
	Reference string `json:"reference"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	ShopperReference   *string `json:"shopperReference,omitempty"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
}

StoredValueBalanceCheckRequest struct for StoredValueBalanceCheckRequest

func NewStoredValueBalanceCheckRequest

func NewStoredValueBalanceCheckRequest(merchantAccount string, paymentMethod map[string]string, reference string) *StoredValueBalanceCheckRequest

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

func NewStoredValueBalanceCheckRequestWithDefaults

func NewStoredValueBalanceCheckRequestWithDefaults() *StoredValueBalanceCheckRequest

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

func (*StoredValueBalanceCheckRequest) GetAmount

func (o *StoredValueBalanceCheckRequest) GetAmount() Amount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*StoredValueBalanceCheckRequest) GetAmountOk

func (o *StoredValueBalanceCheckRequest) GetAmountOk() (*Amount, 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 (*StoredValueBalanceCheckRequest) GetMerchantAccount

func (o *StoredValueBalanceCheckRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueBalanceCheckRequest) GetMerchantAccountOk

func (o *StoredValueBalanceCheckRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueBalanceCheckRequest) GetPaymentMethod

func (o *StoredValueBalanceCheckRequest) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value

func (*StoredValueBalanceCheckRequest) GetPaymentMethodOk

func (o *StoredValueBalanceCheckRequest) GetPaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueBalanceCheckRequest) GetRecurringDetailReference

func (o *StoredValueBalanceCheckRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*StoredValueBalanceCheckRequest) GetRecurringDetailReferenceOk

func (o *StoredValueBalanceCheckRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*StoredValueBalanceCheckRequest) GetReference

func (o *StoredValueBalanceCheckRequest) GetReference() string

GetReference returns the Reference field value

func (*StoredValueBalanceCheckRequest) GetReferenceOk

func (o *StoredValueBalanceCheckRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueBalanceCheckRequest) GetShopperInteraction

func (o *StoredValueBalanceCheckRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*StoredValueBalanceCheckRequest) GetShopperInteractionOk

func (o *StoredValueBalanceCheckRequest) GetShopperInteractionOk() (*string, bool)

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

func (*StoredValueBalanceCheckRequest) GetShopperReference

func (o *StoredValueBalanceCheckRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*StoredValueBalanceCheckRequest) GetShopperReferenceOk

func (o *StoredValueBalanceCheckRequest) GetShopperReferenceOk() (*string, bool)

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

func (*StoredValueBalanceCheckRequest) GetStore

func (o *StoredValueBalanceCheckRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueBalanceCheckRequest) GetStoreOk

func (o *StoredValueBalanceCheckRequest) GetStoreOk() (*string, 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 (*StoredValueBalanceCheckRequest) HasAmount

func (o *StoredValueBalanceCheckRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*StoredValueBalanceCheckRequest) HasRecurringDetailReference

func (o *StoredValueBalanceCheckRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*StoredValueBalanceCheckRequest) HasShopperInteraction

func (o *StoredValueBalanceCheckRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*StoredValueBalanceCheckRequest) HasShopperReference

func (o *StoredValueBalanceCheckRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (*StoredValueBalanceCheckRequest) HasStore

func (o *StoredValueBalanceCheckRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (StoredValueBalanceCheckRequest) MarshalJSON

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

func (*StoredValueBalanceCheckRequest) SetAmount

func (o *StoredValueBalanceCheckRequest) SetAmount(v Amount)

SetAmount gets a reference to the given Amount and assigns it to the Amount field.

func (*StoredValueBalanceCheckRequest) SetMerchantAccount

func (o *StoredValueBalanceCheckRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueBalanceCheckRequest) SetPaymentMethod

func (o *StoredValueBalanceCheckRequest) SetPaymentMethod(v map[string]string)

SetPaymentMethod sets field value

func (*StoredValueBalanceCheckRequest) SetRecurringDetailReference

func (o *StoredValueBalanceCheckRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*StoredValueBalanceCheckRequest) SetReference

func (o *StoredValueBalanceCheckRequest) SetReference(v string)

SetReference sets field value

func (*StoredValueBalanceCheckRequest) SetShopperInteraction

func (o *StoredValueBalanceCheckRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*StoredValueBalanceCheckRequest) SetShopperReference

func (o *StoredValueBalanceCheckRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (*StoredValueBalanceCheckRequest) SetStore

func (o *StoredValueBalanceCheckRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (StoredValueBalanceCheckRequest) ToMap

func (o StoredValueBalanceCheckRequest) ToMap() (map[string]interface{}, error)

type StoredValueBalanceCheckResponse

type StoredValueBalanceCheckResponse struct {
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueBalanceCheckResponse struct for StoredValueBalanceCheckResponse

func NewStoredValueBalanceCheckResponse

func NewStoredValueBalanceCheckResponse() *StoredValueBalanceCheckResponse

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

func NewStoredValueBalanceCheckResponseWithDefaults

func NewStoredValueBalanceCheckResponseWithDefaults() *StoredValueBalanceCheckResponse

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

func (*StoredValueBalanceCheckResponse) GetCurrentBalance

func (o *StoredValueBalanceCheckResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueBalanceCheckResponse) GetCurrentBalanceOk

func (o *StoredValueBalanceCheckResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueBalanceCheckResponse) GetPspReference

func (o *StoredValueBalanceCheckResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueBalanceCheckResponse) GetPspReferenceOk

func (o *StoredValueBalanceCheckResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueBalanceCheckResponse) GetRefusalReason

func (o *StoredValueBalanceCheckResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueBalanceCheckResponse) GetRefusalReasonOk

func (o *StoredValueBalanceCheckResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueBalanceCheckResponse) GetResultCode

func (o *StoredValueBalanceCheckResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueBalanceCheckResponse) GetResultCodeOk

func (o *StoredValueBalanceCheckResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueBalanceCheckResponse) GetThirdPartyRefusalReason

func (o *StoredValueBalanceCheckResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueBalanceCheckResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueBalanceCheckResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueBalanceCheckResponse) HasCurrentBalance

func (o *StoredValueBalanceCheckResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueBalanceCheckResponse) HasPspReference

func (o *StoredValueBalanceCheckResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueBalanceCheckResponse) HasRefusalReason

func (o *StoredValueBalanceCheckResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueBalanceCheckResponse) HasResultCode

func (o *StoredValueBalanceCheckResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueBalanceCheckResponse) HasThirdPartyRefusalReason

func (o *StoredValueBalanceCheckResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueBalanceCheckResponse) MarshalJSON

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

func (*StoredValueBalanceCheckResponse) SetCurrentBalance

func (o *StoredValueBalanceCheckResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueBalanceCheckResponse) SetPspReference

func (o *StoredValueBalanceCheckResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueBalanceCheckResponse) SetRefusalReason

func (o *StoredValueBalanceCheckResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueBalanceCheckResponse) SetResultCode

func (o *StoredValueBalanceCheckResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueBalanceCheckResponse) SetThirdPartyRefusalReason

func (o *StoredValueBalanceCheckResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueBalanceCheckResponse) ToMap

func (o StoredValueBalanceCheckResponse) ToMap() (map[string]interface{}, error)

type StoredValueBalanceMergeRequest

type StoredValueBalanceMergeRequest struct {
	Amount *Amount `json:"amount,omitempty"`
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod            map[string]string `json:"paymentMethod"`
	RecurringDetailReference *string           `json:"recurringDetailReference,omitempty"`
	// The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.
	Reference string `json:"reference"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	ShopperReference   *string `json:"shopperReference,omitempty"`
	// The collection that contains the source payment method and its specific information if available. Note that type should not be included since it is inferred from the (target) payment method
	SourcePaymentMethod map[string]string `json:"sourcePaymentMethod"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
}

StoredValueBalanceMergeRequest struct for StoredValueBalanceMergeRequest

func NewStoredValueBalanceMergeRequest

func NewStoredValueBalanceMergeRequest(merchantAccount string, paymentMethod map[string]string, reference string, sourcePaymentMethod map[string]string) *StoredValueBalanceMergeRequest

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

func NewStoredValueBalanceMergeRequestWithDefaults

func NewStoredValueBalanceMergeRequestWithDefaults() *StoredValueBalanceMergeRequest

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

func (*StoredValueBalanceMergeRequest) GetAmount

func (o *StoredValueBalanceMergeRequest) GetAmount() Amount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*StoredValueBalanceMergeRequest) GetAmountOk

func (o *StoredValueBalanceMergeRequest) GetAmountOk() (*Amount, 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 (*StoredValueBalanceMergeRequest) GetMerchantAccount

func (o *StoredValueBalanceMergeRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueBalanceMergeRequest) GetMerchantAccountOk

func (o *StoredValueBalanceMergeRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueBalanceMergeRequest) GetPaymentMethod

func (o *StoredValueBalanceMergeRequest) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value

func (*StoredValueBalanceMergeRequest) GetPaymentMethodOk

func (o *StoredValueBalanceMergeRequest) GetPaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueBalanceMergeRequest) GetRecurringDetailReference

func (o *StoredValueBalanceMergeRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*StoredValueBalanceMergeRequest) GetRecurringDetailReferenceOk

func (o *StoredValueBalanceMergeRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*StoredValueBalanceMergeRequest) GetReference

func (o *StoredValueBalanceMergeRequest) GetReference() string

GetReference returns the Reference field value

func (*StoredValueBalanceMergeRequest) GetReferenceOk

func (o *StoredValueBalanceMergeRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueBalanceMergeRequest) GetShopperInteraction

func (o *StoredValueBalanceMergeRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*StoredValueBalanceMergeRequest) GetShopperInteractionOk

func (o *StoredValueBalanceMergeRequest) GetShopperInteractionOk() (*string, bool)

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

func (*StoredValueBalanceMergeRequest) GetShopperReference

func (o *StoredValueBalanceMergeRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*StoredValueBalanceMergeRequest) GetShopperReferenceOk

func (o *StoredValueBalanceMergeRequest) GetShopperReferenceOk() (*string, bool)

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

func (*StoredValueBalanceMergeRequest) GetSourcePaymentMethod

func (o *StoredValueBalanceMergeRequest) GetSourcePaymentMethod() map[string]string

GetSourcePaymentMethod returns the SourcePaymentMethod field value

func (*StoredValueBalanceMergeRequest) GetSourcePaymentMethodOk

func (o *StoredValueBalanceMergeRequest) GetSourcePaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueBalanceMergeRequest) GetStore

func (o *StoredValueBalanceMergeRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueBalanceMergeRequest) GetStoreOk

func (o *StoredValueBalanceMergeRequest) GetStoreOk() (*string, 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 (*StoredValueBalanceMergeRequest) HasAmount

func (o *StoredValueBalanceMergeRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*StoredValueBalanceMergeRequest) HasRecurringDetailReference

func (o *StoredValueBalanceMergeRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*StoredValueBalanceMergeRequest) HasShopperInteraction

func (o *StoredValueBalanceMergeRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*StoredValueBalanceMergeRequest) HasShopperReference

func (o *StoredValueBalanceMergeRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (*StoredValueBalanceMergeRequest) HasStore

func (o *StoredValueBalanceMergeRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (StoredValueBalanceMergeRequest) MarshalJSON

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

func (*StoredValueBalanceMergeRequest) SetAmount

func (o *StoredValueBalanceMergeRequest) SetAmount(v Amount)

SetAmount gets a reference to the given Amount and assigns it to the Amount field.

func (*StoredValueBalanceMergeRequest) SetMerchantAccount

func (o *StoredValueBalanceMergeRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueBalanceMergeRequest) SetPaymentMethod

func (o *StoredValueBalanceMergeRequest) SetPaymentMethod(v map[string]string)

SetPaymentMethod sets field value

func (*StoredValueBalanceMergeRequest) SetRecurringDetailReference

func (o *StoredValueBalanceMergeRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*StoredValueBalanceMergeRequest) SetReference

func (o *StoredValueBalanceMergeRequest) SetReference(v string)

SetReference sets field value

func (*StoredValueBalanceMergeRequest) SetShopperInteraction

func (o *StoredValueBalanceMergeRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*StoredValueBalanceMergeRequest) SetShopperReference

func (o *StoredValueBalanceMergeRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (*StoredValueBalanceMergeRequest) SetSourcePaymentMethod

func (o *StoredValueBalanceMergeRequest) SetSourcePaymentMethod(v map[string]string)

SetSourcePaymentMethod sets field value

func (*StoredValueBalanceMergeRequest) SetStore

func (o *StoredValueBalanceMergeRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (StoredValueBalanceMergeRequest) ToMap

func (o StoredValueBalanceMergeRequest) ToMap() (map[string]interface{}, error)

type StoredValueBalanceMergeResponse

type StoredValueBalanceMergeResponse struct {
	// Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.
	AuthCode       *string `json:"authCode,omitempty"`
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueBalanceMergeResponse struct for StoredValueBalanceMergeResponse

func NewStoredValueBalanceMergeResponse

func NewStoredValueBalanceMergeResponse() *StoredValueBalanceMergeResponse

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

func NewStoredValueBalanceMergeResponseWithDefaults

func NewStoredValueBalanceMergeResponseWithDefaults() *StoredValueBalanceMergeResponse

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

func (*StoredValueBalanceMergeResponse) GetAuthCode

func (o *StoredValueBalanceMergeResponse) GetAuthCode() string

GetAuthCode returns the AuthCode field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetAuthCodeOk

func (o *StoredValueBalanceMergeResponse) GetAuthCodeOk() (*string, bool)

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

func (*StoredValueBalanceMergeResponse) GetCurrentBalance

func (o *StoredValueBalanceMergeResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetCurrentBalanceOk

func (o *StoredValueBalanceMergeResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueBalanceMergeResponse) GetPspReference

func (o *StoredValueBalanceMergeResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetPspReferenceOk

func (o *StoredValueBalanceMergeResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueBalanceMergeResponse) GetRefusalReason

func (o *StoredValueBalanceMergeResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetRefusalReasonOk

func (o *StoredValueBalanceMergeResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueBalanceMergeResponse) GetResultCode

func (o *StoredValueBalanceMergeResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetResultCodeOk

func (o *StoredValueBalanceMergeResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueBalanceMergeResponse) GetThirdPartyRefusalReason

func (o *StoredValueBalanceMergeResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueBalanceMergeResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueBalanceMergeResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueBalanceMergeResponse) HasAuthCode

func (o *StoredValueBalanceMergeResponse) HasAuthCode() bool

HasAuthCode returns a boolean if a field has been set.

func (*StoredValueBalanceMergeResponse) HasCurrentBalance

func (o *StoredValueBalanceMergeResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueBalanceMergeResponse) HasPspReference

func (o *StoredValueBalanceMergeResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueBalanceMergeResponse) HasRefusalReason

func (o *StoredValueBalanceMergeResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueBalanceMergeResponse) HasResultCode

func (o *StoredValueBalanceMergeResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueBalanceMergeResponse) HasThirdPartyRefusalReason

func (o *StoredValueBalanceMergeResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueBalanceMergeResponse) MarshalJSON

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

func (*StoredValueBalanceMergeResponse) SetAuthCode

func (o *StoredValueBalanceMergeResponse) SetAuthCode(v string)

SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.

func (*StoredValueBalanceMergeResponse) SetCurrentBalance

func (o *StoredValueBalanceMergeResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueBalanceMergeResponse) SetPspReference

func (o *StoredValueBalanceMergeResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueBalanceMergeResponse) SetRefusalReason

func (o *StoredValueBalanceMergeResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueBalanceMergeResponse) SetResultCode

func (o *StoredValueBalanceMergeResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueBalanceMergeResponse) SetThirdPartyRefusalReason

func (o *StoredValueBalanceMergeResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueBalanceMergeResponse) ToMap

func (o StoredValueBalanceMergeResponse) ToMap() (map[string]interface{}, error)

type StoredValueIssueRequest

type StoredValueIssueRequest struct {
	Amount *Amount `json:"amount,omitempty"`
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod            map[string]string `json:"paymentMethod"`
	RecurringDetailReference *string           `json:"recurringDetailReference,omitempty"`
	// The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.
	Reference string `json:"reference"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	ShopperReference   *string `json:"shopperReference,omitempty"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
}

StoredValueIssueRequest struct for StoredValueIssueRequest

func NewStoredValueIssueRequest

func NewStoredValueIssueRequest(merchantAccount string, paymentMethod map[string]string, reference string) *StoredValueIssueRequest

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

func NewStoredValueIssueRequestWithDefaults

func NewStoredValueIssueRequestWithDefaults() *StoredValueIssueRequest

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

func (*StoredValueIssueRequest) GetAmount

func (o *StoredValueIssueRequest) GetAmount() Amount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*StoredValueIssueRequest) GetAmountOk

func (o *StoredValueIssueRequest) GetAmountOk() (*Amount, 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 (*StoredValueIssueRequest) GetMerchantAccount

func (o *StoredValueIssueRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueIssueRequest) GetMerchantAccountOk

func (o *StoredValueIssueRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueIssueRequest) GetPaymentMethod

func (o *StoredValueIssueRequest) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value

func (*StoredValueIssueRequest) GetPaymentMethodOk

func (o *StoredValueIssueRequest) GetPaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueIssueRequest) GetRecurringDetailReference

func (o *StoredValueIssueRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*StoredValueIssueRequest) GetRecurringDetailReferenceOk

func (o *StoredValueIssueRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*StoredValueIssueRequest) GetReference

func (o *StoredValueIssueRequest) GetReference() string

GetReference returns the Reference field value

func (*StoredValueIssueRequest) GetReferenceOk

func (o *StoredValueIssueRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueIssueRequest) GetShopperInteraction

func (o *StoredValueIssueRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*StoredValueIssueRequest) GetShopperInteractionOk

func (o *StoredValueIssueRequest) GetShopperInteractionOk() (*string, bool)

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

func (*StoredValueIssueRequest) GetShopperReference

func (o *StoredValueIssueRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*StoredValueIssueRequest) GetShopperReferenceOk

func (o *StoredValueIssueRequest) GetShopperReferenceOk() (*string, bool)

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

func (*StoredValueIssueRequest) GetStore

func (o *StoredValueIssueRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueIssueRequest) GetStoreOk

func (o *StoredValueIssueRequest) GetStoreOk() (*string, 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 (*StoredValueIssueRequest) HasAmount

func (o *StoredValueIssueRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*StoredValueIssueRequest) HasRecurringDetailReference

func (o *StoredValueIssueRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*StoredValueIssueRequest) HasShopperInteraction

func (o *StoredValueIssueRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*StoredValueIssueRequest) HasShopperReference

func (o *StoredValueIssueRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (*StoredValueIssueRequest) HasStore

func (o *StoredValueIssueRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (StoredValueIssueRequest) MarshalJSON

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

func (*StoredValueIssueRequest) SetAmount

func (o *StoredValueIssueRequest) SetAmount(v Amount)

SetAmount gets a reference to the given Amount and assigns it to the Amount field.

func (*StoredValueIssueRequest) SetMerchantAccount

func (o *StoredValueIssueRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueIssueRequest) SetPaymentMethod

func (o *StoredValueIssueRequest) SetPaymentMethod(v map[string]string)

SetPaymentMethod sets field value

func (*StoredValueIssueRequest) SetRecurringDetailReference

func (o *StoredValueIssueRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*StoredValueIssueRequest) SetReference

func (o *StoredValueIssueRequest) SetReference(v string)

SetReference sets field value

func (*StoredValueIssueRequest) SetShopperInteraction

func (o *StoredValueIssueRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*StoredValueIssueRequest) SetShopperReference

func (o *StoredValueIssueRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (*StoredValueIssueRequest) SetStore

func (o *StoredValueIssueRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (StoredValueIssueRequest) ToMap

func (o StoredValueIssueRequest) ToMap() (map[string]interface{}, error)

type StoredValueIssueResponse

type StoredValueIssueResponse struct {
	// Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.
	AuthCode       *string `json:"authCode,omitempty"`
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod *map[string]string `json:"paymentMethod,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueIssueResponse struct for StoredValueIssueResponse

func NewStoredValueIssueResponse

func NewStoredValueIssueResponse() *StoredValueIssueResponse

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

func NewStoredValueIssueResponseWithDefaults

func NewStoredValueIssueResponseWithDefaults() *StoredValueIssueResponse

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

func (*StoredValueIssueResponse) GetAuthCode

func (o *StoredValueIssueResponse) GetAuthCode() string

GetAuthCode returns the AuthCode field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetAuthCodeOk

func (o *StoredValueIssueResponse) GetAuthCodeOk() (*string, bool)

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

func (*StoredValueIssueResponse) GetCurrentBalance

func (o *StoredValueIssueResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetCurrentBalanceOk

func (o *StoredValueIssueResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueIssueResponse) GetPaymentMethod

func (o *StoredValueIssueResponse) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetPaymentMethodOk

func (o *StoredValueIssueResponse) GetPaymentMethodOk() (*map[string]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 (*StoredValueIssueResponse) GetPspReference

func (o *StoredValueIssueResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetPspReferenceOk

func (o *StoredValueIssueResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueIssueResponse) GetRefusalReason

func (o *StoredValueIssueResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetRefusalReasonOk

func (o *StoredValueIssueResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueIssueResponse) GetResultCode

func (o *StoredValueIssueResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetResultCodeOk

func (o *StoredValueIssueResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueIssueResponse) GetThirdPartyRefusalReason

func (o *StoredValueIssueResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueIssueResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueIssueResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueIssueResponse) HasAuthCode

func (o *StoredValueIssueResponse) HasAuthCode() bool

HasAuthCode returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasCurrentBalance

func (o *StoredValueIssueResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasPaymentMethod

func (o *StoredValueIssueResponse) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasPspReference

func (o *StoredValueIssueResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasRefusalReason

func (o *StoredValueIssueResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasResultCode

func (o *StoredValueIssueResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueIssueResponse) HasThirdPartyRefusalReason

func (o *StoredValueIssueResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueIssueResponse) MarshalJSON

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

func (*StoredValueIssueResponse) SetAuthCode

func (o *StoredValueIssueResponse) SetAuthCode(v string)

SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.

func (*StoredValueIssueResponse) SetCurrentBalance

func (o *StoredValueIssueResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueIssueResponse) SetPaymentMethod

func (o *StoredValueIssueResponse) SetPaymentMethod(v map[string]string)

SetPaymentMethod gets a reference to the given map[string]string and assigns it to the PaymentMethod field.

func (*StoredValueIssueResponse) SetPspReference

func (o *StoredValueIssueResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueIssueResponse) SetRefusalReason

func (o *StoredValueIssueResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueIssueResponse) SetResultCode

func (o *StoredValueIssueResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueIssueResponse) SetThirdPartyRefusalReason

func (o *StoredValueIssueResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueIssueResponse) ToMap

func (o StoredValueIssueResponse) ToMap() (map[string]interface{}, error)

type StoredValueLoadRequest

type StoredValueLoadRequest struct {
	Amount Amount `json:"amount"`
	// The type of load you are trying to do, when absent we default to 'Load'
	LoadType *string `json:"loadType,omitempty"`
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod            map[string]string `json:"paymentMethod"`
	RecurringDetailReference *string           `json:"recurringDetailReference,omitempty"`
	// The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.
	Reference string `json:"reference"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	ShopperReference   *string `json:"shopperReference,omitempty"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
}

StoredValueLoadRequest struct for StoredValueLoadRequest

func NewStoredValueLoadRequest

func NewStoredValueLoadRequest(amount Amount, merchantAccount string, paymentMethod map[string]string, reference string) *StoredValueLoadRequest

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

func NewStoredValueLoadRequestWithDefaults

func NewStoredValueLoadRequestWithDefaults() *StoredValueLoadRequest

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

func (*StoredValueLoadRequest) GetAmount

func (o *StoredValueLoadRequest) GetAmount() Amount

GetAmount returns the Amount field value

func (*StoredValueLoadRequest) GetAmountOk

func (o *StoredValueLoadRequest) GetAmountOk() (*Amount, bool)

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

func (*StoredValueLoadRequest) GetLoadType

func (o *StoredValueLoadRequest) GetLoadType() string

GetLoadType returns the LoadType field value if set, zero value otherwise.

func (*StoredValueLoadRequest) GetLoadTypeOk

func (o *StoredValueLoadRequest) GetLoadTypeOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetMerchantAccount

func (o *StoredValueLoadRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueLoadRequest) GetMerchantAccountOk

func (o *StoredValueLoadRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetPaymentMethod

func (o *StoredValueLoadRequest) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value

func (*StoredValueLoadRequest) GetPaymentMethodOk

func (o *StoredValueLoadRequest) GetPaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueLoadRequest) GetRecurringDetailReference

func (o *StoredValueLoadRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*StoredValueLoadRequest) GetRecurringDetailReferenceOk

func (o *StoredValueLoadRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetReference

func (o *StoredValueLoadRequest) GetReference() string

GetReference returns the Reference field value

func (*StoredValueLoadRequest) GetReferenceOk

func (o *StoredValueLoadRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetShopperInteraction

func (o *StoredValueLoadRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*StoredValueLoadRequest) GetShopperInteractionOk

func (o *StoredValueLoadRequest) GetShopperInteractionOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetShopperReference

func (o *StoredValueLoadRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*StoredValueLoadRequest) GetShopperReferenceOk

func (o *StoredValueLoadRequest) GetShopperReferenceOk() (*string, bool)

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

func (*StoredValueLoadRequest) GetStore

func (o *StoredValueLoadRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueLoadRequest) GetStoreOk

func (o *StoredValueLoadRequest) GetStoreOk() (*string, 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 (*StoredValueLoadRequest) HasLoadType

func (o *StoredValueLoadRequest) HasLoadType() bool

HasLoadType returns a boolean if a field has been set.

func (*StoredValueLoadRequest) HasRecurringDetailReference

func (o *StoredValueLoadRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*StoredValueLoadRequest) HasShopperInteraction

func (o *StoredValueLoadRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*StoredValueLoadRequest) HasShopperReference

func (o *StoredValueLoadRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (*StoredValueLoadRequest) HasStore

func (o *StoredValueLoadRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (StoredValueLoadRequest) MarshalJSON

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

func (*StoredValueLoadRequest) SetAmount

func (o *StoredValueLoadRequest) SetAmount(v Amount)

SetAmount sets field value

func (*StoredValueLoadRequest) SetLoadType

func (o *StoredValueLoadRequest) SetLoadType(v string)

SetLoadType gets a reference to the given string and assigns it to the LoadType field.

func (*StoredValueLoadRequest) SetMerchantAccount

func (o *StoredValueLoadRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueLoadRequest) SetPaymentMethod

func (o *StoredValueLoadRequest) SetPaymentMethod(v map[string]string)

SetPaymentMethod sets field value

func (*StoredValueLoadRequest) SetRecurringDetailReference

func (o *StoredValueLoadRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*StoredValueLoadRequest) SetReference

func (o *StoredValueLoadRequest) SetReference(v string)

SetReference sets field value

func (*StoredValueLoadRequest) SetShopperInteraction

func (o *StoredValueLoadRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*StoredValueLoadRequest) SetShopperReference

func (o *StoredValueLoadRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (*StoredValueLoadRequest) SetStore

func (o *StoredValueLoadRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (StoredValueLoadRequest) ToMap

func (o StoredValueLoadRequest) ToMap() (map[string]interface{}, error)

type StoredValueLoadResponse

type StoredValueLoadResponse struct {
	// Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.
	AuthCode       *string `json:"authCode,omitempty"`
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueLoadResponse struct for StoredValueLoadResponse

func NewStoredValueLoadResponse

func NewStoredValueLoadResponse() *StoredValueLoadResponse

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

func NewStoredValueLoadResponseWithDefaults

func NewStoredValueLoadResponseWithDefaults() *StoredValueLoadResponse

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

func (*StoredValueLoadResponse) GetAuthCode

func (o *StoredValueLoadResponse) GetAuthCode() string

GetAuthCode returns the AuthCode field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetAuthCodeOk

func (o *StoredValueLoadResponse) GetAuthCodeOk() (*string, bool)

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

func (*StoredValueLoadResponse) GetCurrentBalance

func (o *StoredValueLoadResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetCurrentBalanceOk

func (o *StoredValueLoadResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueLoadResponse) GetPspReference

func (o *StoredValueLoadResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetPspReferenceOk

func (o *StoredValueLoadResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueLoadResponse) GetRefusalReason

func (o *StoredValueLoadResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetRefusalReasonOk

func (o *StoredValueLoadResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueLoadResponse) GetResultCode

func (o *StoredValueLoadResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetResultCodeOk

func (o *StoredValueLoadResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueLoadResponse) GetThirdPartyRefusalReason

func (o *StoredValueLoadResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueLoadResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueLoadResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueLoadResponse) HasAuthCode

func (o *StoredValueLoadResponse) HasAuthCode() bool

HasAuthCode returns a boolean if a field has been set.

func (*StoredValueLoadResponse) HasCurrentBalance

func (o *StoredValueLoadResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueLoadResponse) HasPspReference

func (o *StoredValueLoadResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueLoadResponse) HasRefusalReason

func (o *StoredValueLoadResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueLoadResponse) HasResultCode

func (o *StoredValueLoadResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueLoadResponse) HasThirdPartyRefusalReason

func (o *StoredValueLoadResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueLoadResponse) MarshalJSON

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

func (*StoredValueLoadResponse) SetAuthCode

func (o *StoredValueLoadResponse) SetAuthCode(v string)

SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.

func (*StoredValueLoadResponse) SetCurrentBalance

func (o *StoredValueLoadResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueLoadResponse) SetPspReference

func (o *StoredValueLoadResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueLoadResponse) SetRefusalReason

func (o *StoredValueLoadResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueLoadResponse) SetResultCode

func (o *StoredValueLoadResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueLoadResponse) SetThirdPartyRefusalReason

func (o *StoredValueLoadResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueLoadResponse) ToMap

func (o StoredValueLoadResponse) ToMap() (map[string]interface{}, error)

type StoredValueStatusChangeRequest

type StoredValueStatusChangeRequest struct {
	Amount *Amount `json:"amount,omitempty"`
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The collection that contains the type of the payment method and its specific information if available
	PaymentMethod            map[string]string `json:"paymentMethod"`
	RecurringDetailReference *string           `json:"recurringDetailReference,omitempty"`
	// The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.
	Reference string `json:"reference"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	ShopperReference   *string `json:"shopperReference,omitempty"`
	// The status you want to change to
	Status string `json:"status"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
}

StoredValueStatusChangeRequest struct for StoredValueStatusChangeRequest

func NewStoredValueStatusChangeRequest

func NewStoredValueStatusChangeRequest(merchantAccount string, paymentMethod map[string]string, reference string, status string) *StoredValueStatusChangeRequest

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

func NewStoredValueStatusChangeRequestWithDefaults

func NewStoredValueStatusChangeRequestWithDefaults() *StoredValueStatusChangeRequest

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

func (*StoredValueStatusChangeRequest) GetAmount

func (o *StoredValueStatusChangeRequest) GetAmount() Amount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*StoredValueStatusChangeRequest) GetAmountOk

func (o *StoredValueStatusChangeRequest) GetAmountOk() (*Amount, 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 (*StoredValueStatusChangeRequest) GetMerchantAccount

func (o *StoredValueStatusChangeRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueStatusChangeRequest) GetMerchantAccountOk

func (o *StoredValueStatusChangeRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetPaymentMethod

func (o *StoredValueStatusChangeRequest) GetPaymentMethod() map[string]string

GetPaymentMethod returns the PaymentMethod field value

func (*StoredValueStatusChangeRequest) GetPaymentMethodOk

func (o *StoredValueStatusChangeRequest) GetPaymentMethodOk() (*map[string]string, bool)

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

func (*StoredValueStatusChangeRequest) GetRecurringDetailReference

func (o *StoredValueStatusChangeRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*StoredValueStatusChangeRequest) GetRecurringDetailReferenceOk

func (o *StoredValueStatusChangeRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetReference

func (o *StoredValueStatusChangeRequest) GetReference() string

GetReference returns the Reference field value

func (*StoredValueStatusChangeRequest) GetReferenceOk

func (o *StoredValueStatusChangeRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetShopperInteraction

func (o *StoredValueStatusChangeRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*StoredValueStatusChangeRequest) GetShopperInteractionOk

func (o *StoredValueStatusChangeRequest) GetShopperInteractionOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetShopperReference

func (o *StoredValueStatusChangeRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*StoredValueStatusChangeRequest) GetShopperReferenceOk

func (o *StoredValueStatusChangeRequest) GetShopperReferenceOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetStatus

func (o *StoredValueStatusChangeRequest) GetStatus() string

GetStatus returns the Status field value

func (*StoredValueStatusChangeRequest) GetStatusOk

func (o *StoredValueStatusChangeRequest) GetStatusOk() (*string, bool)

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

func (*StoredValueStatusChangeRequest) GetStore

func (o *StoredValueStatusChangeRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueStatusChangeRequest) GetStoreOk

func (o *StoredValueStatusChangeRequest) GetStoreOk() (*string, 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 (*StoredValueStatusChangeRequest) HasAmount

func (o *StoredValueStatusChangeRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*StoredValueStatusChangeRequest) HasRecurringDetailReference

func (o *StoredValueStatusChangeRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*StoredValueStatusChangeRequest) HasShopperInteraction

func (o *StoredValueStatusChangeRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*StoredValueStatusChangeRequest) HasShopperReference

func (o *StoredValueStatusChangeRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (*StoredValueStatusChangeRequest) HasStore

func (o *StoredValueStatusChangeRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (StoredValueStatusChangeRequest) MarshalJSON

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

func (*StoredValueStatusChangeRequest) SetAmount

func (o *StoredValueStatusChangeRequest) SetAmount(v Amount)

SetAmount gets a reference to the given Amount and assigns it to the Amount field.

func (*StoredValueStatusChangeRequest) SetMerchantAccount

func (o *StoredValueStatusChangeRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueStatusChangeRequest) SetPaymentMethod

func (o *StoredValueStatusChangeRequest) SetPaymentMethod(v map[string]string)

SetPaymentMethod sets field value

func (*StoredValueStatusChangeRequest) SetRecurringDetailReference

func (o *StoredValueStatusChangeRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*StoredValueStatusChangeRequest) SetReference

func (o *StoredValueStatusChangeRequest) SetReference(v string)

SetReference sets field value

func (*StoredValueStatusChangeRequest) SetShopperInteraction

func (o *StoredValueStatusChangeRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*StoredValueStatusChangeRequest) SetShopperReference

func (o *StoredValueStatusChangeRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (*StoredValueStatusChangeRequest) SetStatus

func (o *StoredValueStatusChangeRequest) SetStatus(v string)

SetStatus sets field value

func (*StoredValueStatusChangeRequest) SetStore

func (o *StoredValueStatusChangeRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (StoredValueStatusChangeRequest) ToMap

func (o StoredValueStatusChangeRequest) ToMap() (map[string]interface{}, error)

type StoredValueStatusChangeResponse

type StoredValueStatusChangeResponse struct {
	// Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.
	AuthCode       *string `json:"authCode,omitempty"`
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueStatusChangeResponse struct for StoredValueStatusChangeResponse

func NewStoredValueStatusChangeResponse

func NewStoredValueStatusChangeResponse() *StoredValueStatusChangeResponse

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

func NewStoredValueStatusChangeResponseWithDefaults

func NewStoredValueStatusChangeResponseWithDefaults() *StoredValueStatusChangeResponse

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

func (*StoredValueStatusChangeResponse) GetAuthCode

func (o *StoredValueStatusChangeResponse) GetAuthCode() string

GetAuthCode returns the AuthCode field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetAuthCodeOk

func (o *StoredValueStatusChangeResponse) GetAuthCodeOk() (*string, bool)

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

func (*StoredValueStatusChangeResponse) GetCurrentBalance

func (o *StoredValueStatusChangeResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetCurrentBalanceOk

func (o *StoredValueStatusChangeResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueStatusChangeResponse) GetPspReference

func (o *StoredValueStatusChangeResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetPspReferenceOk

func (o *StoredValueStatusChangeResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueStatusChangeResponse) GetRefusalReason

func (o *StoredValueStatusChangeResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetRefusalReasonOk

func (o *StoredValueStatusChangeResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueStatusChangeResponse) GetResultCode

func (o *StoredValueStatusChangeResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetResultCodeOk

func (o *StoredValueStatusChangeResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueStatusChangeResponse) GetThirdPartyRefusalReason

func (o *StoredValueStatusChangeResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueStatusChangeResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueStatusChangeResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueStatusChangeResponse) HasAuthCode

func (o *StoredValueStatusChangeResponse) HasAuthCode() bool

HasAuthCode returns a boolean if a field has been set.

func (*StoredValueStatusChangeResponse) HasCurrentBalance

func (o *StoredValueStatusChangeResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueStatusChangeResponse) HasPspReference

func (o *StoredValueStatusChangeResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueStatusChangeResponse) HasRefusalReason

func (o *StoredValueStatusChangeResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueStatusChangeResponse) HasResultCode

func (o *StoredValueStatusChangeResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueStatusChangeResponse) HasThirdPartyRefusalReason

func (o *StoredValueStatusChangeResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueStatusChangeResponse) MarshalJSON

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

func (*StoredValueStatusChangeResponse) SetAuthCode

func (o *StoredValueStatusChangeResponse) SetAuthCode(v string)

SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.

func (*StoredValueStatusChangeResponse) SetCurrentBalance

func (o *StoredValueStatusChangeResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueStatusChangeResponse) SetPspReference

func (o *StoredValueStatusChangeResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueStatusChangeResponse) SetRefusalReason

func (o *StoredValueStatusChangeResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueStatusChangeResponse) SetResultCode

func (o *StoredValueStatusChangeResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueStatusChangeResponse) SetThirdPartyRefusalReason

func (o *StoredValueStatusChangeResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueStatusChangeResponse) ToMap

func (o StoredValueStatusChangeResponse) ToMap() (map[string]interface{}, error)

type StoredValueVoidRequest

type StoredValueVoidRequest struct {
	// The merchant account identifier, with which you want to process the transaction.
	MerchantAccount string `json:"merchantAccount"`
	// The original pspReference of the payment to modify.
	OriginalReference string `json:"originalReference"`
	// Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.
	Reference *string `json:"reference,omitempty"`
	// The physical store, for which this payment is processed.
	Store *string `json:"store,omitempty"`
	// The reference of the tender.
	TenderReference *string `json:"tenderReference,omitempty"`
	// The unique ID of a POS terminal.
	UniqueTerminalId *string `json:"uniqueTerminalId,omitempty"`
}

StoredValueVoidRequest struct for StoredValueVoidRequest

func NewStoredValueVoidRequest

func NewStoredValueVoidRequest(merchantAccount string, originalReference string) *StoredValueVoidRequest

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

func NewStoredValueVoidRequestWithDefaults

func NewStoredValueVoidRequestWithDefaults() *StoredValueVoidRequest

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

func (*StoredValueVoidRequest) GetMerchantAccount

func (o *StoredValueVoidRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*StoredValueVoidRequest) GetMerchantAccountOk

func (o *StoredValueVoidRequest) GetMerchantAccountOk() (*string, bool)

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

func (*StoredValueVoidRequest) GetOriginalReference

func (o *StoredValueVoidRequest) GetOriginalReference() string

GetOriginalReference returns the OriginalReference field value

func (*StoredValueVoidRequest) GetOriginalReferenceOk

func (o *StoredValueVoidRequest) GetOriginalReferenceOk() (*string, bool)

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

func (*StoredValueVoidRequest) GetReference

func (o *StoredValueVoidRequest) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*StoredValueVoidRequest) GetReferenceOk

func (o *StoredValueVoidRequest) GetReferenceOk() (*string, bool)

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

func (*StoredValueVoidRequest) GetStore

func (o *StoredValueVoidRequest) GetStore() string

GetStore returns the Store field value if set, zero value otherwise.

func (*StoredValueVoidRequest) GetStoreOk

func (o *StoredValueVoidRequest) GetStoreOk() (*string, 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 (*StoredValueVoidRequest) GetTenderReference

func (o *StoredValueVoidRequest) GetTenderReference() string

GetTenderReference returns the TenderReference field value if set, zero value otherwise.

func (*StoredValueVoidRequest) GetTenderReferenceOk

func (o *StoredValueVoidRequest) GetTenderReferenceOk() (*string, bool)

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

func (*StoredValueVoidRequest) GetUniqueTerminalId

func (o *StoredValueVoidRequest) GetUniqueTerminalId() string

GetUniqueTerminalId returns the UniqueTerminalId field value if set, zero value otherwise.

func (*StoredValueVoidRequest) GetUniqueTerminalIdOk

func (o *StoredValueVoidRequest) GetUniqueTerminalIdOk() (*string, bool)

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

func (*StoredValueVoidRequest) HasReference

func (o *StoredValueVoidRequest) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*StoredValueVoidRequest) HasStore

func (o *StoredValueVoidRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*StoredValueVoidRequest) HasTenderReference

func (o *StoredValueVoidRequest) HasTenderReference() bool

HasTenderReference returns a boolean if a field has been set.

func (*StoredValueVoidRequest) HasUniqueTerminalId

func (o *StoredValueVoidRequest) HasUniqueTerminalId() bool

HasUniqueTerminalId returns a boolean if a field has been set.

func (StoredValueVoidRequest) MarshalJSON

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

func (*StoredValueVoidRequest) SetMerchantAccount

func (o *StoredValueVoidRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*StoredValueVoidRequest) SetOriginalReference

func (o *StoredValueVoidRequest) SetOriginalReference(v string)

SetOriginalReference sets field value

func (*StoredValueVoidRequest) SetReference

func (o *StoredValueVoidRequest) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*StoredValueVoidRequest) SetStore

func (o *StoredValueVoidRequest) SetStore(v string)

SetStore gets a reference to the given string and assigns it to the Store field.

func (*StoredValueVoidRequest) SetTenderReference

func (o *StoredValueVoidRequest) SetTenderReference(v string)

SetTenderReference gets a reference to the given string and assigns it to the TenderReference field.

func (*StoredValueVoidRequest) SetUniqueTerminalId

func (o *StoredValueVoidRequest) SetUniqueTerminalId(v string)

SetUniqueTerminalId gets a reference to the given string and assigns it to the UniqueTerminalId field.

func (StoredValueVoidRequest) ToMap

func (o StoredValueVoidRequest) ToMap() (map[string]interface{}, error)

type StoredValueVoidResponse

type StoredValueVoidResponse struct {
	CurrentBalance *Amount `json:"currentBalance,omitempty"`
	// Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
	PspReference *string `json:"pspReference,omitempty"`
	// If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.  When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
	RefusalReason *string `json:"refusalReason,omitempty"`
	// The result of the payment. Possible values:  * **Success** – The operation has been completed successfully.  * **Refused** – The operation was refused. The reason is given in the `refusalReason` field.  * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field.  * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
	ResultCode *string `json:"resultCode,omitempty"`
	// Raw refusal reason received from the third party, where available
	ThirdPartyRefusalReason *string `json:"thirdPartyRefusalReason,omitempty"`
}

StoredValueVoidResponse struct for StoredValueVoidResponse

func NewStoredValueVoidResponse

func NewStoredValueVoidResponse() *StoredValueVoidResponse

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

func NewStoredValueVoidResponseWithDefaults

func NewStoredValueVoidResponseWithDefaults() *StoredValueVoidResponse

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

func (*StoredValueVoidResponse) GetCurrentBalance

func (o *StoredValueVoidResponse) GetCurrentBalance() Amount

GetCurrentBalance returns the CurrentBalance field value if set, zero value otherwise.

func (*StoredValueVoidResponse) GetCurrentBalanceOk

func (o *StoredValueVoidResponse) GetCurrentBalanceOk() (*Amount, bool)

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

func (*StoredValueVoidResponse) GetPspReference

func (o *StoredValueVoidResponse) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*StoredValueVoidResponse) GetPspReferenceOk

func (o *StoredValueVoidResponse) GetPspReferenceOk() (*string, bool)

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

func (*StoredValueVoidResponse) GetRefusalReason

func (o *StoredValueVoidResponse) GetRefusalReason() string

GetRefusalReason returns the RefusalReason field value if set, zero value otherwise.

func (*StoredValueVoidResponse) GetRefusalReasonOk

func (o *StoredValueVoidResponse) GetRefusalReasonOk() (*string, bool)

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

func (*StoredValueVoidResponse) GetResultCode

func (o *StoredValueVoidResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StoredValueVoidResponse) GetResultCodeOk

func (o *StoredValueVoidResponse) GetResultCodeOk() (*string, bool)

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

func (*StoredValueVoidResponse) GetThirdPartyRefusalReason

func (o *StoredValueVoidResponse) GetThirdPartyRefusalReason() string

GetThirdPartyRefusalReason returns the ThirdPartyRefusalReason field value if set, zero value otherwise.

func (*StoredValueVoidResponse) GetThirdPartyRefusalReasonOk

func (o *StoredValueVoidResponse) GetThirdPartyRefusalReasonOk() (*string, bool)

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

func (*StoredValueVoidResponse) HasCurrentBalance

func (o *StoredValueVoidResponse) HasCurrentBalance() bool

HasCurrentBalance returns a boolean if a field has been set.

func (*StoredValueVoidResponse) HasPspReference

func (o *StoredValueVoidResponse) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*StoredValueVoidResponse) HasRefusalReason

func (o *StoredValueVoidResponse) HasRefusalReason() bool

HasRefusalReason returns a boolean if a field has been set.

func (*StoredValueVoidResponse) HasResultCode

func (o *StoredValueVoidResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StoredValueVoidResponse) HasThirdPartyRefusalReason

func (o *StoredValueVoidResponse) HasThirdPartyRefusalReason() bool

HasThirdPartyRefusalReason returns a boolean if a field has been set.

func (StoredValueVoidResponse) MarshalJSON

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

func (*StoredValueVoidResponse) SetCurrentBalance

func (o *StoredValueVoidResponse) SetCurrentBalance(v Amount)

SetCurrentBalance gets a reference to the given Amount and assigns it to the CurrentBalance field.

func (*StoredValueVoidResponse) SetPspReference

func (o *StoredValueVoidResponse) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*StoredValueVoidResponse) SetRefusalReason

func (o *StoredValueVoidResponse) SetRefusalReason(v string)

SetRefusalReason gets a reference to the given string and assigns it to the RefusalReason field.

func (*StoredValueVoidResponse) SetResultCode

func (o *StoredValueVoidResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StoredValueVoidResponse) SetThirdPartyRefusalReason

func (o *StoredValueVoidResponse) SetThirdPartyRefusalReason(v string)

SetThirdPartyRefusalReason gets a reference to the given string and assigns it to the ThirdPartyRefusalReason field.

func (StoredValueVoidResponse) ToMap

func (o StoredValueVoidResponse) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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