Name | Type | Required | Description | Examples |
---|---|---|---|---|
Id | Pointer to string | |||
PaymentRequestId | Pointer to string | |||
Amount | Pointer to float64 | |||
ChannelCode | Pointer to string | |||
Country | Pointer to string | |||
Currency | Pointer to string | |||
ReferenceId | Pointer to NullableString | |||
FailureCode | Pointer to NullableString | |||
RefundFeeAmount | Pointer to NullableFloat64 | |||
Created | Pointer to string | |||
Updated | Pointer to string | |||
Metadata | Pointer to map[string]interface{} |
func NewRefund() *Refund
NewRefund instantiates a new Refund 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 NewRefundWithDefaults() *Refund
NewRefundWithDefaults instantiates a new Refund 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 *Refund) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Refund) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetId(v string)
SetId sets Id field to given value.
func (o *Refund) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Refund) GetPaymentRequestId() string
GetPaymentRequestId returns the PaymentRequestId field if non-nil, zero value otherwise.
func (o *Refund) GetPaymentRequestIdOk() (*string, bool)
GetPaymentRequestIdOk returns a tuple with the PaymentRequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetPaymentRequestId(v string)
SetPaymentRequestId sets PaymentRequestId field to given value.
func (o *Refund) HasPaymentRequestId() bool
HasPaymentRequestId returns a boolean if a field has been set.
func (o *Refund) GetAmount() float64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Refund) GetAmountOk() (*float64, 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 *Refund) SetAmount(v float64)
SetAmount sets Amount field to given value.
func (o *Refund) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *Refund) GetChannelCode() string
GetChannelCode returns the ChannelCode field if non-nil, zero value otherwise.
func (o *Refund) GetChannelCodeOk() (*string, bool)
GetChannelCodeOk returns a tuple with the ChannelCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetChannelCode(v string)
SetChannelCode sets ChannelCode field to given value.
func (o *Refund) HasChannelCode() bool
HasChannelCode returns a boolean if a field has been set.
func (o *Refund) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *Refund) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetCountry(v string)
SetCountry sets Country field to given value.
func (o *Refund) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *Refund) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *Refund) 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 *Refund) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *Refund) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *Refund) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *Refund) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *Refund) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (o *Refund) SetReferenceIdNil(b bool)
SetReferenceIdNil sets the value for ReferenceId to be an explicit nil
func (o *Refund) UnsetReferenceId()
UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil
func (o *Refund) GetFailureCode() string
GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.
func (o *Refund) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetFailureCode(v string)
SetFailureCode sets FailureCode field to given value.
func (o *Refund) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (o *Refund) SetFailureCodeNil(b bool)
SetFailureCodeNil sets the value for FailureCode to be an explicit nil
func (o *Refund) UnsetFailureCode()
UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil
func (o *Refund) GetRefundFeeAmount() float64
GetRefundFeeAmount returns the RefundFeeAmount field if non-nil, zero value otherwise.
func (o *Refund) GetRefundFeeAmountOk() (*float64, bool)
GetRefundFeeAmountOk returns a tuple with the RefundFeeAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetRefundFeeAmount(v float64)
SetRefundFeeAmount sets RefundFeeAmount field to given value.
func (o *Refund) HasRefundFeeAmount() bool
HasRefundFeeAmount returns a boolean if a field has been set.
func (o *Refund) SetRefundFeeAmountNil(b bool)
SetRefundFeeAmountNil sets the value for RefundFeeAmount to be an explicit nil
func (o *Refund) UnsetRefundFeeAmount()
UnsetRefundFeeAmount ensures that no value is present for RefundFeeAmount, not even an explicit nil
func (o *Refund) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Refund) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetCreated(v string)
SetCreated sets Created field to given value.
func (o *Refund) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Refund) GetUpdated() string
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *Refund) GetUpdatedOk() (*string, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetUpdated(v string)
SetUpdated sets Updated field to given value.
func (o *Refund) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *Refund) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Refund) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Refund) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *Refund) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Refund) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *Refund) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil