balancewebhook

package
v21.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 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 added in v21.2.0

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

Amount struct for Amount

func NewAmount added in v21.2.0

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 added in v21.2.0

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 added in v21.2.0

func (o *Amount) GetCurrency() string

GetCurrency returns the Currency field value

func (*Amount) GetCurrencyOk added in v21.2.0

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 added in v21.2.0

func (o *Amount) GetValue() int64

GetValue returns the Value field value

func (*Amount) GetValueOk added in v21.2.0

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 added in v21.2.0

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

func (*Amount) SetCurrency added in v21.2.0

func (o *Amount) SetCurrency(v string)

SetCurrency sets field value

func (*Amount) SetValue added in v21.2.0

func (o *Amount) SetValue(v int64)

SetValue sets field value

func (Amount) ToMap added in v21.2.0

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

type BalanceAccountBalanceNotificationRequest

type BalanceAccountBalanceNotificationRequest struct {
	Data BalanceNotificationData `json:"data"`
	// The environment from which the webhook originated.  Possible values: **test**, **live**.
	Environment string `json:"environment"`
	// When the event was queued.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// Type of webhook.
	Type string `json:"type"`
}

BalanceAccountBalanceNotificationRequest struct for BalanceAccountBalanceNotificationRequest

func HandleBalanceAccountBalanceNotificationRequest

func HandleBalanceAccountBalanceNotificationRequest(req string) (*BalanceAccountBalanceNotificationRequest, error)

HandleBalanceAccountBalanceNotificationRequest creates a Notification object from the given JSON string

func NewBalanceAccountBalanceNotificationRequest

func NewBalanceAccountBalanceNotificationRequest(data BalanceNotificationData, environment string, type_ string) *BalanceAccountBalanceNotificationRequest

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

func NewBalanceAccountBalanceNotificationRequestWithDefaults

func NewBalanceAccountBalanceNotificationRequestWithDefaults() *BalanceAccountBalanceNotificationRequest

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

func (*BalanceAccountBalanceNotificationRequest) GetData

GetData returns the Data field value

func (*BalanceAccountBalanceNotificationRequest) GetDataOk

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

func (*BalanceAccountBalanceNotificationRequest) GetEnvironment

GetEnvironment returns the Environment field value

func (*BalanceAccountBalanceNotificationRequest) GetEnvironmentOk

func (o *BalanceAccountBalanceNotificationRequest) GetEnvironmentOk() (*string, bool)

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

func (*BalanceAccountBalanceNotificationRequest) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*BalanceAccountBalanceNotificationRequest) GetTimestampOk

func (o *BalanceAccountBalanceNotificationRequest) GetTimestampOk() (*time.Time, bool)

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

func (*BalanceAccountBalanceNotificationRequest) GetType

GetType returns the Type field value

func (*BalanceAccountBalanceNotificationRequest) GetTypeOk

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

func (*BalanceAccountBalanceNotificationRequest) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (BalanceAccountBalanceNotificationRequest) MarshalJSON

func (*BalanceAccountBalanceNotificationRequest) SetData

SetData sets field value

func (*BalanceAccountBalanceNotificationRequest) SetEnvironment

func (o *BalanceAccountBalanceNotificationRequest) SetEnvironment(v string)

SetEnvironment sets field value

func (*BalanceAccountBalanceNotificationRequest) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*BalanceAccountBalanceNotificationRequest) SetType

SetType sets field value

func (BalanceAccountBalanceNotificationRequest) ToMap

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

type BalanceNotificationData

type BalanceNotificationData struct {
	// The unique identifier of the balance account.
	BalanceAccountId string `json:"balanceAccountId"`
	// The unique identifier of the balance platform.
	BalancePlatform *string  `json:"balancePlatform,omitempty"`
	Balances        Balances `json:"balances"`
	// The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
	CreationDate *time.Time `json:"creationDate,omitempty"`
	// The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
	Currency string `json:"currency"`
	// The ID of the resource.
	Id *string `json:"id,omitempty"`
	// The unique identifier of the balance webhook setting.
	SettingIds []string `json:"settingIds"`
}

BalanceNotificationData struct for BalanceNotificationData

func NewBalanceNotificationData

