entities

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalDuplicateData added in v1.1.2

type AdditionalDuplicateData struct {
	OriginalGatewayTxnId string
	OriginalRspDT        string
	OriginalClientTxnId  string
	OriginalAuthCode     string
	OriginalRefNbr       string
	OriginalAuthAmt      *decimal.Decimal
	OriginalCardType     string
	OriginalCardNbrLast4 string
}

func NewAdditionalDuplicateData added in v1.1.2

func NewAdditionalDuplicateData() *AdditionalDuplicateData

type AdditionalTaxDetails added in v1.1.2

type AdditionalTaxDetails struct {
	TaxAmount *decimal.Decimal
	TaxRate   *decimal.Decimal
	TaxType   string
}

func NewAdditionalTaxDetails added in v1.1.2

func NewAdditionalTaxDetails() *AdditionalTaxDetails

type BatchSummary

type BatchSummary struct {
	BatchId           *int
	TransactionCount  *int
	TotalAmount       *decimal.Decimal
	SequenceNumber    string
	Status            string
	BatchReference    string
	HostBatchNbr      *int
	HostTotalCnt      *int
	HostTotalAmt      *decimal.Decimal
	ProcessedDeviceId *int
	OpenTime          string
	OpenTransactionId string
}

BatchSummary details a closed batch.

func NewBatchSummary added in v1.1.2

func NewBatchSummary() *BatchSummary

func (*BatchSummary) GetBatchReference

func (b *BatchSummary) GetBatchReference() string

GetBatchReference returns the batch's reference.

func (*BatchSummary) GetHostBatchNbr

func (b *BatchSummary) GetHostBatchNbr() *int

GetHostBatchNbr returns the host batch number.

func (*BatchSummary) GetHostTotalAmt

func (b *BatchSummary) GetHostTotalAmt() *decimal.Decimal

GetHostTotalAmt returns the host total amount.

func (*BatchSummary) GetHostTotalCnt

func (b *BatchSummary) GetHostTotalCnt() *int

GetHostTotalCnt returns the host total count.

func (*BatchSummary) GetId

func (b *BatchSummary) GetId() *int

GetId returns the batch's Id.

func (*BatchSummary) GetProcessedDeviceId

func (b *BatchSummary) GetProcessedDeviceId() *int

GetProcessedDeviceId returns the processed device Id.

func (*BatchSummary) GetSequenceNumber

func (b *BatchSummary) GetSequenceNumber() string

GetSequenceNumber returns the batch's sequence number.

func (*BatchSummary) GetStatus

func (b *BatchSummary) GetStatus() string

GetStatus returns the batch's status.

func (*BatchSummary) GetTotalAmount

func (b *BatchSummary) GetTotalAmount() *decimal.Decimal

GetTotalAmount returns the batch's total amount to be settled.

func (*BatchSummary) GetTransactionCount

func (b *BatchSummary) GetTransactionCount() *int

GetTransactionCount returns the batch's transaction count.

func (*BatchSummary) SetBatchReference

func (b *BatchSummary) SetBatchReference(reference string)

SetBatchReference sets the batch's reference.

func (*BatchSummary) SetHostBatchNbr

func (b *BatchSummary) SetHostBatchNbr(batchNbr *int)

SetHostBatchNbr sets the host batch number.

func (*BatchSummary) SetHostTotalAmt

func (b *BatchSummary) SetHostTotalAmt(totalAmt *decimal.Decimal)

SetHostTotalAmt sets the host total amount.

func (*BatchSummary) SetHostTotalCnt

func (b *BatchSummary) SetHostTotalCnt(totalCnt *int)

SetHostTotalCnt sets the host total count.

func (*BatchSummary) SetId

func (b *BatchSummary) SetId(id *int)

SetId sets the batch's Id.

func (*BatchSummary) SetProcessedDeviceId

func (b *BatchSummary) SetProcessedDeviceId(deviceId *int)

SetProcessedDeviceId sets the processed device Id.

func (*BatchSummary) SetSequenceNumber

func (b *BatchSummary) SetSequenceNumber(sequenceNumber string)

