Class: Bitex::UsdDeposit
- Inherits:
-
Object
- Object
- Bitex::UsdDeposit
- Defined in:
- lib/bitex/usd_deposit.rb
Overview
A deposit of USD to your bitex.la balance.
Instance Attribute Summary collapse
-
#amount ⇒ BigDecimal
Final amount credited to your bitex USD balance.
-
#created_at ⇒ Time
Time when this deposit was announced by you.
-
#deposit_method ⇒ Object
The method used for this deposit * :astropay * :other.
-
#id ⇒ Integer
This UsdDeposit’s unique ID.
-
#reason ⇒ Object
The reason for cancellation of this deposit, if any.
-
#status ⇒ Object
The status of this deposit.
Instance Attribute Details
#amount ⇒ BigDecimal
Returns Final amount credited to your bitex USD balance.
14 15 16 |
# File 'lib/bitex/usd_deposit.rb', line 14 def amount @amount end |
#created_at ⇒ Time
Returns Time when this deposit was announced by you.
10 11 12 |
# File 'lib/bitex/usd_deposit.rb', line 10 def created_at @created_at end |
#deposit_method ⇒ Object
The method used for this deposit
-
:astropay
-
:other
20 21 22 |
# File 'lib/bitex/usd_deposit.rb', line 20 def deposit_method @deposit_method end |
#id ⇒ Integer
Returns This UsdDeposit’s unique ID.
6 7 8 |
# File 'lib/bitex/usd_deposit.rb', line 6 def id @id end |
#reason ⇒ Object
The reason for cancellation of this deposit, if any.
-
:not_cancelled.
-
:did_not_credit funds never arrived to our end.
-
:sender_unknown we could not accept these funds because you’re not the sender.
-
:other we’ll contact you regarding this deposit.
38 39 40 |
# File 'lib/bitex/usd_deposit.rb', line 38 def reason @reason end |
#status ⇒ Object
The status of this deposit.
-
:pending your deposit notice was received, we’re waiting for the funds to credit.
-
:done your deposit credited correctly, the funds are available in your balance.
-
:cancelled your deposit did not credit, check the ‘reason’ field.
29 30 31 |
# File 'lib/bitex/usd_deposit.rb', line 29 def status @status end |