github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payout/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 payout
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
     7  
     8  // CreateRequest represents class CreatePayoutRequest
     9  type CreateRequest struct {
    10  	// Deprecated: Moved to PayoutDetails
    11  	AmountOfMoney                         *definitions.AmountOfMoney             `json:"amountOfMoney,omitempty"`
    12  	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
    13  	BankAccountBban                       *definitions.BankAccountBban           `json:"bankAccountBban,omitempty"`
    14  	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
    15  	BankAccountIban                       *definitions.BankAccountIban           `json:"bankAccountIban,omitempty"`
    16  	BankTransferPayoutMethodSpecificInput *BankTransferPayoutMethodSpecificInput `json:"bankTransferPayoutMethodSpecificInput,omitempty"`
    17  	CardPayoutMethodSpecificInput         *CardPayoutMethodSpecificInput         `json:"cardPayoutMethodSpecificInput,omitempty"`
    18  	// Deprecated: Moved to PayoutDetails
    19  	Customer                              *Customer                              `json:"customer,omitempty"`
    20  	Merchant                              *Merchant                              `json:"merchant,omitempty"`
    21  	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
    22  	PayoutDate                            *string                                `json:"payoutDate,omitempty"`
    23  	PayoutDetails                         *Details                               `json:"payoutDetails,omitempty"`
    24  	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
    25  	PayoutText                            *string                                `json:"payoutText,omitempty"`
    26  	// Deprecated: Moved to PayoutDetails
    27  	References                            *References                            `json:"references,omitempty"`
    28  	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
    29  	SwiftCode                             *string                                `json:"swiftCode,omitempty"`
    30  }
    31  
    32  // NewCreateRequest constructs a new CreateRequest
    33  func NewCreateRequest() *CreateRequest {
    34  	return &CreateRequest{}
    35  }