Name | Type | Description | Notes |
---|---|---|---|
Amount | int64 | The amount of the transaction. | |
Charge | string | Randomly assigned unique order identifier associated with the charge. | |
CreatedAt | int64 | Date and time of creation of the transaction in Unix format. | |
Currency | string | The currency of the transaction. It uses the 3-letter code of the International Standard ISO 4217. | |
Fee | int64 | The amount to be deducted for taxes and commissions. | |
Id | string | Unique identifier of the transaction. | |
Livemode | bool | Indicates whether the transaction was created in live mode or test mode. | |
Net | int64 | The net amount after deducting commissions and taxes. | |
Object | string | Object name, which is transaction. | |
Status | string | Code indicating transaction status. | |
Type | string | Transaction Type |
func NewTransactionResponse(amount int64, charge string, createdAt int64, currency string, fee int64, id string, livemode bool, net int64, object string, status string, type_ string, ) *TransactionResponse
NewTransactionResponse instantiates a new TransactionResponse 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 NewTransactionResponseWithDefaults() *TransactionResponse
NewTransactionResponseWithDefaults instantiates a new TransactionResponse 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 *TransactionResponse) GetAmount() int64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetAmountOk() (*int64, 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 *TransactionResponse) SetAmount(v int64)
SetAmount sets Amount field to given value.
func (o *TransactionResponse) GetCharge() string
GetCharge returns the Charge field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetChargeOk() (*string, bool)
GetChargeOk returns a tuple with the Charge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetCharge(v string)
SetCharge sets Charge field to given value.
func (o *TransactionResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
func (o *TransactionResponse) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *TransactionResponse) 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 *TransactionResponse) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *TransactionResponse) GetFee() int64
GetFee returns the Fee field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetFeeOk() (*int64, bool)
GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetFee(v int64)
SetFee sets Fee field to given value.
func (o *TransactionResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *TransactionResponse) 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 *TransactionResponse) SetId(v string)
SetId sets Id field to given value.
func (o *TransactionResponse) GetLivemode() bool
GetLivemode returns the Livemode field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetLivemode(v bool)
SetLivemode sets Livemode field to given value.
func (o *TransactionResponse) GetNet() int64
GetNet returns the Net field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetNetOk() (*int64, bool)
GetNetOk returns a tuple with the Net field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetNet(v int64)
SetNet sets Net field to given value.
func (o *TransactionResponse) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetObject(v string)
SetObject sets Object field to given value.
func (o *TransactionResponse) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *TransactionResponse) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *TransactionResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionResponse) SetType(v string)
SetType sets Type field to given value.