disputewebhook

package
v17.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 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 BalancePlatformNotificationResponse

type BalancePlatformNotificationResponse struct {
	// Respond with any **2xx** HTTP status code 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 DisputeEventNotification

type DisputeEventNotification struct {
	// The unique Acquirer Reference Number (arn) generated by the card scheme for each capture. You can use the arn to trace the transaction through its lifecycle.
	Arn *string `json:"arn,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"`
	// Contains information about the dispute.
	Description    *string `json:"description,omitempty"`
	DisputedAmount *Amount `json:"disputedAmount,omitempty"`
	// The ID of the resource.
	Id *string `json:"id,omitempty"`
	// The current status of the dispute.
	Status *string `json:"status,omitempty"`
	// Additional information about the status of the dispute, when available.
	StatusDetail *string `json:"statusDetail,omitempty"`
	// The unique reference of the transaction for which the dispute is requested.
	TransactionId *string `json:"transactionId,omitempty"`
	// The type of dispute raised for the transaction.
	Type *string `json:"type,omitempty"`
}

DisputeEventNotification struct for DisputeEventNotification

func NewDisputeEventNotification

func NewDisputeEventNotification() *DisputeEventNotification

NewDisputeEventNotification instantiates a new DisputeEventNotification 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 NewDisputeEventNotificationWithDefaults

func NewDisputeEventNotificationWithDefaults() *DisputeEventNotification

NewDisputeEventNotificationWithDefaults instantiates a new DisputeEventNotification 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 (*DisputeEventNotification) GetArn

func (o *DisputeEventNotification) GetArn() string

GetArn returns the Arn field value if set, zero value otherwise.

func (*DisputeEventNotification) GetArnOk

func (o *DisputeEventNotification) GetArnOk() (*string, bool)

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

func (*DisputeEventNotification) GetBalancePlatform

func (o *DisputeEventNotification) GetBalancePlatform() string

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

func (*DisputeEventNotification) GetBalancePlatformOk

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

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

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

func (*DisputeEventNotification) GetCreationDateOk

func (o *DisputeEventNotification) 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 (*DisputeEventNotification) GetDescription

func (o *DisputeEventNotification) GetDescription() string

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

func (*DisputeEventNotification) GetDescriptionOk

func (o *DisputeEventNotification) 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 (*DisputeEventNotification) GetDisputedAmount

func (o *DisputeEventNotification) GetDisputedAmount() Amount

GetDisputedAmount returns the DisputedAmount field value if set, zero value otherwise.

func (*DisputeEventNotification) GetDisputedAmountOk

func (o *DisputeEventNotification) GetDisputedAmountOk() (*Amount, bool)

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

func (*DisputeEventNotification) GetId

func (o *DisputeEventNotification) GetId() string

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

func (*DisputeEventNotification) GetIdOk

func (o *DisputeEventNotification) 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 (*DisputeEventNotification) GetStatus

func (o *DisputeEventNotification) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*DisputeEventNotification) GetStatusDetail

func (o *DisputeEventNotification) GetStatusDetail() string

GetStatusDetail returns the StatusDetail field value if set, zero value otherwise.

func (*DisputeEventNotification) GetStatusDetailOk

func (o *DisputeEventNotification) GetStatusDetailOk() (*string, bool)

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

func (*DisputeEventNotification) GetStatusOk

func (o *DisputeEventNotification) GetStatusOk() (*string, bool)

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

func (*DisputeEventNotification) GetTransactionId

func (o *DisputeEventNotification) GetTransactionId() string

GetTransactionId returns the TransactionId field value if set, zero value otherwise.

func (*DisputeEventNotification) GetTransactionIdOk

func (o *DisputeEventNotification) GetTransactionIdOk() (*string, bool)

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

func (*DisputeEventNotification) GetType

func (o *DisputeEventNotification) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DisputeEventNotification) GetTypeOk

func (o *DisputeEventNotification) 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 (*DisputeEventNotification) HasArn

func (o *DisputeEventNotification) HasArn() bool

HasArn returns a boolean if a field has been set.

func (*DisputeEventNotification) HasBalancePlatform

func (o *DisputeEventNotification) HasBalancePlatform() bool

HasBalancePlatform returns a boolean if a field has been set.

func (*DisputeEventNotification) HasCreationDate

func (o *DisputeEventNotification) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*DisputeEventNotification) HasDescription

func (o *DisputeEventNotification) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DisputeEventNotification) HasDisputedAmount

