2.5 KiB
TreasuryAccountView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Address | Pointer to string | Address is the ledger account address ("org:acme:wallet", "fund:reserve", …). | [optional] |
| BalanceCents | Pointer to int64 | BalanceCents is that account's signed balance in minor units. | [optional] |
Methods
NewTreasuryAccountView
func NewTreasuryAccountView() *TreasuryAccountView
NewTreasuryAccountView instantiates a new TreasuryAccountView 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
NewTreasuryAccountViewWithDefaults
func NewTreasuryAccountViewWithDefaults() *TreasuryAccountView
NewTreasuryAccountViewWithDefaults instantiates a new TreasuryAccountView 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
GetAddress
func (o *TreasuryAccountView) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
GetAddressOk
func (o *TreasuryAccountView) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAddress
func (o *TreasuryAccountView) SetAddress(v string)
SetAddress sets Address field to given value.
HasAddress
func (o *TreasuryAccountView) HasAddress() bool
HasAddress returns a boolean if a field has been set.
GetBalanceCents
func (o *TreasuryAccountView) GetBalanceCents() int64
GetBalanceCents returns the BalanceCents field if non-nil, zero value otherwise.
GetBalanceCentsOk
func (o *TreasuryAccountView) GetBalanceCentsOk() (*int64, bool)
GetBalanceCentsOk returns a tuple with the BalanceCents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBalanceCents
func (o *TreasuryAccountView) SetBalanceCents(v int64)
SetBalanceCents sets BalanceCents field to given value.
HasBalanceCents
func (o *TreasuryAccountView) HasBalanceCents() bool
HasBalanceCents returns a boolean if a field has been set.