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