Class: Bitex::UsdWithdrawal
- Inherits:
-
Object
- Object
- Bitex::UsdWithdrawal
- Defined in:
- lib/bitex/usd_withdrawal.rb
Overview
A withdrawal of USD from your bitex.la balance
Instance Attribute Summary collapse
-
#amount ⇒ BigDecimal
Amount withdrawn from your bitex USD balance.
-
#created_at ⇒ Time
Time when this withdrawal was requested by you.
-
#id ⇒ Integer
This UsdWithdrawal’s unique ID.
-
#reason ⇒ Object
Returns the reason for cancellation of this withdrawal, if any.
-
#status ⇒ Object
Returns the status of this withdrawal.
Instance Attribute Details
#amount ⇒ BigDecimal
Returns Amount withdrawn from your bitex USD balance.
14 15 16 |
# File 'lib/bitex/usd_withdrawal.rb', line 14 def amount @amount end |
#created_at ⇒ Time
Returns Time when this withdrawal was requested by you.
10 11 12 |
# File 'lib/bitex/usd_withdrawal.rb', line 10 def created_at @created_at end |
#id ⇒ Integer
Returns This UsdWithdrawal’s unique ID.
6 7 8 |
# File 'lib/bitex/usd_withdrawal.rb', line 6 def id @id end |
#reason ⇒ Object
Returns the reason for cancellation of this withdrawal, if any.
-
:not_cancelled
-
:insufficient_funds The instruction was received, but you didn’t have enough funds available
-
:no_instructions We could not understand the instructions you provided.
-
:recipient_unknown we could not issue this withdrawal because you’re not the receiving party.
33 34 35 |
# File 'lib/bitex/usd_withdrawal.rb', line 33 def reason @reason end |
#status ⇒ Object
Returns the status of this withdrawal.
-
:received Our engine is checking if you have enough funds.
-
:pending your withdrawal was accepted and is being processed.
-
:done your withdrawal was processed and it’s on its way through the withdrawal channel you chose.
-
:cancelled your withdrawal could not be processed.
23 24 25 |
# File 'lib/bitex/usd_withdrawal.rb', line 23 def status @status end |