binlookup

package
v7.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount struct {
	// The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
	Currency 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

func NewAmount(currency string, value int64) *Amount

NewAmount instantiates a new Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAmountWithDefaults

func NewAmountWithDefaults() *Amount

NewAmountWithDefaults instantiates a new Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Amount) GetCurrency

func (o *Amount) GetCurrency() string

GetCurrency returns the Currency field value

func (*Amount) GetCurrencyOk

func (o *Amount) GetCurrencyOk() (*string, bool)

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

func (*Amount) GetValue

func (o *Amount) GetValue() int64

GetValue returns the Value field value

func (*Amount) GetValueOk

func (o *Amount) GetValueOk() (*int64, bool)

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

func (Amount) MarshalJSON

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

func (*Amount) SetCurrency

func (o *Amount) SetCurrency(v string)

SetCurrency sets field value

func (*Amount) SetValue

func (o *Amount) SetValue(v int64)

SetValue sets field value

func (Amount) ToMap

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

type BinDetail

type BinDetail struct {
	// The country where the card was issued.
	IssuerCountry *string `json:"issuerCountry,omitempty"`
}

BinDetail struct for BinDetail

func NewBinDetail

func NewBinDetail() *BinDetail

NewBinDetail instantiates a new BinDetail 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 NewBinDetailWithDefaults

func NewBinDetailWithDefaults() *BinDetail

NewBinDetailWithDefaults instantiates a new BinDetail 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 (*BinDetail) GetIssuerCountry

func (o *BinDetail) GetIssuerCountry() string

GetIssuerCountry returns the IssuerCountry field value if set, zero value otherwise.

func (*BinDetail) GetIssuerCountryOk

func (o *BinDetail) GetIssuerCountryOk() (*string, bool)

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

func (*BinDetail) HasIssuerCountry

func (o *BinDetail) HasIssuerCountry() bool

HasIssuerCountry returns a boolean if a field has been set.

func (BinDetail) MarshalJSON

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

func (*BinDetail) SetIssuerCountry

func (o *BinDetail) SetIssuerCountry(v string)

SetIssuerCountry gets a reference to the given string and assigns it to the IssuerCountry field.

func (BinDetail) ToMap

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

type CardBin

type CardBin struct {
	// The first 6 digit of the card number. Enable this field via merchant account settings.
	Bin *string `json:"bin,omitempty"`
	// If true, it indicates a commercial card. Enable this field via merchant account settings.
	Commercial *bool `json:"commercial,omitempty"`
	// The card funding source. Valid values are: * CHARGE * CREDIT * DEBIT * DEFERRED_DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE > Enable this field via merchant account settings.
	FundingSource *string `json:"fundingSource,omitempty"`
	// Indicates availability of funds.  Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise)  Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".
	FundsAvailability *string `json:"fundsAvailability,omitempty"`
	// The first 8 digit of the card number. Enable this field via merchant account settings.
	IssuerBin *string `json:"issuerBin,omitempty"`
	// The issuing bank of the card.
	IssuingBank *string `json:"issuingBank,omitempty"`
	// The country where the card was issued from.
	IssuingCountry *string `json:"issuingCountry,omitempty"`
	// The currency of the card.
	IssuingCurrency *string `json:"issuingCurrency,omitempty"`
	// The payment method associated with the card (e.g. visa, mc, or amex).
	PaymentMethod *string `json:"paymentMethod,omitempty"`
	// Indicates whether a payout is eligible or not for this card.  Visa: * \"Y\" * \"N\"  Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\".
	PayoutEligible *string `json:"payoutEligible,omitempty"`
	// The last four digits of the card number.
	Summary *string `json:"summary,omitempty"`
}

CardBin struct for CardBin

func NewCardBin

func NewCardBin() *CardBin

NewCardBin instantiates a new CardBin 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 NewCardBinWithDefaults

func NewCardBinWithDefaults() *CardBin

NewCardBinWithDefaults instantiates a new CardBin 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 (*CardBin) GetBin

func (o *CardBin) GetBin() string

GetBin returns the Bin field value if set, zero value otherwise.

func (*CardBin) GetBinOk

func (o *CardBin) GetBinOk() (*string, bool)

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

func (*CardBin) GetCommercial

func (o *CardBin) GetCommercial() bool

GetCommercial returns the Commercial field value if set, zero value otherwise.

func (*CardBin) GetCommercialOk

func (o *CardBin) GetCommercialOk() (*bool, bool)

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

func (*CardBin) GetFundingSource

func (o *CardBin) GetFundingSource() string

GetFundingSource returns the FundingSource field value if set, zero value otherwise.

func (*CardBin) GetFundingSourceOk

func (o *CardBin) GetFundingSourceOk() (*string, bool)

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

func (*CardBin) GetFundsAvailability

func (o *CardBin) GetFundsAvailability() string

GetFundsAvailability returns the FundsAvailability field value if set, zero value otherwise.

func (*CardBin) GetFundsAvailabilityOk

func (o *CardBin) GetFundsAvailabilityOk() (*string, bool)

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

func (*CardBin) GetIssuerBin

func (o *CardBin) GetIssuerBin() string

GetIssuerBin returns the IssuerBin field value if set, zero value otherwise.

func (*CardBin) GetIssuerBinOk

func (o *CardBin) GetIssuerBinOk() (*string, bool)

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

func (*CardBin) GetIssuingBank

func (o *CardBin) GetIssuingBank() string

GetIssuingBank returns the IssuingBank field value if set, zero value otherwise.

func (*CardBin) GetIssuingBankOk

func (o *CardBin) GetIssuingBankOk() (*string, bool)

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

func (*CardBin) GetIssuingCountry

func (o *CardBin) GetIssuingCountry() string

GetIssuingCountry returns the IssuingCountry field value if set, zero value otherwise.

func (*CardBin) GetIssuingCountryOk

func (o *CardBin) GetIssuingCountryOk() (*string, bool)

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

func (*CardBin) GetIssuingCurrency

func (o *CardBin) GetIssuingCurrency() string

GetIssuingCurrency returns the IssuingCurrency field value if set, zero value otherwise.

func (*CardBin) GetIssuingCurrencyOk

func (o *CardBin) GetIssuingCurrencyOk() (*string, bool)

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

func (*CardBin) GetPaymentMethod

func (o *CardBin) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*CardBin) GetPaymentMethodOk

func (o *CardBin) GetPaymentMethodOk() (*string, bool)

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

func (*CardBin) GetPayoutEligible

func (o *CardBin) GetPayoutEligible() string

GetPayoutEligible returns the PayoutEligible field value if set, zero value otherwise.

func (*CardBin) GetPayoutEligibleOk

func (o *CardBin) GetPayoutEligibleOk() (*string, bool)

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

func (*CardBin) GetSummary

func (o *CardBin) GetSummary() string

GetSummary returns the Summary field value if set, zero value otherwise.

func (*CardBin) GetSummaryOk

func (o *CardBin) GetSummaryOk() (*string, bool)

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

func (*CardBin) HasBin

func (o *CardBin) HasBin() bool

HasBin returns a boolean if a field has been set.

func (*CardBin) HasCommercial

func (o *CardBin) HasCommercial() bool

HasCommercial returns a boolean if a field has been set.

func (*CardBin) HasFundingSource

func (o *CardBin) HasFundingSource() bool

HasFundingSource returns a boolean if a field has been set.

func (*CardBin) HasFundsAvailability

func (o *CardBin) HasFundsAvailability() bool

HasFundsAvailability returns a boolean if a field has been set.

func (*CardBin) HasIssuerBin

func (o *CardBin) HasIssuerBin() bool

HasIssuerBin returns a boolean if a field has been set.

func (*CardBin) HasIssuingBank

func (o *CardBin) HasIssuingBank() bool

HasIssuingBank returns a boolean if a field has been set.

func (*CardBin) HasIssuingCountry

func (o *CardBin) HasIssuingCountry() bool

HasIssuingCountry returns a boolean if a field has been set.

func (*CardBin) HasIssuingCurrency

func (o *CardBin) HasIssuingCurrency() bool