SetSequenceNumber sets the batch's sequence number.

func (*BatchSummary) SetStatus

func (b *BatchSummary) SetStatus(status string)

SetStatus sets the batch's status.

func (*BatchSummary) SetTotalAmount

func (b *BatchSummary) SetTotalAmount(amount *decimal.Decimal)

SetTotalAmount sets the batch's total amount to be settled.

func (*BatchSummary) SetTransactionCount

func (b *BatchSummary) SetTransactionCount(count *int)

SetTransactionCount sets the batch's transaction count.

type CommercialData added in v1.1.2

type CommercialData struct {
	AdditionalTaxDetails    *AdditionalTaxDetails
	CommercialIndicator     transactionmodifier.TransactionModifier
	CustomerVATNumber       string
	CustomerReferenceId     string
	Description             string
	DiscountAmount          *decimal.Decimal
	DutyAmount              *decimal.Decimal
	DestinationPostalCode   string
	DestinationCountryCode  string
	FreightAmount           *decimal.Decimal
	LineItems               []*CommercialLineItem
	OrderDate               string
	OriginPostalCode        string
	PONumber                string
	SupplierReferenceNumber string
	TaxAmount               *decimal.Decimal
	TaxType                 taxtype.TaxType
	SummaryCommodityCode    string
	VATInvoiceNumber        string
}

func NewCommercialData added in v1.1.2

func NewCommercialData(taxType taxtype.TaxType) *CommercialData

func NewCommercialDataWithLevel added in v1.1.2

func NewCommercialDataWithLevel(taxType taxtype.TaxType, level transactionmodifier.TransactionModifier) *CommercialData

func (*CommercialData) AddLineItems added in v1.1.2

func (cd *CommercialData) AddLineItems(item *CommercialLineItem) *CommercialData

type CommercialLineItem added in v1.1.2

type CommercialLineItem struct {
	AlternateTaxId  string
	CommodityCode   string
	Description     string
	ExtendedAmount  *decimal.Decimal
	Name            string
	ProductCode     string
	Quantity        *decimal.Decimal
	UnitOfMeasure   string
	UnitCost        *decimal.Decimal
	TaxAmount       *decimal.Decimal
	TaxName         *decimal.Decimal // If this is supposed to be a string, change the type to string
	Upc             string
	TaxPercentage   *decimal.Decimal
	TotalAmount     *decimal.Decimal
	DiscountDetails *DiscountDetails
}

func NewCommercialLineItem added in v1.1.2

func NewCommercialLineItem() *CommercialLineItem

type DebitMac added in v1.1.2

type DebitMac struct {
	TransactionCode           string
	TransmissionNumber        string
	BankResponseCode          string
	MacKey                    string
	PinKey                    string
	FieldKey                  string
	TraceNumber               string
	MessageAuthenticationCode string
}

func NewDebitMac added in v1.1.2

func NewDebitMac() *DebitMac

func (*DebitMac) GetBankResponseCode added in v1.1.2

func (d *DebitMac) GetBankResponseCode() string

func (*DebitMac) GetFieldKey added in v1.1.2

func (d *DebitMac) GetFieldKey() string

func (*DebitMac) GetMacKey added in v1.1.2

func (d *DebitMac) GetMacKey() string

func (*DebitMac) GetMessageAuthenticationCode added in v1.1.2

func (d *DebitMac) GetMessageAuthenticationCode() string

func (*DebitMac) GetPinKey added in v1.1.2

func (d *DebitMac) GetPinKey() string

func (*DebitMac) GetTraceNumber added in v1.1.2

func (d *DebitMac) GetTraceNumber() string

func (*DebitMac) GetTransactionCode added in v1.1.2

func (d *DebitMac) GetTransactionCode() string

func (*DebitMac) GetTransmissionNumber added in v1.1.2

func (d *DebitMac) GetTransmissionNumber() string

func (*DebitMac) SetBankResponseCode added in v1.1.2

func (d *DebitMac) SetBankResponseCode(bankResponseCode string)

func (*DebitMac) SetFieldKey added in v1.1.2

func (d *DebitMac) SetFieldKey(fieldKey string)

