refund

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: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveRequest

type ApproveRequest struct {
	Amount *int64 `json:"amount,omitempty"`
}

ApproveRequest represents class ApproveRefundRequest

func NewApproveRequest

func NewApproveRequest() *ApproveRequest

NewApproveRequest constructs a new ApproveRequest

type BankAccountBbanRefund

type BankAccountBbanRefund struct {
	AccountHolderName *string `json:"accountHolderName,omitempty"`
	AccountNumber     *string `json:"accountNumber,omitempty"`
	BankCity          *string `json:"bankCity,omitempty"`
	BankCode          *string `json:"bankCode,omitempty"`
	BankName          *string `json:"bankName,omitempty"`
	BranchCode        *string `json:"branchCode,omitempty"`
	CheckDigit        *string `json:"checkDigit,omitempty"`
	CountryCode       *string `json:"countryCode,omitempty"`
	PatronymicName    *string `json:"patronymicName,omitempty"`
	SwiftCode         *string `json:"swiftCode,omitempty"`
}

BankAccountBbanRefund represents class BankAccountBbanRefund

func NewBankAccountBbanRefund

func NewBankAccountBbanRefund() *BankAccountBbanRefund

NewBankAccountBbanRefund constructs a new BankAccountBbanRefund

type BankRefundMethodSpecificInput

type BankRefundMethodSpecificInput struct {
	BankAccountBban *BankAccountBbanRefund       `json:"bankAccountBban,omitempty"`
	BankAccountIban *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	CountryCode     *string                      `json:"countryCode,omitempty"`
}

BankRefundMethodSpecificInput represents class BankRefundMethodSpecificInput

func NewBankRefundMethodSpecificInput

func NewBankRefundMethodSpecificInput() *BankRefundMethodSpecificInput

NewBankRefundMethodSpecificInput constructs a new BankRefundMethodSpecificInput

type Customer

type Customer struct {
	Address            *payment.AddressPersonal        `json:"address,omitempty"`
	CompanyInformation *definitions.CompanyInformation `json:"companyInformation,omitempty"`
	ContactDetails     *definitions.ContactDetailsBase `json:"contactDetails,omitempty"`
	FiscalNumber       *string                         `json:"fiscalNumber,omitempty"`
}

Customer represents class RefundCustomer

func NewCustomer

func NewCustomer() *Customer

NewCustomer constructs a new Customer

type ErrorResponse

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

ErrorResponse represents class RefundErrorResponse

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"`
	Refunds    *[]Result `json:"refunds,omitempty"`
	TotalCount *int32    `json:"totalCount,omitempty"`
}

FindResponse represents class FindRefundsResponse

func NewFindResponse

func NewFindResponse() *FindResponse

NewFindResponse constructs a new FindResponse

type References

type References struct {
	MerchantReference *string `json:"merchantReference,omitempty"`
}

References represents class RefundReferences

func NewReferences

func NewReferences() *References

NewReferences constructs a new References

type RefundsResponse

type RefundsResponse struct {
	Refunds *[]Result `json:"refunds,omitempty"`
}

RefundsResponse represents class RefundsResponse

func NewRefundsResponse

func NewRefundsResponse() *RefundsResponse

NewRefundsResponse constructs a new RefundsResponse

type Request

type Request struct {
	AmountOfMoney                 *definitions.AmountOfMoney     `json:"amountOfMoney,omitempty"`
	BankRefundMethodSpecificInput *BankRefundMethodSpecificInput `json:"bankRefundMethodSpecificInput,omitempty"`
	Customer                      *Customer                      `json:"customer,omitempty"`
	RefundDate                    *string                        `json:"refundDate,omitempty"`
	RefundReferences              *References                    `json:"refundReferences,omitempty"`
}

Request represents class RefundRequest

func NewRequest

func NewRequest() *Request

NewRequest constructs a new Request

type Response

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

Response represents class RefundResponse

func NewResponse

func NewResponse() *Response

NewResponse constructs a new Response

type Result

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

Result represents class RefundResult

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