HasIssuingCurrency returns a boolean if a field has been set.

func (*CardBin) HasPaymentMethod

func (o *CardBin) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*CardBin) HasPayoutEligible

func (o *CardBin) HasPayoutEligible() bool

HasPayoutEligible returns a boolean if a field has been set.

func (*CardBin) HasSummary

func (o *CardBin) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (CardBin) MarshalJSON

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

func (*CardBin) SetBin

func (o *CardBin) SetBin(v string)

SetBin gets a reference to the given string and assigns it to the Bin field.

func (*CardBin) SetCommercial

func (o *CardBin) SetCommercial(v bool)

SetCommercial gets a reference to the given bool and assigns it to the Commercial field.

func (*CardBin) SetFundingSource

func (o *CardBin) SetFundingSource(v string)

SetFundingSource gets a reference to the given string and assigns it to the FundingSource field.

func (*CardBin) SetFundsAvailability

func (o *CardBin) SetFundsAvailability(v string)

SetFundsAvailability gets a reference to the given string and assigns it to the FundsAvailability field.

func (*CardBin) SetIssuerBin

func (o *CardBin) SetIssuerBin(v string)

SetIssuerBin gets a reference to the given string and assigns it to the IssuerBin field.

func (*CardBin) SetIssuingBank

func (o *CardBin) SetIssuingBank(v string)

SetIssuingBank gets a reference to the given string and assigns it to the IssuingBank field.

func (*CardBin) SetIssuingCountry

func (o *CardBin) SetIssuingCountry(v string)

SetIssuingCountry gets a reference to the given string and assigns it to the IssuingCountry field.

func (*CardBin) SetIssuingCurrency

func (o *CardBin) SetIssuingCurrency(v string)

SetIssuingCurrency gets a reference to the given string and assigns it to the IssuingCurrency field.

func (*CardBin) SetPaymentMethod

func (o *CardBin) SetPaymentMethod(v string)

SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.

func (*CardBin) SetPayoutEligible

func (o *CardBin) SetPayoutEligible(v string)

SetPayoutEligible gets a reference to the given string and assigns it to the PayoutEligible field.

func (*CardBin) SetSummary

func (o *CardBin) SetSummary(v string)

SetSummary gets a reference to the given string and assigns it to the Summary field.

func (CardBin) ToMap

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

type CostEstimateAssumptions

type CostEstimateAssumptions struct {
	// If true, the cardholder is expected to successfully authorise via 3D Secure.
	Assume3DSecureAuthenticated *bool `json:"assume3DSecureAuthenticated,omitempty"`
	// If true, the transaction is expected to have valid Level 3 data.
	AssumeLevel3Data *bool `json:"assumeLevel3Data,omitempty"`
	// If not zero, the number of installments.
	Installments *int32 `json:"installments,omitempty"`
}

CostEstimateAssumptions struct for CostEstimateAssumptions

func NewCostEstimateAssumptions

func NewCostEstimateAssumptions() *CostEstimateAssumptions

NewCostEstimateAssumptions instantiates a new CostEstimateAssumptions 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 NewCostEstimateAssumptionsWithDefaults

func NewCostEstimateAssumptionsWithDefaults() *CostEstimateAssumptions

NewCostEstimateAssumptionsWithDefaults instantiates a new CostEstimateAssumptions 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 (*CostEstimateAssumptions) GetAssume3DSecureAuthenticated

func (o *CostEstimateAssumptions) GetAssume3DSecureAuthenticated() bool

GetAssume3DSecureAuthenticated returns the Assume3DSecureAuthenticated field value if set, zero value otherwise.

func (*CostEstimateAssumptions) GetAssume3DSecureAuthenticatedOk

func (o *CostEstimateAssumptions) GetAssume3DSecureAuthenticatedOk() (*bool, bool)

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

func (*CostEstimateAssumptions) GetAssumeLevel3Data

func (o *CostEstimateAssumptions) GetAssumeLevel3Data() bool

GetAssumeLevel3Data returns the AssumeLevel3Data field value if set, zero value otherwise.

func (*CostEstimateAssumptions) GetAssumeLevel3DataOk

func (o *CostEstimateAssumptions) GetAssumeLevel3DataOk() (*bool, bool)

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

func (*CostEstimateAssumptions) GetInstallments

func (o *CostEstimateAssumptions) GetInstallments() int32

GetInstallments returns the Installments field value if set, zero value otherwise.

func (*CostEstimateAssumptions) GetInstallmentsOk

func (o *CostEstimateAssumptions) GetInstallmentsOk() (*int32, bool)

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

func (*CostEstimateAssumptions) HasAssume3DSecureAuthenticated

func (o *CostEstimateAssumptions) HasAssume3DSecureAuthenticated() bool

HasAssume3DSecureAuthenticated returns a boolean if a field has been set.

func (*CostEstimateAssumptions) HasAssumeLevel3Data

func (o *CostEstimateAssumptions) HasAssumeLevel3Data() bool

HasAssumeLevel3Data returns a boolean if a field has been set.

func (*CostEstimateAssumptions) HasInstallments

func (o *CostEstimateAssumptions) HasInstallments() bool

HasInstallments returns a boolean if a field has been set.

func (CostEstimateAssumptions) MarshalJSON

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

func (*CostEstimateAssumptions) SetAssume3DSecureAuthenticated

func (o *CostEstimateAssumptions) SetAssume3DSecureAuthenticated(v bool)

SetAssume3DSecureAuthenticated gets a reference to the given bool and assigns it to the Assume3DSecureAuthenticated field.

func (*CostEstimateAssumptions) SetAssumeLevel3Data

func (o *CostEstimateAssumptions) SetAssumeLevel3Data(v bool)

SetAssumeLevel3Data gets a reference to the given bool and assigns it to the AssumeLevel3Data field.

func (*CostEstimateAssumptions) SetInstallments

func (o *CostEstimateAssumptions) SetInstallments(v int32)

SetInstallments gets a reference to the given int32 and assigns it to the Installments field.

func (CostEstimateAssumptions) ToMap

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

type CostEstimateRequest

type CostEstimateRequest struct {
	Amount      Amount                   `json:"amount"`
	Assumptions *CostEstimateAssumptions `json:"assumptions,omitempty"`
	// The card number (4-19 characters) for PCI compliant use cases. Do not use any separators.  > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request.
	CardNumber *string `json:"cardNumber,omitempty"`
	// Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Checkout Card Component or Secured Fields Component, and must contain the `encryptedCardNumber` field.  > Either the `cardNumber` or `encryptedCardNumber` field must be provided in a payment request.
	EncryptedCardNumber *string `json:"encryptedCardNumber,omitempty"`
	// The merchant account identifier you want to process the (transaction) request with.
	MerchantAccount string           `json:"merchantAccount"`
	MerchantDetails *MerchantDetails `json:"merchantDetails,omitempty"`
	Recurring       *Recurring       `json:"recurring,omitempty"`
	// The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail.
	SelectedRecurringDetailReference *string `json:"selectedRecurringDetailReference,omitempty"`
	// Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default.  This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.
	ShopperInteraction *string `json:"shopperInteraction,omitempty"`
	// Required for recurring payments.  Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
	ShopperReference *string `json:"shopperReference,omitempty"`
}

CostEstimateRequest struct for CostEstimateRequest

func NewCostEstimateRequest

func NewCostEstimateRequest(amount Amount, merchantAccount string) *CostEstimateRequest

NewCostEstimateRequest instantiates a new CostEstimateRequest 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 NewCostEstimateRequestWithDefaults

func NewCostEstimateRequestWithDefaults() *CostEstimateRequest

NewCostEstimateRequestWithDefaults instantiates a new CostEstimateRequest 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 (*CostEstimateRequest) GetAmount

func (o *CostEstimateRequest) GetAmount() Amount

GetAmount returns the Amount field value

func (*CostEstimateRequest) GetAmountOk

func (o *CostEstimateRequest) GetAmountOk() (*Amount, bool)

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

func (*CostEstimateRequest) GetAssumptions

func (o *CostEstimateRequest) GetAssumptions() CostEstimateAssumptions