func (*DebitMac) SetMacKey added in v1.1.2

func (d *DebitMac) SetMacKey(macKey string)

func (*DebitMac) SetMessageAuthenticationCode added in v1.1.2

func (d *DebitMac) SetMessageAuthenticationCode(messageAuthenticationCode string)

func (*DebitMac) SetPinKey added in v1.1.2

func (d *DebitMac) SetPinKey(pinKey string)

func (*DebitMac) SetTraceNumber added in v1.1.2

func (d *DebitMac) SetTraceNumber(traceNumber string)

func (*DebitMac) SetTransactionCode added in v1.1.2

func (d *DebitMac) SetTransactionCode(transactionCode string)

func (*DebitMac) SetTransmissionNumber added in v1.1.2

func (d *DebitMac) SetTransmissionNumber(transmissionNumber string)

type DecisionManager added in v1.1.2

type DecisionManager struct {
	BillToHostName                   string
	BillToHttpBrowserCookiesAccepted bool
	BillToHttpBrowserEmail           string
	BillToHttpBrowserType            string
	BillToIpNetworkAddress           string
	BusinessRulesCoreThreshold       string
	BillToPersonalId                 string
	DecisionManagerProfile           string
	InvoiceHeaderTenderType          string
	ItemHostHedge                    risk.Risk
	ItemNonsensicalHedge             risk.Risk
	ItemObscenitiesHedge             risk.Risk
	ItemPhoneHedge                   risk.Risk
	ItemTimeHedge                    risk.Risk
	ItemVelocityHedge                risk.Risk
	InvoiceHeaderIsGift              bool
	InvoiceHeaderReturnsAccepted     bool
}

func (*DecisionManager) GetBillToHostName added in v1.1.2

func (d *DecisionManager) GetBillToHostName() string

func (*DecisionManager) GetBillToHttpBrowserCookiesAccepted added in v1.1.2

func (d *DecisionManager) GetBillToHttpBrowserCookiesAccepted() bool

func (*DecisionManager) GetBillToHttpBrowserEmail added in v1.1.2

func (d *DecisionManager) GetBillToHttpBrowserEmail() string

func (*DecisionManager) GetBillToHttpBrowserType added in v1.1.2

func (d *DecisionManager) GetBillToHttpBrowserType() string

func (*DecisionManager) GetBillToIpNetworkAddress added in v1.1.2

func (d *DecisionManager) GetBillToIpNetworkAddress() string

func (*DecisionManager) GetBillToPersonalId added in v1.1.2

func (d *DecisionManager) GetBillToPersonalId() string

func (*DecisionManager) GetBusinessRulesCoreThreshold added in v1.1.2

func (d *DecisionManager) GetBusinessRulesCoreThreshold() string

func (*DecisionManager) GetDecisionManagerProfile added in v1.1.2

func (d *DecisionManager) GetDecisionManagerProfile() string

func (*DecisionManager) GetInvoiceHeaderIsGift added in v1.1.2

func (d *DecisionManager) GetInvoiceHeaderIsGift() bool

func (*DecisionManager) GetInvoiceHeaderReturnsAccepted added in v1.1.2

func (d *DecisionManager) GetInvoiceHeaderReturnsAccepted() bool

func (*DecisionManager) GetInvoiceHeaderTenderType added in v1.1.2

func (d *DecisionManager) GetInvoiceHeaderTenderType() string

func (*DecisionManager) GetItemHostHedge added in v1.1.2

func (d *DecisionManager) GetItemHostHedge() risk.Risk

func (*DecisionManager) GetItemNonsensicalHedge added in v1.1.2

func (d *DecisionManager) GetItemNonsensicalHedge() risk.Risk

func (*DecisionManager) GetItemObscenitiesHedge added in v1.1.2

func (d *DecisionManager) GetItemObscenitiesHedge() risk.Risk

func (*DecisionManager) GetItemPhoneHedge added in v1.1.2

func (d *DecisionManager) GetItemPhoneHedge() risk.Risk

func (*DecisionManager) GetItemTimeHedge added in v1.1.2

