Input_transaction_line

$model.description$.

Defined (1)

The class is defined in the following location(s).

/lib/taxamo/Taxamo/models/input_transaction_line.php  
  1. class Input_transaction_line { 
  2.  
  3. static $swaggerTypes = array( 
  4. 'custom_fields' => 'array[custom_fields]',  
  5. 'custom_id' => 'string',  
  6. 'product_type' => 'string',  
  7. 'quantity' => 'number',  
  8. 'unit_price' => 'number',  
  9. 'unit_of_measure' => 'string',  
  10. 'total_amount' => 'number',  
  11. 'tax_rate' => 'number',  
  12. 'line_key' => 'string',  
  13. 'amount' => 'number',  
  14. 'informative' => 'bool',  
  15. 'description' => 'string',  
  16. 'product_code' => 'string',  
  17. 'supply_date' => 'string',  
  18. 'tax_name' => 'string' 
  19.  
  20. ); 
  21.  
  22. /** 
  23. * Custom fields, stored as key-value pairs. This property is not processed and used mostly with Taxamo-built helpers. 
  24. */ 
  25. public $custom_fields; // array[custom_fields] 
  26. /** 
  27. * Custom id, provided by ecommerce software. 
  28. */ 
  29. public $custom_id; // string 
  30. /** 
  31. * Product type, according to dictionary /dictionaries/product_types.  
  32. */ 
  33. public $product_type; // string 
  34. /** 
  35. * Quantity Defaults to 1. 
  36. */ 
  37. public $quantity; // number 
  38. /** 
  39. * Unit price. 
  40. */ 
  41. public $unit_price; // number 
  42. /** 
  43. * Unit of measure. 
  44. */ 
  45. public $unit_of_measure; // string 
  46. /** 
  47. * Total amount. Required if amount is not provided. 
  48. */ 
  49. public $total_amount; // number 
  50. /** 
  51. * Tax rate, calculated by taxamo. Can be overwritten when informative field is true. 
  52. */ 
  53. public $tax_rate; // number 
  54. /** 
  55. * Generated line key. 
  56. */ 
  57. public $line_key; // string 
  58. /** 
  59. * Amount. Required if total amount is not provided. 
  60. */ 
  61. public $amount; // number 
  62. /** 
  63. * If the line is provided for informative purposes. Such line can have :tax-rate and/or :tax-name - if not, API will calculate missing values according to product type and country of residence. 
  64. */ 
  65. public $informative; // bool 
  66. /** 
  67. * Line contents description. 
  68. */ 
  69. public $description; // string 
  70. /** 
  71. * Internal product code, used for invoicing for example. 
  72. */ 
  73. public $product_code; // string 
  74. /** 
  75. * Date of supply in yyyy-MM-dd format. 
  76. */ 
  77. public $supply_date; // string 
  78. /** 
  79. * Tax name, calculated by taxamo. Can be overwritten when informative field is true. 
  80. */ 
  81. public $tax_name; // string