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 AuthenticationDecision
- func (o *AuthenticationDecision) GetStatus() string
- func (o *AuthenticationDecision) GetStatusOk() (*string, bool)
- func (o AuthenticationDecision) MarshalJSON() ([]byte, error)
- func (o *AuthenticationDecision) SetStatus(v string)
- func (o AuthenticationDecision) 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) GetTimestamp() time.Time
- func (o *AuthenticationNotificationRequest) GetTimestampOk() (*time.Time, bool)
- func (o *AuthenticationNotificationRequest) GetType() string
- func (o *AuthenticationNotificationRequest) GetTypeOk() (*string, bool)
- func (o *AuthenticationNotificationRequest) HasTimestamp() bool
- func (o AuthenticationNotificationRequest) MarshalJSON() ([]byte, error)
- func (o *AuthenticationNotificationRequest) SetData(v AuthenticationNotificationData)
- func (o *AuthenticationNotificationRequest) SetEnvironment(v string)
- func (o *AuthenticationNotificationRequest) SetTimestamp(v time.Time)
- 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 NullableAuthenticationDecision
- func (v NullableAuthenticationDecision) Get() *AuthenticationDecision
- func (v NullableAuthenticationDecision) IsSet() bool
- func (v NullableAuthenticationDecision) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationDecision) Set(val *AuthenticationDecision)
- func (v *NullableAuthenticationDecision) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationDecision) Unset()
- 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 NullablePurchase
- 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 NullableRelayedAuthenticationRequest
- func (v NullableRelayedAuthenticationRequest) Get() *RelayedAuthenticationRequest
- func (v NullableRelayedAuthenticationRequest) IsSet() bool
- func (v NullableRelayedAuthenticationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRelayedAuthenticationRequest) Set(val *RelayedAuthenticationRequest)
- func (v *NullableRelayedAuthenticationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRelayedAuthenticationRequest) Unset()
- type NullableRelayedAuthenticationResponse
- func (v NullableRelayedAuthenticationResponse) Get() *RelayedAuthenticationResponse
- func (v NullableRelayedAuthenticationResponse) IsSet() bool
- func (v NullableRelayedAuthenticationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRelayedAuthenticationResponse) Set(val *RelayedAuthenticationResponse)
- func (v *NullableRelayedAuthenticationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRelayedAuthenticationResponse) Unset()
- type NullableResource
- type NullableServiceError
- func (v NullableServiceError) Get() *ServiceError
- func (v NullableServiceError) IsSet() bool
- func (v NullableServiceError) MarshalJSON() ([]byte, error)
- func (v *NullableServiceError) Set(val *ServiceError)
- func (v *NullableServiceError) UnmarshalJSON(src []byte) error
- func (v *NullableServiceError) Unset()
- type Purchase
- func (o *Purchase) GetDate() time.Time
- func (o *Purchase) GetDateOk() (*time.Time, bool)
- func (o *Purchase) GetMerchantName() string
- func (o *Purchase) GetMerchantNameOk() (*string, bool)
- func (o *Purchase) GetOriginalAmount() Amount
- func (o *Purchase) GetOriginalAmountOk() (*Amount, bool)
- func (o Purchase) MarshalJSON() ([]byte, error)
- func (o *Purchase) SetDate(v time.Time)
- func (o *Purchase) SetMerchantName(v string)
- func (o *Purchase) SetOriginalAmount(v Amount)
- func (o Purchase) ToMap() (map[string]interface{}, error)
- 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 RelayedAuthenticationRequest
- func (o *RelayedAuthenticationRequest) GetId() string
- func (o *RelayedAuthenticationRequest) GetIdOk() (*string, bool)
- func (o *RelayedAuthenticationRequest) GetPaymentInstrumentId() string
- func (o *RelayedAuthenticationRequest) GetPaymentInstrumentIdOk() (*string, bool)
- func (o *RelayedAuthenticationRequest) GetPurchase() Purchase
- func (o *RelayedAuthenticationRequest) GetPurchaseOk() (*Purchase, bool)
- func (o RelayedAuthenticationRequest) MarshalJSON() ([]byte, error)
- func (o *RelayedAuthenticationRequest) SetId(v string)
- func (o *RelayedAuthenticationRequest) SetPaymentInstrumentId(v string)
- func (o *RelayedAuthenticationRequest) SetPurchase(v Purchase)
- func (o RelayedAuthenticationRequest) ToMap() (map[string]interface{}, error)
- type RelayedAuthenticationResponse
- func (o *RelayedAuthenticationResponse) GetAuthenticationDecision() AuthenticationDecision
- func (o *RelayedAuthenticationResponse) GetAuthenticationDecisionOk() (*AuthenticationDecision, bool)
- func (o RelayedAuthenticationResponse) MarshalJSON() ([]byte, error)
- func (o *RelayedAuthenticationResponse) SetAuthenticationDecision(v AuthenticationDecision)
- func (o RelayedAuthenticationResponse) 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)
- type ServiceError
- func (o *ServiceError) GetErrorCode() string
- func (o *ServiceError) GetErrorCodeOk() (*string, bool)
- func (o *ServiceError) GetErrorType() string
- func (o *ServiceError) GetErrorTypeOk() (*string, bool)
- func (o *ServiceError) GetMessage() string
- func (o *ServiceError) GetMessageOk() (*string, bool)
- func (o *ServiceError) GetPspReference() string
- func (o *ServiceError) GetPspReferenceOk() (*string, bool)
- func (o *ServiceError) GetStatus() int32
- func (o *ServiceError) GetStatusOk() (*int32, bool)
- func (o *ServiceError) HasErrorCode() bool
- func (o *ServiceError) HasErrorType() bool
- func (o *ServiceError) HasMessage() bool
- func (o *ServiceError) HasPspReference() bool
- func (o *ServiceError) HasStatus() bool
- func (o ServiceError) MarshalJSON() ([]byte, error)
- func (o *ServiceError) SetErrorCode(v string)
- func (o *ServiceError) SetErrorType(v string)
- func (o *ServiceError) SetMessage(v string)
- func (o *ServiceError) SetPspReference(v string)
- func (o *ServiceError) SetStatus(v int32)
- func (o ServiceError) 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-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 ¶
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 AuthenticationDecision ¶
type AuthenticationDecision struct {
// The status of the authentication. Possible values: * **refused** * **proceed** For more information, refer to [Authenticate cardholders using the Authentication SDK](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/authenticate-cardholders/).
Status string `json:"status"`
}
AuthenticationDecision struct for AuthenticationDecision
func NewAuthenticationDecision ¶
func NewAuthenticationDecision(status string) *AuthenticationDecision
NewAuthenticationDecision instantiates a new AuthenticationDecision 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 NewAuthenticationDecisionWithDefaults ¶
func NewAuthenticationDecisionWithDefaults() *AuthenticationDecision
NewAuthenticationDecisionWithDefaults instantiates a new AuthenticationDecision 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 (*AuthenticationDecision) GetStatus ¶
func (o *AuthenticationDecision) GetStatus() string
GetStatus returns the Status field value
func (*AuthenticationDecision) GetStatusOk ¶
func (o *AuthenticationDecision) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (AuthenticationDecision) MarshalJSON ¶
func (o AuthenticationDecision) MarshalJSON() ([]byte, error)
func (*AuthenticationDecision) SetStatus ¶
func (o *AuthenticationDecision) SetStatus(v string)
SetStatus sets field value
func (AuthenticationDecision) ToMap ¶
func (o AuthenticationDecision) ToMap() (map[string]interface{}, error)
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"`
// When the event was queued.
Timestamp *time.Time `json:"timestamp,omitempty"`
// 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) GetTimestamp ¶
func (o *AuthenticationNotificationRequest) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*AuthenticationNotificationRequest) GetTimestampOk ¶
func (o *AuthenticationNotificationRequest) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) HasTimestamp ¶
func (o *AuthenticationNotificationRequest) HasTimestamp() bool
HasTimestamp returns a boolean if a field 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) SetTimestamp ¶
func (o *AuthenticationNotificationRequest) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
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 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 ChallengeInfo ¶
type ChallengeInfo struct {
// Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
ChallengeCancel *string `json:"challengeCancel,omitempty"`
// The flow used in the challenge. Possible values: * **PWD_OTP_PHONE_FL**: one-time password (OTP) flow via SMS * **PWD_OTP_EMAIL_FL**: one-time password (OTP) flow via email * **OOB_TRIGGER_FL**: 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 NullableAuthenticationDecision ¶
type NullableAuthenticationDecision struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationDecision ¶
func NewNullableAuthenticationDecision(val *AuthenticationDecision) *NullableAuthenticationDecision
func (NullableAuthenticationDecision) Get ¶
func (v NullableAuthenticationDecision) Get() *AuthenticationDecision
func (NullableAuthenticationDecision) IsSet ¶
func (v NullableAuthenticationDecision) IsSet() bool
func (NullableAuthenticationDecision) MarshalJSON ¶
func (v NullableAuthenticationDecision) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationDecision) Set ¶
func (v *NullableAuthenticationDecision) Set(val *AuthenticationDecision)
func (*NullableAuthenticationDecision) UnmarshalJSON ¶
func (v *NullableAuthenticationDecision) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationDecision) Unset ¶
func (v *NullableAuthenticationDecision) 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 NullablePurchase ¶
type NullablePurchase struct {
// contains filtered or unexported fields
}
func NewNullablePurchase ¶
func NewNullablePurchase(val *Purchase) *NullablePurchase
func (NullablePurchase) Get ¶
func (v NullablePurchase) Get() *Purchase
func (NullablePurchase) IsSet ¶
func (v NullablePurchase) IsSet() bool
func (NullablePurchase) MarshalJSON ¶
func (v NullablePurchase) MarshalJSON() ([]byte, error)
func (*NullablePurchase) Set ¶
func (v *NullablePurchase) Set(val *Purchase)
func (*NullablePurchase) UnmarshalJSON ¶
func (v *NullablePurchase) UnmarshalJSON(src []byte) error
func (*NullablePurchase) Unset ¶
func (v *NullablePurchase) 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 NullableRelayedAuthenticationRequest ¶
type NullableRelayedAuthenticationRequest struct {
// contains filtered or unexported fields
}
func NewNullableRelayedAuthenticationRequest ¶
func NewNullableRelayedAuthenticationRequest(val *RelayedAuthenticationRequest) *NullableRelayedAuthenticationRequest
func (NullableRelayedAuthenticationRequest) Get ¶
func (v NullableRelayedAuthenticationRequest) Get() *RelayedAuthenticationRequest
func (NullableRelayedAuthenticationRequest) IsSet ¶
func (v NullableRelayedAuthenticationRequest) IsSet() bool
func (NullableRelayedAuthenticationRequest) MarshalJSON ¶
func (v NullableRelayedAuthenticationRequest) MarshalJSON() ([]byte, error)
func (*NullableRelayedAuthenticationRequest) Set ¶
func (v *NullableRelayedAuthenticationRequest) Set(val *RelayedAuthenticationRequest)
func (*NullableRelayedAuthenticationRequest) UnmarshalJSON ¶
func (v *NullableRelayedAuthenticationRequest) UnmarshalJSON(src []byte) error
func (*NullableRelayedAuthenticationRequest) Unset ¶
func (v *NullableRelayedAuthenticationRequest) Unset()
type NullableRelayedAuthenticationResponse ¶
type NullableRelayedAuthenticationResponse struct {
// contains filtered or unexported fields
}
func NewNullableRelayedAuthenticationResponse ¶
func NewNullableRelayedAuthenticationResponse(val *RelayedAuthenticationResponse) *NullableRelayedAuthenticationResponse
func (NullableRelayedAuthenticationResponse) Get ¶
func (v NullableRelayedAuthenticationResponse) Get() *RelayedAuthenticationResponse
func (NullableRelayedAuthenticationResponse) IsSet ¶
func (v NullableRelayedAuthenticationResponse) IsSet() bool
func (NullableRelayedAuthenticationResponse) MarshalJSON ¶
func (v NullableRelayedAuthenticationResponse) MarshalJSON() ([]byte, error)
func (*NullableRelayedAuthenticationResponse) Set ¶
func (v *NullableRelayedAuthenticationResponse) Set(val *RelayedAuthenticationResponse)
func (*NullableRelayedAuthenticationResponse) UnmarshalJSON ¶
func (v *NullableRelayedAuthenticationResponse) UnmarshalJSON(src []byte) error
func (*NullableRelayedAuthenticationResponse) Unset ¶
func (v *NullableRelayedAuthenticationResponse) 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 NullableServiceError ¶
type NullableServiceError struct {
// contains filtered or unexported fields
}
func NewNullableServiceError ¶
func NewNullableServiceError(val *ServiceError) *NullableServiceError
func (NullableServiceError) Get ¶
func (v NullableServiceError) Get() *ServiceError
func (NullableServiceError) IsSet ¶
func (v NullableServiceError) IsSet() bool
func (NullableServiceError) MarshalJSON ¶
func (v NullableServiceError) MarshalJSON() ([]byte, error)
func (*NullableServiceError) Set ¶
func (v *NullableServiceError) Set(val *ServiceError)
func (*NullableServiceError) UnmarshalJSON ¶
func (v *NullableServiceError) UnmarshalJSON(src []byte) error
func (*NullableServiceError) Unset ¶
func (v *NullableServiceError) Unset()
type Purchase ¶
type Purchase struct {
// The time of the purchase.
Date time.Time `json:"date"`
// The name of the merchant.
MerchantName string `json:"merchantName"`
OriginalAmount Amount `json:"originalAmount"`
}
Purchase struct for Purchase
func NewPurchase ¶
NewPurchase instantiates a new Purchase 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 NewPurchaseWithDefaults ¶
func NewPurchaseWithDefaults() *Purchase
NewPurchaseWithDefaults instantiates a new Purchase 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 (*Purchase) GetDateOk ¶
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*Purchase) GetMerchantName ¶
GetMerchantName returns the MerchantName field value
func (*Purchase) GetMerchantNameOk ¶
GetMerchantNameOk returns a tuple with the MerchantName field value and a boolean to check if the value has been set.
func (*Purchase) GetOriginalAmount ¶
GetOriginalAmount returns the OriginalAmount field value
func (*Purchase) GetOriginalAmountOk ¶
GetOriginalAmountOk returns a tuple with the OriginalAmount field value and a boolean to check if the value has been set.
func (Purchase) MarshalJSON ¶
func (*Purchase) SetMerchantName ¶
SetMerchantName sets field value
func (*Purchase) SetOriginalAmount ¶
SetOriginalAmount sets field value
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 RelayedAuthenticationRequest ¶
type RelayedAuthenticationRequest struct {
// The unique identifier of the challenge.
Id string `json:"id"`
// The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
PaymentInstrumentId string `json:"paymentInstrumentId"`
Purchase Purchase `json:"purchase"`
}
RelayedAuthenticationRequest struct for RelayedAuthenticationRequest
func NewRelayedAuthenticationRequest ¶
func NewRelayedAuthenticationRequest(id string, paymentInstrumentId string, purchase Purchase) *RelayedAuthenticationRequest
NewRelayedAuthenticationRequest instantiates a new RelayedAuthenticationRequest 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 NewRelayedAuthenticationRequestWithDefaults ¶
func NewRelayedAuthenticationRequestWithDefaults() *RelayedAuthenticationRequest
NewRelayedAuthenticationRequestWithDefaults instantiates a new RelayedAuthenticationRequest 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 (*RelayedAuthenticationRequest) GetId ¶
func (o *RelayedAuthenticationRequest) GetId() string
GetId returns the Id field value
func (*RelayedAuthenticationRequest) GetIdOk ¶
func (o *RelayedAuthenticationRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RelayedAuthenticationRequest) GetPaymentInstrumentId ¶
func (o *RelayedAuthenticationRequest) GetPaymentInstrumentId() string
GetPaymentInstrumentId returns the PaymentInstrumentId field value
func (*RelayedAuthenticationRequest) GetPaymentInstrumentIdOk ¶
func (o *RelayedAuthenticationRequest) GetPaymentInstrumentIdOk() (*string, bool)
GetPaymentInstrumentIdOk returns a tuple with the PaymentInstrumentId field value and a boolean to check if the value has been set.
func (*RelayedAuthenticationRequest) GetPurchase ¶
func (o *RelayedAuthenticationRequest) GetPurchase() Purchase
GetPurchase returns the Purchase field value
func (*RelayedAuthenticationRequest) GetPurchaseOk ¶
func (o *RelayedAuthenticationRequest) GetPurchaseOk() (*Purchase, bool)
GetPurchaseOk returns a tuple with the Purchase field value and a boolean to check if the value has been set.
func (RelayedAuthenticationRequest) MarshalJSON ¶
func (o RelayedAuthenticationRequest) MarshalJSON() ([]byte, error)
func (*RelayedAuthenticationRequest) SetId ¶
func (o *RelayedAuthenticationRequest) SetId(v string)
SetId sets field value
func (*RelayedAuthenticationRequest) SetPaymentInstrumentId ¶
func (o *RelayedAuthenticationRequest) SetPaymentInstrumentId(v string)
SetPaymentInstrumentId sets field value
func (*RelayedAuthenticationRequest) SetPurchase ¶
func (o *RelayedAuthenticationRequest) SetPurchase(v Purchase)
SetPurchase sets field value
func (RelayedAuthenticationRequest) ToMap ¶
func (o RelayedAuthenticationRequest) ToMap() (map[string]interface{}, error)
type RelayedAuthenticationResponse ¶
type RelayedAuthenticationResponse struct {
AuthenticationDecision AuthenticationDecision `json:"authenticationDecision"`
}
RelayedAuthenticationResponse struct for RelayedAuthenticationResponse
func NewRelayedAuthenticationResponse ¶
func NewRelayedAuthenticationResponse(authenticationDecision AuthenticationDecision) *RelayedAuthenticationResponse
NewRelayedAuthenticationResponse instantiates a new RelayedAuthenticationResponse 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 NewRelayedAuthenticationResponseWithDefaults ¶
func NewRelayedAuthenticationResponseWithDefaults() *RelayedAuthenticationResponse
NewRelayedAuthenticationResponseWithDefaults instantiates a new RelayedAuthenticationResponse 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 (*RelayedAuthenticationResponse) GetAuthenticationDecision ¶
func (o *RelayedAuthenticationResponse) GetAuthenticationDecision() AuthenticationDecision
GetAuthenticationDecision returns the AuthenticationDecision field value
func (*RelayedAuthenticationResponse) GetAuthenticationDecisionOk ¶
func (o *RelayedAuthenticationResponse) GetAuthenticationDecisionOk() (*AuthenticationDecision, bool)
GetAuthenticationDecisionOk returns a tuple with the AuthenticationDecision field value and a boolean to check if the value has been set.
func (RelayedAuthenticationResponse) MarshalJSON ¶
func (o RelayedAuthenticationResponse) MarshalJSON() ([]byte, error)
func (*RelayedAuthenticationResponse) SetAuthenticationDecision ¶
func (o *RelayedAuthenticationResponse) SetAuthenticationDecision(v AuthenticationDecision)
SetAuthenticationDecision sets field value
func (RelayedAuthenticationResponse) ToMap ¶
func (o RelayedAuthenticationResponse) 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.
type ServiceError ¶
type ServiceError struct {
// The error code mapped to the error message.
ErrorCode *string `json:"errorCode,omitempty"`
// The category of the error.
ErrorType *string `json:"errorType,omitempty"`
// A short explanation of the issue.
Message *string `json:"message,omitempty"`
// The PSP reference of the payment.
PspReference *string `json:"pspReference,omitempty"`
// The HTTP response status.
Status *int32 `json:"status,omitempty"`
}
ServiceError struct for ServiceError
func NewServiceError ¶
func NewServiceError() *ServiceError
NewServiceError instantiates a new ServiceError 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 NewServiceErrorWithDefaults ¶
func NewServiceErrorWithDefaults() *ServiceError
NewServiceErrorWithDefaults instantiates a new ServiceError 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 (*ServiceError) GetErrorCode ¶
func (o *ServiceError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*ServiceError) GetErrorCodeOk ¶
func (o *ServiceError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) GetErrorType ¶
func (o *ServiceError) GetErrorType() string
GetErrorType returns the ErrorType field value if set, zero value otherwise.
func (*ServiceError) GetErrorTypeOk ¶
func (o *ServiceError) GetErrorTypeOk() (*string, bool)
GetErrorTypeOk returns a tuple with the ErrorType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) GetMessage ¶
func (o *ServiceError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ServiceError) GetMessageOk ¶
func (o *ServiceError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) GetPspReference ¶
func (o *ServiceError) GetPspReference() string
GetPspReference returns the PspReference field value if set, zero value otherwise.
func (*ServiceError) GetPspReferenceOk ¶
func (o *ServiceError) GetPspReferenceOk() (*string, bool)
GetPspReferenceOk returns a tuple with the PspReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) GetStatus ¶
func (o *ServiceError) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*ServiceError) GetStatusOk ¶
func (o *ServiceError) GetStatusOk() (*int32, 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 (*ServiceError) HasErrorCode ¶
func (o *ServiceError) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ServiceError) HasErrorType ¶
func (o *ServiceError) HasErrorType() bool
HasErrorType returns a boolean if a field has been set.
func (*ServiceError) HasMessage ¶
func (o *ServiceError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ServiceError) HasPspReference ¶
func (o *ServiceError) HasPspReference() bool
HasPspReference returns a boolean if a field has been set.
func (*ServiceError) HasStatus ¶
func (o *ServiceError) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ServiceError) MarshalJSON ¶
func (o ServiceError) MarshalJSON() ([]byte, error)
func (*ServiceError) SetErrorCode ¶
func (o *ServiceError) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*ServiceError) SetErrorType ¶
func (o *ServiceError) SetErrorType(v string)
SetErrorType gets a reference to the given string and assigns it to the ErrorType field.
func (*ServiceError) SetMessage ¶
func (o *ServiceError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ServiceError) SetPspReference ¶
func (o *ServiceError) SetPspReference(v string)
SetPspReference gets a reference to the given string and assigns it to the PspReference field.
func (*ServiceError) SetStatus ¶
func (o *ServiceError) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (ServiceError) ToMap ¶
func (o ServiceError) ToMap() (map[string]interface{}, error)
Source Files
¶
- model_amount.go
- model_authentication_decision.go
- model_authentication_info.go
- model_authentication_notification_data.go
- model_authentication_notification_request.go
- model_balance_platform_notification_response.go
- model_challenge_info.go
- model_purchase.go
- model_purchase_info.go
- model_relayed_authentication_request.go
- model_relayed_authentication_response.go
- model_resource.go
- model_service_error.go
- webhook_handler.go