func (o *DisputeEventNotification) HasDisputedAmount() bool

HasDisputedAmount returns a boolean if a field has been set.

func (*DisputeEventNotification) HasId

func (o *DisputeEventNotification) HasId() bool

HasId returns a boolean if a field has been set.

func (*DisputeEventNotification) HasStatus

func (o *DisputeEventNotification) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DisputeEventNotification) HasStatusDetail

func (o *DisputeEventNotification) HasStatusDetail() bool

HasStatusDetail returns a boolean if a field has been set.

func (*DisputeEventNotification) HasTransactionId

func (o *DisputeEventNotification) HasTransactionId() bool

HasTransactionId returns a boolean if a field has been set.

func (*DisputeEventNotification) HasType

func (o *DisputeEventNotification) HasType() bool

HasType returns a boolean if a field has been set.

func (DisputeEventNotification) MarshalJSON

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

func (*DisputeEventNotification) SetArn

func (o *DisputeEventNotification) SetArn(v string)

SetArn gets a reference to the given string and assigns it to the Arn field.

func (*DisputeEventNotification) SetBalancePlatform

func (o *DisputeEventNotification) SetBalancePlatform(v string)

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

func (*DisputeEventNotification) SetCreationDate

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

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

func (*DisputeEventNotification) SetDescription

func (o *DisputeEventNotification) SetDescription(v string)

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

func (*DisputeEventNotification) SetDisputedAmount

func (o *DisputeEventNotification) SetDisputedAmount(v Amount)

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

func (*DisputeEventNotification) SetId

func (o *DisputeEventNotification) SetId(v string)

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

func (*DisputeEventNotification) SetStatus

func (o *DisputeEventNotification) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*DisputeEventNotification) SetStatusDetail

func (o *DisputeEventNotification) SetStatusDetail(v string)

SetStatusDetail gets a reference to the given string and assigns it to the StatusDetail field.

func (*DisputeEventNotification) SetTransactionId

func (o *DisputeEventNotification) SetTransactionId(v string)

SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.

func (*DisputeEventNotification) SetType

func (o *DisputeEventNotification) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (DisputeEventNotification) ToMap

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

type DisputeNotificationRequest

type DisputeNotificationRequest struct {
	Data DisputeEventNotification `json:"data"`
	// Type of webhook.
	Type string `json:"type"`
}

DisputeNotificationRequest struct for DisputeNotificationRequest

func NewDisputeNotificationRequest

func NewDisputeNotificationRequest(data DisputeEventNotification, type_ string) *DisputeNotificationRequest

NewDisputeNotificationRequest instantiates a new DisputeNotificationRequest 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 NewDisputeNotificationRequestWithDefaults

func NewDisputeNotificationRequestWithDefaults() *DisputeNotificationRequest

NewDisputeNotificationRequestWithDefaults instantiates a new DisputeNotificationRequest 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 (*DisputeNotificationRequest) GetData

GetData returns the Data field value

func (*DisputeNotificationRequest) GetDataOk

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

func (*DisputeNotificationRequest) GetType

func (o *DisputeNotificationRequest) GetType() string

GetType returns the Type field value

func (*DisputeNotificationRequest) GetTypeOk

func (o *DisputeNotificationRequest) GetTypeOk() (*string, bool)

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

func (DisputeNotificationRequest) MarshalJSON

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

func (*DisputeNotificationRequest) SetData

SetData sets field value

func (*DisputeNotificationRequest) SetType

func (o *DisputeNotificationRequest) SetType(v string)

SetType sets field value

func (DisputeNotificationRequest) ToMap

func (o DisputeNotificationRequest) 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 NullableDisputeEventNotification

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

func (NullableDisputeEventNotification) Get

func (NullableDisputeEventNotification) IsSet

func (NullableDisputeEventNotification) MarshalJSON

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

func (*NullableDisputeEventNotification) Set

func (*NullableDisputeEventNotification) UnmarshalJSON

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

func (*NullableDisputeEventNotification) Unset

type NullableDisputeNotificationRequest

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

func (NullableDisputeNotificationRequest) Get

func (NullableDisputeNotificationRequest) IsSet

func (NullableDisputeNotificationRequest) MarshalJSON

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

func (*NullableDisputeNotificationRequest) Set

func (*NullableDisputeNotificationRequest) UnmarshalJSON

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

func (*NullableDisputeNotificationRequest) Unset

Jump to

Keyboard shortcuts

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