negativebalancewarningwebhook

package
v18.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 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-codes).
	Currency string `json:"currency"`
	// The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
	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 NegativeBalanceCompensationWarningNotificationData

type NegativeBalanceCompensationWarningNotificationData struct {
	AccountHolder *ResourceReference `json:"accountHolder,omitempty"`
	Amount        *Amount            `json:"amount,omitempty"`
	// 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"`
	// The balance account ID of the account that will be used to compensate the balance account whose balance is negative.
	LiableBalanceAccountId *string `json:"liableBalanceAccountId,omitempty"`
	// The date the balance for the account became negative.
	NegativeBalanceSince *time.Time `json:"negativeBalanceSince,omitempty"`
	// The date when a compensation transfer to the account is scheduled to happen.
	ScheduledCompensationAt *time.Time `json:"scheduledCompensationAt,omitempty"`
}

NegativeBalanceCompensationWarningNotificationData struct for NegativeBalanceCompensationWarningNotificationData

func NewNegativeBalanceCompensationWarningNotificationData

func NewNegativeBalanceCompensationWarningNotificationData() *NegativeBalanceCompensationWarningNotificationData

NewNegativeBalanceCompensationWarningNotificationData instantiates a new NegativeBalanceCompensationWarningNotificationData 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 NewNegativeBalanceCompensationWarningNotificationDataWithDefaults

func NewNegativeBalanceCompensationWarningNotificationDataWithDefaults() *NegativeBalanceCompensationWarningNotificationData

NewNegativeBalanceCompensationWarningNotificationDataWithDefaults instantiates a new NegativeBalanceCompensationWarningNotificationData 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 (*NegativeBalanceCompensationWarningNotificationData) GetAccountHolder

GetAccountHolder returns the AccountHolder field value if set, zero value otherwise.

func (*NegativeBalanceCompensationWarningNotificationData) GetAccountHolderOk

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

func (*NegativeBalanceCompensationWarningNotificationData) GetAmount

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

func (*NegativeBalanceCompensationWarningNotificationData) GetAmountOk

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

func (*NegativeBalanceCompensationWarningNotificationData) GetBalancePlatform

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

func (*NegativeBalanceCompensationWarningNotificationData) GetBalancePlatformOk

func (o *NegativeBalanceCompensationWarningNotificationData) 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 (*NegativeBalanceCompensationWarningNotificationData) GetCreationDate

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

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

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

func (*NegativeBalanceCompensationWarningNotificationData) 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 (*NegativeBalanceCompensationWarningNotificationData) GetLiableBalanceAccountId

func (o *NegativeBalanceCompensationWarningNotificationData) GetLiableBalanceAccountId() string

GetLiableBalanceAccountId returns the LiableBalanceAccountId field value if set, zero value otherwise.

func (*NegativeBalanceCompensationWarningNotificationData) GetLiableBalanceAccountIdOk

func (o *NegativeBalanceCompensationWarningNotificationData) GetLiableBalanceAccountIdOk() (*string, bool)

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

func (*NegativeBalanceCompensationWarningNotificationData) GetNegativeBalanceSince

func (o *NegativeBalanceCompensationWarningNotificationData) GetNegativeBalanceSince() time.Time

GetNegativeBalanceSince returns the NegativeBalanceSince field value if set, zero value otherwise.

func (*NegativeBalanceCompensationWarningNotificationData) GetNegativeBalanceSinceOk

func (o *NegativeBalanceCompensationWarningNotificationData) GetNegativeBalanceSinceOk() (*time.Time, bool)

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

func (*NegativeBalanceCompensationWarningNotificationData) GetScheduledCompensationAt

func (o *NegativeBalanceCompensationWarningNotificationData) GetScheduledCompensationAt() time.Time

GetScheduledCompensationAt returns the ScheduledCompensationAt field value if set, zero value otherwise.

func (*NegativeBalanceCompensationWarningNotificationData) GetScheduledCompensationAtOk

func (o *NegativeBalanceCompensationWarningNotificationData) GetScheduledCompensationAtOk() (*time.Time, bool)

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

func (*NegativeBalanceCompensationWarningNotificationData) HasAccountHolder

HasAccountHolder returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasAmount

HasAmount returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasBalancePlatform

HasBalancePlatform returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasCreationDate

HasCreationDate returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasId

HasId returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasLiableBalanceAccountId

func (o *NegativeBalanceCompensationWarningNotificationData) HasLiableBalanceAccountId() bool

HasLiableBalanceAccountId returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasNegativeBalanceSince

func (o *NegativeBalanceCompensationWarningNotificationData) HasNegativeBalanceSince() bool

HasNegativeBalanceSince returns a boolean if a field has been set.

func (*NegativeBalanceCompensationWarningNotificationData) HasScheduledCompensationAt

func (o *NegativeBalanceCompensationWarningNotificationData) HasScheduledCompensationAt() bool

HasScheduledCompensationAt returns a boolean if a field has been set.

func (NegativeBalanceCompensationWarningNotificationData) MarshalJSON