GetAssumptions returns the Assumptions field value if set, zero value otherwise.

func (*CostEstimateRequest) GetAssumptionsOk

func (o *CostEstimateRequest) GetAssumptionsOk() (*CostEstimateAssumptions, bool)

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

func (*CostEstimateRequest) GetCardNumber

func (o *CostEstimateRequest) GetCardNumber() string

GetCardNumber returns the CardNumber field value if set, zero value otherwise.

func (*CostEstimateRequest) GetCardNumberOk

func (o *CostEstimateRequest) GetCardNumberOk() (*string, bool)

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

func (*CostEstimateRequest) GetEncryptedCardNumber

func (o *CostEstimateRequest) GetEncryptedCardNumber() string

GetEncryptedCardNumber returns the EncryptedCardNumber field value if set, zero value otherwise.

func (*CostEstimateRequest) GetEncryptedCardNumberOk

func (o *CostEstimateRequest) GetEncryptedCardNumberOk() (*string, bool)

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

func (*CostEstimateRequest) GetMerchantAccount

func (o *CostEstimateRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*CostEstimateRequest) GetMerchantAccountOk

func (o *CostEstimateRequest) GetMerchantAccountOk() (*string, bool)

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

func (*CostEstimateRequest) GetMerchantDetails

func (o *CostEstimateRequest) GetMerchantDetails() MerchantDetails

GetMerchantDetails returns the MerchantDetails field value if set, zero value otherwise.

func (*CostEstimateRequest) GetMerchantDetailsOk

func (o *CostEstimateRequest) GetMerchantDetailsOk() (*MerchantDetails, bool)

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

func (*CostEstimateRequest) GetRecurring

func (o *CostEstimateRequest) GetRecurring() Recurring

GetRecurring returns the Recurring field value if set, zero value otherwise.

func (*CostEstimateRequest) GetRecurringOk

func (o *CostEstimateRequest) GetRecurringOk() (*Recurring, bool)

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

func (*CostEstimateRequest) GetSelectedRecurringDetailReference

func (o *CostEstimateRequest) GetSelectedRecurringDetailReference() string

GetSelectedRecurringDetailReference returns the SelectedRecurringDetailReference field value if set, zero value otherwise.

func (*CostEstimateRequest) GetSelectedRecurringDetailReferenceOk

func (o *CostEstimateRequest) GetSelectedRecurringDetailReferenceOk() (*string, bool)

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

func (*CostEstimateRequest) GetShopperInteraction

func (o *CostEstimateRequest) GetShopperInteraction() string

GetShopperInteraction returns the ShopperInteraction field value if set, zero value otherwise.

func (*CostEstimateRequest) GetShopperInteractionOk

func (o *CostEstimateRequest) GetShopperInteractionOk() (*string, bool)

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

func (*CostEstimateRequest) GetShopperReference

func (o *CostEstimateRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*CostEstimateRequest) GetShopperReferenceOk

func (o *CostEstimateRequest) GetShopperReferenceOk() (*string, bool)

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

func (*CostEstimateRequest) HasAssumptions

func (o *CostEstimateRequest) HasAssumptions() bool

HasAssumptions returns a boolean if a field has been set.

func (*CostEstimateRequest) HasCardNumber

func (o *CostEstimateRequest) HasCardNumber() bool

HasCardNumber returns a boolean if a field has been set.

func (*CostEstimateRequest) HasEncryptedCardNumber

func (o *CostEstimateRequest) HasEncryptedCardNumber() bool

HasEncryptedCardNumber returns a boolean if a field has been set.

func (*CostEstimateRequest) HasMerchantDetails

func (o *CostEstimateRequest) HasMerchantDetails() bool

HasMerchantDetails returns a boolean if a field has been set.

func (*CostEstimateRequest) HasRecurring

func (o *CostEstimateRequest) HasRecurring() bool

HasRecurring returns a boolean if a field has been set.

func (*CostEstimateRequest) HasSelectedRecurringDetailReference

func (o *CostEstimateRequest) HasSelectedRecurringDetailReference() bool

HasSelectedRecurringDetailReference returns a boolean if a field has been set.

func (*CostEstimateRequest) HasShopperInteraction

func (o *CostEstimateRequest) HasShopperInteraction() bool

HasShopperInteraction returns a boolean if a field has been set.

func (*CostEstimateRequest) HasShopperReference

