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 BinDetail
- func (o *BinDetail) GetIssuerCountry() string
- func (o *BinDetail) GetIssuerCountryOk() (*string, bool)
- func (o *BinDetail) HasIssuerCountry() bool
- func (o BinDetail) MarshalJSON() ([]byte, error)
- func (o *BinDetail) SetIssuerCountry(v string)
- func (o BinDetail) ToMap() (map[string]interface{}, error)
- type CardBin
- func (o *CardBin) GetBin() string
- func (o *CardBin) GetBinOk() (*string, bool)
- func (o *CardBin) GetCommercial() bool
- func (o *CardBin) GetCommercialOk() (*bool, bool)
- func (o *CardBin) GetFundingSource() string
- func (o *CardBin) GetFundingSourceOk() (*string, bool)
- func (o *CardBin) GetFundsAvailability() string
- func (o *CardBin) GetFundsAvailabilityOk() (*string, bool)
- func (o *CardBin) GetIssuerBin() string
- func (o *CardBin) GetIssuerBinOk() (*string, bool)
- func (o *CardBin) GetIssuingBank() string
- func (o *CardBin) GetIssuingBankOk() (*string, bool)
- func (o *CardBin) GetIssuingCountry() string
- func (o *CardBin) GetIssuingCountryOk() (*string, bool)
- func (o *CardBin) GetIssuingCurrency() string
- func (o *CardBin) GetIssuingCurrencyOk() (*string, bool)
- func (o *CardBin) GetPaymentMethod() string
- func (o *CardBin) GetPaymentMethodOk() (*string, bool)
- func (o *CardBin) GetPayoutEligible() string
- func (o *CardBin) GetPayoutEligibleOk() (*string, bool)
- func (o *CardBin) GetSummary() string
- func (o *CardBin) GetSummaryOk() (*string, bool)
- func (o *CardBin) HasBin() bool
- func (o *CardBin) HasCommercial() bool
- func (o *CardBin) HasFundingSource() bool
- func (o *CardBin) HasFundsAvailability() bool
- func (o *CardBin) HasIssuerBin() bool
- func (o *CardBin) HasIssuingBank() bool
- func (o *CardBin) HasIssuingCountry() bool
- func (o *CardBin) HasIssuingCurrency() bool
- func (o *CardBin) HasPaymentMethod() bool
- func (o *CardBin) HasPayoutEligible() bool
- func (o *CardBin) HasSummary() bool
- func (o CardBin) MarshalJSON() ([]byte, error)
- func (o *CardBin) SetBin(v string)
- func (o *CardBin) SetCommercial(v bool)
- func (o *CardBin) SetFundingSource(v string)
- func (o *CardBin) SetFundsAvailability(v string)
- func (o *CardBin) SetIssuerBin(v string)
- func (o *CardBin) SetIssuingBank(v string)
- func (o *CardBin) SetIssuingCountry(v string)
- func (o *CardBin) SetIssuingCurrency(v string)
- func (o *CardBin) SetPaymentMethod(v string)
- func (o *CardBin) SetPayoutEligible(v string)
- func (o *CardBin) SetSummary(v string)
- func (o CardBin) ToMap() (map[string]interface{}, error)
- type CostEstimateAssumptions
- func (o *CostEstimateAssumptions) GetAssume3DSecureAuthenticated() bool
- func (o *CostEstimateAssumptions) GetAssume3DSecureAuthenticatedOk() (*bool, bool)
- func (o *CostEstimateAssumptions) GetAssumeLevel3Data() bool
- func (o *CostEstimateAssumptions) GetAssumeLevel3DataOk() (*bool, bool)
- func (o *CostEstimateAssumptions) GetInstallments() int32
- func (o *CostEstimateAssumptions) GetInstallmentsOk() (*int32, bool)
- func (o *CostEstimateAssumptions) HasAssume3DSecureAuthenticated() bool
- func (o *CostEstimateAssumptions) HasAssumeLevel3Data() bool
- func (o *CostEstimateAssumptions) HasInstallments() bool
- func (o CostEstimateAssumptions) MarshalJSON() ([]byte, error)
- func (o *CostEstimateAssumptions) SetAssume3DSecureAuthenticated(v bool)
- func (o *CostEstimateAssumptions) SetAssumeLevel3Data(v bool)
- func (o *CostEstimateAssumptions) SetInstallments(v int32)
- func (o CostEstimateAssumptions) ToMap() (map[string]interface{}, error)
- type CostEstimateRequest
- func (o *CostEstimateRequest) GetAmount() Amount
- func (o *CostEstimateRequest) GetAmountOk() (*Amount, bool)
- func (o *CostEstimateRequest) GetAssumptions() CostEstimateAssumptions
- func (o *CostEstimateRequest) GetAssumptionsOk() (*CostEstimateAssumptions, bool)
- func (o *CostEstimateRequest) GetCardNumber() string
- func (o *CostEstimateRequest) GetCardNumberOk() (*string, bool)
- func (o *CostEstimateRequest) GetEncryptedCardNumber() string
- func (o *CostEstimateRequest) GetEncryptedCardNumberOk() (*string, bool)
- func (o *CostEstimateRequest) GetMerchantAccount() string
- func (o *CostEstimateRequest) GetMerchantAccountOk() (*string, bool)
- func (o *CostEstimateRequest) GetMerchantDetails() MerchantDetails
- func (o *CostEstimateRequest) GetMerchantDetailsOk() (*MerchantDetails, bool)
- func (o *CostEstimateRequest) GetRecurring() Recurring
- func (o *CostEstimateRequest) GetRecurringOk() (*Recurring, bool)
- func (o *CostEstimateRequest) GetSelectedRecurringDetailReference() string
- func (o *CostEstimateRequest) GetSelectedRecurringDetailReferenceOk() (*string, bool)
- func (o *CostEstimateRequest) GetShopperInteraction() string
- func (o *CostEstimateRequest) GetShopperInteractionOk() (*string, bool)
- func (o *CostEstimateRequest) GetShopperReference() string
- func (o *CostEstimateRequest) GetShopperReferenceOk() (*string, bool)
- func (o *CostEstimateRequest) HasAssumptions() bool
- func (o *CostEstimateRequest) HasCardNumber() bool
- func (o *CostEstimateRequest) HasEncryptedCardNumber() bool
- func (o *CostEstimateRequest) HasMerchantDetails() bool
- func (o *CostEstimateRequest) HasRecurring() bool
- func (o *CostEstimateRequest) HasSelectedRecurringDetailReference() bool
- func (o *CostEstimateRequest) HasShopperInteraction() bool
- func (o *CostEstimateRequest) HasShopperReference() bool
- func (o CostEstimateRequest) MarshalJSON() ([]byte, error)
- func (o *CostEstimateRequest) SetAmount(v Amount)
- func (o *CostEstimateRequest) SetAssumptions(v CostEstimateAssumptions)
- func (o *CostEstimateRequest) SetCardNumber(v string)
- func (o *CostEstimateRequest) SetEncryptedCardNumber(v string)
- func (o *CostEstimateRequest) SetMerchantAccount(v string)
- func (o *CostEstimateRequest) SetMerchantDetails(v MerchantDetails)
- func (o *CostEstimateRequest) SetRecurring(v Recurring)
- func (o *CostEstimateRequest) SetSelectedRecurringDetailReference(v string)
- func (o *CostEstimateRequest) SetShopperInteraction(v string)
- func (o *CostEstimateRequest) SetShopperReference(v string)
- func (o CostEstimateRequest) ToMap() (map[string]interface{}, error)
- type CostEstimateResponse
- func (o *CostEstimateResponse) GetCardBin() CardBin
- func (o *CostEstimateResponse) GetCardBinOk() (*CardBin, bool)
- func (o *CostEstimateResponse) GetCostEstimateAmount() Amount
- func (o *CostEstimateResponse) GetCostEstimateAmountOk() (*Amount, bool)
- func (o *CostEstimateResponse) GetCostEstimateReference() string
- func (o *CostEstimateResponse) GetCostEstimateReferenceOk() (*string, bool)
- func (o *CostEstimateResponse) GetResultCode() string
- func (o *CostEstimateResponse) GetResultCodeOk() (*string, bool)
- func (o *CostEstimateResponse) GetSurchargeType() string
- func (o *CostEstimateResponse) GetSurchargeTypeOk() (*string, bool)
- func (o *CostEstimateResponse) HasCardBin() bool
- func (o *CostEstimateResponse) HasCostEstimateAmount() bool
- func (o *CostEstimateResponse) HasCostEstimateReference() bool
- func (o *CostEstimateResponse) HasResultCode() bool
- func (o *CostEstimateResponse) HasSurchargeType() bool
- func (o CostEstimateResponse) MarshalJSON() ([]byte, error)
- func (o *CostEstimateResponse) SetCardBin(v CardBin)
- func (o *CostEstimateResponse) SetCostEstimateAmount(v Amount)
- func (o *CostEstimateResponse) SetCostEstimateReference(v string)
- func (o *CostEstimateResponse) SetResultCode(v string)
- func (o *CostEstimateResponse) SetSurchargeType(v string)
- func (o CostEstimateResponse) ToMap() (map[string]interface{}, error)
- type DSPublicKeyDetail
- func (o *DSPublicKeyDetail) GetBrand() string
- func (o *DSPublicKeyDetail) GetBrandOk() (*string, bool)
- func (o *DSPublicKeyDetail) GetDirectoryServerId() string
- func (o *DSPublicKeyDetail) GetDirectoryServerIdOk() (*string, bool)
- func (o *DSPublicKeyDetail) GetFromSDKVersion() string
- func (o *DSPublicKeyDetail) GetFromSDKVersionOk() (*string, bool)
- func (o *DSPublicKeyDetail) GetPublicKey() string
- func (o *DSPublicKeyDetail) GetPublicKeyOk() (*string, bool)
- func (o *DSPublicKeyDetail) GetRootCertificates() string
- func (o *DSPublicKeyDetail) GetRootCertificatesOk() (*string, bool)
- func (o *DSPublicKeyDetail) HasBrand() bool
- func (o *DSPublicKeyDetail) HasDirectoryServerId() bool
- func (o *DSPublicKeyDetail) HasFromSDKVersion() bool
- func (o *DSPublicKeyDetail) HasPublicKey() bool
- func (o *DSPublicKeyDetail) HasRootCertificates() bool
- func (o DSPublicKeyDetail) MarshalJSON() ([]byte, error)
- func (o *DSPublicKeyDetail) SetBrand(v string)
- func (o *DSPublicKeyDetail) SetDirectoryServerId(v string)
- func (o *DSPublicKeyDetail) SetFromSDKVersion(v string)
- func (o *DSPublicKeyDetail) SetPublicKey(v string)
- func (o *DSPublicKeyDetail) SetRootCertificates(v string)
- func (o DSPublicKeyDetail) ToMap() (map[string]interface{}, error)
- type GeneralApi
- func (a *GeneralApi) Get3dsAvailability(ctx context.Context, r GeneralApiGet3dsAvailabilityInput) (ThreeDSAvailabilityResponse, *http.Response, error)
- func (a *GeneralApi) Get3dsAvailabilityInput() GeneralApiGet3dsAvailabilityInput
- func (a *GeneralApi) GetCostEstimate(ctx context.Context, r GeneralApiGetCostEstimateInput) (CostEstimateResponse, *http.Response, error)
- func (a *GeneralApi) GetCostEstimateInput() GeneralApiGetCostEstimateInput
- type GeneralApiGet3dsAvailabilityInput
- type GeneralApiGetCostEstimateInput
- type MerchantDetails
- func (o *MerchantDetails) GetCountryCode() string
- func (o *MerchantDetails) GetCountryCodeOk() (*string, bool)
- func (o *MerchantDetails) GetEnrolledIn3DSecure() bool
- func (o *MerchantDetails) GetEnrolledIn3DSecureOk() (*bool, bool)
- func (o *MerchantDetails) GetMcc() string
- func (o *MerchantDetails) GetMccOk() (*string, bool)
- func (o *MerchantDetails) HasCountryCode() bool
- func (o *MerchantDetails) HasEnrolledIn3DSecure() bool
- func (o *MerchantDetails) HasMcc() bool
- func (o MerchantDetails) MarshalJSON() ([]byte, error)
- func (o *MerchantDetails) SetCountryCode(v string)
- func (o *MerchantDetails) SetEnrolledIn3DSecure(v bool)
- func (o *MerchantDetails) SetMcc(v string)
- func (o MerchantDetails) ToMap() (map[string]interface{}, error)
- type NullableAmount
- type NullableBinDetail
- type NullableCardBin
- type NullableCostEstimateAssumptions
- func (v NullableCostEstimateAssumptions) Get() *CostEstimateAssumptions
- func (v NullableCostEstimateAssumptions) IsSet() bool
- func (v NullableCostEstimateAssumptions) MarshalJSON() ([]byte, error)
- func (v *NullableCostEstimateAssumptions) Set(val *CostEstimateAssumptions)
- func (v *NullableCostEstimateAssumptions) UnmarshalJSON(src []byte) error
- func (v *NullableCostEstimateAssumptions) Unset()
- type NullableCostEstimateRequest
- func (v NullableCostEstimateRequest) Get() *CostEstimateRequest
- func (v NullableCostEstimateRequest) IsSet() bool
- func (v NullableCostEstimateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCostEstimateRequest) Set(val *CostEstimateRequest)
- func (v *NullableCostEstimateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCostEstimateRequest) Unset()
- type NullableCostEstimateResponse
- func (v NullableCostEstimateResponse) Get() *CostEstimateResponse
- func (v NullableCostEstimateResponse) IsSet() bool
- func (v NullableCostEstimateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCostEstimateResponse) Set(val *CostEstimateResponse)
- func (v *NullableCostEstimateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCostEstimateResponse) Unset()
- type NullableDSPublicKeyDetail
- func (v NullableDSPublicKeyDetail) Get() *DSPublicKeyDetail
- func (v NullableDSPublicKeyDetail) IsSet() bool
- func (v NullableDSPublicKeyDetail) MarshalJSON() ([]byte, error)
- func (v *NullableDSPublicKeyDetail) Set(val *DSPublicKeyDetail)
- func (v *NullableDSPublicKeyDetail) UnmarshalJSON(src []byte) error
- func (v *NullableDSPublicKeyDetail) Unset()
- type NullableMerchantDetails
- func (v NullableMerchantDetails) Get() *MerchantDetails
- func (v NullableMerchantDetails) IsSet() bool
- func (v NullableMerchantDetails) MarshalJSON() ([]byte, error)
- func (v *NullableMerchantDetails) Set(val *MerchantDetails)
- func (v *NullableMerchantDetails) UnmarshalJSON(src []byte) error
- func (v *NullableMerchantDetails) Unset()
- type NullableRecurring
- 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 NullableThreeDS2CardRangeDetail
- func (v NullableThreeDS2CardRangeDetail) Get() *ThreeDS2CardRangeDetail
- func (v NullableThreeDS2CardRangeDetail) IsSet() bool
- func (v NullableThreeDS2CardRangeDetail) MarshalJSON() ([]byte, error)
- func (v *NullableThreeDS2CardRangeDetail) Set(val *ThreeDS2CardRangeDetail)
- func (v *NullableThreeDS2CardRangeDetail) UnmarshalJSON(src []byte) error
- func (v *NullableThreeDS2CardRangeDetail) Unset()
- type NullableThreeDSAvailabilityRequest
- func (v NullableThreeDSAvailabilityRequest) Get() *ThreeDSAvailabilityRequest
- func (v NullableThreeDSAvailabilityRequest) IsSet() bool
- func (v NullableThreeDSAvailabilityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableThreeDSAvailabilityRequest) Set(val *ThreeDSAvailabilityRequest)
- func (v *NullableThreeDSAvailabilityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableThreeDSAvailabilityRequest) Unset()
- type NullableThreeDSAvailabilityResponse
- func (v NullableThreeDSAvailabilityResponse) Get() *ThreeDSAvailabilityResponse
- func (v NullableThreeDSAvailabilityResponse) IsSet() bool
- func (v NullableThreeDSAvailabilityResponse) MarshalJSON() ([]byte, error)
- func (v *NullableThreeDSAvailabilityResponse) Set(val *ThreeDSAvailabilityResponse)
- func (v *NullableThreeDSAvailabilityResponse) UnmarshalJSON(src []byte) error
- func (v *NullableThreeDSAvailabilityResponse) Unset()
- type Recurring
- func (o *Recurring) GetContract() string
- func (o *Recurring) GetContractOk() (*string, bool)
- func (o *Recurring) GetRecurringDetailName() string
- func (o *Recurring) GetRecurringDetailNameOk() (*string, bool)
- func (o *Recurring) GetRecurringExpiry() time.Time
- func (o *Recurring) GetRecurringExpiryOk() (*time.Time, bool)
- func (o *Recurring) GetRecurringFrequency() string
- func (o *Recurring) GetRecurringFrequencyOk() (*string, bool)
- func (o *Recurring) GetTokenService() string
- func (o *Recurring) GetTokenServiceOk() (*string, bool)
- func (o *Recurring) HasContract() bool
- func (o *Recurring) HasRecurringDetailName() bool
- func (o *Recurring) HasRecurringExpiry() bool
- func (o *Recurring) HasRecurringFrequency() bool
- func (o *Recurring) HasTokenService() bool
- func (o Recurring) MarshalJSON() ([]byte, error)
- func (o *Recurring) SetContract(v string)
- func (o *Recurring) SetRecurringDetailName(v string)
- func (o *Recurring) SetRecurringExpiry(v time.Time)
- func (o *Recurring) SetRecurringFrequency(v string)
- func (o *Recurring) SetTokenService(v string)
- func (o Recurring) ToMap() (map[string]interface{}, error)
- type ServiceError
- func (o *ServiceError) GetAdditionalData() map[string]string
- func (o *ServiceError) GetAdditionalDataOk() (*map[string]string, bool)
- 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) HasAdditionalData() 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) SetAdditionalData(v map[string]string)
- 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)
- type ThreeDS2CardRangeDetail
- func (o *ThreeDS2CardRangeDetail) GetAcsInfoInd() []string
- func (o *ThreeDS2CardRangeDetail) GetAcsInfoIndOk() ([]string, bool)
- func (o *ThreeDS2CardRangeDetail) GetBrandCode() string
- func (o *ThreeDS2CardRangeDetail) GetBrandCodeOk() (*string, bool)
- func (o *ThreeDS2CardRangeDetail) GetEndRange() string
- func (o *ThreeDS2CardRangeDetail) GetEndRangeOk() (*string, bool)
- func (o *ThreeDS2CardRangeDetail) GetStartRange() string
- func (o *ThreeDS2CardRangeDetail) GetStartRangeOk() (*string, bool)
- func (o *ThreeDS2CardRangeDetail) GetThreeDS2Versions() []string
- func (o *ThreeDS2CardRangeDetail) GetThreeDS2VersionsOk() ([]string, bool)
- func (o *ThreeDS2CardRangeDetail) GetThreeDSMethodURL() string
- func (o *ThreeDS2CardRangeDetail) GetThreeDSMethodURLOk() (*string, bool)
- func (o *ThreeDS2CardRangeDetail) HasAcsInfoInd() bool
- func (o *ThreeDS2CardRangeDetail) HasBrandCode() bool
- func (o *ThreeDS2CardRangeDetail) HasEndRange() bool
- func (o *ThreeDS2CardRangeDetail) HasStartRange() bool
- func (o *ThreeDS2CardRangeDetail) HasThreeDS2Versions() bool
- func (o *ThreeDS2CardRangeDetail) HasThreeDSMethodURL() bool
- func (o ThreeDS2CardRangeDetail) MarshalJSON() ([]byte, error)
- func (o *ThreeDS2CardRangeDetail) SetAcsInfoInd(v []string)
- func (o *ThreeDS2CardRangeDetail) SetBrandCode(v string)
- func (o *ThreeDS2CardRangeDetail) SetEndRange(v string)
- func (o *ThreeDS2CardRangeDetail) SetStartRange(v string)
- func (o *ThreeDS2CardRangeDetail) SetThreeDS2Versions(v []string)
- func (o *ThreeDS2CardRangeDetail) SetThreeDSMethodURL(v string)
- func (o ThreeDS2CardRangeDetail) ToMap() (map[string]interface{}, error)
- type ThreeDSAvailabilityRequest
- func (o *ThreeDSAvailabilityRequest) GetAdditionalData() map[string]string
- func (o *ThreeDSAvailabilityRequest) GetAdditionalDataOk() (*map[string]string, bool)
- func (o *ThreeDSAvailabilityRequest) GetBrands() []string
- func (o *ThreeDSAvailabilityRequest) GetBrandsOk() ([]string, bool)
- func (o *ThreeDSAvailabilityRequest) GetCardNumber() string
- func (o *ThreeDSAvailabilityRequest) GetCardNumberOk() (*string, bool)
- func (o *ThreeDSAvailabilityRequest) GetMerchantAccount() string
- func (o *ThreeDSAvailabilityRequest) GetMerchantAccountOk() (*string, bool)
- func (o *ThreeDSAvailabilityRequest) GetRecurringDetailReference() string
- func (o *ThreeDSAvailabilityRequest) GetRecurringDetailReferenceOk() (*string, bool)
- func (o *ThreeDSAvailabilityRequest) GetShopperReference() string
- func (o *ThreeDSAvailabilityRequest) GetShopperReferenceOk() (*string, bool)
- func (o *ThreeDSAvailabilityRequest) HasAdditionalData() bool
- func (o *ThreeDSAvailabilityRequest) HasBrands() bool
- func (o *ThreeDSAvailabilityRequest) HasCardNumber() bool
- func (o *ThreeDSAvailabilityRequest) HasRecurringDetailReference() bool
- func (o *ThreeDSAvailabilityRequest) HasShopperReference() bool
- func (o ThreeDSAvailabilityRequest) MarshalJSON() ([]byte, error)
- func (o *ThreeDSAvailabilityRequest) SetAdditionalData(v map[string]string)
- func (o *ThreeDSAvailabilityRequest) SetBrands(v []string)
- func (o *ThreeDSAvailabilityRequest) SetCardNumber(v string)
- func (o *ThreeDSAvailabilityRequest) SetMerchantAccount(v string)
- func (o *ThreeDSAvailabilityRequest) SetRecurringDetailReference(v string)
- func (o *ThreeDSAvailabilityRequest) SetShopperReference(v string)
- func (o ThreeDSAvailabilityRequest) ToMap() (map[string]interface{}, error)
- type ThreeDSAvailabilityResponse
- func (o *ThreeDSAvailabilityResponse) GetBinDetails() BinDetail
- func (o *ThreeDSAvailabilityResponse) GetBinDetailsOk() (*BinDetail, bool)
- func (o *ThreeDSAvailabilityResponse) GetDsPublicKeys() []DSPublicKeyDetail
- func (o *ThreeDSAvailabilityResponse) GetDsPublicKeysOk() ([]DSPublicKeyDetail, bool)
- func (o *ThreeDSAvailabilityResponse) GetThreeDS1Supported() bool
- func (o *ThreeDSAvailabilityResponse) GetThreeDS1SupportedOk() (*bool, bool)
- func (o *ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetails() []ThreeDS2CardRangeDetail
- func (o *ThreeDSAvailabilityResponse) GetThreeDS2CardRangeDetailsOk() ([]ThreeDS2CardRangeDetail, bool)
- func (o *ThreeDSAvailabilityResponse) GetThreeDS2supported() bool
- func (o *ThreeDSAvailabilityResponse) GetThreeDS2supportedOk() (*bool, bool)
- func (o *ThreeDSAvailabilityResponse) HasBinDetails() bool
- func (o *ThreeDSAvailabilityResponse) HasDsPublicKeys() bool
- func (o *ThreeDSAvailabilityResponse) HasThreeDS1Supported() bool
- func (o *ThreeDSAvailabilityResponse) HasThreeDS2CardRangeDetails() bool
- func (o *ThreeDSAvailabilityResponse) HasThreeDS2supported() bool
- func (o ThreeDSAvailabilityResponse) MarshalJSON() ([]byte, error)
- func (o *ThreeDSAvailabilityResponse) SetBinDetails(v BinDetail)
- func (o *ThreeDSAvailabilityResponse) SetDsPublicKeys(v []DSPublicKeyDetail)
- func (o *ThreeDSAvailabilityResponse) SetThreeDS1Supported(v bool)
- func (o *ThreeDSAvailabilityResponse) SetThreeDS2CardRangeDetails(v []ThreeDS2CardRangeDetail)
- func (o *ThreeDSAvailabilityResponse) SetThreeDS2supported(v bool)
- func (o ThreeDSAvailabilityResponse) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amount ¶
type Amount struct { // The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). Currency string `json:"currency"` // The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). Value int64 `json:"value"` }
Amount struct for Amount
func NewAmount ¶
NewAmount instantiates a new Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAmountWithDefaults ¶
func NewAmountWithDefaults() *Amount
NewAmountWithDefaults instantiates a new Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Amount) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Amount) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Amount) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Amount) MarshalJSON ¶
type 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 ¶
GetIssuerCountry returns the IssuerCountry field value if set, zero value otherwise.
func (*BinDetail) GetIssuerCountryOk ¶
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 ¶
HasIssuerCountry returns a boolean if a field has been set.
func (BinDetail) MarshalJSON ¶
func (*BinDetail) SetIssuerCountry ¶
SetIssuerCountry gets a reference to the given string and assigns it to the IssuerCountry field.
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) GetBinOk ¶
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 ¶
GetCommercial returns the Commercial field value if set, zero value otherwise.
func (*CardBin) GetCommercialOk ¶
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 ¶
GetFundingSource returns the FundingSource field value if set, zero value otherwise.
func (*CardBin) GetFundingSourceOk ¶
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 ¶
GetFundsAvailability returns the FundsAvailability field value if set, zero value otherwise.
func (*CardBin) GetFundsAvailabilityOk ¶
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 ¶
GetIssuerBin returns the IssuerBin field value if set, zero value otherwise.
func (*CardBin) GetIssuerBinOk ¶
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 ¶
GetIssuingBank returns the IssuingBank field value if set, zero value otherwise.
func (*CardBin) GetIssuingBankOk ¶
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 ¶
GetIssuingCountry returns the IssuingCountry field value if set, zero value otherwise.
func (*CardBin) GetIssuingCountryOk ¶
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 ¶
GetIssuingCurrency returns the IssuingCurrency field value if set, zero value otherwise.
func (*CardBin) GetIssuingCurrencyOk ¶
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 ¶
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*CardBin) GetPaymentMethodOk ¶
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 ¶
GetPayoutEligible returns the PayoutEligible field value if set, zero value otherwise.
func (*CardBin) GetPayoutEligibleOk ¶
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 ¶
GetSummary returns the Summary field value if set, zero value otherwise.
func (*CardBin) GetSummaryOk ¶
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) HasCommercial ¶
HasCommercial returns a boolean if a field has been set.
func (*CardBin) HasFundingSource ¶
HasFundingSource returns a boolean if a field has been set.
func (*CardBin) HasFundsAvailability ¶
HasFundsAvailability returns a boolean if a field has been set.
func (*CardBin) HasIssuerBin ¶
HasIssuerBin returns a boolean if a field has been set.
func (*CardBin) HasIssuingBank ¶
HasIssuingBank returns a boolean if a field has been set.
func (*CardBin) HasIssuingCountry ¶
HasIssuingCountry returns a boolean if a field has been set.
func (*CardBin) HasIssuingCurrency ¶
HasIssuingCurrency returns a boolean if a field has been set.
func (*CardBin) HasPaymentMethod ¶
HasPaymentMethod returns a boolean if a field has been set.
func (*CardBin) HasPayoutEligible ¶
HasPayoutEligible returns a boolean if a field has been set.
func (*CardBin) HasSummary ¶
HasSummary returns a boolean if a field has been set.
func (CardBin) MarshalJSON ¶
func (*CardBin) SetBin ¶
SetBin gets a reference to the given string and assigns it to the Bin field.
func (*CardBin) SetCommercial ¶
SetCommercial gets a reference to the given bool and assigns it to the Commercial field.
func (*CardBin) SetFundingSource ¶
SetFundingSource gets a reference to the given string and assigns it to the FundingSource field.
func (*CardBin) SetFundsAvailability ¶
SetFundsAvailability gets a reference to the given string and assigns it to the FundsAvailability field.
func (*CardBin) SetIssuerBin ¶
SetIssuerBin gets a reference to the given string and assigns it to the IssuerBin field.
func (*CardBin) SetIssuingBank ¶
SetIssuingBank gets a reference to the given string and assigns it to the IssuingBank field.
func (*CardBin) SetIssuingCountry ¶
SetIssuingCountry gets a reference to the given string and assigns it to the IssuingCountry field.
func (*CardBin) SetIssuingCurrency ¶
SetIssuingCurrency gets a reference to the given string and assigns it to the IssuingCurrency field.
func (*CardBin) SetPaymentMethod ¶
SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.
func (*CardBin) SetPayoutEligible ¶
SetPayoutEligible gets a reference to the given string and assigns it to the PayoutEligible field.
func (*CardBin) SetSummary ¶
SetSummary gets a reference to the given string and assigns it to the Summary field.
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"` // Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates. RootCertificates *string `json:"rootCertificates,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) GetRootCertificates ¶
func (o *DSPublicKeyDetail) GetRootCertificates() string
GetRootCertificates returns the RootCertificates field value if set, zero value otherwise.
func (*DSPublicKeyDetail) GetRootCertificatesOk ¶
func (o *DSPublicKeyDetail) GetRootCertificatesOk() (*string, bool)
GetRootCertificatesOk returns a tuple with the RootCertificates 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) HasRootCertificates ¶
func (o *DSPublicKeyDetail) HasRootCertificates() bool
HasRootCertificates 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) SetRootCertificates ¶
func (o *DSPublicKeyDetail) SetRootCertificates(v string)
SetRootCertificates gets a reference to the given string and assigns it to the RootCertificates field.
func (DSPublicKeyDetail) ToMap ¶
func (o DSPublicKeyDetail) ToMap() (map[string]interface{}, error)
type GeneralApi ¶
GeneralApi service
func (*GeneralApi) Get3dsAvailability ¶
func (a *GeneralApi) Get3dsAvailability(ctx context.Context, r GeneralApiGet3dsAvailabilityInput) (ThreeDSAvailabilityResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) GetCostEstimate(ctx context.Context, r GeneralApiGetCostEstimateInput) (CostEstimateResponse, *http.Response, error)
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 NewNullableCostEstimateAssumptions ¶
func NewNullableCostEstimateAssumptions(val *CostEstimateAssumptions) *NullableCostEstimateAssumptions
func (NullableCostEstimateAssumptions) Get ¶
func (v NullableCostEstimateAssumptions) Get() *CostEstimateAssumptions
func (NullableCostEstimateAssumptions) IsSet ¶
func (v NullableCostEstimateAssumptions) IsSet() bool
func (NullableCostEstimateAssumptions) MarshalJSON ¶
func (v NullableCostEstimateAssumptions) MarshalJSON() ([]byte, error)
func (*NullableCostEstimateAssumptions) Set ¶
func (v *NullableCostEstimateAssumptions) Set(val *CostEstimateAssumptions)
func (*NullableCostEstimateAssumptions) UnmarshalJSON ¶
func (v *NullableCostEstimateAssumptions) UnmarshalJSON(src []byte) error
func (*NullableCostEstimateAssumptions) Unset ¶
func (v *NullableCostEstimateAssumptions) Unset()
type NullableCostEstimateRequest ¶
type NullableCostEstimateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCostEstimateRequest ¶
func NewNullableCostEstimateRequest(val *CostEstimateRequest) *NullableCostEstimateRequest
func (NullableCostEstimateRequest) Get ¶
func (v NullableCostEstimateRequest) Get() *CostEstimateRequest
func (NullableCostEstimateRequest) IsSet ¶
func (v NullableCostEstimateRequest) IsSet() bool
func (NullableCostEstimateRequest) MarshalJSON ¶
func (v NullableCostEstimateRequest) MarshalJSON() ([]byte, error)
func (*NullableCostEstimateRequest) Set ¶
func (v *NullableCostEstimateRequest) Set(val *CostEstimateRequest)
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 (v NullableCostEstimateResponse) Get() *CostEstimateResponse
func (NullableCostEstimateResponse) IsSet ¶
func (v NullableCostEstimateResponse) IsSet() bool
func (NullableCostEstimateResponse) MarshalJSON ¶
func (v NullableCostEstimateResponse) MarshalJSON() ([]byte, error)
func (*NullableCostEstimateResponse) Set ¶
func (v *NullableCostEstimateResponse) Set(val *CostEstimateResponse)
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 (v NullableDSPublicKeyDetail) Get() *DSPublicKeyDetail
func (NullableDSPublicKeyDetail) IsSet ¶
func (v NullableDSPublicKeyDetail) IsSet() bool
func (NullableDSPublicKeyDetail) MarshalJSON ¶
func (v NullableDSPublicKeyDetail) MarshalJSON() ([]byte, error)
func (*NullableDSPublicKeyDetail) Set ¶
func (v *NullableDSPublicKeyDetail) Set(val *DSPublicKeyDetail)
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 (v NullableMerchantDetails) Get() *MerchantDetails
func (NullableMerchantDetails) IsSet ¶
func (v NullableMerchantDetails) IsSet() bool
func (NullableMerchantDetails) MarshalJSON ¶
func (v NullableMerchantDetails) MarshalJSON() ([]byte, error)
func (*NullableMerchantDetails) Set ¶
func (v *NullableMerchantDetails) Set(val *MerchantDetails)
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 (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 NullableThreeDS2CardRangeDetail ¶
type NullableThreeDS2CardRangeDetail struct {
// contains filtered or unexported fields
}
func NewNullableThreeDS2CardRangeDetail ¶
func NewNullableThreeDS2CardRangeDetail(val *ThreeDS2CardRangeDetail) *NullableThreeDS2CardRangeDetail
func (NullableThreeDS2CardRangeDetail) Get ¶
func (v NullableThreeDS2CardRangeDetail) Get() *ThreeDS2CardRangeDetail
func (NullableThreeDS2CardRangeDetail) IsSet ¶
func (v NullableThreeDS2CardRangeDetail) IsSet() bool
func (NullableThreeDS2CardRangeDetail) MarshalJSON ¶
func (v NullableThreeDS2CardRangeDetail) MarshalJSON() ([]byte, error)
func (*NullableThreeDS2CardRangeDetail) Set ¶
func (v *NullableThreeDS2CardRangeDetail) Set(val *ThreeDS2CardRangeDetail)
func (*NullableThreeDS2CardRangeDetail) UnmarshalJSON ¶
func (v *NullableThreeDS2CardRangeDetail) UnmarshalJSON(src []byte) error
func (*NullableThreeDS2CardRangeDetail) Unset ¶
func (v *NullableThreeDS2CardRangeDetail) Unset()
type NullableThreeDSAvailabilityRequest ¶
type NullableThreeDSAvailabilityRequest struct {
// contains filtered or unexported fields
}
func NewNullableThreeDSAvailabilityRequest ¶
func NewNullableThreeDSAvailabilityRequest(val *ThreeDSAvailabilityRequest) *NullableThreeDSAvailabilityRequest
func (NullableThreeDSAvailabilityRequest) Get ¶
func (v NullableThreeDSAvailabilityRequest) Get() *ThreeDSAvailabilityRequest
func (NullableThreeDSAvailabilityRequest) IsSet ¶
func (v NullableThreeDSAvailabilityRequest) IsSet() bool
func (NullableThreeDSAvailabilityRequest) MarshalJSON ¶
func (v NullableThreeDSAvailabilityRequest) MarshalJSON() ([]byte, error)
func (*NullableThreeDSAvailabilityRequest) Set ¶
func (v *NullableThreeDSAvailabilityRequest) Set(val *ThreeDSAvailabilityRequest)
func (*NullableThreeDSAvailabilityRequest) UnmarshalJSON ¶
func (v *NullableThreeDSAvailabilityRequest) UnmarshalJSON(src []byte) error
func (*NullableThreeDSAvailabilityRequest) Unset ¶
func (v *NullableThreeDSAvailabilityRequest) Unset()
type NullableThreeDSAvailabilityResponse ¶
type NullableThreeDSAvailabilityResponse struct {
// contains filtered or unexported fields
}
func NewNullableThreeDSAvailabilityResponse ¶
func NewNullableThreeDSAvailabilityResponse(val *ThreeDSAvailabilityResponse) *NullableThreeDSAvailabilityResponse
func (NullableThreeDSAvailabilityResponse) Get ¶
func (v NullableThreeDSAvailabilityResponse) Get() *ThreeDSAvailabilityResponse
func (NullableThreeDSAvailabilityResponse) IsSet ¶
func (v NullableThreeDSAvailabilityResponse) IsSet() bool
func (NullableThreeDSAvailabilityResponse) MarshalJSON ¶
func (v NullableThreeDSAvailabilityResponse) MarshalJSON() ([]byte, error)
func (*NullableThreeDSAvailabilityResponse) Set ¶
func (v *NullableThreeDSAvailabilityResponse) Set(val *ThreeDSAvailabilityResponse)
func (*NullableThreeDSAvailabilityResponse) UnmarshalJSON ¶
func (v *NullableThreeDSAvailabilityResponse) UnmarshalJSON(src []byte) error
func (*NullableThreeDSAvailabilityResponse) Unset ¶
func (v *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 ¶
GetContract returns the Contract field value if set, zero value otherwise.
func (*Recurring) GetContractOk ¶
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 ¶
GetRecurringDetailName returns the RecurringDetailName field value if set, zero value otherwise.
func (*Recurring) GetRecurringDetailNameOk ¶
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 ¶
GetRecurringExpiry returns the RecurringExpiry field value if set, zero value otherwise.
func (*Recurring) GetRecurringExpiryOk ¶
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 ¶
GetRecurringFrequency returns the RecurringFrequency field value if set, zero value otherwise.
func (*Recurring) GetRecurringFrequencyOk ¶
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 ¶
GetTokenService returns the TokenService field value if set, zero value otherwise.
func (*Recurring) GetTokenServiceOk ¶
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 ¶
HasContract returns a boolean if a field has been set.
func (*Recurring) HasRecurringDetailName ¶
HasRecurringDetailName returns a boolean if a field has been set.
func (*Recurring) HasRecurringExpiry ¶
HasRecurringExpiry returns a boolean if a field has been set.
func (*Recurring) HasRecurringFrequency ¶
HasRecurringFrequency returns a boolean if a field has been set.
func (*Recurring) HasTokenService ¶
HasTokenService returns a boolean if a field has been set.
func (Recurring) MarshalJSON ¶
func (*Recurring) SetContract ¶
SetContract gets a reference to the given string and assigns it to the Contract field.
func (*Recurring) SetRecurringDetailName ¶
SetRecurringDetailName gets a reference to the given string and assigns it to the RecurringDetailName field.
func (*Recurring) SetRecurringExpiry ¶
SetRecurringExpiry gets a reference to the given time.Time and assigns it to the RecurringExpiry field.
func (*Recurring) SetRecurringFrequency ¶
SetRecurringFrequency gets a reference to the given string and assigns it to the RecurringFrequency field.
func (*Recurring) SetTokenService ¶
SetTokenService gets a reference to the given string and assigns it to the TokenService field.
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)
Source Files ¶
- api_general.go
- model_amount.go
- model_bin_detail.go
- model_card_bin.go
- model_cost_estimate_assumptions.go
- model_cost_estimate_request.go
- model_cost_estimate_response.go
- model_ds_public_key_detail.go
- model_merchant_details.go
- model_recurring.go
- model_service_error.go
- model_three_ds2_card_range_detail.go
- model_three_ds_availability_request.go
- model_three_ds_availability_response.go