/lib/taxamo/Taxamo/models/input_transaction_update.php

  1. <?php 
  2. /** 
  3. * Copyright 2014 Taxamo, Ltd. 
  4. * 
  5. * Licensed under the Apache License, Version 2.0 (the "License"); 
  6. * you may not use this file except in compliance with the License. 
  7. * You may obtain a copy of the License at 
  8. * 
  9. * http://www.apache.org/licenses/LICENSE-2.0 
  10. * 
  11. * Unless required by applicable law or agreed to in writing, software 
  12. * distributed under the License is distributed on an "AS IS" BASIS,  
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
  14. * See the License for the specific language governing permissions and 
  15. * limitations under the License. 
  16. */ 
  17.  
  18. /** 
  19. * $model.description$ 
  20. * 
  21. * NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. 
  22. * 
  23. */ 
  24. class Input_transaction_update { 
  25.  
  26. static $swaggerTypes = array( 
  27. 'invoice_date' => 'string',  
  28. 'invoice_address' => 'invoice_address',  
  29. 'buyer_credit_card_prefix' => 'string',  
  30. 'custom_fields' => 'array[custom_fields]',  
  31. 'additional_currencies' => 'additional_currencies',  
  32. 'buyer_tax_number' => 'string',  
  33. 'custom_id' => 'string',  
  34. 'tax_country_code' => 'string',  
  35. 'force_country_code' => 'string',  
  36. 'buyer_email' => 'string',  
  37. 'original_transaction_key' => 'string',  
  38. 'buyer_ip' => 'string',  
  39. 'invoice_place' => 'string',  
  40. 'verification_token' => 'string',  
  41. 'tax_deducted' => 'bool',  
  42. 'buyer_name' => 'string',  
  43. 'evidence' => 'evidence',  
  44. 'custom_data' => 'string',  
  45. 'billing_country_code' => 'string',  
  46. 'invoice_number' => 'string',  
  47. 'currency_code' => 'string',  
  48. 'description' => 'string',  
  49. 'supply_date' => 'string',  
  50. 'transaction_lines' => 'array[input_transaction_line]',  
  51. 'order_date' => 'string' 
  52.  
  53. ); 
  54.  
  55. /** 
  56. * Invoice date of issue. 
  57. */ 
  58. public $invoice_date; // string 
  59. /** 
  60. * Invoice address. 
  61. */ 
  62. public $invoice_address; // invoice_address 
  63. /** 
  64. * Buyer's credit card prefix. 
  65. */ 
  66. public $buyer_credit_card_prefix; // string 
  67. /** 
  68. * Custom fields, stored as key-value pairs. This property is not processed and used mostly with Taxamo-built helpers. 
  69. */ 
  70. public $custom_fields; // array[custom_fields] 
  71. /** 
  72. * Additional currency information - can be used to receive additional information about invoice in another currency. 
  73. */ 
  74. public $additional_currencies; // additional_currencies 
  75. /** 
  76. * Buyer's tax number - EU VAT number for example. If using EU VAT number, it is possible to provide country code in it (e.g. IE1234567X) or simply use billing_country_code field for that. In the first case, if billing_country_code value was provided, it will be overwritten with country code value extracted from VAT number - but only if the VAT has been verified properly. 
  77. */ 
  78. public $buyer_tax_number; // string 
  79. /** 
  80. * Custom identifier provided upon transaction creation. 
  81. */ 
  82. public $custom_id; // string 
  83. /** 
  84. * Two-letter ISO country code, e.g. FR. This code applies to detected/set country for transaction, but can be set using manual mode. 
  85. */ 
  86. public $tax_country_code; // string 
  87. /** 
  88. * Two-letter ISO country code, e.g. FR. Use it to force country code for tax calculation. 
  89. */ 
  90. public $force_country_code; // string 
  91. /** 
  92. * Buyer's declared email address. 
  93. */ 
  94. public $buyer_email; // string 
  95. /** 
  96. * Use data and evidence from original transaction. Tax will be re-calculated, but evidence won't be re-checked. 
  97. */ 
  98. public $original_transaction_key; // string 
  99. /** 
  100. * IP address of the buyer in dotted decimal (IPv4) or text format (IPv6). 
  101. */ 
  102. public $buyer_ip; // string 
  103. /** 
  104. * Invoice place of issue. 
  105. */ 
  106. public $invoice_place; // string 
  107. /** 
  108. * Verification token 
  109. */ 
  110. public $verification_token; // string 
  111. /** 
  112. * True if the transaction deducted from tax and no tax is applied. Either set automatically when VAT number validates with VIES correctly, but can also be provided in manual mode. 
  113. */ 
  114. public $tax_deducted; // bool 
  115. /** 
  116. * Buyer's name - first name and last name or company name. 
  117. */ 
  118. public $buyer_name; // string 
  119. /** 
  120. * Tax country of residence evidence. 
  121. */ 
  122. public $evidence; // evidence 
  123. /** 
  124. * Custom data related to transaction. 
  125. */ 
  126. public $custom_data; // string 
  127. /** 
  128. * Billing two letter ISO country code. 
  129. */ 
  130. public $billing_country_code; // string 
  131. /** 
  132. * Invoice number. 
  133. */ 
  134. public $invoice_number; // string 
  135. /** 
  136. * Currency code for transaction - e.g. EUR. 
  137. */ 
  138. public $currency_code; // string 
  139. /** 
  140. * Transaction description. 
  141. */ 
  142. public $description; // string 
  143. /** 
  144. * Supply date in yyyy-MM-dd format. 
  145. */ 
  146. public $supply_date; // string 
  147. /** 
  148. * Transaction lines. 
  149. */ 
  150. public $transaction_lines; // array[input_transaction_line] 
  151. /** 
  152. * Order date in yyyy-MM-dd format, in merchant's timezone. If provided by the API caller, no timezone conversion is performed. Default value is current date and time. When using public token, the default value is used. 
  153. */ 
  154. public $order_date; // string 
.