func (o *CostEstimateRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (CostEstimateRequest) MarshalJSON

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

func (*CostEstimateRequest) SetAmount

func (o *CostEstimateRequest) SetAmount(v Amount)

SetAmount sets field value

func (*CostEstimateRequest) SetAssumptions

func (o *CostEstimateRequest) SetAssumptions(v CostEstimateAssumptions)

SetAssumptions gets a reference to the given CostEstimateAssumptions and assigns it to the Assumptions field.

func (*CostEstimateRequest) SetCardNumber

func (o *CostEstimateRequest) SetCardNumber(v string)

SetCardNumber gets a reference to the given string and assigns it to the CardNumber field.

func (*CostEstimateRequest) SetEncryptedCardNumber

func (o *CostEstimateRequest) SetEncryptedCardNumber(v string)

SetEncryptedCardNumber gets a reference to the given string and assigns it to the EncryptedCardNumber field.

func (*CostEstimateRequest) SetMerchantAccount

func (o *CostEstimateRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*CostEstimateRequest) SetMerchantDetails

func (o *CostEstimateRequest) SetMerchantDetails(v MerchantDetails)

SetMerchantDetails gets a reference to the given MerchantDetails and assigns it to the MerchantDetails field.

func (*CostEstimateRequest) SetRecurring

func (o *CostEstimateRequest) SetRecurring(v Recurring)

SetRecurring gets a reference to the given Recurring and assigns it to the Recurring field.

func (*CostEstimateRequest) SetSelectedRecurringDetailReference

func (o *CostEstimateRequest) SetSelectedRecurringDetailReference(v string)

SetSelectedRecurringDetailReference gets a reference to the given string and assigns it to the SelectedRecurringDetailReference field.

func (*CostEstimateRequest) SetShopperInteraction

func (o *CostEstimateRequest) SetShopperInteraction(v string)

SetShopperInteraction gets a reference to the given string and assigns it to the ShopperInteraction field.

func (*CostEstimateRequest) SetShopperReference

func (o *CostEstimateRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (CostEstimateRequest) ToMap

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

type CostEstimateResponse

type CostEstimateResponse struct {
	CardBin            *CardBin `json:"cardBin,omitempty"`
	CostEstimateAmount *Amount  `json:"costEstimateAmount,omitempty"`
	// Adyen's 16-character reference associated with the request.
	CostEstimateReference *string `json:"costEstimateReference,omitempty"`
	// The result of the cost estimation.
	ResultCode *string `json:"resultCode,omitempty"`
	// Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
	SurchargeType *string `json:"surchargeType,omitempty"`
}

CostEstimateResponse struct for CostEstimateResponse

func NewCostEstimateResponse

func NewCostEstimateResponse() *CostEstimateResponse

NewCostEstimateResponse instantiates a new CostEstimateResponse 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 NewCostEstimateResponseWithDefaults

func NewCostEstimateResponseWithDefaults() *CostEstimateResponse

NewCostEstimateResponseWithDefaults instantiates a new CostEstimateResponse 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 (*CostEstimateResponse) GetCardBin

func (o *CostEstimateResponse) GetCardBin() CardBin

GetCardBin returns the CardBin field value if set, zero value otherwise.

func (*CostEstimateResponse) GetCardBinOk

func (o *CostEstimateResponse) GetCardBinOk() (*CardBin, bool)

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

func (*CostEstimateResponse) GetCostEstimateAmount

func (o *CostEstimateResponse) GetCostEstimateAmount() Amount

GetCostEstimateAmount returns the CostEstimateAmount field value if set, zero value otherwise.

func (*CostEstimateResponse) GetCostEstimateAmountOk

func (o *CostEstimateResponse) GetCostEstimateAmountOk() (*Amount, bool)

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

func (*CostEstimateResponse) GetCostEstimateReference

func (o *CostEstimateResponse) GetCostEstimateReference() string

GetCostEstimateReference returns the CostEstimateReference field value if set, zero value otherwise.

func (*CostEstimateResponse) GetCostEstimateReferenceOk

func (o *CostEstimateResponse) GetCostEstimateReferenceOk() (*string, bool)

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

func (*CostEstimateResponse) GetResultCode

func (o *CostEstimateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*CostEstimateResponse) GetResultCodeOk

func (o *CostEstimateResponse) GetResultCodeOk() (*string, bool)

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

func (*CostEstimateResponse) GetSurchargeType

func (o *CostEstimateResponse) GetSurchargeType() string

GetSurchargeType returns the SurchargeType field value if set, zero value otherwise.

func (*CostEstimateResponse) GetSurchargeTypeOk

func (o *CostEstimateResponse) GetSurchargeTypeOk() (*string, bool)

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

func (*CostEstimateResponse) HasCardBin

func (o *CostEstimateResponse) HasCardBin() bool

HasCardBin returns a boolean if a field has been set.

func (*CostEstimateResponse) HasCostEstimateAmount

func (o *CostEstimateResponse) HasCostEstimateAmount() bool

HasCostEstimateAmount returns a boolean if a field has been set.

func (*CostEstimateResponse) HasCostEstimateReference

func (o *CostEstimateResponse) HasCostEstimateReference() bool

HasCostEstimateReference returns a boolean if a field has been set.

func (*CostEstimateResponse) HasResultCode

func (o *CostEstimateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*CostEstimateResponse) HasSurchargeType

func (o *CostEstimateResponse) HasSurchargeType() bool

HasSurchargeType returns a boolean if a field has been set.

func (CostEstimateResponse) MarshalJSON

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

func (*CostEstimateResponse) SetCardBin

func (o *CostEstimateResponse) SetCardBin(v CardBin)

SetCardBin gets a reference to the given CardBin and assigns it to the CardBin field.

func (*CostEstimateResponse) SetCostEstimateAmount

func (o *CostEstimateResponse) SetCostEstimateAmount(v Amount)

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

func (*CostEstimateResponse) SetCostEstimateReference

func (o *CostEstimateResponse) SetCostEstimateReference(v string)

SetCostEstimateReference gets a reference to the given string and assigns it to the CostEstimateReference field.

func (*CostEstimateResponse) SetResultCode

func (o *CostEstimateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*CostEstimateResponse) SetSurchargeType

func (o *CostEstimateResponse) SetSurchargeType(v string)

SetSurchargeType gets a reference to the given string and assigns it to the SurchargeType field.

func (CostEstimateResponse) ToMap

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

type DSPublicKeyDetail

type DSPublicKeyDetail struct {
	// Card brand.
	Brand *string `json:"brand,omitempty"`
	// Directory Server (DS) identifier.
	DirectoryServerId *string `json:"directoryServerId,omitempty"`
	// The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases).
	FromSDKVersion *string `json:"fromSDKVersion,omitempty"`
	// Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key.
	PublicKey *string `json:"publicKey,omitempty"`
}

DSPublicKeyDetail struct for DSPublicKeyDetail

func NewDSPublicKeyDetail

func NewDSPublicKeyDetail() *DSPublicKeyDetail

NewDSPublicKeyDetail instantiates a new DSPublicKeyDetail 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 NewDSPublicKeyDetailWithDefaults

func NewDSPublicKeyDetailWithDefaults() *DSPublicKeyDetail

NewDSPublicKeyDetailWithDefaults instantiates a new DSPublicKeyDetail 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 (*DSPublicKeyDetail) GetBrand

func (o *DSPublicKeyDetail) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*DSPublicKeyDetail) GetBrandOk

func (o *DSPublicKeyDetail) GetBrandOk() (*string, bool)

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

func (*DSPublicKeyDetail) GetDirectoryServerId

func (o *DSPublicKeyDetail) GetDirectoryServerId() string

GetDirectoryServerId returns the DirectoryServerId field value if set, zero value otherwise.

func (*DSPublicKeyDetail) GetDirectoryServerIdOk

func (o *DSPublicKeyDetail) GetDirectoryServerIdOk() (*string, bool)

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

func (*DSPublicKeyDetail) GetFromSDKVersion

func (o *DSPublicKeyDetail) GetFromSDKVersion() string

GetFromSDKVersion returns the FromSDKVersion field value if set, zero value otherwise.

func (*DSPublicKeyDetail) GetFromSDKVersionOk

func (o *DSPublicKeyDetail) GetFromSDKVersionOk() (*string, bool)

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

func (*DSPublicKeyDetail) GetPublicKey

func (o *DSPublicKeyDetail) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*DSPublicKeyDetail) GetPublicKeyOk

func (o *DSPublicKeyDetail) GetPublicKeyOk() (*string, bool)

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

func (*DSPublicKeyDetail) HasBrand

func (o *DSPublicKeyDetail) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*DSPublicKeyDetail) HasDirectoryServerId

func (o *DSPublicKeyDetail) HasDirectoryServerId() bool

HasDirectoryServerId returns a boolean if a field has been set.

func (*DSPublicKeyDetail) HasFromSDKVersion

func (o *DSPublicKeyDetail) HasFromSDKVersion() bool

HasFromSDKVersion returns a boolean if a field has been set.

func (*DSPublicKeyDetail) HasPublicKey

func (o *DSPublicKeyDetail) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (DSPublicKeyDetail) MarshalJSON

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

func (*DSPublicKeyDetail) SetBrand

func (o *DSPublicKeyDetail) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*DSPublicKeyDetail) SetDirectoryServerId

func (o *DSPublicKeyDetail) SetDirectoryServerId(v string)

SetDirectoryServerId gets a reference to the given string and assigns it to the DirectoryServerId field.

func (*DSPublicKeyDetail) SetFromSDKVersion

func (o *DSPublicKeyDetail) SetFromSDKVersion(v string)

SetFromSDKVersion gets a reference to the given string and assigns it to the FromSDKVersion field.

func (*DSPublicKeyDetail) SetPublicKey

func (o *DSPublicKeyDetail) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (DSPublicKeyDetail) ToMap

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

type GeneralApi

type GeneralApi common.Service

GeneralApi service

func (*GeneralApi) Get3dsAvailability

Get3dsAvailability Check if 3D Secure is available

Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys.

For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiGet3dsAvailabilityInput - Request parameters, see Get3dsAvailabilityInput @return ThreeDSAvailabilityResponse, *http.Response, error

func (*GeneralApi) Get3dsAvailabilityInput

func (a *GeneralApi) Get3dsAvailabilityInput() GeneralApiGet3dsAvailabilityInput

Prepare a request for Get3dsAvailability

@return GeneralApiGet3dsAvailabilityInput

func (*GeneralApi) GetCostEstimate

GetCostEstimate Get a fees cost estimate

>This API is available only for merchants operating in Australia, the EU, and the UK.

Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary.

To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations).

> Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiGetCostEstimateInput - Request parameters, see GetCostEstimateInput @return CostEstimateResponse, *http.Response, error

func (*GeneralApi) GetCostEstimateInput

func (a *GeneralApi) GetCostEstimateInput() GeneralApiGetCostEstimateInput

Prepare a request for GetCostEstimate

@return GeneralApiGetCostEstimateInput

type GeneralApiGet3dsAvailabilityInput

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

All parameters accepted by GeneralApi.Get3dsAvailability

func (GeneralApiGet3dsAvailabilityInput) ThreeDSAvailabilityRequest

func (r GeneralApiGet3dsAvailabilityInput) ThreeDSAvailabilityRequest(threeDSAvailabilityRequest ThreeDSAvailabilityRequest) GeneralApiGet3dsAvailabilityInput

type GeneralApiGetCostEstimateInput

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

All parameters accepted by GeneralApi.GetCostEstimate

func (GeneralApiGetCostEstimateInput) CostEstimateRequest

func (r GeneralApiGetCostEstimateInput) CostEstimateRequest(costEstimateRequest CostEstimateRequest) GeneralApiGetCostEstimateInput

