Documentation
¶
Index ¶
- type Amount
- func (o *Amount) GetCurrency() string
- func (o *Amount) GetCurrencyOk() (*string, bool)
- func (o *Amount) GetValue() int64
- func (o *Amount) GetValueOk() (*int64, bool)
- func (o Amount) MarshalJSON() ([]byte, error)
- func (o *Amount) SetCurrency(v string)
- func (o *Amount) SetValue(v int64)
- func (o Amount) ToMap() (map[string]interface{}, error)
- type GeneralApi
- func (a *GeneralApi) ChangeStatus(ctx context.Context, r GeneralApiChangeStatusInput) (StoredValueStatusChangeResponse, *http.Response, error)
- func (a *GeneralApi) ChangeStatusInput() GeneralApiChangeStatusInput
- func (a *GeneralApi) CheckBalance(ctx context.Context, r GeneralApiCheckBalanceInput) (StoredValueBalanceCheckResponse, *http.Response, error)
- func (a *GeneralApi) CheckBalanceInput() GeneralApiCheckBalanceInput
- func (a *GeneralApi) Issue(ctx context.Context, r GeneralApiIssueInput) (StoredValueIssueResponse, *http.Response, error)
- func (a *GeneralApi) IssueInput() GeneralApiIssueInput
- func (a *GeneralApi) Load(ctx context.Context, r GeneralApiLoadInput) (StoredValueLoadResponse, *http.Response, error)
- func (a *GeneralApi) LoadInput() GeneralApiLoadInput
- func (a *GeneralApi) MergeBalance(ctx context.Context, r GeneralApiMergeBalanceInput) (StoredValueBalanceMergeResponse, *http.Response, error)
- func (a *GeneralApi) MergeBalanceInput() GeneralApiMergeBalanceInput
- func (a *GeneralApi) VoidTransaction(ctx context.Context, r GeneralApiVoidTransactionInput) (StoredValueVoidResponse, *http.Response, error)
- func (a *GeneralApi) VoidTransactionInput() GeneralApiVoidTransactionInput
- type GeneralApiChangeStatusInput
- type GeneralApiCheckBalanceInput
- type GeneralApiIssueInput
- type GeneralApiLoadInput
- type GeneralApiMergeBalanceInput
- type GeneralApiVoidTransactionInput
- type NullableAmount
- type NullableServiceError
- func (v NullableServiceError) Get() *ServiceError
- func (v NullableServiceError) IsSet() bool
- func (v NullableServiceError) MarshalJSON() ([]byte, error)
- func (v *NullableServiceError) Set(val *ServiceError)
- func (v *NullableServiceError) UnmarshalJSON(src []byte) error
- func (v *NullableServiceError) Unset()
- type NullableStoredValueBalanceCheckRequest
- func (v NullableStoredValueBalanceCheckRequest) Get() *StoredValueBalanceCheckRequest
- func (v NullableStoredValueBalanceCheckRequest) IsSet() bool
- func (v NullableStoredValueBalanceCheckRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueBalanceCheckRequest) Set(val *StoredValueBalanceCheckRequest)
- func (v *NullableStoredValueBalanceCheckRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueBalanceCheckRequest) Unset()
- type NullableStoredValueBalanceCheckResponse
- func (v NullableStoredValueBalanceCheckResponse) Get() *StoredValueBalanceCheckResponse
- func (v NullableStoredValueBalanceCheckResponse) IsSet() bool
- func (v NullableStoredValueBalanceCheckResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueBalanceCheckResponse) Set(val *StoredValueBalanceCheckResponse)
- func (v *NullableStoredValueBalanceCheckResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueBalanceCheckResponse) Unset()
- type NullableStoredValueBalanceMergeRequest
- func (v NullableStoredValueBalanceMergeRequest) Get() *StoredValueBalanceMergeRequest
- func (v NullableStoredValueBalanceMergeRequest) IsSet() bool
- func (v NullableStoredValueBalanceMergeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueBalanceMergeRequest) Set(val *StoredValueBalanceMergeRequest)
- func (v *NullableStoredValueBalanceMergeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueBalanceMergeRequest) Unset()
- type NullableStoredValueBalanceMergeResponse
- func (v NullableStoredValueBalanceMergeResponse) Get() *StoredValueBalanceMergeResponse
- func (v NullableStoredValueBalanceMergeResponse) IsSet() bool
- func (v NullableStoredValueBalanceMergeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueBalanceMergeResponse) Set(val *StoredValueBalanceMergeResponse)
- func (v *NullableStoredValueBalanceMergeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueBalanceMergeResponse) Unset()
- type NullableStoredValueIssueRequest
- func (v NullableStoredValueIssueRequest) Get() *StoredValueIssueRequest
- func (v NullableStoredValueIssueRequest) IsSet() bool
- func (v NullableStoredValueIssueRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueIssueRequest) Set(val *StoredValueIssueRequest)
- func (v *NullableStoredValueIssueRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueIssueRequest) Unset()
- type NullableStoredValueIssueResponse
- func (v NullableStoredValueIssueResponse) Get() *StoredValueIssueResponse
- func (v NullableStoredValueIssueResponse) IsSet() bool
- func (v NullableStoredValueIssueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueIssueResponse) Set(val *StoredValueIssueResponse)
- func (v *NullableStoredValueIssueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueIssueResponse) Unset()
- type NullableStoredValueLoadRequest
- func (v NullableStoredValueLoadRequest) Get() *StoredValueLoadRequest
- func (v NullableStoredValueLoadRequest) IsSet() bool
- func (v NullableStoredValueLoadRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueLoadRequest) Set(val *StoredValueLoadRequest)
- func (v *NullableStoredValueLoadRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueLoadRequest) Unset()
- type NullableStoredValueLoadResponse
- func (v NullableStoredValueLoadResponse) Get() *StoredValueLoadResponse
- func (v NullableStoredValueLoadResponse) IsSet() bool
- func (v NullableStoredValueLoadResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueLoadResponse) Set(val *StoredValueLoadResponse)
- func (v *NullableStoredValueLoadResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueLoadResponse) Unset()
- type NullableStoredValueStatusChangeRequest
- func (v NullableStoredValueStatusChangeRequest) Get() *StoredValueStatusChangeRequest
- func (v NullableStoredValueStatusChangeRequest) IsSet() bool
- func (v NullableStoredValueStatusChangeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueStatusChangeRequest) Set(val *StoredValueStatusChangeRequest)
- func (v *NullableStoredValueStatusChangeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueStatusChangeRequest) Unset()
- type NullableStoredValueStatusChangeResponse
- func (v NullableStoredValueStatusChangeResponse) Get() *StoredValueStatusChangeResponse
- func (v NullableStoredValueStatusChangeResponse) IsSet() bool
- func (v NullableStoredValueStatusChangeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueStatusChangeResponse) Set(val *StoredValueStatusChangeResponse)
- func (v *NullableStoredValueStatusChangeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueStatusChangeResponse) Unset()
- type NullableStoredValueVoidRequest
- func (v NullableStoredValueVoidRequest) Get() *StoredValueVoidRequest
- func (v NullableStoredValueVoidRequest) IsSet() bool
- func (v NullableStoredValueVoidRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueVoidRequest) Set(val *StoredValueVoidRequest)
- func (v *NullableStoredValueVoidRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueVoidRequest) Unset()
- type NullableStoredValueVoidResponse
- func (v NullableStoredValueVoidResponse) Get() *StoredValueVoidResponse
- func (v NullableStoredValueVoidResponse) IsSet() bool
- func (v NullableStoredValueVoidResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoredValueVoidResponse) Set(val *StoredValueVoidResponse)
- func (v *NullableStoredValueVoidResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoredValueVoidResponse) Unset()
- type ServiceError
- func (o *ServiceError) GetAdditionalData() map[string]string
- func (o *ServiceError) GetAdditionalDataOk() (*map[string]string, bool)
- func (o *ServiceError) GetErrorCode() string
- func (o *ServiceError) GetErrorCodeOk() (*string, bool)
- func (o *ServiceError) GetErrorType() string
- func (o *ServiceError) GetErrorTypeOk() (*string, bool)
- func (o *ServiceError) GetMessage() string
- func (o *ServiceError) GetMessageOk() (*string, bool)
- func (o *ServiceError) GetPspReference() string
- func (o *ServiceError) GetPspReferenceOk() (*string, bool)
- func (o *ServiceError) GetStatus() int32
- func (o *ServiceError) GetStatusOk() (*int32, bool)
- func (o *ServiceError) HasAdditionalData() bool
- func (o *ServiceError) HasErrorCode() bool
- func (o *ServiceError) HasErrorType() bool
- func (o *ServiceError) HasMessage() bool
- func (o *ServiceError) HasPspReference() bool
- func (o *ServiceError) HasStatus() bool
- func (o ServiceError) MarshalJSON() ([]byte, error)
- func (o *ServiceError) SetAdditionalData(v map[string]string)
- func (o *ServiceError) SetErrorCode(v string)
- func (o *ServiceError) SetErrorType(v string)
- func (o *ServiceError) SetMessage(v string)
- func (o *ServiceError) SetPspReference(v string)
- func (o *ServiceError) SetStatus(v int32)
- func (o ServiceError) ToMap() (map[string]interface{}, error)
- type StoredValueBalanceCheckRequest
- func (o *StoredValueBalanceCheckRequest) GetAmount() Amount
- func (o *StoredValueBalanceCheckRequest) GetAmountOk() (*Amount, bool)
- func (o *StoredValueBalanceCheckRequest) GetMerchantAccount() string
- func (o *StoredValueBalanceCheckRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) GetPaymentMethod() map[string]string
- func (o *StoredValueBalanceCheckRequest) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueBalanceCheckRequest) GetRecurringDetailReference() string
- func (o *StoredValueBalanceCheckRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) GetReference() string
- func (o *StoredValueBalanceCheckRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) GetShopperInteraction() string
- func (o *StoredValueBalanceCheckRequest) GetShopperInteractionOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) GetShopperReference() string
- func (o *StoredValueBalanceCheckRequest) GetShopperReferenceOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) GetStore() string
- func (o *StoredValueBalanceCheckRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueBalanceCheckRequest) HasAmount() bool
- func (o *StoredValueBalanceCheckRequest) HasRecurringDetailReference() bool
- func (o *StoredValueBalanceCheckRequest) HasShopperInteraction() bool
- func (o *StoredValueBalanceCheckRequest) HasShopperReference() bool
- func (o *StoredValueBalanceCheckRequest) HasStore() bool
- func (o StoredValueBalanceCheckRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueBalanceCheckRequest) SetAmount(v Amount)
- func (o *StoredValueBalanceCheckRequest) SetMerchantAccount(v string)
- func (o *StoredValueBalanceCheckRequest) SetPaymentMethod(v map[string]string)
- func (o *StoredValueBalanceCheckRequest) SetRecurringDetailReference(v string)
- func (o *StoredValueBalanceCheckRequest) SetReference(v string)
- func (o *StoredValueBalanceCheckRequest) SetShopperInteraction(v string)
- func (o *StoredValueBalanceCheckRequest) SetShopperReference(v string)
- func (o *StoredValueBalanceCheckRequest) SetStore(v string)
- func (o StoredValueBalanceCheckRequest) ToMap() (map[string]interface{}, error)
- type StoredValueBalanceCheckResponse
- func (o *StoredValueBalanceCheckResponse) GetCurrentBalance() Amount
- func (o *StoredValueBalanceCheckResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueBalanceCheckResponse) GetPspReference() string
- func (o *StoredValueBalanceCheckResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueBalanceCheckResponse) GetRefusalReason() string
- func (o *StoredValueBalanceCheckResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueBalanceCheckResponse) GetResultCode() string
- func (o *StoredValueBalanceCheckResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueBalanceCheckResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueBalanceCheckResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueBalanceCheckResponse) HasCurrentBalance() bool
- func (o *StoredValueBalanceCheckResponse) HasPspReference() bool
- func (o *StoredValueBalanceCheckResponse) HasRefusalReason() bool
- func (o *StoredValueBalanceCheckResponse) HasResultCode() bool
- func (o *StoredValueBalanceCheckResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueBalanceCheckResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueBalanceCheckResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueBalanceCheckResponse) SetPspReference(v string)
- func (o *StoredValueBalanceCheckResponse) SetRefusalReason(v string)
- func (o *StoredValueBalanceCheckResponse) SetResultCode(v string)
- func (o *StoredValueBalanceCheckResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueBalanceCheckResponse) ToMap() (map[string]interface{}, error)
- type StoredValueBalanceMergeRequest
- func (o *StoredValueBalanceMergeRequest) GetAmount() Amount
- func (o *StoredValueBalanceMergeRequest) GetAmountOk() (*Amount, bool)
- func (o *StoredValueBalanceMergeRequest) GetMerchantAccount() string
- func (o *StoredValueBalanceMergeRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) GetPaymentMethod() map[string]string
- func (o *StoredValueBalanceMergeRequest) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueBalanceMergeRequest) GetRecurringDetailReference() string
- func (o *StoredValueBalanceMergeRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) GetReference() string
- func (o *StoredValueBalanceMergeRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) GetShopperInteraction() string
- func (o *StoredValueBalanceMergeRequest) GetShopperInteractionOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) GetShopperReference() string
- func (o *StoredValueBalanceMergeRequest) GetShopperReferenceOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) GetSourcePaymentMethod() map[string]string
- func (o *StoredValueBalanceMergeRequest) GetSourcePaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueBalanceMergeRequest) GetStore() string
- func (o *StoredValueBalanceMergeRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueBalanceMergeRequest) HasAmount() bool
- func (o *StoredValueBalanceMergeRequest) HasRecurringDetailReference() bool
- func (o *StoredValueBalanceMergeRequest) HasShopperInteraction() bool
- func (o *StoredValueBalanceMergeRequest) HasShopperReference() bool
- func (o *StoredValueBalanceMergeRequest) HasStore() bool
- func (o StoredValueBalanceMergeRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueBalanceMergeRequest) SetAmount(v Amount)
- func (o *StoredValueBalanceMergeRequest) SetMerchantAccount(v string)
- func (o *StoredValueBalanceMergeRequest) SetPaymentMethod(v map[string]string)
- func (o *StoredValueBalanceMergeRequest) SetRecurringDetailReference(v string)
- func (o *StoredValueBalanceMergeRequest) SetReference(v string)
- func (o *StoredValueBalanceMergeRequest) SetShopperInteraction(v string)
- func (o *StoredValueBalanceMergeRequest) SetShopperReference(v string)
- func (o *StoredValueBalanceMergeRequest) SetSourcePaymentMethod(v map[string]string)
- func (o *StoredValueBalanceMergeRequest) SetStore(v string)
- func (o StoredValueBalanceMergeRequest) ToMap() (map[string]interface{}, error)
- type StoredValueBalanceMergeResponse
- func (o *StoredValueBalanceMergeResponse) GetAuthCode() string
- func (o *StoredValueBalanceMergeResponse) GetAuthCodeOk() (*string, bool)
- func (o *StoredValueBalanceMergeResponse) GetCurrentBalance() Amount
- func (o *StoredValueBalanceMergeResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueBalanceMergeResponse) GetPspReference() string
- func (o *StoredValueBalanceMergeResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueBalanceMergeResponse) GetRefusalReason() string
- func (o *StoredValueBalanceMergeResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueBalanceMergeResponse) GetResultCode() string
- func (o *StoredValueBalanceMergeResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueBalanceMergeResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueBalanceMergeResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueBalanceMergeResponse) HasAuthCode() bool
- func (o *StoredValueBalanceMergeResponse) HasCurrentBalance() bool
- func (o *StoredValueBalanceMergeResponse) HasPspReference() bool
- func (o *StoredValueBalanceMergeResponse) HasRefusalReason() bool
- func (o *StoredValueBalanceMergeResponse) HasResultCode() bool
- func (o *StoredValueBalanceMergeResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueBalanceMergeResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueBalanceMergeResponse) SetAuthCode(v string)
- func (o *StoredValueBalanceMergeResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueBalanceMergeResponse) SetPspReference(v string)
- func (o *StoredValueBalanceMergeResponse) SetRefusalReason(v string)
- func (o *StoredValueBalanceMergeResponse) SetResultCode(v string)
- func (o *StoredValueBalanceMergeResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueBalanceMergeResponse) ToMap() (map[string]interface{}, error)
- type StoredValueIssueRequest
- func (o *StoredValueIssueRequest) GetAmount() Amount
- func (o *StoredValueIssueRequest) GetAmountOk() (*Amount, bool)
- func (o *StoredValueIssueRequest) GetMerchantAccount() string
- func (o *StoredValueIssueRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueIssueRequest) GetPaymentMethod() map[string]string
- func (o *StoredValueIssueRequest) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueIssueRequest) GetRecurringDetailReference() string
- func (o *StoredValueIssueRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *StoredValueIssueRequest) GetReference() string
- func (o *StoredValueIssueRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueIssueRequest) GetShopperInteraction() string
- func (o *StoredValueIssueRequest) GetShopperInteractionOk() (*string, bool)
- func (o *StoredValueIssueRequest) GetShopperReference() string
- func (o *StoredValueIssueRequest) GetShopperReferenceOk() (*string, bool)
- func (o *StoredValueIssueRequest) GetStore() string
- func (o *StoredValueIssueRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueIssueRequest) HasAmount() bool
- func (o *StoredValueIssueRequest) HasRecurringDetailReference() bool
- func (o *StoredValueIssueRequest) HasShopperInteraction() bool
- func (o *StoredValueIssueRequest) HasShopperReference() bool
- func (o *StoredValueIssueRequest) HasStore() bool
- func (o StoredValueIssueRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueIssueRequest) SetAmount(v Amount)
- func (o *StoredValueIssueRequest) SetMerchantAccount(v string)
- func (o *StoredValueIssueRequest) SetPaymentMethod(v map[string]string)
- func (o *StoredValueIssueRequest) SetRecurringDetailReference(v string)
- func (o *StoredValueIssueRequest) SetReference(v string)
- func (o *StoredValueIssueRequest) SetShopperInteraction(v string)
- func (o *StoredValueIssueRequest) SetShopperReference(v string)
- func (o *StoredValueIssueRequest) SetStore(v string)
- func (o StoredValueIssueRequest) ToMap() (map[string]interface{}, error)
- type StoredValueIssueResponse
- func (o *StoredValueIssueResponse) GetAuthCode() string
- func (o *StoredValueIssueResponse) GetAuthCodeOk() (*string, bool)
- func (o *StoredValueIssueResponse) GetCurrentBalance() Amount
- func (o *StoredValueIssueResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueIssueResponse) GetPaymentMethod() map[string]string
- func (o *StoredValueIssueResponse) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueIssueResponse) GetPspReference() string
- func (o *StoredValueIssueResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueIssueResponse) GetRefusalReason() string
- func (o *StoredValueIssueResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueIssueResponse) GetResultCode() string
- func (o *StoredValueIssueResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueIssueResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueIssueResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueIssueResponse) HasAuthCode() bool
- func (o *StoredValueIssueResponse) HasCurrentBalance() bool
- func (o *StoredValueIssueResponse) HasPaymentMethod() bool
- func (o *StoredValueIssueResponse) HasPspReference() bool
- func (o *StoredValueIssueResponse) HasRefusalReason() bool
- func (o *StoredValueIssueResponse) HasResultCode() bool
- func (o *StoredValueIssueResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueIssueResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueIssueResponse) SetAuthCode(v string)
- func (o *StoredValueIssueResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueIssueResponse) SetPaymentMethod(v map[string]string)
- func (o *StoredValueIssueResponse) SetPspReference(v string)
- func (o *StoredValueIssueResponse) SetRefusalReason(v string)
- func (o *StoredValueIssueResponse) SetResultCode(v string)
- func (o *StoredValueIssueResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueIssueResponse) ToMap() (map[string]interface{}, error)
- type StoredValueLoadRequest
- func (o *StoredValueLoadRequest) GetAmount() Amount
- func (o *StoredValueLoadRequest) GetAmountOk() (*Amount, bool)
- func (o *StoredValueLoadRequest) GetLoadType() string
- func (o *StoredValueLoadRequest) GetLoadTypeOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetMerchantAccount() string
- func (o *StoredValueLoadRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetPaymentMethod() map[string]string
- func (o *StoredValueLoadRequest) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueLoadRequest) GetRecurringDetailReference() string
- func (o *StoredValueLoadRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetReference() string
- func (o *StoredValueLoadRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetShopperInteraction() string
- func (o *StoredValueLoadRequest) GetShopperInteractionOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetShopperReference() string
- func (o *StoredValueLoadRequest) GetShopperReferenceOk() (*string, bool)
- func (o *StoredValueLoadRequest) GetStore() string
- func (o *StoredValueLoadRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueLoadRequest) HasLoadType() bool
- func (o *StoredValueLoadRequest) HasRecurringDetailReference() bool
- func (o *StoredValueLoadRequest) HasShopperInteraction() bool
- func (o *StoredValueLoadRequest) HasShopperReference() bool
- func (o *StoredValueLoadRequest) HasStore() bool
- func (o StoredValueLoadRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueLoadRequest) SetAmount(v Amount)
- func (o *StoredValueLoadRequest) SetLoadType(v string)
- func (o *StoredValueLoadRequest) SetMerchantAccount(v string)
- func (o *StoredValueLoadRequest) SetPaymentMethod(v map[string]string)
- func (o *StoredValueLoadRequest) SetRecurringDetailReference(v string)
- func (o *StoredValueLoadRequest) SetReference(v string)
- func (o *StoredValueLoadRequest) SetShopperInteraction(v string)
- func (o *StoredValueLoadRequest) SetShopperReference(v string)
- func (o *StoredValueLoadRequest) SetStore(v string)
- func (o StoredValueLoadRequest) ToMap() (map[string]interface{}, error)
- type StoredValueLoadResponse
- func (o *StoredValueLoadResponse) GetAuthCode() string
- func (o *StoredValueLoadResponse) GetAuthCodeOk() (*string, bool)
- func (o *StoredValueLoadResponse) GetCurrentBalance() Amount
- func (o *StoredValueLoadResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueLoadResponse) GetPspReference() string
- func (o *StoredValueLoadResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueLoadResponse) GetRefusalReason() string
- func (o *StoredValueLoadResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueLoadResponse) GetResultCode() string
- func (o *StoredValueLoadResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueLoadResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueLoadResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueLoadResponse) HasAuthCode() bool
- func (o *StoredValueLoadResponse) HasCurrentBalance() bool
- func (o *StoredValueLoadResponse) HasPspReference() bool
- func (o *StoredValueLoadResponse) HasRefusalReason() bool
- func (o *StoredValueLoadResponse) HasResultCode() bool
- func (o *StoredValueLoadResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueLoadResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueLoadResponse) SetAuthCode(v string)
- func (o *StoredValueLoadResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueLoadResponse) SetPspReference(v string)
- func (o *StoredValueLoadResponse) SetRefusalReason(v string)
- func (o *StoredValueLoadResponse) SetResultCode(v string)
- func (o *StoredValueLoadResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueLoadResponse) ToMap() (map[string]interface{}, error)
- type StoredValueStatusChangeRequest
- func (o *StoredValueStatusChangeRequest) GetAmount() Amount
- func (o *StoredValueStatusChangeRequest) GetAmountOk() (*Amount, bool)
- func (o *StoredValueStatusChangeRequest) GetMerchantAccount() string
- func (o *StoredValueStatusChangeRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetPaymentMethod() map[string]string
- func (o *StoredValueStatusChangeRequest) GetPaymentMethodOk() (*map[string]string, bool)
- func (o *StoredValueStatusChangeRequest) GetRecurringDetailReference() string
- func (o *StoredValueStatusChangeRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetReference() string
- func (o *StoredValueStatusChangeRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetShopperInteraction() string
- func (o *StoredValueStatusChangeRequest) GetShopperInteractionOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetShopperReference() string
- func (o *StoredValueStatusChangeRequest) GetShopperReferenceOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetStatus() string
- func (o *StoredValueStatusChangeRequest) GetStatusOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) GetStore() string
- func (o *StoredValueStatusChangeRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueStatusChangeRequest) HasAmount() bool
- func (o *StoredValueStatusChangeRequest) HasRecurringDetailReference() bool
- func (o *StoredValueStatusChangeRequest) HasShopperInteraction() bool
- func (o *StoredValueStatusChangeRequest) HasShopperReference() bool
- func (o *StoredValueStatusChangeRequest) HasStore() bool
- func (o StoredValueStatusChangeRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueStatusChangeRequest) SetAmount(v Amount)
- func (o *StoredValueStatusChangeRequest) SetMerchantAccount(v string)
- func (o *StoredValueStatusChangeRequest) SetPaymentMethod(v map[string]string)
- func (o *StoredValueStatusChangeRequest) SetRecurringDetailReference(v string)
- func (o *StoredValueStatusChangeRequest) SetReference(v string)
- func (o *StoredValueStatusChangeRequest) SetShopperInteraction(v string)
- func (o *StoredValueStatusChangeRequest) SetShopperReference(v string)
- func (o *StoredValueStatusChangeRequest) SetStatus(v string)
- func (o *StoredValueStatusChangeRequest) SetStore(v string)
- func (o StoredValueStatusChangeRequest) ToMap() (map[string]interface{}, error)
- type StoredValueStatusChangeResponse
- func (o *StoredValueStatusChangeResponse) GetAuthCode() string
- func (o *StoredValueStatusChangeResponse) GetAuthCodeOk() (*string, bool)
- func (o *StoredValueStatusChangeResponse) GetCurrentBalance() Amount
- func (o *StoredValueStatusChangeResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueStatusChangeResponse) GetPspReference() string
- func (o *StoredValueStatusChangeResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueStatusChangeResponse) GetRefusalReason() string
- func (o *StoredValueStatusChangeResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueStatusChangeResponse) GetResultCode() string
- func (o *StoredValueStatusChangeResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueStatusChangeResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueStatusChangeResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueStatusChangeResponse) HasAuthCode() bool
- func (o *StoredValueStatusChangeResponse) HasCurrentBalance() bool
- func (o *StoredValueStatusChangeResponse) HasPspReference() bool
- func (o *StoredValueStatusChangeResponse) HasRefusalReason() bool
- func (o *StoredValueStatusChangeResponse) HasResultCode() bool
- func (o *StoredValueStatusChangeResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueStatusChangeResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueStatusChangeResponse) SetAuthCode(v string)
- func (o *StoredValueStatusChangeResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueStatusChangeResponse) SetPspReference(v string)
- func (o *StoredValueStatusChangeResponse) SetRefusalReason(v string)
- func (o *StoredValueStatusChangeResponse) SetResultCode(v string)
- func (o *StoredValueStatusChangeResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueStatusChangeResponse) ToMap() (map[string]interface{}, error)
- type StoredValueVoidRequest
- func (o *StoredValueVoidRequest) GetMerchantAccount() string
- func (o *StoredValueVoidRequest) GetMerchantAccountOk() (*string, bool)
- func (o *StoredValueVoidRequest) GetOriginalReference() string
- func (o *StoredValueVoidRequest) GetOriginalReferenceOk() (*string, bool)
- func (o *StoredValueVoidRequest) GetReference() string
- func (o *StoredValueVoidRequest) GetReferenceOk() (*string, bool)
- func (o *StoredValueVoidRequest) GetStore() string
- func (o *StoredValueVoidRequest) GetStoreOk() (*string, bool)
- func (o *StoredValueVoidRequest) GetTenderReference() string
- func (o *StoredValueVoidRequest) GetTenderReferenceOk() (*string, bool)
- func (o *StoredValueVoidRequest) GetUniqueTerminalId() string
- func (o *StoredValueVoidRequest) GetUniqueTerminalIdOk() (*string, bool)
- func (o *StoredValueVoidRequest) HasReference() bool
- func (o *StoredValueVoidRequest) HasStore() bool
- func (o *StoredValueVoidRequest) HasTenderReference() bool
- func (o *StoredValueVoidRequest) HasUniqueTerminalId() bool
- func (o StoredValueVoidRequest) MarshalJSON() ([]byte, error)
- func (o *StoredValueVoidRequest) SetMerchantAccount(v string)
- func (o *StoredValueVoidRequest) SetOriginalReference(v string)
- func (o *StoredValueVoidRequest) SetReference(v string)
- func (o *StoredValueVoidRequest) SetStore(v string)
- func (o *StoredValueVoidRequest) SetTenderReference(v string)
- func (o *StoredValueVoidRequest) SetUniqueTerminalId(v string)
- func (o StoredValueVoidRequest) ToMap() (map[string]interface{}, error)
- type StoredValueVoidResponse
- func (o *StoredValueVoidResponse) GetCurrentBalance() Amount
- func (o *StoredValueVoidResponse) GetCurrentBalanceOk() (*Amount, bool)
- func (o *StoredValueVoidResponse) GetPspReference() string
- func (o *StoredValueVoidResponse) GetPspReferenceOk() (*string, bool)
- func (o *StoredValueVoidResponse) GetRefusalReason() string
- func (o *StoredValueVoidResponse) GetRefusalReasonOk() (*string, bool)
- func (o *StoredValueVoidResponse) GetResultCode() string
- func (o *StoredValueVoidResponse) GetResultCodeOk() (*string, bool)
- func (o *StoredValueVoidResponse) GetThirdPartyRefusalReason() string
- func (o *StoredValueVoidResponse) GetThirdPartyRefusalReasonOk() (*string, bool)
- func (o *StoredValueVoidResponse) HasCurrentBalance() bool
- func (o *StoredValueVoidResponse) HasPspReference() bool
- func (o *StoredValueVoidResponse) HasRefusalReason() bool
- func (o *StoredValueVoidResponse) HasResultCode() bool
- func (o *StoredValueVoidResponse) HasThirdPartyRefusalReason() bool
- func (o StoredValueVoidResponse) MarshalJSON() ([]byte, error)
- func (o *StoredValueVoidResponse) SetCurrentBalance(v Amount)
- func (o *StoredValueVoidResponse) SetPspReference(v string)
- func (o *StoredValueVoidResponse) SetRefusalReason(v string)
- func (o *StoredValueVoidResponse) SetResultCode(v string)
- func (o *StoredValueVoidResponse) SetThirdPartyRefusalReason(v string)
- func (o StoredValueVoidResponse) ToMap() (map[string]interface{}, error)
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 ¶
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 ¶
GetCurrency returns the Currency field value
func (*Amount) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Amount) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Amount) MarshalJSON ¶
type GeneralApi ¶
GeneralApi service
func (*GeneralApi) ChangeStatus ¶
func (a *GeneralApi) ChangeStatus(ctx context.Context, r GeneralApiChangeStatusInput) (StoredValueStatusChangeResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) CheckBalance(ctx context.Context, r GeneralApiCheckBalanceInput) (StoredValueBalanceCheckResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) Issue(ctx context.Context, r GeneralApiIssueInput) (StoredValueIssueResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) Load(ctx context.Context, r GeneralApiLoadInput) (StoredValueLoadResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) MergeBalance(ctx context.Context, r GeneralApiMergeBalanceInput) (StoredValueBalanceMergeResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) VoidTransaction(ctx context.Context, r GeneralApiVoidTransactionInput) (StoredValueVoidResponse, *http.Response, error)
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 (v NullableServiceError) Get() *ServiceError
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 NewNullableStoredValueBalanceCheckRequest ¶
func NewNullableStoredValueBalanceCheckRequest(val *StoredValueBalanceCheckRequest) *NullableStoredValueBalanceCheckRequest
func (NullableStoredValueBalanceCheckRequest) Get ¶
func (v NullableStoredValueBalanceCheckRequest) Get() *StoredValueBalanceCheckRequest
func (NullableStoredValueBalanceCheckRequest) IsSet ¶
func (v NullableStoredValueBalanceCheckRequest) IsSet() bool
func (NullableStoredValueBalanceCheckRequest) MarshalJSON ¶
func (v NullableStoredValueBalanceCheckRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueBalanceCheckRequest) Set ¶
func (v *NullableStoredValueBalanceCheckRequest) Set(val *StoredValueBalanceCheckRequest)
func (*NullableStoredValueBalanceCheckRequest) UnmarshalJSON ¶
func (v *NullableStoredValueBalanceCheckRequest) UnmarshalJSON(src []byte) error
func (*NullableStoredValueBalanceCheckRequest) Unset ¶
func (v *NullableStoredValueBalanceCheckRequest) Unset()
type NullableStoredValueBalanceCheckResponse ¶
type NullableStoredValueBalanceCheckResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueBalanceCheckResponse ¶
func NewNullableStoredValueBalanceCheckResponse(val *StoredValueBalanceCheckResponse) *NullableStoredValueBalanceCheckResponse
func (NullableStoredValueBalanceCheckResponse) IsSet ¶
func (v NullableStoredValueBalanceCheckResponse) IsSet() bool
func (NullableStoredValueBalanceCheckResponse) MarshalJSON ¶
func (v NullableStoredValueBalanceCheckResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueBalanceCheckResponse) Set ¶
func (v *NullableStoredValueBalanceCheckResponse) Set(val *StoredValueBalanceCheckResponse)
func (*NullableStoredValueBalanceCheckResponse) UnmarshalJSON ¶
func (v *NullableStoredValueBalanceCheckResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueBalanceCheckResponse) Unset ¶
func (v *NullableStoredValueBalanceCheckResponse) Unset()
type NullableStoredValueBalanceMergeRequest ¶
type NullableStoredValueBalanceMergeRequest struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueBalanceMergeRequest ¶
func NewNullableStoredValueBalanceMergeRequest(val *StoredValueBalanceMergeRequest) *NullableStoredValueBalanceMergeRequest
func (NullableStoredValueBalanceMergeRequest) Get ¶
func (v NullableStoredValueBalanceMergeRequest) Get() *StoredValueBalanceMergeRequest
func (NullableStoredValueBalanceMergeRequest) IsSet ¶
func (v NullableStoredValueBalanceMergeRequest) IsSet() bool
func (NullableStoredValueBalanceMergeRequest) MarshalJSON ¶
func (v NullableStoredValueBalanceMergeRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueBalanceMergeRequest) Set ¶
func (v *NullableStoredValueBalanceMergeRequest) Set(val *StoredValueBalanceMergeRequest)
func (*NullableStoredValueBalanceMergeRequest) UnmarshalJSON ¶
func (v *NullableStoredValueBalanceMergeRequest) UnmarshalJSON(src []byte) error
func (*NullableStoredValueBalanceMergeRequest) Unset ¶
func (v *NullableStoredValueBalanceMergeRequest) Unset()
type NullableStoredValueBalanceMergeResponse ¶
type NullableStoredValueBalanceMergeResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueBalanceMergeResponse ¶
func NewNullableStoredValueBalanceMergeResponse(val *StoredValueBalanceMergeResponse) *NullableStoredValueBalanceMergeResponse
func (NullableStoredValueBalanceMergeResponse) IsSet ¶
func (v NullableStoredValueBalanceMergeResponse) IsSet() bool
func (NullableStoredValueBalanceMergeResponse) MarshalJSON ¶
func (v NullableStoredValueBalanceMergeResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueBalanceMergeResponse) Set ¶
func (v *NullableStoredValueBalanceMergeResponse) Set(val *StoredValueBalanceMergeResponse)
func (*NullableStoredValueBalanceMergeResponse) UnmarshalJSON ¶
func (v *NullableStoredValueBalanceMergeResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueBalanceMergeResponse) Unset ¶
func (v *NullableStoredValueBalanceMergeResponse) Unset()
type NullableStoredValueIssueRequest ¶
type NullableStoredValueIssueRequest struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueIssueRequest ¶
func NewNullableStoredValueIssueRequest(val *StoredValueIssueRequest) *NullableStoredValueIssueRequest
func (NullableStoredValueIssueRequest) Get ¶
func (v NullableStoredValueIssueRequest) Get() *StoredValueIssueRequest
func (NullableStoredValueIssueRequest) IsSet ¶
func (v NullableStoredValueIssueRequest) IsSet() bool
func (NullableStoredValueIssueRequest) MarshalJSON ¶
func (v NullableStoredValueIssueRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueIssueRequest) Set ¶
func (v *NullableStoredValueIssueRequest) Set(val *StoredValueIssueRequest)
func (*NullableStoredValueIssueRequest) UnmarshalJSON ¶
func (v *NullableStoredValueIssueRequest) UnmarshalJSON(src []byte) error
func (*NullableStoredValueIssueRequest) Unset ¶
func (v *NullableStoredValueIssueRequest) Unset()
type NullableStoredValueIssueResponse ¶
type NullableStoredValueIssueResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueIssueResponse ¶
func NewNullableStoredValueIssueResponse(val *StoredValueIssueResponse) *NullableStoredValueIssueResponse
func (NullableStoredValueIssueResponse) Get ¶
func (v NullableStoredValueIssueResponse) Get() *StoredValueIssueResponse
func (NullableStoredValueIssueResponse) IsSet ¶
func (v NullableStoredValueIssueResponse) IsSet() bool
func (NullableStoredValueIssueResponse) MarshalJSON ¶
func (v NullableStoredValueIssueResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueIssueResponse) Set ¶
func (v *NullableStoredValueIssueResponse) Set(val *StoredValueIssueResponse)
func (*NullableStoredValueIssueResponse) UnmarshalJSON ¶
func (v *NullableStoredValueIssueResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueIssueResponse) Unset ¶
func (v *NullableStoredValueIssueResponse) Unset()
type NullableStoredValueLoadRequest ¶
type NullableStoredValueLoadRequest struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueLoadRequest ¶
func NewNullableStoredValueLoadRequest(val *StoredValueLoadRequest) *NullableStoredValueLoadRequest
func (NullableStoredValueLoadRequest) Get ¶
func (v NullableStoredValueLoadRequest) Get() *StoredValueLoadRequest
func (NullableStoredValueLoadRequest) IsSet ¶
func (v NullableStoredValueLoadRequest) IsSet() bool
func (NullableStoredValueLoadRequest) MarshalJSON ¶
func (v NullableStoredValueLoadRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueLoadRequest) Set ¶
func (v *NullableStoredValueLoadRequest) Set(val *StoredValueLoadRequest)
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 NewNullableStoredValueLoadResponse ¶
func NewNullableStoredValueLoadResponse(val *StoredValueLoadResponse) *NullableStoredValueLoadResponse
func (NullableStoredValueLoadResponse) Get ¶
func (v NullableStoredValueLoadResponse) Get() *StoredValueLoadResponse
func (NullableStoredValueLoadResponse) IsSet ¶
func (v NullableStoredValueLoadResponse) IsSet() bool
func (NullableStoredValueLoadResponse) MarshalJSON ¶
func (v NullableStoredValueLoadResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueLoadResponse) Set ¶
func (v *NullableStoredValueLoadResponse) Set(val *StoredValueLoadResponse)
func (*NullableStoredValueLoadResponse) UnmarshalJSON ¶
func (v *NullableStoredValueLoadResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueLoadResponse) Unset ¶
func (v *NullableStoredValueLoadResponse) Unset()
type NullableStoredValueStatusChangeRequest ¶
type NullableStoredValueStatusChangeRequest struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueStatusChangeRequest ¶
func NewNullableStoredValueStatusChangeRequest(val *StoredValueStatusChangeRequest) *NullableStoredValueStatusChangeRequest
func (NullableStoredValueStatusChangeRequest) Get ¶
func (v NullableStoredValueStatusChangeRequest) Get() *StoredValueStatusChangeRequest
func (NullableStoredValueStatusChangeRequest) IsSet ¶
func (v NullableStoredValueStatusChangeRequest) IsSet() bool
func (NullableStoredValueStatusChangeRequest) MarshalJSON ¶
func (v NullableStoredValueStatusChangeRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueStatusChangeRequest) Set ¶
func (v *NullableStoredValueStatusChangeRequest) Set(val *StoredValueStatusChangeRequest)
func (*NullableStoredValueStatusChangeRequest) UnmarshalJSON ¶
func (v *NullableStoredValueStatusChangeRequest) UnmarshalJSON(src []byte) error
func (*NullableStoredValueStatusChangeRequest) Unset ¶
func (v *NullableStoredValueStatusChangeRequest) Unset()
type NullableStoredValueStatusChangeResponse ¶
type NullableStoredValueStatusChangeResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueStatusChangeResponse ¶
func NewNullableStoredValueStatusChangeResponse(val *StoredValueStatusChangeResponse) *NullableStoredValueStatusChangeResponse
func (NullableStoredValueStatusChangeResponse) IsSet ¶
func (v NullableStoredValueStatusChangeResponse) IsSet() bool
func (NullableStoredValueStatusChangeResponse) MarshalJSON ¶
func (v NullableStoredValueStatusChangeResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueStatusChangeResponse) Set ¶
func (v *NullableStoredValueStatusChangeResponse) Set(val *StoredValueStatusChangeResponse)
func (*NullableStoredValueStatusChangeResponse) UnmarshalJSON ¶
func (v *NullableStoredValueStatusChangeResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueStatusChangeResponse) Unset ¶
func (v *NullableStoredValueStatusChangeResponse) Unset()
type NullableStoredValueVoidRequest ¶
type NullableStoredValueVoidRequest struct {
// contains filtered or unexported fields
}
func NewNullableStoredValueVoidRequest ¶
func NewNullableStoredValueVoidRequest(val *StoredValueVoidRequest) *NullableStoredValueVoidRequest
func (NullableStoredValueVoidRequest) Get ¶
func (v NullableStoredValueVoidRequest) Get() *StoredValueVoidRequest
func (NullableStoredValueVoidRequest) IsSet ¶
func (v NullableStoredValueVoidRequest) IsSet() bool
func (NullableStoredValueVoidRequest) MarshalJSON ¶
func (v NullableStoredValueVoidRequest) MarshalJSON() ([]byte, error)
func (*NullableStoredValueVoidRequest) Set ¶
func (v *NullableStoredValueVoidRequest) Set(val *StoredValueVoidRequest)
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 NewNullableStoredValueVoidResponse ¶
func NewNullableStoredValueVoidResponse(val *StoredValueVoidResponse) *NullableStoredValueVoidResponse
func (NullableStoredValueVoidResponse) Get ¶
func (v NullableStoredValueVoidResponse) Get() *StoredValueVoidResponse
func (NullableStoredValueVoidResponse) IsSet ¶
func (v NullableStoredValueVoidResponse) IsSet() bool
func (NullableStoredValueVoidResponse) MarshalJSON ¶
func (v NullableStoredValueVoidResponse) MarshalJSON() ([]byte, error)
func (*NullableStoredValueVoidResponse) Set ¶
func (v *NullableStoredValueVoidResponse) Set(val *StoredValueVoidResponse)
func (*NullableStoredValueVoidResponse) UnmarshalJSON ¶
func (v *NullableStoredValueVoidResponse) UnmarshalJSON(src []byte) error
func (*NullableStoredValueVoidResponse) Unset ¶
func (v *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)
Source Files
¶
- api_general.go
- model_amount.go
- model_service_error.go
- model_stored_value_balance_check_request.go
- model_stored_value_balance_check_response.go
- model_stored_value_balance_merge_request.go
- model_stored_value_balance_merge_response.go
- model_stored_value_issue_request.go
- model_stored_value_issue_response.go
- model_stored_value_load_request.go
- model_stored_value_load_response.go
- model_stored_value_status_change_request.go
- model_stored_value_status_change_response.go
- model_stored_value_void_request.go
- model_stored_value_void_response.go