payout

package
v0.0.0-...-1f8cd32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: BSD-3-Clause, MIT Imports: 3 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveRequest

type ApproveRequest struct {
	DatePayout *string `json:"datePayout,omitempty"`
}

ApproveRequest represents class ApprovePayoutRequest

func NewApproveRequest

func NewApproveRequest() *ApproveRequest

NewApproveRequest constructs a new ApproveRequest

type BankTransferPayoutMethodSpecificInput

type BankTransferPayoutMethodSpecificInput struct {
	BankAccountBban *definitions.BankAccountBban `json:"bankAccountBban,omitempty"`
	BankAccountIban *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	// Deprecated: Moved to PayoutDetails
	Customer   *Customer `json:"customer,omitempty"`
	PayoutDate *string   `json:"payoutDate,omitempty"`
	PayoutText *string   `json:"payoutText,omitempty"`
	SwiftCode  *string   `json:"swiftCode,omitempty"`
}

BankTransferPayoutMethodSpecificInput represents class BankTransferPayoutMethodSpecificInput

func NewBankTransferPayoutMethodSpecificInput

func NewBankTransferPayoutMethodSpecificInput() *BankTransferPayoutMethodSpecificInput

NewBankTransferPayoutMethodSpecificInput constructs a new BankTransferPayoutMethodSpecificInput

type CardPayoutMethodSpecificInput

type CardPayoutMethodSpecificInput struct {
	Card             *definitions.Card `json:"card,omitempty"`
	PaymentProductID *int32            `json:"paymentProductId,omitempty"`
	Recipient        *Recipient        `json:"recipient,omitempty"`
	Token            *string           `json:"token,omitempty"`
}

CardPayoutMethodSpecificInput represents class CardPayoutMethodSpecificInput

func NewCardPayoutMethodSpecificInput

func NewCardPayoutMethodSpecificInput() *CardPayoutMethodSpecificInput

NewCardPayoutMethodSpecificInput constructs a new CardPayoutMethodSpecificInput

type CreateRequest

type CreateRequest struct {
	// Deprecated: Moved to PayoutDetails
	AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
	BankAccountBban *definitions.BankAccountBban `json:"bankAccountBban,omitempty"`
	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
	BankAccountIban                       *definitions.BankAccountIban           `json:"bankAccountIban,omitempty"`
	BankTransferPayoutMethodSpecificInput *BankTransferPayoutMethodSpecificInput `json:"bankTransferPayoutMethodSpecificInput,omitempty"`
	CardPayoutMethodSpecificInput         *CardPayoutMethodSpecificInput         `json:"cardPayoutMethodSpecificInput,omitempty"`
	// Deprecated: Moved to PayoutDetails
	Customer *Customer `json:"customer,omitempty"`
	Merchant *Merchant `json:"merchant,omitempty"`
	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
	PayoutDate    *string  `json:"payoutDate,omitempty"`
	PayoutDetails *Details `json:"payoutDetails,omitempty"`
	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
	PayoutText *string `json:"payoutText,omitempty"`
	// Deprecated: Moved to PayoutDetails
	References *References `json:"references,omitempty"`
	// Deprecated: Moved to BankTransferPayoutMethodSpecificInput
	SwiftCode *string `json:"swiftCode,omitempty"`
}

CreateRequest represents class CreatePayoutRequest

func NewCreateRequest

func NewCreateRequest() *CreateRequest

NewCreateRequest constructs a new CreateRequest

type Customer

type Customer struct {
	Address            *definitions.Address            `json:"address,omitempty"`
	CompanyInformation *definitions.CompanyInformation `json:"companyInformation,omitempty"`
	ContactDetails     *definitions.ContactDetailsBase `json:"contactDetails,omitempty"`
	MerchantCustomerID *string                         `json:"merchantCustomerId,omitempty"`
	Name               *payment.PersonalName           `json:"name,omitempty"`
}

Customer represents class PayoutCustomer

func NewCustomer

func NewCustomer() *Customer

NewCustomer constructs a new Customer

type Details

type Details struct {
	AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	Customer      *Customer                  `json:"customer,omitempty"`
	References    *References                `json:"references,omitempty"`
}

Details represents class PayoutDetails

func NewDetails

func NewDetails() *Details

NewDetails constructs a new Details

type ErrorResponse

type ErrorResponse struct {
	ErrorID      *string            `json:"errorId,omitempty"`
	Errors       *[]errors.APIError `json:"errors,omitempty"`
	PayoutResult *Result            `json:"payoutResult,omitempty"`
}

ErrorResponse represents class PayoutErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse constructs a new ErrorResponse

type FindResponse

type FindResponse struct {
	Limit      *int32    `json:"limit,omitempty"`
	Offset     *int32    `json:"offset,omitempty"`
	Payouts    *[]Result `json:"payouts,omitempty"`
	TotalCount *int32    `json:"totalCount,omitempty"`
}

FindResponse represents class FindPayoutsResponse

func NewFindResponse

func NewFindResponse() *FindResponse

NewFindResponse constructs a new FindResponse

type Merchant

type Merchant struct {
	ConfigurationID *string `json:"configurationId,omitempty"`
}

Merchant represents class PayoutMerchant

func NewMerchant

func NewMerchant() *Merchant

NewMerchant constructs a new Merchant

type Recipient

type Recipient struct {
	FirstName     *string `json:"firstName,omitempty"`
	Surname       *string `json:"surname,omitempty"`
	SurnamePrefix *string `json:"surnamePrefix,omitempty"`
}

Recipient represents class PayoutRecipient

func NewRecipient

func NewRecipient() *Recipient

NewRecipient constructs a new Recipient

type References

type References struct {
	InvoiceNumber     *string `json:"invoiceNumber,omitempty"`
	MerchantOrderID   *int64  `json:"merchantOrderId,omitempty"`
	MerchantReference *string `json:"merchantReference,omitempty"`
}

References represents class PayoutReferences

func NewReferences

func NewReferences() *References

NewReferences constructs a new References

type Response

type Response struct {
	ID           *string                        `json:"id,omitempty"`
	PayoutOutput *payment.OrderOutput           `json:"payoutOutput,omitempty"`
	Status       *string                        `json:"status,omitempty"`
	StatusOutput *definitions.OrderStatusOutput `json:"statusOutput,omitempty"`
}

Response represents class PayoutResponse

func NewResponse

func NewResponse() *Response

NewResponse constructs a new Response

type Result

type Result struct {
	ID           *string                        `json:"id,omitempty"`
	PayoutOutput *payment.OrderOutput           `json:"payoutOutput,omitempty"`
	Status       *string                        `json:"status,omitempty"`
	StatusOutput *definitions.OrderStatusOutput `json:"statusOutput,omitempty"`
}

Result represents class PayoutResult

func NewResult

func NewResult() *Result

NewResult constructs a new Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL