Class: Allorails::Response::ProductDetailResponse
- Inherits:
-
ApiMappingResponse
- Object
- ApiResponse
- ApiMappingResponse
- Allorails::Response::ProductDetailResponse
- Defined in:
- lib/allorails/response/product_detail_response.rb
Overview
Class defining a product detail request’s response
Instance Attribute Summary
Attributes inherited from ApiMappingResponse
Instance Method Summary collapse
-
#access_type ⇒ Object
Provides access type @return (string) access type.
-
#creation_date ⇒ Object
Provides the creation date @return (datetime.datetime) Creation date.
-
#error_url ⇒ Object
Provides the error url @return (string) error url.
-
#expected_number_of_codes ⇒ Object
Provides the expected number of codes @return (int) expected number of codes.
-
#forward_url ⇒ Object
Provides the forward url @return (string) forward url.
-
#id ⇒ Object
Provides the product id @return (int) product id.
-
#key ⇒ Object
Provides the product key @return (string) product key.
-
#name ⇒ Object
Provides the product name @return (string) product name.
-
#notification_url ⇒ Object
Provides the notification url @return (string) notification url.
-
#purchase_url ⇒ Object
Provides the purchase url @return (string) purchase url.
-
#website ⇒ Object
Provides the website @return (Website) website.
Methods inherited from ApiMappingResponse
#_verify, attribute_reader, #initialize, node_reader
Methods inherited from ApiResponse
Constructor Details
This class inherits a constructor from Allorails::Response::ApiMappingResponse
Instance Method Details
#access_type ⇒ Object
Provides access type
@return (string) access type
14 |
# File 'lib/allorails/response/product_detail_response.rb', line 14 node_reader :access_type |
#creation_date ⇒ Object
Provides the creation date
@return (datetime.datetime) Creation date
18 |
# File 'lib/allorails/response/product_detail_response.rb', line 18 node_reader :creation_date, DateTime |
#error_url ⇒ Object
Provides the error url
@return (string) error url
42 |
# File 'lib/allorails/response/product_detail_response.rb', line 42 node_reader :error_url |
#expected_number_of_codes ⇒ Object
Provides the expected number of codes
@return (int) expected number of codes
30 |
# File 'lib/allorails/response/product_detail_response.rb', line 30 node_reader :expected_number_of_codes, Integer |
#forward_url ⇒ Object
Provides the forward url
@return (string) forward url
38 |
# File 'lib/allorails/response/product_detail_response.rb', line 38 node_reader :forward_url |
#id ⇒ Object
Provides the product id
@return (int) product id
6 |
# File 'lib/allorails/response/product_detail_response.rb', line 6 node_reader :id, Integer |
#key ⇒ Object
Provides the product key
@return (string) product key
10 |
# File 'lib/allorails/response/product_detail_response.rb', line 10 node_reader :key |
#name ⇒ Object
Provides the product name
@return (string) product name
22 |
# File 'lib/allorails/response/product_detail_response.rb', line 22 node_reader :name |
#notification_url ⇒ Object
Provides the notification url
@return (string) notification url
46 |
# File 'lib/allorails/response/product_detail_response.rb', line 46 node_reader :notification_url |
#purchase_url ⇒ Object
Provides the purchase url
@return (string) purchase url
34 |
# File 'lib/allorails/response/product_detail_response.rb', line 34 node_reader :purchase_url |
#website ⇒ Object
Provides the website
@return (Website) website
26 |
# File 'lib/allorails/response/product_detail_response.rb', line 26 node_reader :website, Allorails::Website |