type MerchantDetails

type MerchantDetails struct {
	// 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway.
	CountryCode *string `json:"countryCode,omitempty"`
	// If true, indicates that the merchant is enrolled in 3D Secure for the card network.
	EnrolledIn3DSecure *bool `json:"enrolledIn3DSecure,omitempty"`
	// The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.  The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code).
	Mcc *string `json:"mcc,omitempty"`
}

MerchantDetails struct for MerchantDetails

func NewMerchantDetails

func NewMerchantDetails() *MerchantDetails

NewMerchantDetails instantiates a new MerchantDetails 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 NewMerchantDetailsWithDefaults

func NewMerchantDetailsWithDefaults() *MerchantDetails

NewMerchantDetailsWithDefaults instantiates a new MerchantDetails 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 (*MerchantDetails) GetCountryCode

func (o *MerchantDetails) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*MerchantDetails) GetCountryCodeOk

func (o *MerchantDetails) GetCountryCodeOk() (*string, bool)

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

func (*MerchantDetails) GetEnrolledIn3DSecure

func (o *MerchantDetails) GetEnrolledIn3DSecure() bool

GetEnrolledIn3DSecure returns the EnrolledIn3DSecure field value if set, zero value otherwise.

func (*MerchantDetails) GetEnrolledIn3DSecureOk

func (o *MerchantDetails) GetEnrolledIn3DSecureOk() (*bool, bool)

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

func (*MerchantDetails) GetMcc

func (o *MerchantDetails) GetMcc() string

GetMcc returns the Mcc field value if set, zero value otherwise.

func (*MerchantDetails) GetMccOk

func (o *MerchantDetails) GetMccOk() (*string, bool)

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

func (*MerchantDetails) HasCountryCode

func (o *MerchantDetails) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*MerchantDetails) HasEnrolledIn3DSecure

func (o *MerchantDetails) HasEnrolledIn3DSecure() bool

HasEnrolledIn3DSecure returns a boolean if a field has been set.

func (*MerchantDetails) HasMcc

func (o *MerchantDetails) HasMcc() bool

HasMcc returns a boolean if a field has been set.

func (MerchantDetails) MarshalJSON

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

func (*MerchantDetails) SetCountryCode

func (o *MerchantDetails) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*MerchantDetails) SetEnrolledIn3DSecure

func (o *MerchantDetails) SetEnrolledIn3DSecure(v bool)

SetEnrolledIn3DSecure gets a reference to the given bool and assigns it to the EnrolledIn3DSecure field.

func (*MerchantDetails) SetMcc

func (o *MerchantDetails) SetMcc(v string)

SetMcc gets a reference to the given string and assigns it to the Mcc field.

func (MerchantDetails) ToMap

func (o MerchantDetails) 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 NullableBinDetail

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

func NewNullableBinDetail

func NewNullableBinDetail(val *BinDetail) *NullableBinDetail

func (NullableBinDetail) Get

func (v NullableBinDetail) Get() *BinDetail

func (NullableBinDetail) IsSet

func (v NullableBinDetail) IsSet() bool

func (NullableBinDetail) MarshalJSON

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

func (*NullableBinDetail) Set

func (v *NullableBinDetail) Set(val *BinDetail)

func (*NullableBinDetail) UnmarshalJSON

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

func (*NullableBinDetail) Unset

func (v *NullableBinDetail) Unset()

type NullableCardBin

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

func NewNullableCardBin

func NewNullableCardBin(val *CardBin) *NullableCardBin

func (NullableCardBin) Get

func (v NullableCardBin) Get() *CardBin

func (NullableCardBin) IsSet

func (v NullableCardBin) IsSet() bool

func (NullableCardBin) MarshalJSON

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

func (*NullableCardBin) Set

func (v *NullableCardBin) Set(val *CardBin)

func (*NullableCardBin) UnmarshalJSON

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

func (*NullableCardBin) Unset

func (v *NullableCardBin) Unset()

type NullableCostEstimateAssumptions

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

func (NullableCostEstimateAssumptions) Get

func (NullableCostEstimateAssumptions) IsSet

func (NullableCostEstimateAssumptions) MarshalJSON

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

func (*NullableCostEstimateAssumptions) Set

func (*NullableCostEstimateAssumptions) UnmarshalJSON

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

func (*NullableCostEstimateAssumptions) Unset

type NullableCostEstimateRequest

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

func NewNullableCostEstimateRequest

func NewNullableCostEstimateRequest(val *CostEstimateRequest) *NullableCostEstimateRequest

func (NullableCostEstimateRequest) Get

func (NullableCostEstimateRequest) IsSet

func (NullableCostEstimateRequest) MarshalJSON

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

func (*NullableCostEstimateRequest) Set

func (*NullableCostEstimateRequest) UnmarshalJSON

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

func (*NullableCostEstimateRequest) Unset

func (v *NullableCostEstimateRequest) Unset()

type NullableCostEstimateResponse

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

func NewNullableCostEstimateResponse

func NewNullableCostEstimateResponse(val *CostEstimateResponse) *NullableCostEstimateResponse

func (NullableCostEstimateResponse) Get

func (NullableCostEstimateResponse) IsSet

func (NullableCostEstimateResponse) MarshalJSON

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

func (*NullableCostEstimateResponse) Set

func (*NullableCostEstimateResponse) UnmarshalJSON

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

func (*NullableCostEstimateResponse) Unset

func (v *NullableCostEstimateResponse) Unset()

type NullableDSPublicKeyDetail

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

func NewNullableDSPublicKeyDetail

func NewNullableDSPublicKeyDetail(val *DSPublicKeyDetail) *NullableDSPublicKeyDetail

func (NullableDSPublicKeyDetail) Get

func (NullableDSPublicKeyDetail) IsSet

func (v NullableDSPublicKeyDetail) IsSet() bool

func (NullableDSPublicKeyDetail) MarshalJSON

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

func (*NullableDSPublicKeyDetail) Set

func (*NullableDSPublicKeyDetail) UnmarshalJSON

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

func (*NullableDSPublicKeyDetail) Unset

func (v *NullableDSPublicKeyDetail) Unset()

type NullableMerchantDetails

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

func NewNullableMerchantDetails

func NewNullableMerchantDetails(val *MerchantDetails) *NullableMerchantDetails

func (NullableMerchantDetails) Get

func (NullableMerchantDetails) IsSet

func (v NullableMerchantDetails) IsSet() bool

func (NullableMerchantDetails) MarshalJSON

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

func (*NullableMerchantDetails) Set

func (*NullableMerchantDetails) UnmarshalJSON

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

func (*NullableMerchantDetails) Unset

func (v *NullableMerchantDetails) Unset()

type NullableRecurring

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

func NewNullableRecurring

func NewNullableRecurring(val *Recurring) *NullableRecurring

func (NullableRecurring) Get

func (v NullableRecurring) Get() *Recurring

func (NullableRecurring) IsSet

func (v NullableRecurring) IsSet() bool

func (NullableRecurring) MarshalJSON

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

func (*NullableRecurring) Set

func (v *NullableRecurring) Set(val *Recurring)

func (*NullableRecurring) UnmarshalJSON

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

func (*NullableRecurring) Unset

func (v *NullableRecurring) Unset()

type NullableServiceError

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

func NewNullableServiceError

func NewNullableServiceError(val *ServiceError) *NullableServiceError

func (NullableServiceError) Get

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 NullableThreeDS2CardRangeDetail

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

func (NullableThreeDS2CardRangeDetail) Get

func (NullableThreeDS2CardRangeDetail) IsSet

func (NullableThreeDS2CardRangeDetail) MarshalJSON

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

func (*NullableThreeDS2CardRangeDetail) Set

func (*NullableThreeDS2CardRangeDetail) UnmarshalJSON

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

func (*NullableThreeDS2CardRangeDetail) Unset

type NullableThreeDSAvailabilityRequest

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

func (NullableThreeDSAvailabilityRequest) Get

func (NullableThreeDSAvailabilityRequest) IsSet

func (NullableThreeDSAvailabilityRequest) MarshalJSON

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