func (d *DecisionManager) GetItemTimeHedge() risk.Risk

func (*DecisionManager) GetItemVelocityHedge added in v1.1.2

func (d *DecisionManager) GetItemVelocityHedge() risk.Risk

func (*DecisionManager) SetBillToHostName added in v1.1.2

func (d *DecisionManager) SetBillToHostName(value string)

func (*DecisionManager) SetBillToHttpBrowserCookiesAccepted added in v1.1.2

func (d *DecisionManager) SetBillToHttpBrowserCookiesAccepted(value bool)

func (*DecisionManager) SetBillToHttpBrowserEmail added in v1.1.2

func (d *DecisionManager) SetBillToHttpBrowserEmail(value string)

func (*DecisionManager) SetBillToHttpBrowserType added in v1.1.2

func (d *DecisionManager) SetBillToHttpBrowserType(value string)

func (*DecisionManager) SetBillToIpNetworkAddress added in v1.1.2

func (d *DecisionManager) SetBillToIpNetworkAddress(value string)

func (*DecisionManager) SetBillToPersonalId added in v1.1.2

func (d *DecisionManager) SetBillToPersonalId(value string)

func (*DecisionManager) SetBusinessRulesCoreThreshold added in v1.1.2

func (d *DecisionManager) SetBusinessRulesCoreThreshold(value string)

func (*DecisionManager) SetDecisionManagerProfile added in v1.1.2

func (d *DecisionManager) SetDecisionManagerProfile(value string)

func (*DecisionManager) SetInvoiceHeaderIsGift added in v1.1.2

func (d *DecisionManager) SetInvoiceHeaderIsGift(value bool)

func (*DecisionManager) SetInvoiceHeaderReturnsAccepted added in v1.1.2

func (d *DecisionManager) SetInvoiceHeaderReturnsAccepted(value bool)

func (*DecisionManager) SetInvoiceHeaderTenderType added in v1.1.2

func (d *DecisionManager) SetInvoiceHeaderTenderType(value string)

func (*DecisionManager) SetItemHostHedge added in v1.1.2

func (d *DecisionManager) SetItemHostHedge(value risk.Risk)

func (*DecisionManager) SetItemNonsensicalHedge added in v1.1.2

func (d *DecisionManager) SetItemNonsensicalHedge(value risk.Risk)

func (*DecisionManager) SetItemObscenitiesHedge added in v1.1.2

func (d *DecisionManager) SetItemObscenitiesHedge(value risk.Risk)

func (*DecisionManager) SetItemPhoneHedge added in v1.1.2

func (d *DecisionManager) SetItemPhoneHedge(value risk.Risk)

func (*DecisionManager) SetItemTimeHedge added in v1.1.2

func (d *DecisionManager) SetItemTimeHedge(value risk.Risk)

func (*DecisionManager) SetItemVelocityHedge added in v1.1.2

func (d *DecisionManager) SetItemVelocityHedge(value risk.Risk)

type DiscountDetails added in v1.1.2

type DiscountDetails struct {
	DiscountName        string
	DiscountAmount      *decimal.Decimal
	DiscountPercentage  *decimal.Decimal
	DiscountType        string
	DiscountPriority    *int
	DiscountIsStackable bool
}

func NewDiscountDetails added in v1.1.2

func NewDiscountDetails() *DiscountDetails

type EcommerceInfo added in v1.1.2

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

func NewEcommerceInfo added in v1.1.2

func NewEcommerceInfo(c ecommercechannel.EcommerceChannel) *EcommerceInfo

func (*EcommerceInfo) GetChannel added in v1.1.2

func (*EcommerceInfo) GetShipDay added in v1.1.2

func (e *EcommerceInfo) GetShipDay() *int

func (*EcommerceInfo) GetShipMonth added in v1.1.2

func (e *EcommerceInfo) GetShipMonth() *int

func (*EcommerceInfo) SetChannel added in v1.1.2

func (e *EcommerceInfo) SetChannel(channel ecommercechannel.EcommerceChannel)

func (*EcommerceInfo) SetShipDay added in v1.1.2

func (e *EcommerceInfo) SetShipDay(shipDay int)