func NewBalanceNotificationData(balanceAccountId string, balances Balances, currency string, settingIds []string) *BalanceNotificationData

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

func NewBalanceNotificationDataWithDefaults

func NewBalanceNotificationDataWithDefaults() *BalanceNotificationData

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

func (*BalanceNotificationData) GetBalanceAccountId

func (o *BalanceNotificationData) GetBalanceAccountId() string

GetBalanceAccountId returns the BalanceAccountId field value

func (*BalanceNotificationData) GetBalanceAccountIdOk

func (o *BalanceNotificationData) GetBalanceAccountIdOk() (*string, bool)

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

func (*BalanceNotificationData) GetBalancePlatform

func (o *BalanceNotificationData) GetBalancePlatform() string

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

func (*BalanceNotificationData) GetBalancePlatformOk

func (o *BalanceNotificationData) 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 (*BalanceNotificationData) GetBalances

func (o *BalanceNotificationData) GetBalances() Balances

GetBalances returns the Balances field value

func (*BalanceNotificationData) GetBalancesOk

func (o *BalanceNotificationData) GetBalancesOk() (*Balances, bool)

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

func (*BalanceNotificationData) GetCreationDate

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

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

func (*BalanceNotificationData) GetCreationDateOk

func (o *BalanceNotificationData) 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 (*BalanceNotificationData) GetCurrency

func (o *BalanceNotificationData) GetCurrency() string

GetCurrency returns the Currency field value

func (*BalanceNotificationData) GetCurrencyOk

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

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

func (*BalanceNotificationData) GetId

func (o *BalanceNotificationData) GetId() string

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

func (*BalanceNotificationData) GetIdOk

func (o *BalanceNotificationData) 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 (*BalanceNotificationData) GetSettingIds

func (o *BalanceNotificationData) GetSettingIds() []string

GetSettingIds returns the SettingIds field value

func (*BalanceNotificationData) GetSettingIdsOk

func (o *BalanceNotificationData) GetSettingIdsOk() ([]string, bool)

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

func (*BalanceNotificationData) HasBalancePlatform

func (o *BalanceNotificationData) HasBalancePlatform() bool

HasBalancePlatform returns a boolean if a field has been set.

func (*BalanceNotificationData) HasCreationDate

func (o *BalanceNotificationData) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*BalanceNotificationData) HasId

func (o *BalanceNotificationData) HasId() bool

HasId returns a boolean if a field has been set.

func (BalanceNotificationData) MarshalJSON

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

func (*BalanceNotificationData) SetBalanceAccountId

func (o *BalanceNotificationData) SetBalanceAccountId(v string)

SetBalanceAccountId sets field value

func (*BalanceNotificationData) SetBalancePlatform

func (o *BalanceNotificationData) SetBalancePlatform(v string)

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

func (*BalanceNotificationData) SetBalances

func (o *BalanceNotificationData) SetBalances(v Balances)

SetBalances sets field value

func (*BalanceNotificationData) SetCreationDate

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

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

func (*BalanceNotificationData) SetCurrency

func (o *BalanceNotificationData) SetCurrency(v string)

SetCurrency sets field value

func (*BalanceNotificationData) SetId

func (o *BalanceNotificationData) SetId(v string)

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

func (*BalanceNotificationData) SetSettingIds

func (o *BalanceNotificationData) SetSettingIds(v []string)

SetSettingIds sets field value

func (BalanceNotificationData) ToMap

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

type BalancePlatformNotificationResponse

type BalancePlatformNotificationResponse struct {
	// Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
	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 Balances

type Balances struct {
	// The balance that is available for use.
	Available *int64 `json:"available,omitempty"`
	// The sum of transactions that have already been settled.
	Balance *int64 `json:"balance,omitempty"`
	// The sum of transactions that will be settled in the future.
	Pending *int64 `json:"pending,omitempty"`
	// The balance currently held in reserve.
	Reserved *int64 `json:"reserved,omitempty"`
}

Balances struct for Balances

func NewBalances

func NewBalances() *Balances

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

func NewBalancesWithDefaults

func NewBalancesWithDefaults() *Balances

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

func (*Balances) GetAvailable

func (o *Balances) GetAvailable() int64

GetAvailable returns the Available field value if set, zero value otherwise.

func (*Balances) GetAvailableOk

func (o *Balances) GetAvailableOk() (*int64, bool)

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

func (*Balances) GetBalance

func (o *Balances) GetBalance() int64

GetBalance returns the Balance field value if set, zero value otherwise.

func (*Balances) GetBalanceOk

func (o *Balances) GetBalanceOk() (*int64, bool)

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

func (*Balances) GetPending

func (o *Balances) GetPending() int64

GetPending returns the Pending field value if set, zero value otherwise.

func (*Balances) GetPendingOk

func (o *Balances) GetPendingOk() (*int64, bool)

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

func (*Balances) GetReserved

func (o *Balances) GetReserved() int64

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*Balances) GetReservedOk

