reportwebhook

package
v8.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 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 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 NullableReportNotificationData

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

func (NullableReportNotificationData) Get

func (NullableReportNotificationData) IsSet

func (NullableReportNotificationData) MarshalJSON

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

func (*NullableReportNotificationData) Set

func (*NullableReportNotificationData) UnmarshalJSON

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

func (*NullableReportNotificationData) Unset

func (v *NullableReportNotificationData) Unset()

type NullableReportNotificationRequest

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

func (NullableReportNotificationRequest) Get

func (NullableReportNotificationRequest) IsSet

func (NullableReportNotificationRequest) MarshalJSON

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

func (*NullableReportNotificationRequest) Set

func (*NullableReportNotificationRequest) UnmarshalJSON

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

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

type ReportNotificationData struct {
	AccountHolder  *ResourceReference `json:"accountHolder,omitempty"`
	BalanceAccount *ResourceReference `json:"balanceAccount,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 URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview).
	DownloadUrl string `json:"downloadUrl"`
	// The filename of the report.
	FileName string `json:"fileName"`
	// Type of report.
	ReportType string `json:"reportType"`
}

ReportNotificationData struct for ReportNotificationData

func NewReportNotificationData

func NewReportNotificationData(downloadUrl string, fileName string, reportType string) *ReportNotificationData

NewReportNotificationData instantiates a new ReportNotificationData 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 NewReportNotificationDataWithDefaults

func NewReportNotificationDataWithDefaults() *ReportNotificationData

NewReportNotificationDataWithDefaults instantiates a new ReportNotificationData 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 (*ReportNotificationData) GetAccountHolder

func (o *ReportNotificationData) GetAccountHolder() ResourceReference

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

func (*ReportNotificationData) GetAccountHolderOk

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

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 (*ReportNotificationData) GetBalanceAccount

func (o *ReportNotificationData) GetBalanceAccount() ResourceReference

GetBalanceAccount returns the BalanceAccount field value if set, zero value otherwise.

func (*ReportNotificationData) GetBalanceAccountOk

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

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

func (*ReportNotificationData) GetBalancePlatform

func (o *ReportNotificationData) GetBalancePlatform() string

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

func (*ReportNotificationData) GetBalancePlatformOk

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

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

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

func (*ReportNotificationData) GetCreationDateOk

func (o *ReportNotificationData) 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 (*ReportNotificationData) GetDownloadUrl

func (o *ReportNotificationData) GetDownloadUrl() string

GetDownloadUrl returns the DownloadUrl field value

func (*ReportNotificationData) GetDownloadUrlOk

func (o *ReportNotificationData) GetDownloadUrlOk() (*string, bool)

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

func (*ReportNotificationData) GetFileName

func (o *ReportNotificationData) GetFileName() string

GetFileName returns the FileName field value

func (*ReportNotificationData) GetFileNameOk

func (o *ReportNotificationData) GetFileNameOk() (*string, bool)

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

func (*ReportNotificationData) GetReportType

func (o *ReportNotificationData) GetReportType() string

GetReportType returns the ReportType field value

func (*ReportNotificationData) GetReportTypeOk

func (o *ReportNotificationData) GetReportTypeOk() (*string, bool)

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

func (*ReportNotificationData) HasAccountHolder

func (o *ReportNotificationData) HasAccountHolder() bool

HasAccountHolder returns a boolean if a field has been set.

func (*ReportNotificationData) HasBalanceAccount

func (o *ReportNotificationData) HasBalanceAccount() bool

HasBalanceAccount returns a boolean if a field has been set.

func (*ReportNotificationData) HasBalancePlatform

func (o *ReportNotificationData) HasBalancePlatform() bool

HasBalancePlatform returns a boolean if a field has been set.

func (*ReportNotificationData) HasCreationDate

func (o *ReportNotificationData) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (ReportNotificationData) MarshalJSON

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

func (*ReportNotificationData) SetAccountHolder

func (o *ReportNotificationData) SetAccountHolder(v ResourceReference)

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

func (*ReportNotificationData) SetBalanceAccount

func (o *ReportNotificationData) SetBalanceAccount(v ResourceReference)

SetBalanceAccount gets a reference to the given ResourceReference and assigns it to the BalanceAccount field.

func (*ReportNotificationData) SetBalancePlatform

func (o *ReportNotificationData) SetBalancePlatform(v string)

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

func (*ReportNotificationData) SetCreationDate

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

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

func (*ReportNotificationData) SetDownloadUrl

func (o *ReportNotificationData) SetDownloadUrl(v string)

SetDownloadUrl sets field value

func (*ReportNotificationData) SetFileName

func (o *ReportNotificationData) SetFileName(v string)

SetFileName sets field value

func (*ReportNotificationData) SetReportType

func (o *ReportNotificationData) SetReportType(v string)

SetReportType sets field value

func (ReportNotificationData) ToMap

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

type ReportNotificationRequest

type ReportNotificationRequest struct {
	Data ReportNotificationData `json:"data"`
	// The environment from which the webhook originated.  Possible values: **test**, **live**.
	Environment string `json:"environment"`
	// Type of webhook.
	Type string `json:"type"`
}

ReportNotificationRequest struct for ReportNotificationRequest

func HandleReportNotificationRequest

func HandleReportNotificationRequest(req string) (*ReportNotificationRequest, error)

HandleReportNotificationRequest creates a Notification object from the given JSON string

func NewReportNotificationRequest

func NewReportNotificationRequest(data ReportNotificationData, environment string, type_ string) *ReportNotificationRequest

NewReportNotificationRequest instantiates a new ReportNotificationRequest 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 NewReportNotificationRequestWithDefaults

func NewReportNotificationRequestWithDefaults() *ReportNotificationRequest

NewReportNotificationRequestWithDefaults instantiates a new ReportNotificationRequest 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 (*ReportNotificationRequest) GetData

GetData returns the Data field value

func (*ReportNotificationRequest) GetDataOk

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

func (*ReportNotificationRequest) GetEnvironment

func (o *ReportNotificationRequest) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*ReportNotificationRequest) GetEnvironmentOk

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

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

func (*ReportNotificationRequest) GetType

func (o *ReportNotificationRequest) GetType() string

GetType returns the Type field value

func (*ReportNotificationRequest) GetTypeOk

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

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

func (ReportNotificationRequest) MarshalJSON

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

func (*ReportNotificationRequest) SetData

SetData sets field value

func (*ReportNotificationRequest) SetEnvironment

func (o *ReportNotificationRequest) SetEnvironment(v string)

SetEnvironment sets field value

func (*ReportNotificationRequest) SetType

func (o *ReportNotificationRequest) SetType(v string)

SetType sets field value

func (ReportNotificationRequest) ToMap

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

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