github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/RedirectPaymentMethodSpecificInput.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  // RedirectPaymentMethodSpecificInput represents class RedirectPaymentMethodSpecificInput
     7  type RedirectPaymentMethodSpecificInput struct {
     8  	ExpirationPeriod                  *int32                                   `json:"expirationPeriod,omitempty"`
     9  	IsRecurring                       *bool                                    `json:"isRecurring,omitempty"`
    10  	PaymentProduct4101SpecificInput   *RedirectPaymentProduct4101SpecificInput `json:"paymentProduct4101SpecificInput,omitempty"`
    11  	PaymentProduct809SpecificInput    *RedirectPaymentProduct809SpecificInput  `json:"paymentProduct809SpecificInput,omitempty"`
    12  	PaymentProduct816SpecificInput    *RedirectPaymentProduct816SpecificInput  `json:"paymentProduct816SpecificInput,omitempty"`
    13  	PaymentProduct840SpecificInput    *RedirectPaymentProduct840SpecificInput  `json:"paymentProduct840SpecificInput,omitempty"`
    14  	PaymentProduct861SpecificInput    *RedirectPaymentProduct861SpecificInput  `json:"paymentProduct861SpecificInput,omitempty"`
    15  	PaymentProduct863SpecificInput    *RedirectPaymentProduct863SpecificInput  `json:"paymentProduct863SpecificInput,omitempty"`
    16  	PaymentProduct869SpecificInput    *RedirectPaymentProduct869SpecificInput  `json:"paymentProduct869SpecificInput,omitempty"`
    17  	PaymentProduct882SpecificInput    *RedirectPaymentProduct882SpecificInput  `json:"paymentProduct882SpecificInput,omitempty"`
    18  	PaymentProductID                  *int32                                   `json:"paymentProductId,omitempty"`
    19  	RecurringPaymentSequenceIndicator *string                                  `json:"recurringPaymentSequenceIndicator,omitempty"`
    20  	RedirectionData                   *RedirectionData                         `json:"redirectionData,omitempty"`
    21  	RequiresApproval                  *bool                                    `json:"requiresApproval,omitempty"`
    22  	// Deprecated: Use redirectionData.returnUrl instead
    23  	ReturnURL                         *string                                  `json:"returnUrl,omitempty"`
    24  	Token                             *string                                  `json:"token,omitempty"`
    25  	Tokenize                          *bool                                    `json:"tokenize,omitempty"`
    26  }
    27  
    28  // NewRedirectPaymentMethodSpecificInput constructs a new RedirectPaymentMethodSpecificInput
    29  func NewRedirectPaymentMethodSpecificInput() *RedirectPaymentMethodSpecificInput {
    30  	return &RedirectPaymentMethodSpecificInput{}
    31  }