Documentation ¶
Index ¶
- type Amount
- func (o *Amount) GetCurrency() string
- func (o *Amount) GetCurrencyOk() (*string, bool)
- func (o *Amount) GetValue() int64
- func (o *Amount) GetValueOk() (*int64, bool)
- func (o Amount) MarshalJSON() ([]byte, error)
- func (o *Amount) SetCurrency(v string)
- func (o *Amount) SetValue(v int64)
- func (o Amount) ToMap() (map[string]interface{}, error)
- type AuthenticationInfo
- func (o *AuthenticationInfo) GetAcsTransId() string
- func (o *AuthenticationInfo) GetAcsTransIdOk() (*string, bool)
- func (o *AuthenticationInfo) GetChallenge() ChallengeInfo
- func (o *AuthenticationInfo) GetChallengeIndicator() string
- func (o *AuthenticationInfo) GetChallengeIndicatorOk() (*string, bool)
- func (o *AuthenticationInfo) GetChallengeOk() (*ChallengeInfo, bool)
- func (o *AuthenticationInfo) GetCreatedAt() time.Time
- func (o *AuthenticationInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *AuthenticationInfo) GetDeviceChannel() string
- func (o *AuthenticationInfo) GetDeviceChannelOk() (*string, bool)
- func (o *AuthenticationInfo) GetDsTransID() string
- func (o *AuthenticationInfo) GetDsTransIDOk() (*string, bool)
- func (o *AuthenticationInfo) GetExemptionIndicator() string
- func (o *AuthenticationInfo) GetExemptionIndicatorOk() (*string, bool)
- func (o *AuthenticationInfo) GetInPSD2Scope() bool
- func (o *AuthenticationInfo) GetInPSD2ScopeOk() (*bool, bool)
- func (o *AuthenticationInfo) GetMessageCategory() string
- func (o *AuthenticationInfo) GetMessageCategoryOk() (*string, bool)
- func (o *AuthenticationInfo) GetMessageVersion() string
- func (o *AuthenticationInfo) GetMessageVersionOk() (*string, bool)
- func (o *AuthenticationInfo) GetRiskScore() int32
- func (o *AuthenticationInfo) GetRiskScoreOk() (*int32, bool)
- func (o *AuthenticationInfo) GetThreeDSServerTransID() string
- func (o *AuthenticationInfo) GetThreeDSServerTransIDOk() (*string, bool)
- func (o *AuthenticationInfo) GetTransStatus() string
- func (o *AuthenticationInfo) GetTransStatusOk() (*string, bool)
- func (o *AuthenticationInfo) GetTransStatusReason() string
- func (o *AuthenticationInfo) GetTransStatusReasonOk() (*string, bool)
- func (o *AuthenticationInfo) GetType() string
- func (o *AuthenticationInfo) GetTypeOk() (*string, bool)
- func (o *AuthenticationInfo) HasChallenge() bool
- func (o *AuthenticationInfo) HasExemptionIndicator() bool
- func (o *AuthenticationInfo) HasRiskScore() bool
- func (o *AuthenticationInfo) HasTransStatusReason() bool
- func (o AuthenticationInfo) MarshalJSON() ([]byte, error)
- func (o *AuthenticationInfo) SetAcsTransId(v string)
- func (o *AuthenticationInfo) SetChallenge(v ChallengeInfo)
- func (o *AuthenticationInfo) SetChallengeIndicator(v string)
- func (o *AuthenticationInfo) SetCreatedAt(v time.Time)
- func (o *AuthenticationInfo) SetDeviceChannel(v string)
- func (o *AuthenticationInfo) SetDsTransID(v string)
- func (o *AuthenticationInfo) SetExemptionIndicator(v string)
- func (o *AuthenticationInfo) SetInPSD2Scope(v bool)
- func (o *AuthenticationInfo) SetMessageCategory(v string)
- func (o *AuthenticationInfo) SetMessageVersion(v string)
- func (o *AuthenticationInfo) SetRiskScore(v int32)
- func (o *AuthenticationInfo) SetThreeDSServerTransID(v string)
- func (o *AuthenticationInfo) SetTransStatus(v string)
- func (o *AuthenticationInfo) SetTransStatusReason(v string)
- func (o *AuthenticationInfo) SetType(v string)
- func (o AuthenticationInfo) ToMap() (map[string]interface{}, error)
- type AuthenticationNotificationData
- func (o *AuthenticationNotificationData) GetAuthentication() AuthenticationInfo
- func (o *AuthenticationNotificationData) GetAuthenticationOk() (*AuthenticationInfo, bool)
- func (o *AuthenticationNotificationData) GetBalancePlatform() string
- func (o *AuthenticationNotificationData) GetBalancePlatformOk() (*string, bool)
- func (o *AuthenticationNotificationData) GetId() string
- func (o *AuthenticationNotificationData) GetIdOk() (*string, bool)
- func (o *AuthenticationNotificationData) GetPaymentInstrumentId() string
- func (o *AuthenticationNotificationData) GetPaymentInstrumentIdOk() (*string, bool)
- func (o *AuthenticationNotificationData) GetPurchase() PurchaseInfo
- func (o *AuthenticationNotificationData) GetPurchaseOk() (*PurchaseInfo, bool)
- func (o *AuthenticationNotificationData) GetStatus() string
- func (o *AuthenticationNotificationData) GetStatusOk() (*string, bool)
- func (o *AuthenticationNotificationData) HasBalancePlatform() bool
- func (o AuthenticationNotificationData) MarshalJSON() ([]byte, error)
- func (o *AuthenticationNotificationData) SetAuthentication(v AuthenticationInfo)
- func (o *AuthenticationNotificationData) SetBalancePlatform(v string)
- func (o *AuthenticationNotificationData) SetId(v string)
- func (o *AuthenticationNotificationData) SetPaymentInstrumentId(v string)
- func (o *AuthenticationNotificationData) SetPurchase(v PurchaseInfo)
- func (o *AuthenticationNotificationData) SetStatus(v string)
- func (o AuthenticationNotificationData) ToMap() (map[string]interface{}, error)
- type AuthenticationNotificationRequest
- func HandleAuthenticationNotificationRequest(req string) (*AuthenticationNotificationRequest, error)
- func NewAuthenticationNotificationRequest(data AuthenticationNotificationData, environment string, type_ string) *AuthenticationNotificationRequest
- func NewAuthenticationNotificationRequestWithDefaults() *AuthenticationNotificationRequest
- func (o *AuthenticationNotificationRequest) GetData() AuthenticationNotificationData
- func (o *AuthenticationNotificationRequest) GetDataOk() (*AuthenticationNotificationData, bool)
- func (o *AuthenticationNotificationRequest) GetEnvironment() string
- func (o *AuthenticationNotificationRequest) GetEnvironmentOk() (*string, bool)
- func (o *AuthenticationNotificationRequest) GetType() string
- func (o *AuthenticationNotificationRequest) GetTypeOk() (*string, bool)
- func (o AuthenticationNotificationRequest) MarshalJSON() ([]byte, error)
- func (o *AuthenticationNotificationRequest) SetData(v AuthenticationNotificationData)
- func (o *AuthenticationNotificationRequest) SetEnvironment(v string)
- func (o *AuthenticationNotificationRequest) SetType(v string)
- func (o AuthenticationNotificationRequest) ToMap() (map[string]interface{}, error)
- type BalancePlatformNotificationResponse
- func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
- func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
- func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
- func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
- func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
- type ChallengeInfo
- func (o *ChallengeInfo) GetChallengeCancel() string
- func (o *ChallengeInfo) GetChallengeCancelOk() (*string, bool)
- func (o *ChallengeInfo) GetFlow() string
- func (o *ChallengeInfo) GetFlowOk() (*string, bool)
- func (o *ChallengeInfo) GetLastInteraction() time.Time
- func (o *ChallengeInfo) GetLastInteractionOk() (*time.Time, bool)
- func (o *ChallengeInfo) GetPhoneNumber() string
- func (o *ChallengeInfo) GetPhoneNumberOk() (*string, bool)
- func (o *ChallengeInfo) GetResends() int32
- func (o *ChallengeInfo) GetResendsOk() (*int32, bool)
- func (o *ChallengeInfo) GetRetries() int32
- func (o *ChallengeInfo) GetRetriesOk() (*int32, bool)
- func (o *ChallengeInfo) HasChallengeCancel() bool
- func (o *ChallengeInfo) HasPhoneNumber() bool
- func (o *ChallengeInfo) HasResends() bool
- func (o *ChallengeInfo) HasRetries() bool
- func (o ChallengeInfo) MarshalJSON() ([]byte, error)
- func (o *ChallengeInfo) SetChallengeCancel(v string)
- func (o *ChallengeInfo) SetFlow(v string)
- func (o *ChallengeInfo) SetLastInteraction(v time.Time)
- func (o *ChallengeInfo) SetPhoneNumber(v string)
- func (o *ChallengeInfo) SetResends(v int32)
- func (o *ChallengeInfo) SetRetries(v int32)
- func (o ChallengeInfo) ToMap() (map[string]interface{}, error)
- type NullableAmount
- type NullableAuthenticationInfo
- func (v NullableAuthenticationInfo) Get() *AuthenticationInfo
- func (v NullableAuthenticationInfo) IsSet() bool
- func (v NullableAuthenticationInfo) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationInfo) Set(val *AuthenticationInfo)
- func (v *NullableAuthenticationInfo) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationInfo) Unset()
- type NullableAuthenticationNotificationData
- func (v NullableAuthenticationNotificationData) Get() *AuthenticationNotificationData
- func (v NullableAuthenticationNotificationData) IsSet() bool
- func (v NullableAuthenticationNotificationData) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationNotificationData) Set(val *AuthenticationNotificationData)
- func (v *NullableAuthenticationNotificationData) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationNotificationData) Unset()
- type NullableAuthenticationNotificationRequest
- func (v NullableAuthenticationNotificationRequest) Get() *AuthenticationNotificationRequest
- func (v NullableAuthenticationNotificationRequest) IsSet() bool
- func (v NullableAuthenticationNotificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationNotificationRequest) Set(val *AuthenticationNotificationRequest)
- func (v *NullableAuthenticationNotificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationNotificationRequest) Unset()
- type NullableBalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) Get() *BalancePlatformNotificationResponse
- func (v NullableBalancePlatformNotificationResponse) IsSet() bool
- func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
- func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBalancePlatformNotificationResponse) Unset()
- type NullableChallengeInfo
- func (v NullableChallengeInfo) Get() *ChallengeInfo
- func (v NullableChallengeInfo) IsSet() bool
- func (v NullableChallengeInfo) MarshalJSON() ([]byte, error)
- func (v *NullableChallengeInfo) Set(val *ChallengeInfo)
- func (v *NullableChallengeInfo) UnmarshalJSON(src []byte) error
- func (v *NullableChallengeInfo) Unset()
- type NullablePurchaseInfo
- func (v NullablePurchaseInfo) Get() *PurchaseInfo
- func (v NullablePurchaseInfo) IsSet() bool
- func (v NullablePurchaseInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePurchaseInfo) Set(val *PurchaseInfo)
- func (v *NullablePurchaseInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePurchaseInfo) Unset()
- type NullableResource
- type PurchaseInfo
- func (o *PurchaseInfo) GetDate() string
- func (o *PurchaseInfo) GetDateOk() (*string, bool)
- func (o *PurchaseInfo) GetMerchantName() string
- func (o *PurchaseInfo) GetMerchantNameOk() (*string, bool)
- func (o *PurchaseInfo) GetOriginalAmount() Amount
- func (o *PurchaseInfo) GetOriginalAmountOk() (*Amount, bool)
- func (o PurchaseInfo) MarshalJSON() ([]byte, error)
- func (o *PurchaseInfo) SetDate(v string)
- func (o *PurchaseInfo) SetMerchantName(v string)
- func (o *PurchaseInfo) SetOriginalAmount(v Amount)
- func (o PurchaseInfo) ToMap() (map[string]interface{}, error)
- type Resource
- func (o *Resource) GetBalancePlatform() string
- func (o *Resource) GetBalancePlatformOk() (*string, bool)
- func (o *Resource) GetCreationDate() time.Time
- func (o *Resource) GetCreationDateOk() (*time.Time, bool)
- func (o *Resource) GetId() string
- func (o *Resource) GetIdOk() (*string, bool)
- func (o *Resource) HasBalancePlatform() bool
- func (o *Resource) HasCreationDate() bool
- func (o *Resource) HasId() bool
- func (o Resource) MarshalJSON() ([]byte, error)
- func (o *Resource) SetBalancePlatform(v string)
- func (o *Resource) SetCreationDate(v time.Time)
- func (o *Resource) SetId(v string)
- func (o Resource) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amount ¶
type Amount struct { // The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). Currency string `json:"currency"` // The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). Value int64 `json:"value"` }
Amount struct for Amount
func NewAmount ¶
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 ¶
GetCurrency returns the Currency field value
func (*Amount) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Amount) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Amount) MarshalJSON ¶
type AuthenticationInfo ¶
type AuthenticationInfo struct { // Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction. AcsTransId string `json:"acsTransId"` Challenge *ChallengeInfo `json:"challenge,omitempty"` // Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa) ChallengeIndicator string `json:"challengeIndicator"` // Date and time in UTC of the cardholder authentication. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. CreatedAt time.Time `json:"createdAt"` // Indicates the type of channel interface being used to initiate the transaction. Possible values: * **app** * **browser** * **3DSRequestorInitiated** (initiated by a merchant when the cardholder is not available) DeviceChannel string `json:"deviceChannel"` // Universally unique transaction identifier assigned by the DS (card scheme) to identify a single transaction. DsTransID string `json:"dsTransID"` // Indicates the exemption type that was applied to the authentication by the issuer, if exemption applied. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** * **acquirerExemption** * **noExemptionApplied** * **visaDAFExemption** ExemptionIndicator *string `json:"exemptionIndicator,omitempty"` // Indicates if the purchase was in the PSD2 scope. InPSD2Scope bool `json:"inPSD2Scope"` // Identifies the category of the message for a specific use case. Possible values: * **payment** * **nonPayment** MessageCategory string `json:"messageCategory"` // The `messageVersion` value as defined in the 3D Secure 2 specification. MessageVersion string `json:"messageVersion"` // Risk score calculated from the transaction rules. RiskScore *int32 `json:"riskScore,omitempty"` // The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. ThreeDSServerTransID string `json:"threeDSServerTransID"` // The `transStatus` value as defined in the 3D Secure 2 specification. Possible values: * **Y**: Authentication / Account verification successful. * **N**: Not Authenticated / Account not verified. Transaction denied. * **U**: Authentication / Account verification could not be performed. * **I**: Informational Only / 3D Secure Requestor challenge preference acknowledged. * **R**: Authentication / Account verification rejected by the Issuer. TransStatus string `json:"transStatus"` // Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). TransStatusReason *string `json:"transStatusReason,omitempty"` // The type of authentication performed. Possible values: * **frictionless** * **challenge** Type string `json:"type"` }
AuthenticationInfo struct for AuthenticationInfo
func NewAuthenticationInfo ¶
func NewAuthenticationInfo(acsTransId string, challengeIndicator string, createdAt time.Time, deviceChannel string, dsTransID string, inPSD2Scope bool, messageCategory string, messageVersion string, threeDSServerTransID string, transStatus string, type_ string) *AuthenticationInfo
NewAuthenticationInfo instantiates a new AuthenticationInfo 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 NewAuthenticationInfoWithDefaults ¶
func NewAuthenticationInfoWithDefaults() *AuthenticationInfo
NewAuthenticationInfoWithDefaults instantiates a new AuthenticationInfo 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 (*AuthenticationInfo) GetAcsTransId ¶
func (o *AuthenticationInfo) GetAcsTransId() string
GetAcsTransId returns the AcsTransId field value
func (*AuthenticationInfo) GetAcsTransIdOk ¶
func (o *AuthenticationInfo) GetAcsTransIdOk() (*string, bool)
GetAcsTransIdOk returns a tuple with the AcsTransId field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetChallenge ¶
func (o *AuthenticationInfo) GetChallenge() ChallengeInfo
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*AuthenticationInfo) GetChallengeIndicator ¶
func (o *AuthenticationInfo) GetChallengeIndicator() string
GetChallengeIndicator returns the ChallengeIndicator field value
func (*AuthenticationInfo) GetChallengeIndicatorOk ¶
func (o *AuthenticationInfo) GetChallengeIndicatorOk() (*string, bool)
GetChallengeIndicatorOk returns a tuple with the ChallengeIndicator field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetChallengeOk ¶
func (o *AuthenticationInfo) GetChallengeOk() (*ChallengeInfo, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetCreatedAt ¶
func (o *AuthenticationInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AuthenticationInfo) GetCreatedAtOk ¶
func (o *AuthenticationInfo) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetDeviceChannel ¶
func (o *AuthenticationInfo) GetDeviceChannel() string
GetDeviceChannel returns the DeviceChannel field value
func (*AuthenticationInfo) GetDeviceChannelOk ¶
func (o *AuthenticationInfo) GetDeviceChannelOk() (*string, bool)
GetDeviceChannelOk returns a tuple with the DeviceChannel field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetDsTransID ¶
func (o *AuthenticationInfo) GetDsTransID() string
GetDsTransID returns the DsTransID field value
func (*AuthenticationInfo) GetDsTransIDOk ¶
func (o *AuthenticationInfo) GetDsTransIDOk() (*string, bool)
GetDsTransIDOk returns a tuple with the DsTransID field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetExemptionIndicator ¶
func (o *AuthenticationInfo) GetExemptionIndicator() string
GetExemptionIndicator returns the ExemptionIndicator field value if set, zero value otherwise.
func (*AuthenticationInfo) GetExemptionIndicatorOk ¶
func (o *AuthenticationInfo) GetExemptionIndicatorOk() (*string, bool)
GetExemptionIndicatorOk returns a tuple with the ExemptionIndicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetInPSD2Scope ¶
func (o *AuthenticationInfo) GetInPSD2Scope() bool
GetInPSD2Scope returns the InPSD2Scope field value
func (*AuthenticationInfo) GetInPSD2ScopeOk ¶
func (o *AuthenticationInfo) GetInPSD2ScopeOk() (*bool, bool)
GetInPSD2ScopeOk returns a tuple with the InPSD2Scope field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetMessageCategory ¶
func (o *AuthenticationInfo) GetMessageCategory() string
GetMessageCategory returns the MessageCategory field value
func (*AuthenticationInfo) GetMessageCategoryOk ¶
func (o *AuthenticationInfo) GetMessageCategoryOk() (*string, bool)
GetMessageCategoryOk returns a tuple with the MessageCategory field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetMessageVersion ¶
func (o *AuthenticationInfo) GetMessageVersion() string
GetMessageVersion returns the MessageVersion field value
func (*AuthenticationInfo) GetMessageVersionOk ¶
func (o *AuthenticationInfo) GetMessageVersionOk() (*string, bool)
GetMessageVersionOk returns a tuple with the MessageVersion field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetRiskScore ¶
func (o *AuthenticationInfo) GetRiskScore() int32
GetRiskScore returns the RiskScore field value if set, zero value otherwise.
func (*AuthenticationInfo) GetRiskScoreOk ¶
func (o *AuthenticationInfo) GetRiskScoreOk() (*int32, bool)
GetRiskScoreOk returns a tuple with the RiskScore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetThreeDSServerTransID ¶
func (o *AuthenticationInfo) GetThreeDSServerTransID() string
GetThreeDSServerTransID returns the ThreeDSServerTransID field value
func (*AuthenticationInfo) GetThreeDSServerTransIDOk ¶
func (o *AuthenticationInfo) GetThreeDSServerTransIDOk() (*string, bool)
GetThreeDSServerTransIDOk returns a tuple with the ThreeDSServerTransID field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetTransStatus ¶
func (o *AuthenticationInfo) GetTransStatus() string
GetTransStatus returns the TransStatus field value
func (*AuthenticationInfo) GetTransStatusOk ¶
func (o *AuthenticationInfo) GetTransStatusOk() (*string, bool)
GetTransStatusOk returns a tuple with the TransStatus field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetTransStatusReason ¶
func (o *AuthenticationInfo) GetTransStatusReason() string
GetTransStatusReason returns the TransStatusReason field value if set, zero value otherwise.
func (*AuthenticationInfo) GetTransStatusReasonOk ¶
func (o *AuthenticationInfo) GetTransStatusReasonOk() (*string, bool)
GetTransStatusReasonOk returns a tuple with the TransStatusReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthenticationInfo) GetType ¶
func (o *AuthenticationInfo) GetType() string
GetType returns the Type field value
func (*AuthenticationInfo) GetTypeOk ¶
func (o *AuthenticationInfo) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AuthenticationInfo) HasChallenge ¶
func (o *AuthenticationInfo) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*AuthenticationInfo) HasExemptionIndicator ¶
func (o *AuthenticationInfo) HasExemptionIndicator() bool
HasExemptionIndicator returns a boolean if a field has been set.
func (*AuthenticationInfo) HasRiskScore ¶
func (o *AuthenticationInfo) HasRiskScore() bool
HasRiskScore returns a boolean if a field has been set.
func (*AuthenticationInfo) HasTransStatusReason ¶
func (o *AuthenticationInfo) HasTransStatusReason() bool
HasTransStatusReason returns a boolean if a field has been set.
func (AuthenticationInfo) MarshalJSON ¶
func (o AuthenticationInfo) MarshalJSON() ([]byte, error)
func (*AuthenticationInfo) SetAcsTransId ¶
func (o *AuthenticationInfo) SetAcsTransId(v string)
SetAcsTransId sets field value
func (*AuthenticationInfo) SetChallenge ¶
func (o *AuthenticationInfo) SetChallenge(v ChallengeInfo)
SetChallenge gets a reference to the given ChallengeInfo and assigns it to the Challenge field.
func (*AuthenticationInfo) SetChallengeIndicator ¶
func (o *AuthenticationInfo) SetChallengeIndicator(v string)
SetChallengeIndicator sets field value
func (*AuthenticationInfo) SetCreatedAt ¶
func (o *AuthenticationInfo) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AuthenticationInfo) SetDeviceChannel ¶
func (o *AuthenticationInfo) SetDeviceChannel(v string)
SetDeviceChannel sets field value
func (*AuthenticationInfo) SetDsTransID ¶
func (o *AuthenticationInfo) SetDsTransID(v string)
SetDsTransID sets field value
func (*AuthenticationInfo) SetExemptionIndicator ¶
func (o *AuthenticationInfo) SetExemptionIndicator(v string)
SetExemptionIndicator gets a reference to the given string and assigns it to the ExemptionIndicator field.
func (*AuthenticationInfo) SetInPSD2Scope ¶
func (o *AuthenticationInfo) SetInPSD2Scope(v bool)
SetInPSD2Scope sets field value
func (*AuthenticationInfo) SetMessageCategory ¶
func (o *AuthenticationInfo) SetMessageCategory(v string)
SetMessageCategory sets field value
func (*AuthenticationInfo) SetMessageVersion ¶
func (o *AuthenticationInfo) SetMessageVersion(v string)
SetMessageVersion sets field value
func (*AuthenticationInfo) SetRiskScore ¶
func (o *AuthenticationInfo) SetRiskScore(v int32)
SetRiskScore gets a reference to the given int32 and assigns it to the RiskScore field.
func (*AuthenticationInfo) SetThreeDSServerTransID ¶
func (o *AuthenticationInfo) SetThreeDSServerTransID(v string)
SetThreeDSServerTransID sets field value
func (*AuthenticationInfo) SetTransStatus ¶
func (o *AuthenticationInfo) SetTransStatus(v string)
SetTransStatus sets field value
func (*AuthenticationInfo) SetTransStatusReason ¶
func (o *AuthenticationInfo) SetTransStatusReason(v string)
SetTransStatusReason gets a reference to the given string and assigns it to the TransStatusReason field.
func (*AuthenticationInfo) SetType ¶
func (o *AuthenticationInfo) SetType(v string)
SetType sets field value
func (AuthenticationInfo) ToMap ¶
func (o AuthenticationInfo) ToMap() (map[string]interface{}, error)
type AuthenticationNotificationData ¶
type AuthenticationNotificationData struct { Authentication AuthenticationInfo `json:"authentication"` // The unique identifier of the balance platform. BalancePlatform *string `json:"balancePlatform,omitempty"` // Unique identifier of the authentication. Id string `json:"id"` // Unique identifier of the payment instrument that was used for the authentication. PaymentInstrumentId string `json:"paymentInstrumentId"` Purchase PurchaseInfo `json:"purchase"` // Outcome of the authentication. Allowed values: * authenticated * rejected * error Status string `json:"status"` }
AuthenticationNotificationData struct for AuthenticationNotificationData
func NewAuthenticationNotificationData ¶
func NewAuthenticationNotificationData(authentication AuthenticationInfo, id string, paymentInstrumentId string, purchase PurchaseInfo, status string) *AuthenticationNotificationData
NewAuthenticationNotificationData instantiates a new AuthenticationNotificationData 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 NewAuthenticationNotificationDataWithDefaults ¶
func NewAuthenticationNotificationDataWithDefaults() *AuthenticationNotificationData
NewAuthenticationNotificationDataWithDefaults instantiates a new AuthenticationNotificationData 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 (*AuthenticationNotificationData) GetAuthentication ¶
func (o *AuthenticationNotificationData) GetAuthentication() AuthenticationInfo
GetAuthentication returns the Authentication field value
func (*AuthenticationNotificationData) GetAuthenticationOk ¶
func (o *AuthenticationNotificationData) GetAuthenticationOk() (*AuthenticationInfo, bool)
GetAuthenticationOk returns a tuple with the Authentication field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationData) GetBalancePlatform ¶
func (o *AuthenticationNotificationData) GetBalancePlatform() string
GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.
func (*AuthenticationNotificationData) GetBalancePlatformOk ¶
func (o *AuthenticationNotificationData) 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 (*AuthenticationNotificationData) GetId ¶
func (o *AuthenticationNotificationData) GetId() string
GetId returns the Id field value
func (*AuthenticationNotificationData) GetIdOk ¶
func (o *AuthenticationNotificationData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationData) GetPaymentInstrumentId ¶
func (o *AuthenticationNotificationData) GetPaymentInstrumentId() string
GetPaymentInstrumentId returns the PaymentInstrumentId field value
func (*AuthenticationNotificationData) GetPaymentInstrumentIdOk ¶
func (o *AuthenticationNotificationData) GetPaymentInstrumentIdOk() (*string, bool)
GetPaymentInstrumentIdOk returns a tuple with the PaymentInstrumentId field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationData) GetPurchase ¶
func (o *AuthenticationNotificationData) GetPurchase() PurchaseInfo
GetPurchase returns the Purchase field value
func (*AuthenticationNotificationData) GetPurchaseOk ¶
func (o *AuthenticationNotificationData) GetPurchaseOk() (*PurchaseInfo, bool)
GetPurchaseOk returns a tuple with the Purchase field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationData) GetStatus ¶
func (o *AuthenticationNotificationData) GetStatus() string
GetStatus returns the Status field value
func (*AuthenticationNotificationData) GetStatusOk ¶
func (o *AuthenticationNotificationData) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationData) HasBalancePlatform ¶
func (o *AuthenticationNotificationData) HasBalancePlatform() bool
HasBalancePlatform returns a boolean if a field has been set.
func (AuthenticationNotificationData) MarshalJSON ¶
func (o AuthenticationNotificationData) MarshalJSON() ([]byte, error)
func (*AuthenticationNotificationData) SetAuthentication ¶
func (o *AuthenticationNotificationData) SetAuthentication(v AuthenticationInfo)
SetAuthentication sets field value
func (*AuthenticationNotificationData) SetBalancePlatform ¶
func (o *AuthenticationNotificationData) SetBalancePlatform(v string)
SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.
func (*AuthenticationNotificationData) SetId ¶
func (o *AuthenticationNotificationData) SetId(v string)
SetId sets field value
func (*AuthenticationNotificationData) SetPaymentInstrumentId ¶
func (o *AuthenticationNotificationData) SetPaymentInstrumentId(v string)
SetPaymentInstrumentId sets field value
func (*AuthenticationNotificationData) SetPurchase ¶
func (o *AuthenticationNotificationData) SetPurchase(v PurchaseInfo)
SetPurchase sets field value
func (*AuthenticationNotificationData) SetStatus ¶
func (o *AuthenticationNotificationData) SetStatus(v string)
SetStatus sets field value
func (AuthenticationNotificationData) ToMap ¶
func (o AuthenticationNotificationData) ToMap() (map[string]interface{}, error)
type AuthenticationNotificationRequest ¶
type AuthenticationNotificationRequest struct { Data AuthenticationNotificationData `json:"data"` // The environment from which the webhook originated. Possible values: **test**, **live**. Environment string `json:"environment"` // Type of notification. Type string `json:"type"` }
AuthenticationNotificationRequest struct for AuthenticationNotificationRequest
func HandleAuthenticationNotificationRequest ¶
func HandleAuthenticationNotificationRequest(req string) (*AuthenticationNotificationRequest, error)
HandleAuthenticationNotificationRequest creates a Notification object from the given JSON string
func NewAuthenticationNotificationRequest ¶
func NewAuthenticationNotificationRequest(data AuthenticationNotificationData, environment string, type_ string) *AuthenticationNotificationRequest
NewAuthenticationNotificationRequest instantiates a new AuthenticationNotificationRequest 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 NewAuthenticationNotificationRequestWithDefaults ¶
func NewAuthenticationNotificationRequestWithDefaults() *AuthenticationNotificationRequest
NewAuthenticationNotificationRequestWithDefaults instantiates a new AuthenticationNotificationRequest 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 (*AuthenticationNotificationRequest) GetData ¶
func (o *AuthenticationNotificationRequest) GetData() AuthenticationNotificationData
GetData returns the Data field value
func (*AuthenticationNotificationRequest) GetDataOk ¶
func (o *AuthenticationNotificationRequest) GetDataOk() (*AuthenticationNotificationData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationRequest) GetEnvironment ¶
func (o *AuthenticationNotificationRequest) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*AuthenticationNotificationRequest) GetEnvironmentOk ¶
func (o *AuthenticationNotificationRequest) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*AuthenticationNotificationRequest) GetType ¶
func (o *AuthenticationNotificationRequest) GetType() string
GetType returns the Type field value
func (*AuthenticationNotificationRequest) GetTypeOk ¶
func (o *AuthenticationNotificationRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (AuthenticationNotificationRequest) MarshalJSON ¶
func (o AuthenticationNotificationRequest) MarshalJSON() ([]byte, error)
func (*AuthenticationNotificationRequest) SetData ¶
func (o *AuthenticationNotificationRequest) SetData(v AuthenticationNotificationData)
SetData sets field value
func (*AuthenticationNotificationRequest) SetEnvironment ¶
func (o *AuthenticationNotificationRequest) SetEnvironment(v string)
SetEnvironment sets field value
func (*AuthenticationNotificationRequest) SetType ¶
func (o *AuthenticationNotificationRequest) SetType(v string)
SetType sets field value
func (AuthenticationNotificationRequest) ToMap ¶
func (o AuthenticationNotificationRequest) ToMap() (map[string]interface{}, error)
type BalancePlatformNotificationResponse ¶
type BalancePlatformNotificationResponse struct { // Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). NotificationResponse *string `json:"notificationResponse,omitempty"` }
BalancePlatformNotificationResponse struct for BalancePlatformNotificationResponse
func NewBalancePlatformNotificationResponse ¶
func NewBalancePlatformNotificationResponse() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponse instantiates a new BalancePlatformNotificationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalancePlatformNotificationResponseWithDefaults ¶
func NewBalancePlatformNotificationResponseWithDefaults() *BalancePlatformNotificationResponse
NewBalancePlatformNotificationResponseWithDefaults instantiates a new BalancePlatformNotificationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalancePlatformNotificationResponse) GetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponse() string
GetNotificationResponse returns the NotificationResponse field value if set, zero value otherwise.
func (*BalancePlatformNotificationResponse) GetNotificationResponseOk ¶
func (o *BalancePlatformNotificationResponse) GetNotificationResponseOk() (*string, bool)
GetNotificationResponseOk returns a tuple with the NotificationResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalancePlatformNotificationResponse) HasNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) HasNotificationResponse() bool
HasNotificationResponse returns a boolean if a field has been set.
func (BalancePlatformNotificationResponse) MarshalJSON ¶
func (o BalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*BalancePlatformNotificationResponse) SetNotificationResponse ¶
func (o *BalancePlatformNotificationResponse) SetNotificationResponse(v string)
SetNotificationResponse gets a reference to the given string and assigns it to the NotificationResponse field.
func (BalancePlatformNotificationResponse) ToMap ¶
func (o BalancePlatformNotificationResponse) ToMap() (map[string]interface{}, error)
type ChallengeInfo ¶
type ChallengeInfo struct { // Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). ChallengeCancel *string `json:"challengeCancel,omitempty"` // The flow used in the challenge. Possible values: * **OTP_SMS**: one-time password (OTP) flow * **OOB**: out-of-band (OOB) flow Flow string `json:"flow"` // The last time of interaction with the challenge. LastInteraction time.Time `json:"lastInteraction"` // The last four digits of the phone number used in the challenge. PhoneNumber *string `json:"phoneNumber,omitempty"` // The number of times the one-time password (OTP) was resent during the challenge. Resends *int32 `json:"resends,omitempty"` // The number of retries used in the challenge. Retries *int32 `json:"retries,omitempty"` }
ChallengeInfo struct for ChallengeInfo
func NewChallengeInfo ¶
func NewChallengeInfo(flow string, lastInteraction time.Time) *ChallengeInfo
NewChallengeInfo instantiates a new ChallengeInfo 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 NewChallengeInfoWithDefaults ¶
func NewChallengeInfoWithDefaults() *ChallengeInfo
NewChallengeInfoWithDefaults instantiates a new ChallengeInfo 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 (*ChallengeInfo) GetChallengeCancel ¶
func (o *ChallengeInfo) GetChallengeCancel() string
GetChallengeCancel returns the ChallengeCancel field value if set, zero value otherwise.
func (*ChallengeInfo) GetChallengeCancelOk ¶
func (o *ChallengeInfo) GetChallengeCancelOk() (*string, bool)
GetChallengeCancelOk returns a tuple with the ChallengeCancel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeInfo) GetFlow ¶
func (o *ChallengeInfo) GetFlow() string
GetFlow returns the Flow field value
func (*ChallengeInfo) GetFlowOk ¶
func (o *ChallengeInfo) GetFlowOk() (*string, bool)
GetFlowOk returns a tuple with the Flow field value and a boolean to check if the value has been set.
func (*ChallengeInfo) GetLastInteraction ¶
func (o *ChallengeInfo) GetLastInteraction() time.Time
GetLastInteraction returns the LastInteraction field value
func (*ChallengeInfo) GetLastInteractionOk ¶
func (o *ChallengeInfo) GetLastInteractionOk() (*time.Time, bool)
GetLastInteractionOk returns a tuple with the LastInteraction field value and a boolean to check if the value has been set.
func (*ChallengeInfo) GetPhoneNumber ¶
func (o *ChallengeInfo) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*ChallengeInfo) GetPhoneNumberOk ¶
func (o *ChallengeInfo) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeInfo) GetResends ¶
func (o *ChallengeInfo) GetResends() int32
GetResends returns the Resends field value if set, zero value otherwise.
func (*ChallengeInfo) GetResendsOk ¶
func (o *ChallengeInfo) GetResendsOk() (*int32, bool)
GetResendsOk returns a tuple with the Resends field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeInfo) GetRetries ¶
func (o *ChallengeInfo) GetRetries() int32
GetRetries returns the Retries field value if set, zero value otherwise.
func (*ChallengeInfo) GetRetriesOk ¶
func (o *ChallengeInfo) GetRetriesOk() (*int32, bool)
GetRetriesOk returns a tuple with the Retries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChallengeInfo) HasChallengeCancel ¶
func (o *ChallengeInfo) HasChallengeCancel() bool
HasChallengeCancel returns a boolean if a field has been set.
func (*ChallengeInfo) HasPhoneNumber ¶
func (o *ChallengeInfo) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (*ChallengeInfo) HasResends ¶
func (o *ChallengeInfo) HasResends() bool
HasResends returns a boolean if a field has been set.
func (*ChallengeInfo) HasRetries ¶
func (o *ChallengeInfo) HasRetries() bool
HasRetries returns a boolean if a field has been set.
func (ChallengeInfo) MarshalJSON ¶
func (o ChallengeInfo) MarshalJSON() ([]byte, error)
func (*ChallengeInfo) SetChallengeCancel ¶
func (o *ChallengeInfo) SetChallengeCancel(v string)
SetChallengeCancel gets a reference to the given string and assigns it to the ChallengeCancel field.
func (*ChallengeInfo) SetLastInteraction ¶
func (o *ChallengeInfo) SetLastInteraction(v time.Time)
SetLastInteraction sets field value
func (*ChallengeInfo) SetPhoneNumber ¶
func (o *ChallengeInfo) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (*ChallengeInfo) SetResends ¶
func (o *ChallengeInfo) SetResends(v int32)
SetResends gets a reference to the given int32 and assigns it to the Resends field.
func (*ChallengeInfo) SetRetries ¶
func (o *ChallengeInfo) SetRetries(v int32)
SetRetries gets a reference to the given int32 and assigns it to the Retries field.
func (ChallengeInfo) ToMap ¶
func (o ChallengeInfo) 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 NullableAuthenticationInfo ¶
type NullableAuthenticationInfo struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationInfo ¶
func NewNullableAuthenticationInfo(val *AuthenticationInfo) *NullableAuthenticationInfo
func (NullableAuthenticationInfo) Get ¶
func (v NullableAuthenticationInfo) Get() *AuthenticationInfo
func (NullableAuthenticationInfo) IsSet ¶
func (v NullableAuthenticationInfo) IsSet() bool
func (NullableAuthenticationInfo) MarshalJSON ¶
func (v NullableAuthenticationInfo) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationInfo) Set ¶
func (v *NullableAuthenticationInfo) Set(val *AuthenticationInfo)
func (*NullableAuthenticationInfo) UnmarshalJSON ¶
func (v *NullableAuthenticationInfo) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationInfo) Unset ¶
func (v *NullableAuthenticationInfo) Unset()
type NullableAuthenticationNotificationData ¶
type NullableAuthenticationNotificationData struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationNotificationData ¶
func NewNullableAuthenticationNotificationData(val *AuthenticationNotificationData) *NullableAuthenticationNotificationData
func (NullableAuthenticationNotificationData) Get ¶
func (v NullableAuthenticationNotificationData) Get() *AuthenticationNotificationData
func (NullableAuthenticationNotificationData) IsSet ¶
func (v NullableAuthenticationNotificationData) IsSet() bool
func (NullableAuthenticationNotificationData) MarshalJSON ¶
func (v NullableAuthenticationNotificationData) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationNotificationData) Set ¶
func (v *NullableAuthenticationNotificationData) Set(val *AuthenticationNotificationData)
func (*NullableAuthenticationNotificationData) UnmarshalJSON ¶
func (v *NullableAuthenticationNotificationData) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationNotificationData) Unset ¶
func (v *NullableAuthenticationNotificationData) Unset()
type NullableAuthenticationNotificationRequest ¶
type NullableAuthenticationNotificationRequest struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationNotificationRequest ¶
func NewNullableAuthenticationNotificationRequest(val *AuthenticationNotificationRequest) *NullableAuthenticationNotificationRequest
func (NullableAuthenticationNotificationRequest) IsSet ¶
func (v NullableAuthenticationNotificationRequest) IsSet() bool
func (NullableAuthenticationNotificationRequest) MarshalJSON ¶
func (v NullableAuthenticationNotificationRequest) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationNotificationRequest) Set ¶
func (v *NullableAuthenticationNotificationRequest) Set(val *AuthenticationNotificationRequest)
func (*NullableAuthenticationNotificationRequest) UnmarshalJSON ¶
func (v *NullableAuthenticationNotificationRequest) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationNotificationRequest) Unset ¶
func (v *NullableAuthenticationNotificationRequest) Unset()
type NullableBalancePlatformNotificationResponse ¶
type NullableBalancePlatformNotificationResponse struct {
// contains filtered or unexported fields
}
func NewNullableBalancePlatformNotificationResponse ¶
func NewNullableBalancePlatformNotificationResponse(val *BalancePlatformNotificationResponse) *NullableBalancePlatformNotificationResponse
func (NullableBalancePlatformNotificationResponse) IsSet ¶
func (v NullableBalancePlatformNotificationResponse) IsSet() bool
func (NullableBalancePlatformNotificationResponse) MarshalJSON ¶
func (v NullableBalancePlatformNotificationResponse) MarshalJSON() ([]byte, error)
func (*NullableBalancePlatformNotificationResponse) Set ¶
func (v *NullableBalancePlatformNotificationResponse) Set(val *BalancePlatformNotificationResponse)
func (*NullableBalancePlatformNotificationResponse) UnmarshalJSON ¶
func (v *NullableBalancePlatformNotificationResponse) UnmarshalJSON(src []byte) error
func (*NullableBalancePlatformNotificationResponse) Unset ¶
func (v *NullableBalancePlatformNotificationResponse) Unset()
type NullableChallengeInfo ¶
type NullableChallengeInfo struct {
// contains filtered or unexported fields
}
func NewNullableChallengeInfo ¶
func NewNullableChallengeInfo(val *ChallengeInfo) *NullableChallengeInfo
func (NullableChallengeInfo) Get ¶
func (v NullableChallengeInfo) Get() *ChallengeInfo
func (NullableChallengeInfo) IsSet ¶
func (v NullableChallengeInfo) IsSet() bool
func (NullableChallengeInfo) MarshalJSON ¶
func (v NullableChallengeInfo) MarshalJSON() ([]byte, error)
func (*NullableChallengeInfo) Set ¶
func (v *NullableChallengeInfo) Set(val *ChallengeInfo)
func (*NullableChallengeInfo) UnmarshalJSON ¶
func (v *NullableChallengeInfo) UnmarshalJSON(src []byte) error
func (*NullableChallengeInfo) Unset ¶
func (v *NullableChallengeInfo) Unset()
type NullablePurchaseInfo ¶
type NullablePurchaseInfo struct {
// contains filtered or unexported fields
}
func NewNullablePurchaseInfo ¶
func NewNullablePurchaseInfo(val *PurchaseInfo) *NullablePurchaseInfo
func (NullablePurchaseInfo) Get ¶
func (v NullablePurchaseInfo) Get() *PurchaseInfo
func (NullablePurchaseInfo) IsSet ¶
func (v NullablePurchaseInfo) IsSet() bool
func (NullablePurchaseInfo) MarshalJSON ¶
func (v NullablePurchaseInfo) MarshalJSON() ([]byte, error)
func (*NullablePurchaseInfo) Set ¶
func (v *NullablePurchaseInfo) Set(val *PurchaseInfo)
func (*NullablePurchaseInfo) UnmarshalJSON ¶
func (v *NullablePurchaseInfo) UnmarshalJSON(src []byte) error
func (*NullablePurchaseInfo) Unset ¶
func (v *NullablePurchaseInfo) 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 PurchaseInfo ¶
type PurchaseInfo struct { // Date of the purchase. Date string `json:"date"` // Name of the merchant. MerchantName string `json:"merchantName"` OriginalAmount Amount `json:"originalAmount"` }
PurchaseInfo struct for PurchaseInfo
func NewPurchaseInfo ¶
func NewPurchaseInfo(date string, merchantName string, originalAmount Amount) *PurchaseInfo
NewPurchaseInfo instantiates a new PurchaseInfo 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 NewPurchaseInfoWithDefaults ¶
func NewPurchaseInfoWithDefaults() *PurchaseInfo
NewPurchaseInfoWithDefaults instantiates a new PurchaseInfo 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 (*PurchaseInfo) GetDate ¶
func (o *PurchaseInfo) GetDate() string
GetDate returns the Date field value
func (*PurchaseInfo) GetDateOk ¶
func (o *PurchaseInfo) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*PurchaseInfo) GetMerchantName ¶
func (o *PurchaseInfo) GetMerchantName() string
GetMerchantName returns the MerchantName field value
func (*PurchaseInfo) GetMerchantNameOk ¶
func (o *PurchaseInfo) GetMerchantNameOk() (*string, bool)
GetMerchantNameOk returns a tuple with the MerchantName field value and a boolean to check if the value has been set.
func (*PurchaseInfo) GetOriginalAmount ¶
func (o *PurchaseInfo) GetOriginalAmount() Amount
GetOriginalAmount returns the OriginalAmount field value
func (*PurchaseInfo) GetOriginalAmountOk ¶
func (o *PurchaseInfo) GetOriginalAmountOk() (*Amount, bool)
GetOriginalAmountOk returns a tuple with the OriginalAmount field value and a boolean to check if the value has been set.
func (PurchaseInfo) MarshalJSON ¶
func (o PurchaseInfo) MarshalJSON() ([]byte, error)
func (*PurchaseInfo) SetMerchantName ¶
func (o *PurchaseInfo) SetMerchantName(v string)
SetMerchantName sets field value
func (*PurchaseInfo) SetOriginalAmount ¶
func (o *PurchaseInfo) SetOriginalAmount(v Amount)
SetOriginalAmount sets field value
func (PurchaseInfo) ToMap ¶
func (o PurchaseInfo) 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 ¶
GetBalancePlatform returns the BalancePlatform field value if set, zero value otherwise.
func (*Resource) GetBalancePlatformOk ¶
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 ¶
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*Resource) 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 (*Resource) 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 (*Resource) HasBalancePlatform ¶
HasBalancePlatform returns a boolean if a field has been set.
func (*Resource) HasCreationDate ¶
HasCreationDate returns a boolean if a field has been set.
func (Resource) MarshalJSON ¶
func (*Resource) SetBalancePlatform ¶
SetBalancePlatform gets a reference to the given string and assigns it to the BalancePlatform field.
func (*Resource) SetCreationDate ¶
SetCreationDate gets a reference to the given time.Time and assigns it to the CreationDate field.