Class: Peddler::APIs::SellerWallet20240301::Balance

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/seller_wallet_2024_03_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#account_idString (readonly)

Returns the value of attribute account_id.

Returns:

  • (String)


14
15
16
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 14

def 
  @account_id
end

#balance_amountFloat (readonly)

Returns the value of attribute balance_amount.

Returns:

  • (Float)


15
16
17
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 15

def balance_amount
  @balance_amount
end

#balance_currencyString (readonly)

Returns the value of attribute balance_currency.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 16

def balance_currency
  @balance_currency
end

#balance_typeString? (readonly)

Returns the value of attribute balance_type.

Returns:

  • (String, nil)


17
18
19
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 17

def balance_type
  @balance_type
end

#last_update_dateTime (readonly)

Returns the value of attribute last_update_date.

Returns:

  • (Time)


18
19
20
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 18

def last_update_date
  @last_update_date
end

Class Method Details

.[](account_id:, balance_amount:, balance_currency:, last_update_date:, balance_type:) ⇒ Peddler::APIs::SellerWallet20240301::Balance .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SellerWallet20240301::Balance

Overloads:



7
8
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 7

def self.[]: (account_id: String, balance_amount: Float, balance_currency: String, last_update_date: Time, ?balance_type: String?) -> Peddler::APIs::SellerWallet20240301::Balance
| (String, Float, String, Time, String?) -> Peddler::APIs::SellerWallet20240301::Balance

.members[ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ]

Returns:

  • ([ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ])


10
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 10

def self.members: () -> [ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ]

.new(account_id:, balance_amount:, balance_currency:, last_update_date:, balance_type:) ⇒ Peddler::APIs::SellerWallet20240301::Balance .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SellerWallet20240301::Balance

Overloads:



5
6
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 5

def self.new: (account_id: String, balance_amount: Float, balance_currency: String, last_update_date: Time, ?balance_type: String?) -> Peddler::APIs::SellerWallet20240301::Balance
| (String, Float, String, Time, String?) -> Peddler::APIs::SellerWallet20240301::Balance

.parsePeddler::APIs::SellerWallet20240301::Balance

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



12
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::Balance

Instance Method Details

#members[ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ]

Returns:

  • ([ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ])


20
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 20

def members: () -> [ :account_id, :balance_amount, :balance_currency, :last_update_date, :balance_type ]

#to_h{ account_id: String, balance_amount: Float, balance_currency: String, last_update_date: Time, balance_type: String? }

Returns:

  • ({ account_id: String, balance_amount: Float, balance_currency: String, last_update_date: Time, balance_type: String? })


21
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 21

def to_h: () -> { account_id: String, balance_amount: Float, balance_currency: String, last_update_date: Time, balance_type: String? }