Class: Smartbill::Sdk::Models::Product

Inherits:
Struct
  • Object
show all
Defined in:
lib/smartbill/sdk/models/product.rb

Overview

A product or discount line on an invoice / proforma / bon fiscal.

Discount-specific fields (number_of_items, discount_type, discount_percentage, discount_value, discount_tax_value) are only relevant when is_discount is true.

Method Summary

Methods inherited from Struct

new, #to_attributes, #to_h, #to_json