func (o *Balances) GetReservedOk() (*int64, bool)

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

func (*Balances) HasAvailable

func (o *Balances) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*Balances) HasBalance

func (o *Balances) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*Balances) HasPending

func (o *Balances) HasPending() bool

HasPending returns a boolean if a field has been set.

func (*Balances) HasReserved

func (o *Balances) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (Balances) MarshalJSON

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

func (*Balances) SetAvailable

func (o *Balances) SetAvailable(v int64)

SetAvailable gets a reference to the given int64 and assigns it to the Available field.

func (*Balances) SetBalance

func (o *Balances) SetBalance(v int64)

SetBalance gets a reference to the given int64 and assigns it to the Balance field.

func (*Balances) SetPending

func (o *Balances) SetPending(v int64)

SetPending gets a reference to the given int64 and assigns it to the Pending field.

func (*Balances) SetReserved

func (o *Balances) SetReserved(v int64)

SetReserved gets a reference to the given int64 and assigns it to the Reserved field.

func (Balances) ToMap

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

type NullableAmount added in v21.2.0

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

func NewNullableAmount added in v21.2.0

func NewNullableAmount(val *Amount) *NullableAmount

func (NullableAmount) Get added in v21.2.0

func (v NullableAmount) Get() *Amount

func (NullableAmount) IsSet added in v21.2.0

func (v NullableAmount) IsSet() bool

func (NullableAmount) MarshalJSON added in v21.2.0

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

func (*NullableAmount) Set added in v21.2.0

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

func (*NullableAmount) UnmarshalJSON added in v21.2.0

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

func (*NullableAmount) Unset added in v21.2.0

func (v *NullableAmount) Unset()

type NullableBalanceAccountBalanceNotificationRequest

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

func (NullableBalanceAccountBalanceNotificationRequest) Get

func (NullableBalanceAccountBalanceNotificationRequest) IsSet

func (NullableBalanceAccountBalanceNotificationRequest) MarshalJSON

func (*NullableBalanceAccountBalanceNotificationRequest) Set

func (*NullableBalanceAccountBalanceNotificationRequest) UnmarshalJSON

func (*NullableBalanceAccountBalanceNotificationRequest) Unset

type NullableBalanceNotificationData

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

func (NullableBalanceNotificationData) Get

func (NullableBalanceNotificationData) IsSet

func (NullableBalanceNotificationData) MarshalJSON

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

func (*NullableBalanceNotificationData) Set

func (*NullableBalanceNotificationData) UnmarshalJSON

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

func (*NullableBalanceNotificationData) 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 NullableBalances

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

func NewNullableBalances

func NewNullableBalances(val *Balances) *NullableBalances

func (NullableBalances) Get

func (v NullableBalances) Get() *Balances

func (NullableBalances) IsSet

func (v NullableBalances) IsSet() bool

func (NullableBalances) MarshalJSON

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

func (*NullableBalances) Set

func (v *NullableBalances) Set(val *Balances)

func (*NullableBalances) UnmarshalJSON

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

func (*NullableBalances) Unset

func (v *NullableBalances) Unset()

type NullableReleaseBlockedBalanceNotificationData added in v21.2.0

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

func NewNullableReleaseBlockedBalanceNotificationData added in v21.2.0

func NewNullableReleaseBlockedBalanceNotificationData(val *ReleaseBlockedBalanceNotificationData) *NullableReleaseBlockedBalanceNotificationData

func (NullableReleaseBlockedBalanceNotificationData) Get added in v21.2.0

func (NullableReleaseBlockedBalanceNotificationData) IsSet added in v21.2.0

