Class: VertexClient::Response::LineItemProduct

Inherits:
Object
  • Object
show all
Defined in:
lib/vertex_client/responses/line_item_product.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_classObject (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_codeObject (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