Class: VertexClient::Response::LineItemProduct
- Inherits:
-
Object
- Object
- VertexClient::Response::LineItemProduct
- Defined in:
- lib/vertex_client/responses/line_item_product.rb
Instance Attribute Summary collapse
-
#product_class ⇒ Object
readonly
Returns the value of attribute product_class.
-
#product_code ⇒ Object
readonly
Returns the value of attribute product_code.
Instance Method Summary collapse
-
#initialize(params) ⇒ LineItemProduct
constructor
A new instance of LineItemProduct.
Constructor Details
#initialize(params) ⇒ LineItemProduct
Returns a new instance of LineItemProduct.
7 8 9 10 |
# File 'lib/vertex_client/responses/line_item_product.rb', line 7 def initialize(params) @product_code = params[:product_code] @product_class = params[:product_class] end |
Instance Attribute Details
#product_class ⇒ Object (readonly)
Returns the value of attribute product_class.
5 6 7 |
# File 'lib/vertex_client/responses/line_item_product.rb', line 5 def product_class @product_class end |
#product_code ⇒ Object (readonly)
Returns the value of attribute product_code.
5 6 7 |
# File 'lib/vertex_client/responses/line_item_product.rb', line 5 def product_code @product_code end |