Class: Allorails::Payout
- Inherits:
-
Base
- Object
- Response::ApiResponse
- Response::ApiMappingResponse
- Base
- Allorails::Payout
- Defined in:
- lib/allorails/response/model.rb
Overview
Class providing object mapping of a payout item
Instance Attribute Summary
Attributes inherited from Response::ApiMappingResponse
Instance Method Summary collapse
-
#amount ⇒ Object
Provides the amount @return (float) amount.
-
#currency ⇒ Object
Provides the currency @return (string) currency (three characters).
-
#exchange ⇒ Object
Provides the day’s exchange rate @return (float) exchange rate.
-
#reference_amount ⇒ Object
Provides the amount in the reference currency @return (float) reference amount.
-
#reference_currency ⇒ Object
Provides the reference currency @return (string) reference currency.
Methods inherited from Base
Methods inherited from Response::ApiMappingResponse
#_verify, attribute_reader, #initialize, node_reader
Methods inherited from Response::ApiResponse
Constructor Details
This class inherits a constructor from Allorails::Base
Instance Method Details
#amount ⇒ Object
Provides the amount
@return (float) amount
127 |
# File 'lib/allorails/response/model.rb', line 127 attribute_reader :amount, Float |
#currency ⇒ Object
Provides the currency
@return (string) currency (three characters)
123 |
# File 'lib/allorails/response/model.rb', line 123 attribute_reader :currency |
#exchange ⇒ Object
Provides the day’s exchange rate
@return (float) exchange rate
131 |
# File 'lib/allorails/response/model.rb', line 131 attribute_reader :exchange, Float |
#reference_amount ⇒ Object
Provides the amount in the reference currency
@return (float) reference amount
139 |
# File 'lib/allorails/response/model.rb', line 139 attribute_reader :reference_amount, Float |
#reference_currency ⇒ Object
Provides the reference currency
@return (string) reference currency
135 |
# File 'lib/allorails/response/model.rb', line 135 attribute_reader :reference_currency |