func (*EcommerceInfo) SetShipMonth added in v1.1.2

func (e *EcommerceInfo) SetShipMonth(shipMonth int)

type FraudRule added in v1.1.2

type FraudRule struct {
	Key         string
	Mode        fraudfiltermode.FraudFilterMode
	Description string
	Result      string
}

func NewFraudRule added in v1.1.2

func NewFraudRule() *FraudRule

func NewFraudRuleWithAllParams added in v1.1.2

func NewFraudRuleWithAllParams(key string, mode fraudfiltermode.FraudFilterMode, description string, result string) *FraudRule

func NewFraudRuleWithParams added in v1.1.2

func NewFraudRuleWithParams(key string, mode fraudfiltermode.FraudFilterMode) *FraudRule

type FraudRuleCollection added in v1.1.2

type FraudRuleCollection struct {
	Rules []FraudRule
}

func NewFraudRuleCollection added in v1.1.2

func NewFraudRuleCollection() *FraudRuleCollection

func (*FraudRuleCollection) AddRule added in v1.1.2

func (*FraudRuleCollection) HasRule added in v1.1.2

func (frc *FraudRuleCollection) HasRule(key string) bool

type HostedPaymentData added in v1.1.2

type HostedPaymentData struct {
	AddressesMatch              bool
	Bills                       []billing.Bill
	ChallengeRequestIndicator   challengerequest.ChallengeRequest
	CustomerExists              bool
	CustomerIsEditable          bool
	CustomerAddress             base.Address
	CustomerEmail               string
	CustomerKey                 string
	CustomerNumber              string
	CustomerCountry             string
	CustomerFirstName           string
	CustomerLastName            string
	CustomerPhoneMobile         string
	HostedPaymentType           hostedpaymenttype.HostedPaymentType
	OfferToSaveCard             bool
	PaymentKey                  string
	ProductID                   string
	CaptureAddress              bool
	ReturnAddress               bool
	EnableExemptionOptimization bool
	PresetPaymentMethods        []alternativepaymenttype.AlternativePaymentType
	SupplementaryData           map[string]string
	TransactionStatusURL        string
	CancelURL                   string
	MerchantResponseURL         string
	HostedPaymentMethods        []hostedpaymentmethods.HostedPaymentMethods
}

func NewHostedPaymentData added in v1.1.2

func NewHostedPaymentData() *HostedPaymentData

func (*HostedPaymentData) GetAddressesMatch added in v1.1.2

func (h *HostedPaymentData) GetAddressesMatch() bool

func (*HostedPaymentData) GetBills added in v1.1.2

func (h *HostedPaymentData) GetBills() []billing.Bill

func (*HostedPaymentData) GetChallengeRequestIndicator added in v1.1.2

func (h *HostedPaymentData) GetChallengeRequestIndicator() challengerequest.ChallengeRequest

func (*HostedPaymentData) GetCustomerAddress added in v1.1.2

func (h *HostedPaymentData) GetCustomerAddress() base.Address

func (*HostedPaymentData) GetCustomerCountry added in v1.1.2

func (h *HostedPaymentData) GetCustomerCountry() string

func (*HostedPaymentData) GetCustomerEmail added in v1.1.2

func (h *HostedPaymentData) GetCustomerEmail() string

func (*HostedPaymentData) GetCustomerFirstName added in v1.1.2

func (h *HostedPaymentData) GetCustomerFirstName() string

func (*HostedPaymentData) GetCustomerKey added in v1.1.2

func (h *HostedPaymentData) GetCustomerKey() string

func (*HostedPaymentData) GetCustomerLastName added in v1.1.2

func (h *HostedPaymentData) GetCustomerLastName() string

func (*HostedPaymentData) GetCustomerNumber added in v1.1.2

func (h *HostedPaymentData) GetCustomerNumber() string

func (*HostedPaymentData) GetCustomerPhoneMobile added in v1.1.2

func (h *HostedPaymentData) GetCustomerPhoneMobile() string

func (*HostedPaymentData) GetHostedPaymentType added in v1.1.2

