Class: Allorails::Code
- Inherits:
-
Base
- Object
- Response::ApiResponse
- Response::ApiMappingResponse
- Base
- Allorails::Code
- Defined in:
- lib/allorails/response/model.rb
Overview
Class providing object mapping of a code item
Instance Attribute Summary
Attributes inherited from Response::ApiMappingResponse
Instance Method Summary collapse
-
#paid ⇒ Object
Provides paid price information @return (Price) paid price information.
-
#payout ⇒ Object
Provides the pricepoint’s payout @return (Payout) pricepoint’s payout.
-
#price ⇒ Object
Provides price information @return (Price) price information.
-
#pricepoint ⇒ Object
Provides the pricepoint’s description @return (string) pricepoint’s description.
-
#value ⇒ Object
Provides the code value @return (string) code.
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
#paid ⇒ Object
Provides paid price information
@return (Price) paid price information
269 |
# File 'lib/allorails/response/model.rb', line 269 node_reader :paid, Allorails::Price |
#payout ⇒ Object
Provides the pricepoint’s payout
@return (Payout) pricepoint's payout
273 |
# File 'lib/allorails/response/model.rb', line 273 node_reader :payout, Allorails::Payout |
#price ⇒ Object
Provides price information
@return (Price) price information
265 |
# File 'lib/allorails/response/model.rb', line 265 node_reader :price, Allorails::Price |
#pricepoint ⇒ Object
Provides the pricepoint’s description
@return (string) pricepoint's description
261 |
# File 'lib/allorails/response/model.rb', line 261 node_reader :pricepoint, Allorails::Pricepoint |
#value ⇒ Object
Provides the code value
@return (string) code
257 |
# File 'lib/allorails/response/model.rb', line 257 node_reader :value |