transactionwebhook

package
v9.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

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

Amount struct for Amount

func NewAmount

func NewAmount(currency string, value int64) *Amount

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

func NewAmountWithDefaults

func NewAmountWithDefaults() *Amount

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

func (*Amount) GetCurrency

func (o *Amount) GetCurrency() string

GetCurrency returns the Currency field value

func (*Amount) GetCurrencyOk

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

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

func (*Amount) GetValue

func (o *Amount) GetValue() int64

GetValue returns the Value field value

func (*Amount) GetValueOk

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

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

func (Amount) MarshalJSON

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

func (*Amount) SetCurrency

func (o *Amount) SetCurrency(v string)

SetCurrency sets field value

func (*Amount) SetValue

func (o *Amount) SetValue(v int64)

SetValue sets field value

func (Amount) ToMap

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

type 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 (NullableBalancePlatformNotificationResponse) Get

func (NullableBalancePlatformNotificationResponse) IsSet

func (NullableBalancePlatformNotificationResponse) MarshalJSON

func (*NullableBalancePlatformNotificationResponse) Set

func (*NullableBalancePlatformNotificationResponse) UnmarshalJSON

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

func (*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 (NullableResourceReference) IsSet

func (v NullableResourceReference) IsSet() bool

func (NullableResourceReference) MarshalJSON

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

func (*NullableResourceReference) Set

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 (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 (NullableTransactionNotificationRequestV4) Get

func (NullableTransactionNotificationRequestV4) IsSet

func (NullableTransactionNotificationRequestV4) MarshalJSON

func (*NullableTransactionNotificationRequestV4) Set

func (*NullableTransactionNotificationRequestV4) UnmarshalJSON

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

func (*NullableTransactionNotificationRequestV4) Unset

type NullableTransferData

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

func NewNullableTransferData

func NewNullableTransferData(val *TransferData) *NullableTransferData

func (NullableTransferData) Get

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

func (o *Resource) GetBalancePlatform() string

GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.

func (*Resource) GetBalancePlatformOk

func (o *Resource) GetBalancePlatformOk() (*string, bool)

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

func (o *Resource) GetCreationDate() time.Time

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*Resource) GetCreationDateOk

func (o *Resource) 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 (*Resource) GetId

func (o *Resource) GetId() string

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

func (*Resource) GetIdOk

func (o *Resource) 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 (*Resource) HasBalancePlatform

func (o *Resource) HasBalancePlatform() bool

HasBalancePlatform returns a boolean if a field has been set.

func (*Resource) HasCreationDate

func (o *Resource) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*Resource) HasId

func (o *Resource) HasId() bool

HasId returns a boolean if a field has been set.

func (Resource) MarshalJSON

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

func (*Resource) SetBalancePlatform

func (o *Resource) SetBalancePlatform(v string)

SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.

func (*Resource) SetCreationDate

func (o *Resource) SetCreationDate(v time.Time)

SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.

func (*Resource) SetId

func (o *Resource) SetId(v string)

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

func (Resource) ToMap

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

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) GetId

func (o *Transaction) GetId() string

GetId returns the Id field value

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) SetId

func (o *Transaction) SetId(v string)

SetId sets field value

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

GetData returns the Data field value

func (*TransactionNotificationRequestV4) GetDataOk

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

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

HasType returns a boolean if a field has been set.

func (TransactionNotificationRequestV4) MarshalJSON

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

func (*TransactionNotificationRequestV4) SetData

SetData sets field value

func (*TransactionNotificationRequestV4) SetEnvironment

func (o *TransactionNotificationRequestV4) SetEnvironment(v string)

SetEnvironment sets field value

func (*TransactionNotificationRequestV4) SetType

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)

Jump to

Keyboard shortcuts

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