func (h *HostedPaymentData) GetHostedPaymentType() hostedpaymenttype.HostedPaymentType

func (*HostedPaymentData) GetMerchantResponseURL added in v1.1.2

func (h *HostedPaymentData) GetMerchantResponseURL() string

func (*HostedPaymentData) GetPaymentKey added in v1.1.2

func (h *HostedPaymentData) GetPaymentKey() string

func (*HostedPaymentData) GetPresetPaymentMethods added in v1.1.2

func (h *HostedPaymentData) GetPresetPaymentMethods() []alternativepaymenttype.AlternativePaymentType

func (*HostedPaymentData) GetProductID added in v1.1.2

func (h *HostedPaymentData) GetProductID() string

func (*HostedPaymentData) GetSupplementaryData added in v1.1.2

func (h *HostedPaymentData) GetSupplementaryData() map[string]string

func (*HostedPaymentData) GetTransactionStatusURL added in v1.1.2

func (h *HostedPaymentData) GetTransactionStatusURL() string

func (*HostedPaymentData) IsCustomerEditable added in v1.1.2

func (h *HostedPaymentData) IsCustomerEditable() bool

func (*HostedPaymentData) IsCustomerExists added in v1.1.2

func (h *HostedPaymentData) IsCustomerExists() bool

func (*HostedPaymentData) IsOfferToSaveCard added in v1.1.2

func (h *HostedPaymentData) IsOfferToSaveCard() bool

func (*HostedPaymentData) SetAddressesMatch added in v1.1.2

func (h *HostedPaymentData) SetAddressesMatch(addressesMatch bool)

func (*HostedPaymentData) SetBills added in v1.1.2

func (h *HostedPaymentData) SetBills(bills []billing.Bill)

func (*HostedPaymentData) SetChallengeRequestIndicator added in v1.1.2

func (h *HostedPaymentData) SetChallengeRequestIndicator(challengeRequestIndicator challengerequest.ChallengeRequest)

func (*HostedPaymentData) SetCustomerAddress added in v1.1.2

func (h *HostedPaymentData) SetCustomerAddress(address base.Address)

func (*HostedPaymentData) SetCustomerCountry added in v1.1.2

func (h *HostedPaymentData) SetCustomerCountry(customerCountry string)

func (*HostedPaymentData) SetCustomerEmail added in v1.1.2

func (h *HostedPaymentData) SetCustomerEmail(customerEmail string)

func (*HostedPaymentData) SetCustomerExists added in v1.1.2

func (h *HostedPaymentData) SetCustomerExists(customerExists bool)

func (*HostedPaymentData) SetCustomerFirstName added in v1.1.2

func (h *HostedPaymentData) SetCustomerFirstName(customerFirstName string)

func (*HostedPaymentData) SetCustomerIsEditable added in v1.1.2

func (h *HostedPaymentData) SetCustomerIsEditable(customerIsEditable bool)

func (*HostedPaymentData) SetCustomerKey added in v1.1.2

func (h *HostedPaymentData) SetCustomerKey(customerKey string)

func (*HostedPaymentData) SetCustomerLastName added in v1.1.2

func (h *HostedPaymentData) SetCustomerLastName(customerLastName string)

func (*HostedPaymentData) SetCustomerNumber added in v1.1.2

func (h *HostedPaymentData) SetCustomerNumber(customerNumber string)

func (*HostedPaymentData) SetCustomerPhoneMobile added in v1.1.2

func (h *HostedPaymentData) SetCustomerPhoneMobile(customerPhoneMobile string)

func (*HostedPaymentData) SetHostedPaymentType added in v1.1.2

func (h *HostedPaymentData) SetHostedPaymentType(hostedPaymentType hostedpaymenttype.HostedPaymentType)

func (*HostedPaymentData) SetMerchantResponseURL added in v1.1.2

func (h *HostedPaymentData) SetMerchantResponseURL(merchantResponseURL string)

func (*HostedPaymentData) SetOfferToSaveCard added in v1.1.2

func (h *HostedPaymentData) SetOfferToSaveCard(offerToSaveCard bool)

