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 BalancePlatformNotificationResponse
- func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
- func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
- func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
- func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
- func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
- type NullableAmount
- type NullableBalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) Get() *BalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) IsSet() bool
- func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
- func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalancePlatformNotificationResponse) Unset()
- type NullableResource
- type NullableResourceReference
- func (v NullableResourceReference) Get() *ResourceReference
- func (v NullableResourceReference) IsSet() bool
- func (v NullableResourceReference) MarshalJSON() ([]byte, error)
- func (v *NullableResourceReference) Set(val *ResourceReference)
- func (v *NullableResourceReference) UnmarshalJSON(src []byte) error
- func (v *NullableResourceReference) Unset()
- type NullableTransaction
- func (v NullableTransaction) Get() *Transaction
- func (v NullableTransaction) IsSet() bool
- func (v NullableTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableTransaction) Set(val *Transaction)
- func (v *NullableTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableTransaction) Unset()
- type NullableTransactionNotificationRequestV4
- func (v NullableTransactionNotificationRequestV4) Get() *TransactionNotificationRequestV4
- func (v NullableTransactionNotificationRequestV4) IsSet() bool
- func (v NullableTransactionNotificationRequestV4) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionNotificationRequestV4) Set(val *TransactionNotificationRequestV4)
- func (v *NullableTransactionNotificationRequestV4) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionNotificationRequestV4) Unset()
- type NullableTransferData
- func (v NullableTransferData) Get() *TransferData
- func (v NullableTransferData) IsSet() bool
- func (v NullableTransferData) MarshalJSON() ([]byte, error)
- func (v *NullableTransferData) Set(val *TransferData)
- func (v *NullableTransferData) UnmarshalJSON(src []byte) error
- func (v *NullableTransferData) Unset()
- type Resource
- func (o *Resource) GetBalancePlatform() string
- func (o *Resource) GetBalancePlatformOk() (*string, bool)
- func (o *Resource) GetCreationDate() time.Time
- func (o *Resource) GetCreationDateOk() (*time.Time, bool)
- func (o *Resource) GetId() string
- func (o *Resource) GetIdOk() (*string, bool)
- func (o *Resource) HasBalancePlatform() bool
- func (o *Resource) HasCreationDate() bool
- func (o *Resource) HasId() bool
- func (o Resource) MarshalJSON() ([]byte, error)
- func (o *Resource) SetBalancePlatform(v string)
- func (o *Resource) SetCreationDate(v time.Time)
- func (o *Resource) SetId(v string)
- func (o Resource) ToMap() (map[string]interface{}, error)
- type ResourceReference
- func (o *ResourceReference) GetDescription() string
- func (o *ResourceReference) GetDescriptionOk() (*string, bool)
- func (o *ResourceReference) GetId() string
- func (o *ResourceReference) GetIdOk() (*string, bool)
- func (o *ResourceReference) GetReference() string
- func (o *ResourceReference) GetReferenceOk() (*string, bool)
- func (o *ResourceReference) HasDescription() bool
- func (o *ResourceReference) HasId() bool
- func (o *ResourceReference) HasReference() bool
- func (o ResourceReference) MarshalJSON() ([]byte, error)
- func (o *ResourceReference) SetDescription(v string)
- func (o *ResourceReference) SetId(v string)
- func (o *ResourceReference) SetReference(v string)
- func (o ResourceReference) ToMap() (map[string]interface{}, error)
- type Transaction
- func (o *Transaction) GetAccountHolder() ResourceReference
- func (o *Transaction) GetAccountHolderOk() (*ResourceReference, bool)
- func (o *Transaction) GetAmount() Amount
- func (o *Transaction) GetAmountOk() (*Amount, bool)
- func (o *Transaction) GetBalanceAccount() ResourceReference
- func (o *Transaction) GetBalanceAccountOk() (*ResourceReference, bool)
- func (o *Transaction) GetBalancePlatform() string
- func (o *Transaction) GetBalancePlatformOk() (*string, bool)
- func (o *Transaction) GetBookingDate() time.Time
- func (o *Transaction) GetBookingDateOk() (*time.Time, bool)
- func (o *Transaction) GetCreationDate() time.Time
- func (o *Transaction) GetCreationDateOk() (*time.Time, bool)
- func (o *Transaction) GetId() string
- func (o *Transaction) GetIdOk() (*string, bool)
- func (o *Transaction) GetStatus() string
- func (o *Transaction) GetStatusOk() (*string, bool)
- func (o *Transaction) GetTransfer() TransferData
- func (o *Transaction) GetTransferOk() (*TransferData, bool)
- func (o *Transaction) GetValueDate() time.Time
- func (o *Transaction) GetValueDateOk() (*time.Time, bool)
- func (o *Transaction) HasCreationDate() bool
- func (o *Transaction) HasTransfer() bool
- func (o Transaction) MarshalJSON() ([]byte, error)
- func (o *Transaction) SetAccountHolder(v ResourceReference)
- func (o *Transaction) SetAmount(v Amount)
- func (o *Transaction) SetBalanceAccount(v ResourceReference)
- func (o *Transaction) SetBalancePlatform(v string)
- func (o *Transaction) SetBookingDate(v time.Time)
- func (o *Transaction) SetCreationDate(v time.Time)
- func (o *Transaction) SetId(v string)
- func (o *Transaction) SetStatus(v string)
- func (o *Transaction) SetTransfer(v TransferData)
- func (o *Transaction) SetValueDate(v time.Time)
- func (o Transaction) ToMap() (map[string]interface{}, error)
- type TransactionNotificationRequestV4
- func HandleTransactionNotificationRequestV4(req string) (*TransactionNotificationRequestV4, error)
- func NewTransactionNotificationRequestV4(data Transaction, environment string) *TransactionNotificationRequestV4
- func NewTransactionNotificationRequestV4WithDefaults() *TransactionNotificationRequestV4
- func (o *TransactionNotificationRequestV4) GetData() Transaction
- func (o *TransactionNotificationRequestV4) GetDataOk() (*Transaction, bool)
- func (o *TransactionNotificationRequestV4) GetEnvironment() string
- func (o *TransactionNotificationRequestV4) GetEnvironmentOk() (*string, bool)
- func (o *TransactionNotificationRequestV4) GetType() string
- func (o *TransactionNotificationRequestV4) GetTypeOk() (*string, bool)
- func (o *TransactionNotificationRequestV4) HasType() bool
- func (o TransactionNotificationRequestV4) MarshalJSON() ([]byte, error)
- func (o *TransactionNotificationRequestV4) SetData(v Transaction)
- func (o *TransactionNotificationRequestV4) SetEnvironment(v string)
- func (o *TransactionNotificationRequestV4) SetType(v string)
- func (o TransactionNotificationRequestV4) ToMap() (map[string]interface{}, error)
- type TransferData
- func (o *TransferData) GetId() string
- func (o *TransferData) GetIdOk() (*string, bool)
- func (o *TransferData) GetReference() string
- func (o *TransferData) GetReferenceOk() (*string, bool)
- func (o *TransferData) HasId() bool
- func (o TransferData) MarshalJSON() ([]byte, error)
- func (o *TransferData) SetId(v string)
- func (o *TransferData) SetReference(v string)
- func (o TransferData) 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 BalancePlatformNotificationResponse ¶
type BalancePlatformNotificationResponse struct { // Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). NotificationResponse *string `json:"notificationResponse,omitempty"` }
BalancePlatformNotificationResponse struct for BalancePlatformNotificationResponse
func NewBalancePlatformNotificationResponse ¶
func NewBalancePlatformNotificationResponse() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponse instantiates a new BalancePlatformNotificationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalancePlatformNotificationResponseWithDefaults ¶
func NewBalancePlatformNotificationResponseWithDefaults() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponseWithDefaults instantiates a new BalancePlatformNotificationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalancePlatformNotificationResponse) GetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
GetNotificationResponse returns the NotificationResponse field value if set, zero value otherwise.
func (*BalancePlatformNotificationResponse) GetNotificationResponseOk ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
GetNotificationResponseOk returns a tuple with the NotificationResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalancePlatformNotificationResponse) HasNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
HasNotificationResponse returns a boolean if a field has been set.
func (BalancePlatformNotificationResponse) MarshalJSON ¶
func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*BalancePlatformNotificationResponse) SetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
SetNotificationResponse gets a reference to the given string and assigns it to the NotificationResponse field.
func (BalancePlatformNotificationResponse) ToMap ¶
func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
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 NullableBalancePlatformNotificationResponse ¶
type NullableBalancePlatformNotificationResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalancePlatformNotificationResponse ¶
func NewNullableBalancePlatformNotificationResponse(val *BalancePlatformNotificationResponse) *NullableBalancePlatformNotificationResponse
func (NullableBalancePlatformNotificationResponse) IsSet ¶
func (v NullableBalancePlatformNotificationResponse) IsSet() bool
func (NullableBalancePlatformNotificationResponse) MarshalJSON ¶
func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*NullableBalancePlatformNotificationResponse) Set ¶
func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
func (*NullableBalancePlatformNotificationResponse) UnmarshalJSON ¶
func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
func (*NullableBalancePlatformNotificationResponse) Unset ¶
func (v *NullableBalancePlatformNotificationResponse) Unset()
type NullableResource ¶
type NullableResource struct {
// contains filtered or unexported fields
}
func NewNullableResource ¶
func NewNullableResource(val *Resource) *NullableResource
func (NullableResource) Get ¶
func (v NullableResource) Get() *Resource
func (NullableResource) IsSet ¶
func (v NullableResource) IsSet() bool
func (NullableResource) MarshalJSON ¶
func (v NullableResource) MarshalJSON() ([]byte, error)
func (*NullableResource) Set ¶
func (v *NullableResource) Set(val *Resource)
func (*NullableResource) UnmarshalJSON ¶
func (v *NullableResource) UnmarshalJSON(src []byte) error
func (*NullableResource) Unset ¶
func (v *NullableResource) Unset()
type NullableResourceReference ¶
type NullableResourceReference struct {
// contains filtered or unexported fields
}
func NewNullableResourceReference ¶
func NewNullableResourceReference(val *ResourceReference) *NullableResourceReference
func (NullableResourceReference) Get ¶
func (v NullableResourceReference) Get() *ResourceReference
func (NullableResourceReference) IsSet ¶
func (v NullableResourceReference) IsSet() bool
func (NullableResourceReference) MarshalJSON ¶
func (v NullableResourceReference) MarshalJSON() ([]byte, error)
func (*NullableResourceReference) Set ¶
func (v *NullableResourceReference) Set(val *ResourceReference)
func (*NullableResourceReference) UnmarshalJSON ¶
func (v *NullableResourceReference) UnmarshalJSON(src []byte) error
func (*NullableResourceReference) Unset ¶
func (v *NullableResourceReference) Unset()
type NullableTransaction ¶
type NullableTransaction struct {
// contains filtered or unexported fields
}
func NewNullableTransaction ¶
func NewNullableTransaction(val *Transaction) *NullableTransaction
func (NullableTransaction) Get ¶
func (v NullableTransaction) Get() *Transaction
func (NullableTransaction) IsSet ¶
func (v NullableTransaction) IsSet() bool
func (NullableTransaction) MarshalJSON ¶
func (v NullableTransaction) MarshalJSON() ([]byte, error)
func (*NullableTransaction) Set ¶
func (v *NullableTransaction) Set(val *Transaction)
func (*NullableTransaction) UnmarshalJSON ¶
func (v *NullableTransaction) UnmarshalJSON(src []byte) error
func (*NullableTransaction) Unset ¶
func (v *NullableTransaction) Unset()
type NullableTransactionNotificationRequestV4 ¶
type NullableTransactionNotificationRequestV4 struct {
// contains filtered or unexported fields
}
func NewNullableTransactionNotificationRequestV4 ¶
func NewNullableTransactionNotificationRequestV4(val *TransactionNotificationRequestV4) *NullableTransactionNotificationRequestV4
func (NullableTransactionNotificationRequestV4) IsSet ¶
func (v NullableTransactionNotificationRequestV4) IsSet() bool
func (NullableTransactionNotificationRequestV4) MarshalJSON ¶
func (v NullableTransactionNotificationRequestV4) MarshalJSON() ([]byte, error)
func (*NullableTransactionNotificationRequestV4) Set ¶
func (v *NullableTransactionNotificationRequestV4) Set(val *TransactionNotificationRequestV4)
func (*NullableTransactionNotificationRequestV4) UnmarshalJSON ¶
func (v *NullableTransactionNotificationRequestV4) UnmarshalJSON(src []byte) error
func (*NullableTransactionNotificationRequestV4) Unset ¶
func (v *NullableTransactionNotificationRequestV4) Unset()
type NullableTransferData ¶
type NullableTransferData struct {
// contains filtered or unexported fields
}
func NewNullableTransferData ¶
func NewNullableTransferData(val *TransferData) *NullableTransferData
func (NullableTransferData) Get ¶
func (v NullableTransferData) Get() *TransferData
func (NullableTransferData) IsSet ¶
func (v NullableTransferData) IsSet() bool
func (NullableTransferData) MarshalJSON ¶
func (v NullableTransferData) MarshalJSON() ([]byte, error)
func (*NullableTransferData) Set ¶
func (v *NullableTransferData) Set(val *TransferData)
func (*NullableTransferData) UnmarshalJSON ¶
func (v *NullableTransferData) UnmarshalJSON(src []byte) error
func (*NullableTransferData) Unset ¶
func (v *NullableTransferData) Unset()
type Resource ¶
type Resource struct { // The unique identifier of the balance platform. BalancePlatform *string `json:"balancePlatform,omitempty"` // The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. CreationDate *time.Time `json:"creationDate,omitempty"` // The ID of the resource. Id *string `json:"id,omitempty"` }
Resource struct for Resource
func NewResource ¶
func NewResource() *Resource
NewResource instantiates a new Resource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResourceWithDefaults ¶
func NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Resource) GetBalancePlatform ¶
GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.
func (*Resource) GetBalancePlatformOk ¶
GetBalancePlatformOk returns a tuple with the BalancePlatform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) GetCreationDate ¶
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*Resource) GetCreationDateOk ¶
GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) HasBalancePlatform ¶
HasBalancePlatform returns a boolean if a field has been set.
func (*Resource) HasCreationDate ¶
HasCreationDate returns a boolean if a field has been set.
func (Resource) MarshalJSON ¶
func (*Resource) SetBalancePlatform ¶
SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.
func (*Resource) SetCreationDate ¶
SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.
type ResourceReference ¶
type ResourceReference struct { // The description of the resource. Description *string `json:"description,omitempty"` // The unique identifier of the resource. Id *string `json:"id,omitempty"` // The reference for the resource. Reference *string `json:"reference,omitempty"` }
ResourceReference struct for ResourceReference
func NewResourceReference ¶
func NewResourceReference() *ResourceReference
NewResourceReference instantiates a new ResourceReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResourceReferenceWithDefaults ¶
func NewResourceReferenceWithDefaults() *ResourceReference
NewResourceReferenceWithDefaults instantiates a new ResourceReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResourceReference) GetDescription ¶
func (o *ResourceReference) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ResourceReference) GetDescriptionOk ¶
func (o *ResourceReference) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceReference) GetId ¶
func (o *ResourceReference) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ResourceReference) GetIdOk ¶
func (o *ResourceReference) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceReference) GetReference ¶
func (o *ResourceReference) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*ResourceReference) GetReferenceOk ¶
func (o *ResourceReference) 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 (*ResourceReference) HasDescription ¶
func (o *ResourceReference) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ResourceReference) HasId ¶
func (o *ResourceReference) HasId() bool
HasId returns a boolean if a field has been set.
func (*ResourceReference) HasReference ¶
func (o *ResourceReference) HasReference() bool
HasReference returns a boolean if a field has been set.
func (ResourceReference) MarshalJSON ¶
func (o ResourceReference) MarshalJSON() ([]byte, error)
func (*ResourceReference) SetDescription ¶
func (o *ResourceReference) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ResourceReference) SetId ¶
func (o *ResourceReference) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ResourceReference) SetReference ¶
func (o *ResourceReference) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (ResourceReference) ToMap ¶
func (o ResourceReference) ToMap() (map[string]interface{}, error)
type Transaction ¶
type Transaction struct { AccountHolder ResourceReference `json:"accountHolder"` Amount Amount `json:"amount"` BalanceAccount ResourceReference `json:"balanceAccount"` // The unique identifier of the balance platform. BalancePlatform string `json:"balancePlatform"` // The date the transaction was booked into the balance account. BookingDate time.Time `json:"bookingDate"` // The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. CreationDate *time.Time `json:"creationDate,omitempty"` // The unique identifier of the transaction. Id string `json:"id"` // The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account. Status string `json:"status"` Transfer *TransferData `json:"transfer,omitempty"` // The date the transfer amount becomes available in the balance account. ValueDate time.Time `json:"valueDate"` }
Transaction struct for Transaction
func NewTransaction ¶
func NewTransaction(accountHolder ResourceReference, amount Amount, balanceAccount ResourceReference, balancePlatform string, bookingDate time.Time, id string, status string, valueDate time.Time) *Transaction
NewTransaction instantiates a new Transaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionWithDefaults ¶
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Transaction) GetAccountHolder ¶
func (o *Transaction) GetAccountHolder() ResourceReference
GetAccountHolder returns the AccountHolder field value
func (*Transaction) GetAccountHolderOk ¶
func (o *Transaction) GetAccountHolderOk() (*ResourceReference, bool)
GetAccountHolderOk returns a tuple with the AccountHolder field value and a boolean to check if the value has been set.
func (*Transaction) GetAmount ¶
func (o *Transaction) GetAmount() Amount
GetAmount returns the Amount field value
func (*Transaction) GetAmountOk ¶
func (o *Transaction) GetAmountOk() (*Amount, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Transaction) GetBalanceAccount ¶
func (o *Transaction) GetBalanceAccount() ResourceReference
GetBalanceAccount returns the BalanceAccount field value
func (*Transaction) GetBalanceAccountOk ¶
func (o *Transaction) GetBalanceAccountOk() (*ResourceReference, bool)
GetBalanceAccountOk returns a tuple with the BalanceAccount field value and a boolean to check if the value has been set.
func (*Transaction) GetBalancePlatform ¶
func (o *Transaction) GetBalancePlatform() string
GetBalancePlatform returns the BalancePlatform field value
func (*Transaction) GetBalancePlatformOk ¶
func (o *Transaction) GetBalancePlatformOk() (*string, bool)
GetBalancePlatformOk returns a tuple with the BalancePlatform field value and a boolean to check if the value has been set.
func (*Transaction) GetBookingDate ¶
func (o *Transaction) GetBookingDate() time.Time
GetBookingDate returns the BookingDate field value
func (*Transaction) GetBookingDateOk ¶
func (o *Transaction) GetBookingDateOk() (*time.Time, bool)
GetBookingDateOk returns a tuple with the BookingDate field value and a boolean to check if the value has been set.
func (*Transaction) GetCreationDate ¶
func (o *Transaction) GetCreationDate() time.Time
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*Transaction) GetCreationDateOk ¶
func (o *Transaction) GetCreationDateOk() (*time.Time, bool)
GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetIdOk ¶
func (o *Transaction) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Transaction) GetStatus ¶
func (o *Transaction) GetStatus() string
GetStatus returns the Status field value
func (*Transaction) GetStatusOk ¶
func (o *Transaction) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Transaction) GetTransfer ¶
func (o *Transaction) GetTransfer() TransferData
GetTransfer returns the Transfer field value if set, zero value otherwise.
func (*Transaction) GetTransferOk ¶
func (o *Transaction) GetTransferOk() (*TransferData, bool)
GetTransferOk returns a tuple with the Transfer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetValueDate ¶
func (o *Transaction) GetValueDate() time.Time
GetValueDate returns the ValueDate field value
func (*Transaction) GetValueDateOk ¶
func (o *Transaction) GetValueDateOk() (*time.Time, bool)
GetValueDateOk returns a tuple with the ValueDate field value and a boolean to check if the value has been set.
func (*Transaction) HasCreationDate ¶
func (o *Transaction) HasCreationDate() bool
HasCreationDate returns a boolean if a field has been set.
func (*Transaction) HasTransfer ¶
func (o *Transaction) HasTransfer() bool
HasTransfer returns a boolean if a field has been set.
func (Transaction) MarshalJSON ¶
func (o Transaction) MarshalJSON() ([]byte, error)
func (*Transaction) SetAccountHolder ¶
func (o *Transaction) SetAccountHolder(v ResourceReference)
SetAccountHolder sets field value
func (*Transaction) SetAmount ¶
func (o *Transaction) SetAmount(v Amount)
SetAmount sets field value
func (*Transaction) SetBalanceAccount ¶
func (o *Transaction) SetBalanceAccount(v ResourceReference)
SetBalanceAccount sets field value
func (*Transaction) SetBalancePlatform ¶
func (o *Transaction) SetBalancePlatform(v string)
SetBalancePlatform sets field value
func (*Transaction) SetBookingDate ¶
func (o *Transaction) SetBookingDate(v time.Time)
SetBookingDate sets field value
func (*Transaction) SetCreationDate ¶
func (o *Transaction) SetCreationDate(v time.Time)
SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.
func (*Transaction) SetStatus ¶
func (o *Transaction) SetStatus(v string)
SetStatus sets field value
func (*Transaction) SetTransfer ¶
func (o *Transaction) SetTransfer(v TransferData)
SetTransfer gets a reference to the given TransferData and assigns it to the Transfer field.
func (*Transaction) SetValueDate ¶
func (o *Transaction) SetValueDate(v time.Time)
SetValueDate sets field value
func (Transaction) ToMap ¶
func (o Transaction) ToMap() (map[string]interface{}, error)
type TransactionNotificationRequestV4 ¶
type TransactionNotificationRequestV4 struct { Data Transaction `json:"data"` // The environment from which the webhook originated. Possible values: **test**, **live**. Environment string `json:"environment"` // Type of the webhook. Type *string `json:"type,omitempty"` }
TransactionNotificationRequestV4 struct for TransactionNotificationRequestV4
func HandleTransactionNotificationRequestV4 ¶
func HandleTransactionNotificationRequestV4(req string) (*TransactionNotificationRequestV4, error)
HandleTransactionNotificationRequestV4 creates a Notification object from the given JSON string
func NewTransactionNotificationRequestV4 ¶
func NewTransactionNotificationRequestV4(data Transaction, environment string) *TransactionNotificationRequestV4
NewTransactionNotificationRequestV4 instantiates a new TransactionNotificationRequestV4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionNotificationRequestV4WithDefaults ¶
func NewTransactionNotificationRequestV4WithDefaults() *TransactionNotificationRequestV4
NewTransactionNotificationRequestV4WithDefaults instantiates a new TransactionNotificationRequestV4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransactionNotificationRequestV4) GetData ¶
func (o *TransactionNotificationRequestV4) GetData() Transaction
GetData returns the Data field value
func (*TransactionNotificationRequestV4) GetDataOk ¶
func (o *TransactionNotificationRequestV4) GetDataOk() (*Transaction, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TransactionNotificationRequestV4) GetEnvironment ¶
func (o *TransactionNotificationRequestV4) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*TransactionNotificationRequestV4) GetEnvironmentOk ¶
func (o *TransactionNotificationRequestV4) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*TransactionNotificationRequestV4) GetType ¶
func (o *TransactionNotificationRequestV4) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionNotificationRequestV4) GetTypeOk ¶
func (o *TransactionNotificationRequestV4) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionNotificationRequestV4) HasType ¶
func (o *TransactionNotificationRequestV4) HasType() bool
HasType returns a boolean if a field has been set.
func (TransactionNotificationRequestV4) MarshalJSON ¶
func (o TransactionNotificationRequestV4) MarshalJSON() ([]byte, error)
func (*TransactionNotificationRequestV4) SetData ¶
func (o *TransactionNotificationRequestV4) SetData(v Transaction)
SetData sets field value
func (*TransactionNotificationRequestV4) SetEnvironment ¶
func (o *TransactionNotificationRequestV4) SetEnvironment(v string)
SetEnvironment sets field value
func (*TransactionNotificationRequestV4) SetType ¶
func (o *TransactionNotificationRequestV4) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransactionNotificationRequestV4) ToMap ¶
func (o TransactionNotificationRequestV4) ToMap() (map[string]interface{}, error)
type TransferData ¶
type TransferData struct { // The ID of the resource. Id *string `json:"id,omitempty"` // The [`reference`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_reference) from the `/transfers` request. If you haven't provided any, Adyen generates a unique reference. Reference string `json:"reference"` }
TransferData struct for TransferData
func NewTransferData ¶
func NewTransferData(reference string) *TransferData
NewTransferData instantiates a new TransferData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransferDataWithDefaults ¶
func NewTransferDataWithDefaults() *TransferData
NewTransferDataWithDefaults instantiates a new TransferData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransferData) GetId ¶
func (o *TransferData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TransferData) GetIdOk ¶
func (o *TransferData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferData) GetReference ¶
func (o *TransferData) GetReference() string
GetReference returns the Reference field value
func (*TransferData) GetReferenceOk ¶
func (o *TransferData) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field value and a boolean to check if the value has been set.
func (*TransferData) HasId ¶
func (o *TransferData) HasId() bool
HasId returns a boolean if a field has been set.
func (TransferData) MarshalJSON ¶
func (o TransferData) MarshalJSON() ([]byte, error)
func (*TransferData) SetId ¶
func (o *TransferData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TransferData) SetReference ¶
func (o *TransferData) SetReference(v string)
SetReference sets field value
func (TransferData) ToMap ¶
func (o TransferData) ToMap() (map[string]interface{}, error)