func (NullableReleaseBlockedBalanceNotificationData) MarshalJSON added in v21.2.0

func (*NullableReleaseBlockedBalanceNotificationData) Set added in v21.2.0

func (*NullableReleaseBlockedBalanceNotificationData) UnmarshalJSON added in v21.2.0

func (*NullableReleaseBlockedBalanceNotificationData) Unset added in v21.2.0

type NullableReleasedBlockedBalanceNotificationRequest added in v21.2.0

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

func (NullableReleasedBlockedBalanceNotificationRequest) Get added in v21.2.0

func (NullableReleasedBlockedBalanceNotificationRequest) IsSet added in v21.2.0

func (NullableReleasedBlockedBalanceNotificationRequest) MarshalJSON added in v21.2.0

func (*NullableReleasedBlockedBalanceNotificationRequest) Set added in v21.2.0

func (*NullableReleasedBlockedBalanceNotificationRequest) UnmarshalJSON added in v21.2.0

func (*NullableReleasedBlockedBalanceNotificationRequest) Unset added in v21.2.0

type NullableResourceReference added in v21.2.0

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

func NewNullableResourceReference added in v21.2.0

func NewNullableResourceReference(val *ResourceReference) *NullableResourceReference

func (NullableResourceReference) Get added in v21.2.0

func (NullableResourceReference) IsSet added in v21.2.0

func (v NullableResourceReference) IsSet() bool

func (NullableResourceReference) MarshalJSON added in v21.2.0

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

func (*NullableResourceReference) Set added in v21.2.0

func (*NullableResourceReference) UnmarshalJSON added in v21.2.0

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

func (*NullableResourceReference) Unset added in v21.2.0

func (v *NullableResourceReference) Unset()

type ReleaseBlockedBalanceNotificationData added in v21.2.0

type ReleaseBlockedBalanceNotificationData struct {
	AccountHolder  ResourceReference `json:"accountHolder"`
	Amount         Amount            `json:"amount"`
	BalanceAccount ResourceReference `json:"balanceAccount"`
	// The unique identifier of the balance platform.
	BalancePlatform *string `json:"balancePlatform,omitempty"`
	// The reference of the batch that was released.
	BatchReference       *string `json:"batchReference,omitempty"`
	BlockedBalanceAfter  *Amount `json:"blockedBalanceAfter,omitempty"`
	BlockedBalanceBefore *Amount `json:"blockedBalanceBefore,omitempty"`
	// The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
	CreationDate *time.Time `json:"creationDate,omitempty"`
	// The ID of the resource.
	Id *string `json:"id,omitempty"`
	// The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
	ValueDate *time.Time `json:"valueDate,omitempty"`
}

ReleaseBlockedBalanceNotificationData struct for ReleaseBlockedBalanceNotificationData

func NewReleaseBlockedBalanceNotificationData added in v21.2.0

func NewReleaseBlockedBalanceNotificationData(accountHolder ResourceReference, amount Amount, balanceAccount ResourceReference) *ReleaseBlockedBalanceNotificationData

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

func NewReleaseBlockedBalanceNotificationDataWithDefaults added in v21.2.0

func NewReleaseBlockedBalanceNotificationDataWithDefaults() *ReleaseBlockedBalanceNotificationData

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

func (*ReleaseBlockedBalanceNotificationData) GetAccountHolder added in v21.2.0

GetAccountHolder returns the AccountHolder field value

func (*ReleaseBlockedBalanceNotificationData) GetAccountHolderOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetAccountHolderOk() (*ResourceReference, bool)

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

func (*ReleaseBlockedBalanceNotificationData) GetAmount added in v21.2.0

GetAmount returns the Amount field value

func (*ReleaseBlockedBalanceNotificationData) GetAmountOk added in v21.2.0

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

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

func (*ReleaseBlockedBalanceNotificationData) GetBalanceAccount added in v21.2.0

GetBalanceAccount returns the BalanceAccount field value

func (*ReleaseBlockedBalanceNotificationData) GetBalanceAccountOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBalanceAccountOk() (*ResourceReference, bool)

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

func (*ReleaseBlockedBalanceNotificationData) GetBalancePlatform added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBalancePlatform() string

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