func (*NullableThreeDSAvailabilityRequest) Set

func (*NullableThreeDSAvailabilityRequest) UnmarshalJSON

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

func (*NullableThreeDSAvailabilityRequest) Unset

type NullableThreeDSAvailabilityResponse

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

func (NullableThreeDSAvailabilityResponse) Get

func (NullableThreeDSAvailabilityResponse) IsSet

func (NullableThreeDSAvailabilityResponse) MarshalJSON

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

func (*NullableThreeDSAvailabilityResponse) Set

func (*NullableThreeDSAvailabilityResponse) UnmarshalJSON

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

func (*NullableThreeDSAvailabilityResponse) Unset

type Recurring

type Recurring struct {
	// The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).
	Contract *string `json:"contract,omitempty"`
	// A descriptive name for this detail.
	RecurringDetailName *string `json:"recurringDetailName,omitempty"`
	// Date after which no further authorisations shall be performed. Only for 3D Secure 2.
	RecurringExpiry *time.Time `json:"recurringExpiry,omitempty"`
	// Minimum number of days between authorisations. Only for 3D Secure 2.
	RecurringFrequency *string `json:"recurringFrequency,omitempty"`
	// The name of the token service.
	TokenService *string `json:"tokenService,omitempty"`
}

Recurring struct for Recurring

func NewRecurring

func NewRecurring() *Recurring

NewRecurring instantiates a new Recurring 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 NewRecurringWithDefaults

func NewRecurringWithDefaults() *Recurring

NewRecurringWithDefaults instantiates a new Recurring 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 (*Recurring) GetContract

func (o *Recurring) GetContract() string

GetContract returns the Contract field value if set, zero value otherwise.

func (*Recurring) GetContractOk

func (o *Recurring) GetContractOk() (*string, bool)

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

func (*Recurring) GetRecurringDetailName

func (o *Recurring) GetRecurringDetailName() string

GetRecurringDetailName returns the RecurringDetailName field value if set, zero value otherwise.

func (*Recurring) GetRecurringDetailNameOk

func (o *Recurring) GetRecurringDetailNameOk() (*string, bool)

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

func (*Recurring) GetRecurringExpiry

func (o *Recurring) GetRecurringExpiry() time.Time

GetRecurringExpiry returns the RecurringExpiry field value if set, zero value otherwise.

func (*Recurring) GetRecurringExpiryOk

func (o *Recurring) GetRecurringExpiryOk() (*time.Time, bool)

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

func (*Recurring) GetRecurringFrequency

func (o *Recurring) GetRecurringFrequency() string

GetRecurringFrequency returns the RecurringFrequency field value if set, zero value otherwise.

func (*Recurring) GetRecurringFrequencyOk

func (o *Recurring) GetRecurringFrequencyOk() (*string, bool)

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

func (*Recurring) GetTokenService

func (o *Recurring) GetTokenService() string

GetTokenService returns the TokenService field value if set, zero value otherwise.

func (*Recurring) GetTokenServiceOk

func (o *Recurring) GetTokenServiceOk() (*string, bool)

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

func (*Recurring) HasContract

func (o *Recurring) HasContract() bool

HasContract returns a boolean if a field has been set.

func (*Recurring) HasRecurringDetailName

func (o *Recurring) HasRecurringDetailName() bool

HasRecurringDetailName returns a boolean if a field has been set.

func (*Recurring) HasRecurringExpiry

func (o *Recurring) HasRecurringExpiry() bool

HasRecurringExpiry returns a boolean if a field has been set.

func (*Recurring) HasRecurringFrequency

func (o *Recurring) HasRecurringFrequency() bool

HasRecurringFrequency returns a boolean if a field has been set.

func (*Recurring) HasTokenService

func (o *Recurring) HasTokenService() bool

HasTokenService returns a boolean if a field has been set.

func (Recurring) MarshalJSON

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

func (*Recurring) SetContract

func (o *Recurring) SetContract(v string)

SetContract gets a reference to the given string and assigns it to the Contract field.

func (*Recurring) SetRecurringDetailName

func (o *Recurring) SetRecurringDetailName(v string)

SetRecurringDetailName gets a reference to the given string and assigns it to the RecurringDetailName field.

func (*Recurring) SetRecurringExpiry

func (o *Recurring) SetRecurringExpiry(v time.Time)

SetRecurringExpiry gets a reference to the given time.Time and assigns it to the RecurringExpiry field.

func (*Recurring) SetRecurringFrequency

func (o *Recurring) SetRecurringFrequency(v string)

SetRecurringFrequency gets a reference to the given string and assigns it to the RecurringFrequency field.

func (*Recurring) SetTokenService

func (o *Recurring) SetTokenService(v string)

SetTokenService gets a reference to the given string and assigns it to the TokenService field.

func (Recurring) ToMap

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

type ServiceError

type ServiceError struct {
	// Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**.
	AdditionalData *map[string]string `json:"additionalData,omitempty"`
	// 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) GetAdditionalData

func (o *ServiceError) GetAdditionalData() map[string]string

GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.

func (*ServiceError) GetAdditionalDataOk

func (o *ServiceError) GetAdditionalDataOk() (*map[string]string, bool)

GetAdditionalDataOk returns a tuple with the AdditionalData field value if set, nil otherwise and a boolean to check if the value has been 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) HasAdditionalData

func (o *ServiceError) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field 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) SetAdditionalData

func (o *ServiceError) SetAdditionalData(v map[string]string)

SetAdditionalData gets a reference to the given map[string]string and assigns it to the AdditionalData field.

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)

type ThreeDS2CardRangeDetail

type ThreeDS2CardRangeDetail struct {
	// Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported)
	AcsInfoInd []string `json:"acsInfoInd,omitempty"`
	// Card brand.
	BrandCode *string `json:"brandCode,omitempty"`
	// BIN end range.
	EndRange *string `json:"endRange,omitempty"`
	// BIN start range.
	StartRange *string `json:"startRange,omitempty"`
	// Supported 3D Secure protocol versions
	ThreeDS2Versions []string `json:"threeDS2Versions,omitempty"`
	// In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to.
	ThreeDSMethodURL *string `json:"threeDSMethodURL,omitempty"`
}

ThreeDS2CardRangeDetail struct for ThreeDS2CardRangeDetail

func NewThreeDS2CardRangeDetail

func NewThreeDS2CardRangeDetail() *ThreeDS2CardRangeDetail

NewThreeDS2CardRangeDetail instantiates a new ThreeDS2CardRangeDetail 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 NewThreeDS2CardRangeDetailWithDefaults

func NewThreeDS2CardRangeDetailWithDefaults() *ThreeDS2CardRangeDetail

NewThreeDS2CardRangeDetailWithDefaults instantiates a new ThreeDS2CardRangeDetail 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 (*ThreeDS2CardRangeDetail) GetAcsInfoInd

func (o *ThreeDS2CardRangeDetail) GetAcsInfoInd() []string

GetAcsInfoInd returns the AcsInfoInd field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetAcsInfoIndOk

func (o *ThreeDS2CardRangeDetail) GetAcsInfoIndOk() ([]string, bool)

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

func (*ThreeDS2CardRangeDetail) GetBrandCode

func (o *ThreeDS2CardRangeDetail) GetBrandCode() string

GetBrandCode returns the BrandCode field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetBrandCodeOk

func (o *ThreeDS2CardRangeDetail) GetBrandCodeOk() (*string, bool)

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

func (*ThreeDS2CardRangeDetail) GetEndRange

func (o *ThreeDS2CardRangeDetail) GetEndRange() string

GetEndRange returns the EndRange field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetEndRangeOk

func (o *ThreeDS2CardRangeDetail) GetEndRangeOk() (*string, bool)

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

func (*ThreeDS2CardRangeDetail) GetStartRange

func (o *ThreeDS2CardRangeDetail) GetStartRange() string

GetStartRange returns the StartRange field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetStartRangeOk

func (o *ThreeDS2CardRangeDetail) GetStartRangeOk() (*string, bool)

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

