Class: SynapsePay::Withdrawal
- Inherits:
-
APIResource
- Object
- APIResource
- SynapsePay::Withdrawal
- Defined in:
- lib/synapse_pay/resources/withdrawal.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#bank ⇒ Object
Returns the value of attribute bank.
-
#date_created ⇒ Object
Returns the value of attribute date_created.
-
#fee ⇒ Object
Returns the value of attribute fee.
-
#id ⇒ Object
Returns the value of attribute id.
-
#instant_credit ⇒ Object
Returns the value of attribute instant_credit.
-
#resource_uri ⇒ Object
Returns the value of attribute resource_uri.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_url ⇒ Object
Returns the value of attribute status_url.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from APIResource
Method Summary
Methods inherited from APIResource
api_attribute_names, #api_attributes, api_subclass_fetch, api_subclasses, #changed_api_attributes, #clear_api_attributes, #determine_api_attribute_value, determine_api_attribute_value, #initialize, #inspect, #inspect_api_attributes, #inspect_nested, #refresh_from, register_api_subclass, #to_json
Constructor Details
This class inherits a constructor from SynapsePay::APIResource
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 3 def amount @amount end |
#bank ⇒ Object
Returns the value of attribute bank.
4 5 6 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 4 def bank @bank end |
#date_created ⇒ Object
Returns the value of attribute date_created.
5 6 7 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 5 def date_created @date_created end |
#fee ⇒ Object
Returns the value of attribute fee.
6 7 8 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 6 def fee @fee end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 7 def id @id end |
#instant_credit ⇒ Object
Returns the value of attribute instant_credit.
8 9 10 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 8 def instant_credit @instant_credit end |
#resource_uri ⇒ Object
Returns the value of attribute resource_uri.
9 10 11 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 9 def resource_uri @resource_uri end |
#status ⇒ Object
Returns the value of attribute status.
10 11 12 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 10 def status @status end |
#status_url ⇒ Object
Returns the value of attribute status_url.
11 12 13 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 11 def status_url @status_url end |
#user_id ⇒ Object
Returns the value of attribute user_id.
12 13 14 |
# File 'lib/synapse_pay/resources/withdrawal.rb', line 12 def user_id @user_id end |