func (*ReleaseBlockedBalanceNotificationData) GetBalancePlatformOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) 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 (*ReleaseBlockedBalanceNotificationData) GetBatchReference added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBatchReference() string

GetBatchReference returns the BatchReference field value if set, zero value otherwise.

func (*ReleaseBlockedBalanceNotificationData) GetBatchReferenceOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBatchReferenceOk() (*string, bool)

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

func (*ReleaseBlockedBalanceNotificationData) GetBlockedBalanceAfter added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBlockedBalanceAfter() Amount

GetBlockedBalanceAfter returns the BlockedBalanceAfter field value if set, zero value otherwise.

func (*ReleaseBlockedBalanceNotificationData) GetBlockedBalanceAfterOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBlockedBalanceAfterOk() (*Amount, bool)

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

func (*ReleaseBlockedBalanceNotificationData) GetBlockedBalanceBefore added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBlockedBalanceBefore() Amount

GetBlockedBalanceBefore returns the BlockedBalanceBefore field value if set, zero value otherwise.

func (*ReleaseBlockedBalanceNotificationData) GetBlockedBalanceBeforeOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetBlockedBalanceBeforeOk() (*Amount, bool)

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

func (*ReleaseBlockedBalanceNotificationData) GetCreationDate added in v21.2.0

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

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

func (*ReleaseBlockedBalanceNotificationData) GetCreationDateOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) 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 (*ReleaseBlockedBalanceNotificationData) GetId added in v21.2.0

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

func (*ReleaseBlockedBalanceNotificationData) GetIdOk added in v21.2.0

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

func (*ReleaseBlockedBalanceNotificationData) GetValueDate added in v21.2.0

GetValueDate returns the ValueDate field value if set, zero value otherwise.

func (*ReleaseBlockedBalanceNotificationData) GetValueDateOk added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) GetValueDateOk() (*time.Time, bool)

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

func (*ReleaseBlockedBalanceNotificationData) HasBalancePlatform added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasBalancePlatform() bool

HasBalancePlatform returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasBatchReference added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasBatchReference() bool

HasBatchReference returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasBlockedBalanceAfter added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasBlockedBalanceAfter() bool

HasBlockedBalanceAfter returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasBlockedBalanceBefore added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasBlockedBalanceBefore() bool

HasBlockedBalanceBefore returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasCreationDate added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasId added in v21.2.0

HasId returns a boolean if a field has been set.

func (*ReleaseBlockedBalanceNotificationData) HasValueDate added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) HasValueDate() bool

HasValueDate returns a boolean if a field has been set.

func (ReleaseBlockedBalanceNotificationData) MarshalJSON added in v21.2.0

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

func (*ReleaseBlockedBalanceNotificationData) SetAccountHolder added in v21.2.0

SetAccountHolder sets field value

func (*ReleaseBlockedBalanceNotificationData) SetAmount added in v21.2.0

SetAmount sets field value

func (*ReleaseBlockedBalanceNotificationData) SetBalanceAccount added in v21.2.0

SetBalanceAccount sets field value

func (*ReleaseBlockedBalanceNotificationData) SetBalancePlatform added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) SetBalancePlatform(v string)

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

func (*ReleaseBlockedBalanceNotificationData) SetBatchReference added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) SetBatchReference(v string)

SetBatchReference gets a reference to the given string and assigns it to the BatchReference field.

func (*ReleaseBlockedBalanceNotificationData) SetBlockedBalanceAfter added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) SetBlockedBalanceAfter(v Amount)

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

func (*ReleaseBlockedBalanceNotificationData) SetBlockedBalanceBefore added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) SetBlockedBalanceBefore(v Amount)

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

func (*ReleaseBlockedBalanceNotificationData) SetCreationDate added in v21.2.0

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

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

func (*ReleaseBlockedBalanceNotificationData) SetId added in v21.2.0

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

func (*ReleaseBlockedBalanceNotificationData) SetValueDate added in v21.2.0

func (o *ReleaseBlockedBalanceNotificationData) SetValueDate(v time.Time)

SetValueDate gets a reference to the given time.Time and assigns it to the ValueDate field.

func (ReleaseBlockedBalanceNotificationData) ToMap added in v21.2.0

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

