github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/token/Response.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  // Response represents class TokenResponse
     7  type Response struct {
     8  	Card               *Card               `json:"card,omitempty"`
     9  	EWallet            *EWallet            `json:"eWallet,omitempty"`
    10  	ID                 *string             `json:"id,omitempty"`
    11  	NonSepaDirectDebit *NonSepaDirectDebit `json:"nonSepaDirectDebit,omitempty"`
    12  	OriginalPaymentID  *string             `json:"originalPaymentId,omitempty"`
    13  	PaymentProductID   *int32              `json:"paymentProductId,omitempty"`
    14  	SepaDirectDebit    *SepaDirectDebit    `json:"sepaDirectDebit,omitempty"`
    15  }
    16  
    17  // NewResponse constructs a new Response
    18  func NewResponse() *Response {
    19  	return &Response{}
    20  }