func (*ThreeDS2CardRangeDetail) GetThreeDS2Versions

func (o *ThreeDS2CardRangeDetail) GetThreeDS2Versions() []string

GetThreeDS2Versions returns the ThreeDS2Versions field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetThreeDS2VersionsOk

func (o *ThreeDS2CardRangeDetail) GetThreeDS2VersionsOk() ([]string, bool)

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

func (*ThreeDS2CardRangeDetail) GetThreeDSMethodURL

func (o *ThreeDS2CardRangeDetail) GetThreeDSMethodURL() string

GetThreeDSMethodURL returns the ThreeDSMethodURL field value if set, zero value otherwise.

func (*ThreeDS2CardRangeDetail) GetThreeDSMethodURLOk

func (o *ThreeDS2CardRangeDetail) GetThreeDSMethodURLOk() (*string, bool)

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

func (*ThreeDS2CardRangeDetail) HasAcsInfoInd

func (o *ThreeDS2CardRangeDetail) HasAcsInfoInd() bool

HasAcsInfoInd returns a boolean if a field has been set.

func (*ThreeDS2CardRangeDetail) HasBrandCode

func (o *ThreeDS2CardRangeDetail) HasBrandCode() bool

HasBrandCode returns a boolean if a field has been set.

func (*ThreeDS2CardRangeDetail) HasEndRange

func (o *ThreeDS2CardRangeDetail) HasEndRange() bool

HasEndRange returns a boolean if a field has been set.

func (*ThreeDS2CardRangeDetail) HasStartRange

func (o *ThreeDS2CardRangeDetail) HasStartRange() bool

HasStartRange returns a boolean if a field has been set.

func (*ThreeDS2CardRangeDetail) HasThreeDS2Versions

func (o *ThreeDS2CardRangeDetail) HasThreeDS2Versions() bool

HasThreeDS2Versions returns a boolean if a field has been set.

func (*ThreeDS2CardRangeDetail) HasThreeDSMethodURL

func (o *ThreeDS2CardRangeDetail) HasThreeDSMethodURL() bool

HasThreeDSMethodURL returns a boolean if a field has been set.

func (ThreeDS2CardRangeDetail) MarshalJSON

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

func (*ThreeDS2CardRangeDetail) SetAcsInfoInd

func (o *ThreeDS2CardRangeDetail) SetAcsInfoInd(v []string)

SetAcsInfoInd gets a reference to the given []string and assigns it to the AcsInfoInd field.

func (*ThreeDS2CardRangeDetail) SetBrandCode

func (o *ThreeDS2CardRangeDetail) SetBrandCode(v string)

SetBrandCode gets a reference to the given string and assigns it to the BrandCode field.

func (*ThreeDS2CardRangeDetail) SetEndRange

func (o *ThreeDS2CardRangeDetail) SetEndRange(v string)

SetEndRange gets a reference to the given string and assigns it to the EndRange field.

func (*ThreeDS2CardRangeDetail) SetStartRange

func (o *ThreeDS2CardRangeDetail) SetStartRange(v string)

SetStartRange gets a reference to the given string and assigns it to the StartRange field.

func (*ThreeDS2CardRangeDetail) SetThreeDS2Versions

func (o *ThreeDS2CardRangeDetail) SetThreeDS2Versions(v []string)

SetThreeDS2Versions gets a reference to the given []string and assigns it to the ThreeDS2Versions field.

func (*ThreeDS2CardRangeDetail) SetThreeDSMethodURL

func (o *ThreeDS2CardRangeDetail) SetThreeDSMethodURL(v string)

SetThreeDSMethodURL gets a reference to the given string and assigns it to the ThreeDSMethodURL field.

func (ThreeDS2CardRangeDetail) ToMap

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

type ThreeDSAvailabilityRequest

type ThreeDSAvailabilityRequest struct {
	// This field contains additional data, which may be required for a particular request.  The `additionalData` object consists of entries, each of which includes the key and value.
	AdditionalData *map[string]string `json:"additionalData,omitempty"`
	// List of brands.
	Brands []string `json:"brands,omitempty"`
	// Card number or BIN.
	CardNumber *string `json:"cardNumber,omitempty"`
	// The merchant account identifier.
	MerchantAccount string `json:"merchantAccount"`
	// A recurring detail reference corresponding to a card.
	RecurringDetailReference *string `json:"recurringDetailReference,omitempty"`
	// The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID).
	ShopperReference *string `json:"shopperReference,omitempty"`
}

ThreeDSAvailabilityRequest struct for ThreeDSAvailabilityRequest

func NewThreeDSAvailabilityRequest

func NewThreeDSAvailabilityRequest(merchantAccount string) *ThreeDSAvailabilityRequest

NewThreeDSAvailabilityRequest instantiates a new ThreeDSAvailabilityRequest 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 NewThreeDSAvailabilityRequestWithDefaults

func NewThreeDSAvailabilityRequestWithDefaults() *ThreeDSAvailabilityRequest

NewThreeDSAvailabilityRequestWithDefaults instantiates a new ThreeDSAvailabilityRequest 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 (*ThreeDSAvailabilityRequest) GetAdditionalData

func (o *ThreeDSAvailabilityRequest) GetAdditionalData() map[string]string

GetAdditionalData returns the AdditionalData field value if set, zero value otherwise.

func (*ThreeDSAvailabilityRequest) GetAdditionalDataOk

func (o *ThreeDSAvailabilityRequest) GetAdditionalDataOk() (*map[string]string, bool)

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

func (*ThreeDSAvailabilityRequest) GetBrands

func (o *ThreeDSAvailabilityRequest) GetBrands() []string

GetBrands returns the Brands field value if set, zero value otherwise.

func (*ThreeDSAvailabilityRequest) GetBrandsOk

func (o *ThreeDSAvailabilityRequest) GetBrandsOk() ([]string, bool)

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

func (*ThreeDSAvailabilityRequest) GetCardNumber

func (o *ThreeDSAvailabilityRequest) GetCardNumber() string

GetCardNumber returns the CardNumber field value if set, zero value otherwise.

func (*ThreeDSAvailabilityRequest) GetCardNumberOk

func (o *ThreeDSAvailabilityRequest) GetCardNumberOk() (*string, bool)

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

func (*ThreeDSAvailabilityRequest) GetMerchantAccount

func (o *ThreeDSAvailabilityRequest) GetMerchantAccount() string

GetMerchantAccount returns the MerchantAccount field value

func (*ThreeDSAvailabilityRequest) GetMerchantAccountOk

func (o *ThreeDSAvailabilityRequest) GetMerchantAccountOk() (*string, bool)

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

func (*ThreeDSAvailabilityRequest) GetRecurringDetailReference

func (o *ThreeDSAvailabilityRequest) GetRecurringDetailReference() string

GetRecurringDetailReference returns the RecurringDetailReference field value if set, zero value otherwise.

func (*ThreeDSAvailabilityRequest) GetRecurringDetailReferenceOk

func (o *ThreeDSAvailabilityRequest) GetRecurringDetailReferenceOk() (*string, bool)

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

func (*ThreeDSAvailabilityRequest) GetShopperReference

func (o *ThreeDSAvailabilityRequest) GetShopperReference() string

GetShopperReference returns the ShopperReference field value if set, zero value otherwise.

func (*ThreeDSAvailabilityRequest) GetShopperReferenceOk

func (o *ThreeDSAvailabilityRequest) GetShopperReferenceOk() (*string, bool)

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

func (*ThreeDSAvailabilityRequest) HasAdditionalData

func (o *ThreeDSAvailabilityRequest) HasAdditionalData() bool

HasAdditionalData returns a boolean if a field has been set.

func (*ThreeDSAvailabilityRequest) HasBrands

func (o *ThreeDSAvailabilityRequest) HasBrands() bool

HasBrands returns a boolean if a field has been set.

func (*ThreeDSAvailabilityRequest) HasCardNumber

func (o *ThreeDSAvailabilityRequest) HasCardNumber() bool

HasCardNumber returns a boolean if a field has been set.

func (*ThreeDSAvailabilityRequest) HasRecurringDetailReference

