| Name | Type | Description | Notes |
|---|---|---|---|
| Transaction | string | Transaction reference or id | |
| Amount | Pointer to int32 | Amount ( in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR ) to be refunded to the customer. Amount cannot be more than the original transaction amount | [optional] |
| Currency | Pointer to string | Three-letter ISO currency. Allowed values are NGN, GHS, ZAR or USD | [optional] |
| CustomerNote | Pointer to string | Customer reason | [optional] |
| MerchantNote | Pointer to string | Merchant reason | [optional] |
func NewRefundCreate(transaction string, ) *RefundCreate
NewRefundCreate instantiates a new RefundCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRefundCreateWithDefaults() *RefundCreate
NewRefundCreateWithDefaults instantiates a new RefundCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *RefundCreate) GetTransaction() string
GetTransaction returns the Transaction field if non-nil, zero value otherwise.
func (o *RefundCreate) GetTransactionOk() (*string, bool)
GetTransactionOk returns a tuple with the Transaction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RefundCreate) SetTransaction(v string)
SetTransaction sets Transaction field to given value.
func (o *RefundCreate) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *RefundCreate) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RefundCreate) SetAmount(v int32)
SetAmount sets Amount field to given value.
func (o *RefundCreate) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *RefundCreate) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *RefundCreate) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RefundCreate) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *RefundCreate) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *RefundCreate) GetCustomerNote() string
GetCustomerNote returns the CustomerNote field if non-nil, zero value otherwise.
func (o *RefundCreate) GetCustomerNoteOk() (*string, bool)
GetCustomerNoteOk returns a tuple with the CustomerNote field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RefundCreate) SetCustomerNote(v string)
SetCustomerNote sets CustomerNote field to given value.
func (o *RefundCreate) HasCustomerNote() bool
HasCustomerNote returns a boolean if a field has been set.
func (o *RefundCreate) GetMerchantNote() string
GetMerchantNote returns the MerchantNote field if non-nil, zero value otherwise.
func (o *RefundCreate) GetMerchantNoteOk() (*string, bool)
GetMerchantNoteOk returns a tuple with the MerchantNote field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RefundCreate) SetMerchantNote(v string)
SetMerchantNote sets MerchantNote field to given value.
func (o *RefundCreate) HasMerchantNote() bool
HasMerchantNote returns a boolean if a field has been set.