github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/CardPaymentMethodSpecificInput.go (about)

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package payment
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
     7  
     8  // CardPaymentMethodSpecificInput represents class CardPaymentMethodSpecificInput
     9  type CardPaymentMethodSpecificInput struct {
    10  	AcquirerPromotionCode                  *string                               `json:"acquirerPromotionCode,omitempty"`
    11  	AuthorizationMode                      *string                               `json:"authorizationMode,omitempty"`
    12  	Card                                   *definitions.Card                     `json:"card,omitempty"`
    13  	CustomerReference                      *string                               `json:"customerReference,omitempty"`
    14  	// Deprecated: Use threeDSecure.externalCardholderAuthenticationData instead
    15  	ExternalCardholderAuthenticationData   *ExternalCardholderAuthenticationData `json:"externalCardholderAuthenticationData,omitempty"`
    16  	InitialSchemeTransactionID             *string                               `json:"initialSchemeTransactionId,omitempty"`
    17  	IsRecurring                            *bool                                 `json:"isRecurring,omitempty"`
    18  	MerchantInitiatedReasonIndicator       *string                               `json:"merchantInitiatedReasonIndicator,omitempty"`
    19  	NetworkTokenData                       *SchemeTokenData                      `json:"networkTokenData,omitempty"`
    20  	PaymentProductID                       *int32                                `json:"paymentProductId,omitempty"`
    21  	Recurring                              *CardRecurrenceDetails                `json:"recurring,omitempty"`
    22  	// Deprecated: Use recurring.recurringPaymentSequenceIndicator instead
    23  	RecurringPaymentSequenceIndicator      *string                               `json:"recurringPaymentSequenceIndicator,omitempty"`
    24  	RequiresApproval                       *bool                                 `json:"requiresApproval,omitempty"`
    25  	// Deprecated: Use threeDSecure.redirectionData.returnUrl instead
    26  	ReturnURL                              *string                               `json:"returnUrl,omitempty"`
    27  	// Deprecated: Use threeDSecure.skipAuthentication instead
    28  	SkipAuthentication                     *bool                                 `json:"skipAuthentication,omitempty"`
    29  	SkipFraudService                       *bool                                 `json:"skipFraudService,omitempty"`
    30  	ThreeDSecure                           *ThreeDSecure                         `json:"threeDSecure,omitempty"`
    31  	Token                                  *string                               `json:"token,omitempty"`
    32  	Tokenize                               *bool                                 `json:"tokenize,omitempty"`
    33  	TransactionChannel                     *string                               `json:"transactionChannel,omitempty"`
    34  	// Deprecated: Use unscheduledCardOnFileSequenceIndicator instead
    35  	UnscheduledCardOnFileIndicator         *string                               `json:"unscheduledCardOnFileIndicator,omitempty"`
    36  	UnscheduledCardOnFileRequestor         *string                               `json:"unscheduledCardOnFileRequestor,omitempty"`
    37  	UnscheduledCardOnFileSequenceIndicator *string                               `json:"unscheduledCardOnFileSequenceIndicator,omitempty"`
    38  }
    39  
    40  // NewCardPaymentMethodSpecificInput constructs a new CardPaymentMethodSpecificInput
    41  func NewCardPaymentMethodSpecificInput() *CardPaymentMethodSpecificInput {
    42  	return &CardPaymentMethodSpecificInput{}
    43  }