Class Wallet

Inheritance Relationships

Base Type

Class Documentation

class Wallet : public axr::sdk::EntityBase

Manages information about the current account balance and payment information for a given customer.

The uid of this object should map to a user or organization’s uid.

Public Functions

inline Wallet()
inline Wallet(const Wallet &value)
inline Wallet(Wallet &&value)
inline virtual ~Wallet()
inline virtual Wallet &SetProperties(const std::map<utility::string_t, Variant> &value) override

Sets the object’s underlying map of stored values.

inline virtual Wallet &SetProperties(std::map<utility::string_t, Variant> &&value) override

Sets the underlying map of stored values for the object.

inline virtual Wallet &SetProperty(const utility::char_t *name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual Wallet &SetProperty(const utility::string_t &name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual Wallet &SetRemoteUrl(const utility::string_t &url) override

Returns the URL of the remote server endpoint where the object is managed.

inline virtual Wallet &SetUid(const utility::string_t &value) override

Sets the value of the Uid property.

Parameters

value – The value to set.

inline virtual Wallet &SetDateCreated(const datetime &value) override

Sets the value of the DateCreated property.

Parameters

value – The value to set.

inline virtual Wallet &SetDateModified(const datetime &value) override

Sets the value of the DateModified property.

Parameters

value – The value to set.

inline virtual Wallet &SetVersion(const uint64_t value) override

Sets the value of the Version property.

Parameters

value – The value to set.

virtual void Validate() override
utility::string_t GetBilling() const

The uid of the billing contact for the wallet.

Wallet &SetBilling(const utility::string_t &value)

The uid of the billing contact for the wallet.

float GetBalance() const

The current balance of the customer’s funds with the account.

std::vector<utility::string_t> GetContacts() const

The list of uids of the contacts associated with the account.

Wallet &SetContacts(std::vector<utility::string_t> value)

The list of uids of the contacts associated with the account.

const Currency *GetCurrency() const

The current that the balance is represented as.

Wallet &SetCurrency(const Currency *value)

The current that the balance is represented as.

std::shared_ptr<Object> GetData() const

An arbitrary map of metadata associated with this account.

Wallet &SetData(std::shared_ptr<Object> value)

An arbitrary map of metadata associated with this account.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.