type ReleasedBlockedBalanceNotificationRequest added in v21.2.0

type ReleasedBlockedBalanceNotificationRequest struct {
	Data ReleaseBlockedBalanceNotificationData `json:"data"`
	// The environment from which the webhook originated.  Possible values: **test**, **live**.
	Environment string `json:"environment"`
	// When the event was queued.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// Type of webhook.
	Type string `json:"type"`
}

ReleasedBlockedBalanceNotificationRequest struct for ReleasedBlockedBalanceNotificationRequest

func NewReleasedBlockedBalanceNotificationRequest added in v21.2.0

func NewReleasedBlockedBalanceNotificationRequest(data ReleaseBlockedBalanceNotificationData, environment string, type_ string) *ReleasedBlockedBalanceNotificationRequest

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

func NewReleasedBlockedBalanceNotificationRequestWithDefaults added in v21.2.0

func NewReleasedBlockedBalanceNotificationRequestWithDefaults() *ReleasedBlockedBalanceNotificationRequest

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

func (*ReleasedBlockedBalanceNotificationRequest) GetData added in v21.2.0

GetData returns the Data field value

func (*ReleasedBlockedBalanceNotificationRequest) GetDataOk added in v21.2.0

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

func (*ReleasedBlockedBalanceNotificationRequest) GetEnvironment added in v21.2.0

GetEnvironment returns the Environment field value

func (*ReleasedBlockedBalanceNotificationRequest) GetEnvironmentOk added in v21.2.0

func (o *ReleasedBlockedBalanceNotificationRequest) GetEnvironmentOk() (*string, bool)

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

func (*ReleasedBlockedBalanceNotificationRequest) GetTimestamp added in v21.2.0

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ReleasedBlockedBalanceNotificationRequest) GetTimestampOk added in v21.2.0

func (o *ReleasedBlockedBalanceNotificationRequest) GetTimestampOk() (*time.Time, bool)

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

func (*ReleasedBlockedBalanceNotificationRequest) GetType added in v21.2.0

GetType returns the Type field value

func (*ReleasedBlockedBalanceNotificationRequest) GetTypeOk added in v21.2.0

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

func (*ReleasedBlockedBalanceNotificationRequest) HasTimestamp added in v21.2.0

HasTimestamp returns a boolean if a field has been set.

func (ReleasedBlockedBalanceNotificationRequest) MarshalJSON added in v21.2.0

func (*ReleasedBlockedBalanceNotificationRequest) SetData added in v21.2.0

SetData sets field value

func (*ReleasedBlockedBalanceNotificationRequest) SetEnvironment added in v21.2.0

SetEnvironment sets field value

func (*ReleasedBlockedBalanceNotificationRequest) SetTimestamp added in v21.2.0

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*ReleasedBlockedBalanceNotificationRequest) SetType added in v21.2.0

SetType sets field value

func (ReleasedBlockedBalanceNotificationRequest) ToMap added in v21.2.0

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

type ResourceReference added in v21.2.0

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 added in v21.2.0

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 added in v21.2.0

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 added in v21.2.0

func (o *ResourceReference) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ResourceReference) GetDescriptionOk added in v21.2.0

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 added in v21.2.0

func (o *ResourceReference) GetId() string

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

func (*ResourceReference) GetIdOk added in v21.2.0

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 added in v21.2.0

func (o *ResourceReference) GetReference() string

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

func (*ResourceReference) GetReferenceOk added in v21.2.0

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 added in v21.2.0

func (o *ResourceReference) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResourceReference) HasId added in v21.2.0

func (o *ResourceReference) HasId() bool

HasId returns a boolean if a field has been set.

func (*ResourceReference) HasReference added in v21.2.0

func (o *ResourceReference) HasReference() bool

HasReference returns a boolean if a field has been set.

func (ResourceReference) MarshalJSON added in v21.2.0

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

func (*ResourceReference) SetDescription added in v21.2.0

func (o *ResourceReference) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ResourceReference) SetId added in v21.2.0

func (o *ResourceReference) SetId(v string)

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

func (*ResourceReference) SetReference added in v21.2.0

func (o *ResourceReference) SetReference(v string)

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

func (ResourceReference) ToMap added in v21.2.0

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

Jump to

Keyboard shortcuts

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