Class: Allorails::Payout

Inherits:
Base show all
Defined in:
lib/allorails/response/model.rb

Overview

Class providing object mapping of a payout item

Instance Attribute Summary

Attributes inherited from Response::ApiMappingResponse

#xml

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Response::ApiMappingResponse

#_verify, attribute_reader, #initialize, node_reader

Methods inherited from Response::ApiResponse

#_verify, #initialize

Constructor Details

This class inherits a constructor from Allorails::Base

Instance Method Details

#amountObject

Provides the amount

@return (float) amount


127
# File 'lib/allorails/response/model.rb', line 127

attribute_reader :amount, Float

#currencyObject

Provides the currency

@return (string) currency (three characters)


123
# File 'lib/allorails/response/model.rb', line 123

attribute_reader :currency

#exchangeObject

Provides the day’s exchange rate

@return (float) exchange rate


131
# File 'lib/allorails/response/model.rb', line 131

attribute_reader :exchange, Float

#reference_amountObject

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_currencyObject

Provides the reference currency

@return (string) reference currency


135
# File 'lib/allorails/response/model.rb', line 135

attribute_reader :reference_currency