func (o *ThreeDSAvailabilityRequest) HasRecurringDetailReference() bool

HasRecurringDetailReference returns a boolean if a field has been set.

func (*ThreeDSAvailabilityRequest) HasShopperReference

func (o *ThreeDSAvailabilityRequest) HasShopperReference() bool

HasShopperReference returns a boolean if a field has been set.

func (ThreeDSAvailabilityRequest) MarshalJSON

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

func (*ThreeDSAvailabilityRequest) SetAdditionalData

func (o *ThreeDSAvailabilityRequest) SetAdditionalData(v map[string]string)

SetAdditionalData gets a reference to the given map[string]string and assigns it to the AdditionalData field.

func (*ThreeDSAvailabilityRequest) SetBrands

func (o *ThreeDSAvailabilityRequest) SetBrands(v []string)

SetBrands gets a reference to the given []string and assigns it to the Brands field.

func (*ThreeDSAvailabilityRequest) SetCardNumber

func (o *ThreeDSAvailabilityRequest) SetCardNumber(v string)

SetCardNumber gets a reference to the given string and assigns it to the CardNumber field.

func (*ThreeDSAvailabilityRequest) SetMerchantAccount

func (o *ThreeDSAvailabilityRequest) SetMerchantAccount(v string)

SetMerchantAccount sets field value

func (*ThreeDSAvailabilityRequest) SetRecurringDetailReference

func (o *ThreeDSAvailabilityRequest) SetRecurringDetailReference(v string)

SetRecurringDetailReference gets a reference to the given string and assigns it to the RecurringDetailReference field.

func (*ThreeDSAvailabilityRequest) SetShopperReference

func (o *ThreeDSAvailabilityRequest) SetShopperReference(v string)

SetShopperReference gets a reference to the given string and assigns it to the ShopperReference field.

func (ThreeDSAvailabilityRequest) ToMap

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

type ThreeDSAvailabilityResponse

type ThreeDSAvailabilityResponse struct {
	BinDetails *BinDetail `json:"binDetails,omitempty"`
	// List of Directory Server (DS) public keys.
	DsPublicKeys []DSPublicKeyDetail `json:"dsPublicKeys,omitempty"`
	// Indicator if 3D Secure 1 is supported.
	ThreeDS1Supported *bool `json:"threeDS1Supported,omitempty"`
	// List of brand and card range pairs.
	ThreeDS2CardRangeDetails []ThreeDS2CardRangeDetail `json:"threeDS2CardRangeDetails,omitempty"`
	// Indicator if 3D Secure 2 is supported.
	ThreeDS2supported *bool `json:"threeDS2supported,omitempty"`
}

ThreeDSAvailabilityResponse struct for ThreeDSAvailabilityResponse

func NewThreeDSAvailabilityResponse

func NewThreeDSAvailabilityResponse() *ThreeDSAvailabilityResponse

NewThreeDSAvailabilityResponse instantiates a new ThreeDSAvailabilityResponse 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 NewThreeDSAvailabilityResponseWithDefaults

func NewThreeDSAvailabilityResponseWithDefaults() *ThreeDSAvailabilityResponse

NewThreeDSAvailabilityResponseWithDefaults instantiates a new ThreeDSAvailabilityResponse 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 (*ThreeDSAvailabilityResponse) GetBinDetails

func (o *ThreeDSAvailabilityResponse) GetBinDetails() BinDetail

GetBinDetails returns the BinDetails field value if set, zero value otherwise.

func (*ThreeDSAvailabilityResponse) GetBinDetailsOk

func (o *ThreeDSAvailabilityResponse) GetBinDetailsOk() (*BinDetail, bool)

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

func (*ThreeDSAvailabilityResponse) GetDsPublicKeys

func (o *ThreeDSAvailabilityResponse) GetDsPublicKeys() []DSPublicKeyDetail

GetDsPublicKeys returns the DsPublicKeys field value if set, zero value otherwise.

func (*ThreeDSAvailabilityResponse) GetDsPublicKeysOk

func (o *ThreeDSAvailabilityResponse) GetDsPublicKeysOk() ([]DSPublicKeyDetail, bool)

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

func (*ThreeDSAvailabilityResponse) GetThreeDS1Supported

func (o *ThreeDSAvailabilityResponse) GetThreeDS1Supported() bool

GetThreeDS1Supported returns the ThreeDS1Supported field value if set, zero value otherwise.

func (*ThreeDSAvailabilityResponse) GetThreeDS1SupportedOk

func (o *ThreeDSAvailabilityResponse) GetThreeDS1SupportedOk() (*bool, bool)

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

func (*ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetails

func (o *ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetails() []ThreeDS2CardRangeDetail

GetThreeDS2CardRangeDetails returns the ThreeDS2CardRangeDetails field value if set, zero value otherwise.

func (*ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetailsOk

func (o *ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetailsOk() ([]ThreeDS2CardRangeDetail, bool)

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

func (*ThreeDSAvailabilityResponse) GetThreeDS2supported

func (o *ThreeDSAvailabilityResponse) GetThreeDS2supported() bool

GetThreeDS2supported returns the ThreeDS2supported field value if set, zero value otherwise.

func (*ThreeDSAvailabilityResponse) GetThreeDS2supportedOk

func (o *ThreeDSAvailabilityResponse) GetThreeDS2supportedOk() (*bool, bool)

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

func (*ThreeDSAvailabilityResponse) HasBinDetails

func (o *ThreeDSAvailabilityResponse) HasBinDetails() bool

HasBinDetails returns a boolean if a field has been set.

func (*ThreeDSAvailabilityResponse) HasDsPublicKeys

func (o *ThreeDSAvailabilityResponse) HasDsPublicKeys() bool

HasDsPublicKeys returns a boolean if a field has been set.

func (*ThreeDSAvailabilityResponse) HasThreeDS1Supported

func (o *ThreeDSAvailabilityResponse) HasThreeDS1Supported() bool

HasThreeDS1Supported returns a boolean if a field has been set.

func (*ThreeDSAvailabilityResponse) HasThreeDS2CardRangeDetails

func (o *ThreeDSAvailabilityResponse) HasThreeDS2CardRangeDetails() bool

HasThreeDS2CardRangeDetails returns a boolean if a field has been set.

func (*ThreeDSAvailabilityResponse) HasThreeDS2supported

func (o *ThreeDSAvailabilityResponse) HasThreeDS2supported() bool

HasThreeDS2supported returns a boolean if a field has been set.

func (ThreeDSAvailabilityResponse) MarshalJSON

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

func (*ThreeDSAvailabilityResponse) SetBinDetails

func (o *ThreeDSAvailabilityResponse) SetBinDetails(v BinDetail)

SetBinDetails gets a reference to the given BinDetail and assigns it to the BinDetails field.

func (*ThreeDSAvailabilityResponse) SetDsPublicKeys

func (o *ThreeDSAvailabilityResponse) SetDsPublicKeys(v []DSPublicKeyDetail)

SetDsPublicKeys gets a reference to the given []DSPublicKeyDetail and assigns it to the DsPublicKeys field.

func (*ThreeDSAvailabilityResponse) SetThreeDS1Supported

func (o *ThreeDSAvailabilityResponse) SetThreeDS1Supported(v bool)

SetThreeDS1Supported gets a reference to the given bool and assigns it to the ThreeDS1Supported field.

func (*ThreeDSAvailabilityResponse) SetThreeDS2CardRangeDetails

func (o *ThreeDSAvailabilityResponse) SetThreeDS2CardRangeDetails(v []ThreeDS2CardRangeDetail)

SetThreeDS2CardRangeDetails gets a reference to the given []ThreeDS2CardRangeDetail and assigns it to the ThreeDS2CardRangeDetails field.

func (*ThreeDSAvailabilityResponse) SetThreeDS2supported

func (o *ThreeDSAvailabilityResponse) SetThreeDS2supported(v bool)

SetThreeDS2supported gets a reference to the given bool and assigns it to the ThreeDS2supported field.

func (ThreeDSAvailabilityResponse) ToMap

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

Jump to

Keyboard shortcuts

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