Class: SynapsePay::Withdrawal

Inherits:
APIResource show all
Defined in:
lib/synapse_pay/resources/withdrawal.rb

Instance Attribute Summary collapse

Attributes inherited from APIResource

#api_method, #client, #json

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

#amountObject

Returns the value of attribute amount.



3
4
5
# File 'lib/synapse_pay/resources/withdrawal.rb', line 3

def amount
  @amount
end

#bankObject

Returns the value of attribute bank.



4
5
6
# File 'lib/synapse_pay/resources/withdrawal.rb', line 4

def bank
  @bank
end

#date_createdObject

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

#feeObject

Returns the value of attribute fee.



6
7
8
# File 'lib/synapse_pay/resources/withdrawal.rb', line 6

def fee
  @fee
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/synapse_pay/resources/withdrawal.rb', line 7

def id
  @id
end

#instant_creditObject

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_uriObject

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

#statusObject

Returns the value of attribute status.



10
11
12
# File 'lib/synapse_pay/resources/withdrawal.rb', line 10

def status
  @status
end

#status_urlObject

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_idObject

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