func (*NegativeBalanceCompensationWarningNotificationData) SetAccountHolder

SetAccountHolder gets a reference to the given ResourceReference and assigns it to the AccountHolder field.

func (*NegativeBalanceCompensationWarningNotificationData) SetAmount

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

func (*NegativeBalanceCompensationWarningNotificationData) SetBalancePlatform

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

func (*NegativeBalanceCompensationWarningNotificationData) SetCreationDate

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

func (*NegativeBalanceCompensationWarningNotificationData) SetId

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

func (*NegativeBalanceCompensationWarningNotificationData) SetLiableBalanceAccountId

func (o *NegativeBalanceCompensationWarningNotificationData) SetLiableBalanceAccountId(v string)

SetLiableBalanceAccountId gets a reference to the given string and assigns it to the LiableBalanceAccountId field.

func (*NegativeBalanceCompensationWarningNotificationData) SetNegativeBalanceSince

func (o *NegativeBalanceCompensationWarningNotificationData) SetNegativeBalanceSince(v time.Time)

SetNegativeBalanceSince gets a reference to the given time.Time and assigns it to the NegativeBalanceSince field.

func (*NegativeBalanceCompensationWarningNotificationData) SetScheduledCompensationAt

func (o *NegativeBalanceCompensationWarningNotificationData) SetScheduledCompensationAt(v time.Time)

SetScheduledCompensationAt gets a reference to the given time.Time and assigns it to the ScheduledCompensationAt field.

func (NegativeBalanceCompensationWarningNotificationData) ToMap

type NegativeBalanceCompensationWarningNotificationRequest

type NegativeBalanceCompensationWarningNotificationRequest struct {
	Data NegativeBalanceCompensationWarningNotificationData `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"`
}

NegativeBalanceCompensationWarningNotificationRequest struct for NegativeBalanceCompensationWarningNotificationRequest

func NewNegativeBalanceCompensationWarningNotificationRequest

func NewNegativeBalanceCompensationWarningNotificationRequest(data NegativeBalanceCompensationWarningNotificationData, environment string, type_ string) *NegativeBalanceCompensationWarningNotificationRequest

NewNegativeBalanceCompensationWarningNotificationRequest instantiates a new NegativeBalanceCompensationWarningNotificationRequest 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 NewNegativeBalanceCompensationWarningNotificationRequestWithDefaults

func NewNegativeBalanceCompensationWarningNotificationRequestWithDefaults() *NegativeBalanceCompensationWarningNotificationRequest

NewNegativeBalanceCompensationWarningNotificationRequestWithDefaults instantiates a new NegativeBalanceCompensationWarningNotificationRequest 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 (*NegativeBalanceCompensationWarningNotificationRequest) GetData

GetData returns the Data field value

func (*NegativeBalanceCompensationWarningNotificationRequest) GetDataOk

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

func (*NegativeBalanceCompensationWarningNotificationRequest) GetEnvironment

GetEnvironment returns the Environment field value

func (*NegativeBalanceCompensationWarningNotificationRequest) GetEnvironmentOk

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

func (*NegativeBalanceCompensationWarningNotificationRequest) GetTimestamp

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

func (*NegativeBalanceCompensationWarningNotificationRequest) GetTimestampOk

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 (*NegativeBalanceCompensationWarningNotificationRequest) GetType

GetType returns the Type field value

func (*NegativeBalanceCompensationWarningNotificationRequest) GetTypeOk

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

func (*NegativeBalanceCompensationWarningNotificationRequest) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (NegativeBalanceCompensationWarningNotificationRequest) MarshalJSON

func (*NegativeBalanceCompensationWarningNotificationRequest) SetData

SetData sets field value

func (*NegativeBalanceCompensationWarningNotificationRequest) SetEnvironment

SetEnvironment sets field value

func (*NegativeBalanceCompensationWarningNotificationRequest) SetTimestamp

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

func (*NegativeBalanceCompensationWarningNotificationRequest) SetType

SetType sets field value

func (NegativeBalanceCompensationWarningNotificationRequest) ToMap

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 NullableNegativeBalanceCompensationWarningNotificationData

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

func (NullableNegativeBalanceCompensationWarningNotificationData) Get

func (NullableNegativeBalanceCompensationWarningNotificationData) IsSet

func (NullableNegativeBalanceCompensationWarningNotificationData) MarshalJSON

func (*NullableNegativeBalanceCompensationWarningNotificationData) Set

func (*NullableNegativeBalanceCompensationWarningNotificationData) UnmarshalJSON

func (*NullableNegativeBalanceCompensationWarningNotificationData) Unset

type NullableNegativeBalanceCompensationWarningNotificationRequest

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

func (NullableNegativeBalanceCompensationWarningNotificationRequest) Get

func (NullableNegativeBalanceCompensationWarningNotificationRequest) IsSet

func (NullableNegativeBalanceCompensationWarningNotificationRequest) MarshalJSON

func (*NullableNegativeBalanceCompensationWarningNotificationRequest) Set

func (*NullableNegativeBalanceCompensationWarningNotificationRequest) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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