func (*HostedPaymentData) SetPaymentKey added in v1.1.2

func (h *HostedPaymentData) SetPaymentKey(paymentKey string)

func (*HostedPaymentData) SetPresetPaymentMethods added in v1.1.2

func (h *HostedPaymentData) SetPresetPaymentMethods(paymentTypes ...alternativepaymenttype.AlternativePaymentType)

func (*HostedPaymentData) SetProductID added in v1.1.2

func (h *HostedPaymentData) SetProductID(productID string)

func (*HostedPaymentData) SetSupplementaryData added in v1.1.2

func (h *HostedPaymentData) SetSupplementaryData(supplementaryData map[string]string)

func (*HostedPaymentData) SetTransactionStatusURL added in v1.1.2

func (h *HostedPaymentData) SetTransactionStatusURL(transactionStatusURL string)

type PaymentDataSourceType added in v1.1.2

type PaymentDataSourceType string
const (
	APPLEPAY         PaymentDataSourceType = "ApplePay"
	APPLEPAYAPP      PaymentDataSourceType = "ApplePayApp"
	APPLEPAYWEB      PaymentDataSourceType = "ApplePayWeb"
	GOOGLEPAYAPP     PaymentDataSourceType = "GooglePayApp"
	GOOGLEPAYWEB     PaymentDataSourceType = "GooglePayWeb"
	DISCOVER3DSECURE PaymentDataSourceType = "Discover 3DSecure"
)

func (PaymentDataSourceType) GetBytes added in v1.1.2

func (p PaymentDataSourceType) GetBytes() []byte

func (PaymentDataSourceType) GetValue added in v1.1.2

func (p PaymentDataSourceType) GetValue() string

func (PaymentDataSourceType) StringConstants added in v1.1.2

type StoredCredential added in v1.1.2

func (*StoredCredential) GetInitiator added in v1.1.2

func (*StoredCredential) GetReason added in v1.1.2

func (*StoredCredential) GetSchemeId added in v1.1.2

func (s *StoredCredential) GetSchemeId() string

func (*StoredCredential) GetSequence added in v1.1.2

func (*StoredCredential) GetType added in v1.1.2

func (*StoredCredential) SetInitiator added in v1.1.2

func (*StoredCredential) SetReason added in v1.1.2

func (*StoredCredential) SetSchemeId added in v1.1.2

func (s *StoredCredential) SetSchemeId(value string) *StoredCredential

func (*StoredCredential) SetSequence added in v1.1.2

func (*StoredCredential) SetType added in v1.1.2

type ThreeDSecure added in v1.1.2

type ThreeDSecure struct {
	AcsTransactionId             string
	AcsEndVersion                string
	AcsStartVersion              string
	AcsInfoIndicator             []string
	AcsInterface                 string
	AcsUiTemplate                string
	AcsReferenceNumber           string
	Algorithm                    int
	Amount                       *decimal.Decimal
	AuthenticationSource         string
	AuthenticationType           string
	AuthenticationValue          string
	CardHolderResponseInfo       string
	Cavv                         string
	ChallengeMandated            bool
	Currency                     string
	DecoupledResponseIndicator   string
	DirectoryServerTransactionId string
	DirectoryServerEndVersion    string
	DirectoryServerStartVersion  string
	Eci                          string
	Enrolled                     bool
	EnrolledStatus               string
	ExemptReason                 string
	IssuerAcsUrl                 string
	ChallengeReturnUrl           string
	SessionDataFieldName         string
	MessageType                  string
	MessageCategory              string
	MessageVersion               string
	OrderId                      string
	PayerAuthenticationRequest   string
	PaymentDataSource            PaymentDataSourceType
	PaymentDataType              string
	SdkInterface                 string
	SdkUiType                    string
	ServerTransactionId          string
	Status                       string
	StatusReason                 string
	Version                      securethreedversion.Secure3dVersion
	WhitelistStatus              string
	Xid                          string
	LiabilityShift               string
	ProviderServerTransRef       string
}

func NewThreeDSecure added in v1.1.2

func NewThreeDSecure() *ThreeDSecure

Jump to

Keyboard shortcuts

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