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

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package token
     5  
     6  // CreateRequest represents class CreateTokenRequest
     7  type CreateRequest struct {
     8  	Card                   *Card                           `json:"card,omitempty"`
     9  	EWallet                *EWallet                        `json:"eWallet,omitempty"`
    10  	EncryptedCustomerInput *string                         `json:"encryptedCustomerInput,omitempty"`
    11  	NonSepaDirectDebit     *NonSepaDirectDebit             `json:"nonSepaDirectDebit,omitempty"`
    12  	PaymentProductID       *int32                          `json:"paymentProductId,omitempty"`
    13  	SepaDirectDebit        *SepaDirectDebitWithoutCreditor `json:"sepaDirectDebit,omitempty"`
    14  }
    15  
    16  // NewCreateRequest constructs a new CreateRequest
    17  func NewCreateRequest() *CreateRequest {
    18  	return &CreateRequest{}
    19  }