github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/RefundOutput.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package payment 5 6 import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" 7 8 // RefundOutput represents class RefundOutput 9 type RefundOutput struct { 10 AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"` 11 AmountPaid *int64 `json:"amountPaid,omitempty"` 12 BankRefundMethodSpecificOutput *RefundBankMethodSpecificOutput `json:"bankRefundMethodSpecificOutput,omitempty"` 13 CardRefundMethodSpecificOutput *RefundCardMethodSpecificOutput `json:"cardRefundMethodSpecificOutput,omitempty"` 14 CashRefundMethodSpecificOutput *RefundCashMethodSpecificOutput `json:"cashRefundMethodSpecificOutput,omitempty"` 15 EInvoiceRefundMethodSpecificOutput *RefundEInvoiceMethodSpecificOutput `json:"eInvoiceRefundMethodSpecificOutput,omitempty"` 16 EWalletRefundMethodSpecificOutput *RefundEWalletMethodSpecificOutput `json:"eWalletRefundMethodSpecificOutput,omitempty"` 17 MobileRefundMethodSpecificOutput *RefundMobileMethodSpecificOutput `json:"mobileRefundMethodSpecificOutput,omitempty"` 18 PaymentMethod *string `json:"paymentMethod,omitempty"` 19 References *References `json:"references,omitempty"` 20 } 21 22 // NewRefundOutput constructs a new RefundOutput 23 func NewRefundOutput() *RefundOutput { 24 return &RefundOutput{} 25 }