OrderItemInterface.php 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Api\Data;
  7. /**
  8. * Order item interface.
  9. *
  10. * An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product
  11. * items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as
  12. * a purchase order, is emailed to the customer.
  13. * @api
  14. * @since 100.0.2
  15. */
  16. interface OrderItemInterface extends \Magento\Framework\Api\ExtensibleDataInterface
  17. {
  18. /**#@+
  19. * Constants for keys of data array. Identical to the name of the getter in snake case
  20. */
  21. /*
  22. * Item ID.
  23. */
  24. const ITEM_ID = 'item_id';
  25. /*
  26. * Order ID.
  27. */
  28. const ORDER_ID = 'order_id';
  29. /*
  30. * Parent item ID.
  31. */
  32. const PARENT_ITEM_ID = 'parent_item_id';
  33. /*
  34. * Quote item ID.
  35. */
  36. const QUOTE_ITEM_ID = 'quote_item_id';
  37. /*
  38. * Store ID.
  39. */
  40. const STORE_ID = 'store_id';
  41. /*
  42. * Created-at timestamp.
  43. */
  44. const CREATED_AT = 'created_at';
  45. /*
  46. * Updated-at timestamp.
  47. */
  48. const UPDATED_AT = 'updated_at';
  49. /*
  50. * Product ID.
  51. */
  52. const PRODUCT_ID = 'product_id';
  53. /*
  54. * Product type.
  55. */
  56. const PRODUCT_TYPE = 'product_type';
  57. /*
  58. * Weight.
  59. */
  60. const WEIGHT = 'weight';
  61. /*
  62. * Is-virtual flag.
  63. */
  64. const IS_VIRTUAL = 'is_virtual';
  65. /*
  66. * SKU.
  67. */
  68. const SKU = 'sku';
  69. /*
  70. * Name.
  71. */
  72. const NAME = 'name';
  73. /*
  74. * Description.
  75. */
  76. const DESCRIPTION = 'description';
  77. /*
  78. * Applied rule IDs.
  79. */
  80. const APPLIED_RULE_IDS = 'applied_rule_ids';
  81. /*
  82. * Additional data.
  83. */
  84. const ADDITIONAL_DATA = 'additional_data';
  85. /*
  86. * Is-quantity-decimal flag.
  87. */
  88. const IS_QTY_DECIMAL = 'is_qty_decimal';
  89. /*
  90. * No-discount flag.
  91. */
  92. const NO_DISCOUNT = 'no_discount';
  93. /*
  94. * Quantity backordered.
  95. */
  96. const QTY_BACKORDERED = 'qty_backordered';
  97. /*
  98. * Quantity canceled.
  99. */
  100. const QTY_CANCELED = 'qty_canceled';
  101. /*
  102. * Quantity invoiced.
  103. */
  104. const QTY_INVOICED = 'qty_invoiced';
  105. /*
  106. * Quantity ordered.
  107. */
  108. const QTY_ORDERED = 'qty_ordered';
  109. /*
  110. * Quantity refunded.
  111. */
  112. const QTY_REFUNDED = 'qty_refunded';
  113. /*
  114. * Quantity shipped.
  115. */
  116. const QTY_SHIPPED = 'qty_shipped';
  117. /*
  118. * Base cost.
  119. */
  120. const BASE_COST = 'base_cost';
  121. /*
  122. * Price.
  123. */
  124. const PRICE = 'price';
  125. /*
  126. * Base price.
  127. */
  128. const BASE_PRICE = 'base_price';
  129. /*
  130. * Original price.
  131. */
  132. const ORIGINAL_PRICE = 'original_price';
  133. /*
  134. * Base original price.
  135. */
  136. const BASE_ORIGINAL_PRICE = 'base_original_price';
  137. /*
  138. * Tax percent.
  139. */
  140. const TAX_PERCENT = 'tax_percent';
  141. /*
  142. * Tax amount.
  143. */
  144. const TAX_AMOUNT = 'tax_amount';
  145. /*
  146. * Base tax amount.
  147. */
  148. const BASE_TAX_AMOUNT = 'base_tax_amount';
  149. /*
  150. * Tax invoiced.
  151. */
  152. const TAX_INVOICED = 'tax_invoiced';
  153. /*
  154. * Base tax invoiced.
  155. */
  156. const BASE_TAX_INVOICED = 'base_tax_invoiced';
  157. /*
  158. * Discount percent.
  159. */
  160. const DISCOUNT_PERCENT = 'discount_percent';
  161. /*
  162. * Discount amount.
  163. */
  164. const DISCOUNT_AMOUNT = 'discount_amount';
  165. /*
  166. * Base discount amount.
  167. */
  168. const BASE_DISCOUNT_AMOUNT = 'base_discount_amount';
  169. /*
  170. * Discount invoiced.
  171. */
  172. const DISCOUNT_INVOICED = 'discount_invoiced';
  173. /*
  174. * Base discount invoiced.
  175. */
  176. const BASE_DISCOUNT_INVOICED = 'base_discount_invoiced';
  177. /*
  178. * Amount refunded.
  179. */
  180. const AMOUNT_REFUNDED = 'amount_refunded';
  181. /*
  182. * Base amount refunded.
  183. */
  184. const BASE_AMOUNT_REFUNDED = 'base_amount_refunded';
  185. /*
  186. * Row total.
  187. */
  188. const ROW_TOTAL = 'row_total';
  189. /*
  190. * Base row total.
  191. */
  192. const BASE_ROW_TOTAL = 'base_row_total';
  193. /*
  194. * Row invoiced.
  195. */
  196. const ROW_INVOICED = 'row_invoiced';
  197. /*
  198. * Base row invoiced.
  199. */
  200. const BASE_ROW_INVOICED = 'base_row_invoiced';
  201. /*
  202. * Row weight.
  203. */
  204. const ROW_WEIGHT = 'row_weight';
  205. /*
  206. * Base tax before discount.
  207. */
  208. const BASE_TAX_BEFORE_DISCOUNT = 'base_tax_before_discount';
  209. /*
  210. * Tax before discount.
  211. */
  212. const TAX_BEFORE_DISCOUNT = 'tax_before_discount';
  213. /*
  214. * External order item ID.
  215. */
  216. const EXT_ORDER_ITEM_ID = 'ext_order_item_id';
  217. /*
  218. * Locked DO invoice.
  219. */
  220. const LOCKED_DO_INVOICE = 'locked_do_invoice';
  221. /*
  222. * Locked DO ship.
  223. */
  224. const LOCKED_DO_SHIP = 'locked_do_ship';
  225. /*
  226. * Price including tax.
  227. */
  228. const PRICE_INCL_TAX = 'price_incl_tax';
  229. /*
  230. * Base price including tax.
  231. */
  232. const BASE_PRICE_INCL_TAX = 'base_price_incl_tax';
  233. /*
  234. * Row total including tax.
  235. */
  236. const ROW_TOTAL_INCL_TAX = 'row_total_incl_tax';
  237. /*
  238. * Base row total including tax.
  239. */
  240. const BASE_ROW_TOTAL_INCL_TAX = 'base_row_total_incl_tax';
  241. /*
  242. * Discount tax compensation amount.
  243. */
  244. const DISCOUNT_TAX_COMPENSATION_AMOUNT = 'discount_tax_compensation_amount';
  245. /*
  246. * Base discount tax compensation amount.
  247. */
  248. const BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT = 'base_discount_tax_compensation_amount';
  249. /*
  250. * Discount tax compensation invoiced.
  251. */
  252. const DISCOUNT_TAX_COMPENSATION_INVOICED = 'discount_tax_compensation_invoiced';
  253. /*
  254. * Base discount tax compensation invoiced.
  255. */
  256. const BASE_DISCOUNT_TAX_COMPENSATION_INVOICED = 'base_discount_tax_compensation_invoiced';
  257. /*
  258. * Discount tax compensation refunded.
  259. */
  260. const DISCOUNT_TAX_COMPENSATION_REFUNDED = 'discount_tax_compensation_refunded';
  261. /*
  262. * Base discount tax compensation refunded.
  263. */
  264. const BASE_DISCOUNT_TAX_COMPENSATION_REFUNDED = 'base_discount_tax_compensation_refunded';
  265. /*
  266. * Tax canceled flag
  267. */
  268. const TAX_CANCELED = 'tax_canceled';
  269. /*
  270. * Discount-tax-compensation-canceled flag.
  271. */
  272. const DISCOUNT_TAX_COMPENSATION_CANCELED = 'discount_tax_compensation_canceled';
  273. /*
  274. * Tax refunded.
  275. */
  276. const TAX_REFUNDED = 'tax_refunded';
  277. /*
  278. * Base tax refunded.
  279. */
  280. const BASE_TAX_REFUNDED = 'base_tax_refunded';
  281. /*
  282. * Discount refunded.
  283. */
  284. const DISCOUNT_REFUNDED = 'discount_refunded';
  285. /*
  286. * Base discount refunded.
  287. */
  288. const BASE_DISCOUNT_REFUNDED = 'base_discount_refunded';
  289. /*
  290. * GW ID.
  291. */
  292. const GW_ID = 'gw_id';
  293. /*
  294. * GW base price.
  295. */
  296. const GW_BASE_PRICE = 'gw_base_price';
  297. /*
  298. * GW price.
  299. */
  300. const GW_PRICE = 'gw_price';
  301. /*
  302. * GW base tax amount.
  303. */
  304. const GW_BASE_TAX_AMOUNT = 'gw_base_tax_amount';
  305. /*
  306. * GW tax amount.
  307. */
  308. const GW_TAX_AMOUNT = 'gw_tax_amount';
  309. /*
  310. * GW base price invoiced.
  311. */
  312. const GW_BASE_PRICE_INVOICED = 'gw_base_price_invoiced';
  313. /*
  314. * GW price invoiced.
  315. */
  316. const GW_PRICE_INVOICED = 'gw_price_invoiced';
  317. /*
  318. * GW base tax amount invoiced.
  319. */
  320. const GW_BASE_TAX_AMOUNT_INVOICED = 'gw_base_tax_amount_invoiced';
  321. /*
  322. * GW tax amount invoiced.
  323. */
  324. const GW_TAX_AMOUNT_INVOICED = 'gw_tax_amount_invoiced';
  325. /*
  326. * GW base price refunded.
  327. */
  328. const GW_BASE_PRICE_REFUNDED = 'gw_base_price_refunded';
  329. /*
  330. * GW price refunded.
  331. */
  332. const GW_PRICE_REFUNDED = 'gw_price_refunded';
  333. /*
  334. * GW base tax amount refunded.
  335. */
  336. const GW_BASE_TAX_AMOUNT_REFUNDED = 'gw_base_tax_amount_refunded';
  337. /*
  338. * GW tax amount refunded.
  339. */
  340. const GW_TAX_AMOUNT_REFUNDED = 'gw_tax_amount_refunded';
  341. /*
  342. * Free shipping.
  343. */
  344. const FREE_SHIPPING = 'free_shipping';
  345. /*
  346. * Quantity returned.
  347. */
  348. const QTY_RETURNED = 'qty_returned';
  349. /*
  350. * Event ID.
  351. */
  352. const EVENT_ID = 'event_id';
  353. /*
  354. * Base WEEE tax applied amount.
  355. */
  356. const BASE_WEEE_TAX_APPLIED_AMOUNT = 'base_weee_tax_applied_amount';
  357. /*
  358. * Base WEEE tax applied row amount.
  359. */
  360. const BASE_WEEE_TAX_APPLIED_ROW_AMNT = 'base_weee_tax_applied_row_amnt';
  361. /*
  362. * WEEE tax applied amount.
  363. */
  364. const WEEE_TAX_APPLIED_AMOUNT = 'weee_tax_applied_amount';
  365. /*
  366. * WEEE tax applied row amount.
  367. */
  368. const WEEE_TAX_APPLIED_ROW_AMOUNT = 'weee_tax_applied_row_amount';
  369. /*
  370. * WEEE tax applied.
  371. */
  372. const WEEE_TAX_APPLIED = 'weee_tax_applied';
  373. /*
  374. * WEEE tax disposition.
  375. */
  376. const WEEE_TAX_DISPOSITION = 'weee_tax_disposition';
  377. /*
  378. * WEEE tax row disposition.
  379. */
  380. const WEEE_TAX_ROW_DISPOSITION = 'weee_tax_row_disposition';
  381. /*
  382. * Base WEEE tax disposition.
  383. */
  384. const BASE_WEEE_TAX_DISPOSITION = 'base_weee_tax_disposition';
  385. /*
  386. * Base WEEE tax row disposition.
  387. */
  388. const BASE_WEEE_TAX_ROW_DISPOSITION = 'base_weee_tax_row_disposition';
  389. /**
  390. * Parent Item
  391. */
  392. const PARENT_ITEM = 'parent_item';
  393. /**
  394. * Product Option
  395. */
  396. const KEY_PRODUCT_OPTION = 'product_option';
  397. /**
  398. * Gets the additional data for the order item.
  399. *
  400. * @return string|null Additional data.
  401. */
  402. public function getAdditionalData();
  403. /**
  404. * Gets the amount refunded for the order item.
  405. *
  406. * @return float|null Amount refunded.
  407. */
  408. public function getAmountRefunded();
  409. /**
  410. * Gets the applied rule IDs for the order item.
  411. *
  412. * Rules are comma separated if there are more than one.
  413. *
  414. * @return string|null Applied rule IDs.
  415. */
  416. public function getAppliedRuleIds();
  417. /**
  418. * Gets the base amount refunded for the order item.
  419. *
  420. * @return float|null Base amount refunded.
  421. */
  422. public function getBaseAmountRefunded();
  423. /**
  424. * Gets the base cost for the order item.
  425. *
  426. * @return float|null Base cost.
  427. */
  428. public function getBaseCost();
  429. /**
  430. * Gets the base discount amount for the order item.
  431. *
  432. * @return float|null Base discount amount.
  433. */
  434. public function getBaseDiscountAmount();
  435. /**
  436. * Gets the base discount invoiced for the order item.
  437. *
  438. * @return float|null Base discount invoiced.
  439. */
  440. public function getBaseDiscountInvoiced();
  441. /**
  442. * Gets the base discount refunded for the order item.
  443. *
  444. * @return float|null Base discount refunded.
  445. */
  446. public function getBaseDiscountRefunded();
  447. /**
  448. * Gets the base discount tax compensation amount for the order item.
  449. *
  450. * @return float|null Base discount tax compensation amount.
  451. */
  452. public function getBaseDiscountTaxCompensationAmount();
  453. /**
  454. * Gets the base discount tax compensation invoiced for the order item.
  455. *
  456. * @return float|null Base discount tax compensation invoiced.
  457. */
  458. public function getBaseDiscountTaxCompensationInvoiced();
  459. /**
  460. * Gets the base discount tax compensation refunded for the order item.
  461. *
  462. * @return float|null Base discount tax compensation refunded.
  463. */
  464. public function getBaseDiscountTaxCompensationRefunded();
  465. /**
  466. * Gets the base original price for the order item.
  467. *
  468. * @return float|null Base original price.
  469. */
  470. public function getBaseOriginalPrice();
  471. /**
  472. * Gets the base price for the order item.
  473. *
  474. * @return float|null Base price.
  475. */
  476. public function getBasePrice();
  477. /**
  478. * Gets the base price including tax for the order item.
  479. *
  480. * @return float|null Base price including tax.
  481. */
  482. public function getBasePriceInclTax();
  483. /**
  484. * Gets the base row invoiced for the order item.
  485. *
  486. * @return float|null Base row invoiced.
  487. */
  488. public function getBaseRowInvoiced();
  489. /**
  490. * Gets the base row total for the order item.
  491. *
  492. * @return float|null Base row total.
  493. */
  494. public function getBaseRowTotal();
  495. /**
  496. * Gets the base row total including tax for the order item.
  497. *
  498. * @return float|null Base row total including tax.
  499. */
  500. public function getBaseRowTotalInclTax();
  501. /**
  502. * Gets the base tax amount for the order item.
  503. *
  504. * @return float|null Base tax amount.
  505. */
  506. public function getBaseTaxAmount();
  507. /**
  508. * Gets the base tax before discount for the order item.
  509. *
  510. * @return float|null Base tax before discount.
  511. */
  512. public function getBaseTaxBeforeDiscount();
  513. /**
  514. * Gets the base tax invoiced for the order item.
  515. *
  516. * @return float|null Base tax invoiced.
  517. */
  518. public function getBaseTaxInvoiced();
  519. /**
  520. * Gets the base tax refunded for the order item.
  521. *
  522. * @return float|null Base tax refunded.
  523. */
  524. public function getBaseTaxRefunded();
  525. /**
  526. * Gets the base WEEE tax applied amount for the order item.
  527. *
  528. * @return float|null Base WEEE tax applied amount.
  529. */
  530. public function getBaseWeeeTaxAppliedAmount();
  531. /**
  532. * Gets the base WEEE tax applied row amount for the order item.
  533. *
  534. * @return float|null Base WEEE tax applied row amount.
  535. */
  536. public function getBaseWeeeTaxAppliedRowAmnt();
  537. /**
  538. * Gets the base WEEE tax disposition for the order item.
  539. *
  540. * @return float|null Base WEEE tax disposition.
  541. */
  542. public function getBaseWeeeTaxDisposition();
  543. /**
  544. * Gets the base WEEE tax row disposition for the order item.
  545. *
  546. * @return float|null Base WEEE tax row disposition.
  547. */
  548. public function getBaseWeeeTaxRowDisposition();
  549. /**
  550. * Gets the created-at timestamp for the order item.
  551. *
  552. * @return string|null Created-at timestamp.
  553. */
  554. public function getCreatedAt();
  555. /**
  556. * Sets the created-at timestamp for the order item.
  557. *
  558. * @param string $createdAt timestamp
  559. * @return $this
  560. */
  561. public function setCreatedAt($createdAt);
  562. /**
  563. * Gets the description for the order item.
  564. *
  565. * @return string|null Description.
  566. */
  567. public function getDescription();
  568. /**
  569. * Gets the discount amount for the order item.
  570. *
  571. * @return float|null Discount amount.
  572. */
  573. public function getDiscountAmount();
  574. /**
  575. * Gets the discount invoiced for the order item.
  576. *
  577. * @return float|null Discount invoiced.
  578. */
  579. public function getDiscountInvoiced();
  580. /**
  581. * Gets the discount percent for the order item.
  582. *
  583. * @return float|null Discount percent.
  584. */
  585. public function getDiscountPercent();
  586. /**
  587. * Gets the discount refunded for the order item.
  588. *
  589. * @return float|null Discount refunded.
  590. */
  591. public function getDiscountRefunded();
  592. /**
  593. * Gets the event ID for the order item.
  594. *
  595. * @return int|null Event ID.
  596. */
  597. public function getEventId();
  598. /**
  599. * Gets the external order item ID for the order item.
  600. *
  601. * @return string|null External order item ID.
  602. */
  603. public function getExtOrderItemId();
  604. /**
  605. * Gets the free-shipping flag value for the order item.
  606. *
  607. * @return int|null Free-shipping flag value.
  608. */
  609. public function getFreeShipping();
  610. /**
  611. * Gets the GW base price for the order item.
  612. *
  613. * @return float|null GW base price.
  614. */
  615. public function getGwBasePrice();
  616. /**
  617. * Gets the GW base price invoiced for the order item.
  618. *
  619. * @return float|null GW base price invoiced.
  620. */
  621. public function getGwBasePriceInvoiced();
  622. /**
  623. * Gets the GW base price refunded for the order item.
  624. *
  625. * @return float|null GW base price refunded.
  626. */
  627. public function getGwBasePriceRefunded();
  628. /**
  629. * Gets the GW base tax amount for the order item.
  630. *
  631. * @return float|null GW base tax amount.
  632. */
  633. public function getGwBaseTaxAmount();
  634. /**
  635. * Gets the GW base tax amount invoiced for the order item.
  636. *
  637. * @return float|null GW base tax amount invoiced.
  638. */
  639. public function getGwBaseTaxAmountInvoiced();
  640. /**
  641. * Gets the GW base tax amount refunded for the order item.
  642. *
  643. * @return float|null GW base tax amount refunded.
  644. */
  645. public function getGwBaseTaxAmountRefunded();
  646. /**
  647. * Gets the GW ID for the order item.
  648. *
  649. * @return int|null GW ID.
  650. */
  651. public function getGwId();
  652. /**
  653. * Gets the GW price for the order item.
  654. *
  655. * @return float|null GW price.
  656. */
  657. public function getGwPrice();
  658. /**
  659. * Gets the GW price invoiced for the order item.
  660. *
  661. * @return float|null GW price invoiced.
  662. */
  663. public function getGwPriceInvoiced();
  664. /**
  665. * Gets the GW price refunded for the order item.
  666. *
  667. * @return float|null GW price refunded.
  668. */
  669. public function getGwPriceRefunded();
  670. /**
  671. * Gets the GW tax amount for the order item.
  672. *
  673. * @return float|null GW tax amount.
  674. */
  675. public function getGwTaxAmount();
  676. /**
  677. * Gets the GW tax amount invoiced for the order item.
  678. *
  679. * @return float|null GW tax amount invoiced.
  680. */
  681. public function getGwTaxAmountInvoiced();
  682. /**
  683. * Gets the GW tax amount refunded for the order item.
  684. *
  685. * @return float|null GW tax amount refunded.
  686. */
  687. public function getGwTaxAmountRefunded();
  688. /**
  689. * Gets the discount tax compensation amount for the order item.
  690. *
  691. * @return float|null Discount tax compensation amount.
  692. */
  693. public function getDiscountTaxCompensationAmount();
  694. /**
  695. * Gets the discount tax compensation canceled for the order item.
  696. *
  697. * @return float|null Discount tax compensation canceled.
  698. */
  699. public function getDiscountTaxCompensationCanceled();
  700. /**
  701. * Gets the discount tax compensation invoiced for the order item.
  702. *
  703. * @return float|null Discount tax compensation invoiced.
  704. */
  705. public function getDiscountTaxCompensationInvoiced();
  706. /**
  707. * Gets the discount tax compensation refunded for the order item.
  708. *
  709. * @return float|null Discount tax compensation refunded.
  710. */
  711. public function getDiscountTaxCompensationRefunded();
  712. /**
  713. * Gets the is-quantity-decimal flag value for the order item.
  714. *
  715. * @return int|null Is-quantity-decimal flag value.
  716. */
  717. public function getIsQtyDecimal();
  718. /**
  719. * Gets the is-virtual flag value for the order item.
  720. *
  721. * @return int|null Is-virtual flag value.
  722. */
  723. public function getIsVirtual();
  724. /**
  725. * Gets the item ID for the order item.
  726. *
  727. * @return int|null Item ID.
  728. */
  729. public function getItemId();
  730. /**
  731. * Gets the locked DO invoice flag value for the order item.
  732. *
  733. * @return int|null Locked DO invoice flag value.
  734. */
  735. public function getLockedDoInvoice();
  736. /**
  737. * Gets the locked DO ship flag value for the order item.
  738. *
  739. * @return int|null Locked DO ship flag value.
  740. */
  741. public function getLockedDoShip();
  742. /**
  743. * Gets the name for the order item.
  744. *
  745. * @return string|null Name.
  746. */
  747. public function getName();
  748. /**
  749. * Gets the no discount flag value for the order item.
  750. *
  751. * @return int|null No-discount flag value.
  752. */
  753. public function getNoDiscount();
  754. /**
  755. * Gets the order ID for the order item.
  756. *
  757. * @return int|null Order ID.
  758. */
  759. public function getOrderId();
  760. /**
  761. * Gets the original price for the order item.
  762. *
  763. * @return float|null Original price.
  764. */
  765. public function getOriginalPrice();
  766. /**
  767. * Gets the parent item ID for the order item.
  768. *
  769. * @return int|null Parent item ID.
  770. */
  771. public function getParentItemId();
  772. /**
  773. * Gets the price for the order item.
  774. *
  775. * @return float|null Price.
  776. */
  777. public function getPrice();
  778. /**
  779. * Gets the price including tax for the order item.
  780. *
  781. * @return float|null Price including tax.
  782. */
  783. public function getPriceInclTax();
  784. /**
  785. * Gets the product ID for the order item.
  786. *
  787. * @return int|null Product ID.
  788. */
  789. public function getProductId();
  790. /**
  791. * Gets the product type for the order item.
  792. *
  793. * @return string|null Product type.
  794. */
  795. public function getProductType();
  796. /**
  797. * Gets the quantity backordered for the order item.
  798. *
  799. * @return float|null Quantity backordered.
  800. */
  801. public function getQtyBackordered();
  802. /**
  803. * Gets the quantity canceled for the order item.
  804. *
  805. * @return float|null Quantity canceled.
  806. */
  807. public function getQtyCanceled();
  808. /**
  809. * Gets the quantity invoiced for the order item.
  810. *
  811. * @return float|null Quantity invoiced.
  812. */
  813. public function getQtyInvoiced();
  814. /**
  815. * Gets the quantity ordered for the order item.
  816. *
  817. * @return float|null Quantity ordered.
  818. */
  819. public function getQtyOrdered();
  820. /**
  821. * Gets the quantity refunded for the order item.
  822. *
  823. * @return float|null Quantity refunded.
  824. */
  825. public function getQtyRefunded();
  826. /**
  827. * Gets the quantity returned for the order item.
  828. *
  829. * @return float|null Quantity returned.
  830. */
  831. public function getQtyReturned();
  832. /**
  833. * Gets the quantity shipped for the order item.
  834. *
  835. * @return float|null Quantity shipped.
  836. */
  837. public function getQtyShipped();
  838. /**
  839. * Gets the quote item ID for the order item.
  840. *
  841. * @return int|null Quote item ID.
  842. */
  843. public function getQuoteItemId();
  844. /**
  845. * Gets the row invoiced for the order item.
  846. *
  847. * @return float|null Row invoiced.
  848. */
  849. public function getRowInvoiced();
  850. /**
  851. * Gets the row total for the order item.
  852. *
  853. * @return float|null Row total.
  854. */
  855. public function getRowTotal();
  856. /**
  857. * Gets the row total including tax for the order item.
  858. *
  859. * @return float|null Row total including tax.
  860. */
  861. public function getRowTotalInclTax();
  862. /**
  863. * Gets the row weight for the order item.
  864. *
  865. * @return float|null Row weight.
  866. */
  867. public function getRowWeight();
  868. /**
  869. * Gets the SKU for the order item.
  870. *
  871. * @return string SKU.
  872. */
  873. public function getSku();
  874. /**
  875. * Gets the store ID for the order item.
  876. *
  877. * @return int|null Store ID.
  878. */
  879. public function getStoreId();
  880. /**
  881. * Gets the tax amount for the order item.
  882. *
  883. * @return float|null Tax amount.
  884. */
  885. public function getTaxAmount();
  886. /**
  887. * Gets the tax before discount for the order item.
  888. *
  889. * @return float|null Tax before discount.
  890. */
  891. public function getTaxBeforeDiscount();
  892. /**
  893. * Gets the tax canceled for the order item.
  894. *
  895. * @return float|null Tax canceled.
  896. */
  897. public function getTaxCanceled();
  898. /**
  899. * Gets the tax invoiced for the order item.
  900. *
  901. * @return float|null Tax invoiced.
  902. */
  903. public function getTaxInvoiced();
  904. /**
  905. * Gets the tax percent for the order item.
  906. *
  907. * @return float|null Tax percent.
  908. */
  909. public function getTaxPercent();
  910. /**
  911. * Gets the tax refunded for the order item.
  912. *
  913. * @return float|null Tax refunded.
  914. */
  915. public function getTaxRefunded();
  916. /**
  917. * Gets the updated-at timestamp for the order item.
  918. *
  919. * @return string|null Updated-at timestamp.
  920. */
  921. public function getUpdatedAt();
  922. /**
  923. * Gets the WEEE tax applied for the order item.
  924. *
  925. * @return string|null WEEE tax applied.
  926. */
  927. public function getWeeeTaxApplied();
  928. /**
  929. * Gets the WEEE tax applied amount for the order item.
  930. *
  931. * @return float|null WEEE tax applied amount.
  932. */
  933. public function getWeeeTaxAppliedAmount();
  934. /**
  935. * Gets the WEEE tax applied row amount for the order item.
  936. *
  937. * @return float|null WEEE tax applied row amount.
  938. */
  939. public function getWeeeTaxAppliedRowAmount();
  940. /**
  941. * Gets the WEEE tax disposition for the order item.
  942. *
  943. * @return float|null WEEE tax disposition.
  944. */
  945. public function getWeeeTaxDisposition();
  946. /**
  947. * Gets the WEEE tax row disposition for the order item.
  948. *
  949. * @return float|null WEEE tax row disposition.
  950. */
  951. public function getWeeeTaxRowDisposition();
  952. /**
  953. * Gets the weight for the order item.
  954. *
  955. * @return float|null Weight.
  956. */
  957. public function getWeight();
  958. /**
  959. * Gets the parent item
  960. *
  961. * @return \Magento\Sales\Api\Data\OrderItemInterface|null Parent item
  962. */
  963. public function getParentItem();
  964. /**
  965. * Sets the parent item
  966. *
  967. * @param \Magento\Sales\Api\Data\OrderItemInterface $parentItem
  968. * @return $this
  969. */
  970. public function setParentItem($parentItem);
  971. /**
  972. * Sets the updated-at timestamp for the order item.
  973. *
  974. * @param string $timestamp
  975. * @return $this
  976. */
  977. public function setUpdatedAt($timestamp);
  978. /**
  979. * Sets the item ID for the order item.
  980. *
  981. * @param int $id
  982. * @return $this
  983. */
  984. public function setItemId($id);
  985. /**
  986. * Sets the order ID for the order item.
  987. *
  988. * @param int $id
  989. * @return $this
  990. */
  991. public function setOrderId($id);
  992. /**
  993. * Sets the parent item ID for the order item.
  994. *
  995. * @param int $id
  996. * @return $this
  997. */
  998. public function setParentItemId($id);
  999. /**
  1000. * Sets the quote item ID for the order item.
  1001. *
  1002. * @param int $id
  1003. * @return $this
  1004. */
  1005. public function setQuoteItemId($id);
  1006. /**
  1007. * Sets the store ID for the order item.
  1008. *
  1009. * @param int $id
  1010. * @return $this
  1011. */
  1012. public function setStoreId($id);
  1013. /**
  1014. * Sets the product ID for the order item.
  1015. *
  1016. * @param int $id
  1017. * @return $this
  1018. */
  1019. public function setProductId($id);
  1020. /**
  1021. * Sets the product type for the order item.
  1022. *
  1023. * @param string $productType
  1024. * @return $this
  1025. */
  1026. public function setProductType($productType);
  1027. /**
  1028. * Sets the weight for the order item.
  1029. *
  1030. * @param float $weight
  1031. * @return $this
  1032. */
  1033. public function setWeight($weight);
  1034. /**
  1035. * Sets the is-virtual flag value for the order item.
  1036. *
  1037. * @param int $isVirtual
  1038. * @return $this
  1039. */
  1040. public function setIsVirtual($isVirtual);
  1041. /**
  1042. * Sets the SKU for the order item.
  1043. *
  1044. * @param string $sku
  1045. * @return $this
  1046. */
  1047. public function setSku($sku);
  1048. /**
  1049. * Sets the name for the order item.
  1050. *
  1051. * @param string $name
  1052. * @return $this
  1053. */
  1054. public function setName($name);
  1055. /**
  1056. * Sets the description for the order item.
  1057. *
  1058. * @param string $description
  1059. * @return $this
  1060. */
  1061. public function setDescription($description);
  1062. /**
  1063. * Sets the applied rule IDs for the order item.
  1064. *
  1065. * @param string $appliedRuleIds
  1066. * @return $this
  1067. */
  1068. public function setAppliedRuleIds($appliedRuleIds);
  1069. /**
  1070. * Sets the additional data for the order item.
  1071. *
  1072. * @param string $additionalData
  1073. * @return $this
  1074. */
  1075. public function setAdditionalData($additionalData);
  1076. /**
  1077. * Sets the is-quantity-decimal flag value for the order item.
  1078. *
  1079. * @param int $isQtyDecimal
  1080. * @return $this
  1081. */
  1082. public function setIsQtyDecimal($isQtyDecimal);
  1083. /**
  1084. * Sets the no discount flag value for the order item.
  1085. *
  1086. * @param int $noDiscount
  1087. * @return $this
  1088. */
  1089. public function setNoDiscount($noDiscount);
  1090. /**
  1091. * Sets the quantity backordered for the order item.
  1092. *
  1093. * @param float $qtyBackordered
  1094. * @return $this
  1095. */
  1096. public function setQtyBackordered($qtyBackordered);
  1097. /**
  1098. * Sets the quantity canceled for the order item.
  1099. *
  1100. * @param float $qtyCanceled
  1101. * @return $this
  1102. */
  1103. public function setQtyCanceled($qtyCanceled);
  1104. /**
  1105. * Sets the quantity invoiced for the order item.
  1106. *
  1107. * @param float $qtyInvoiced
  1108. * @return $this
  1109. */
  1110. public function setQtyInvoiced($qtyInvoiced);
  1111. /**
  1112. * Sets the quantity ordered for the order item.
  1113. *
  1114. * @param float $qtyOrdered
  1115. * @return $this
  1116. */
  1117. public function setQtyOrdered($qtyOrdered);
  1118. /**
  1119. * Sets the quantity refunded for the order item.
  1120. *
  1121. * @param float $qtyRefunded
  1122. * @return $this
  1123. */
  1124. public function setQtyRefunded($qtyRefunded);
  1125. /**
  1126. * Sets the quantity shipped for the order item.
  1127. *
  1128. * @param float $qtyShipped
  1129. * @return $this
  1130. */
  1131. public function setQtyShipped($qtyShipped);
  1132. /**
  1133. * Sets the base cost for the order item.
  1134. *
  1135. * @param float $baseCost
  1136. * @return $this
  1137. */
  1138. public function setBaseCost($baseCost);
  1139. /**
  1140. * Sets the price for the order item.
  1141. *
  1142. * @param float $price
  1143. * @return $this
  1144. */
  1145. public function setPrice($price);
  1146. /**
  1147. * Sets the base price for the order item.
  1148. *
  1149. * @param float $price
  1150. * @return $this
  1151. */
  1152. public function setBasePrice($price);
  1153. /**
  1154. * Sets the original price for the order item.
  1155. *
  1156. * @param float $price
  1157. * @return $this
  1158. */
  1159. public function setOriginalPrice($price);
  1160. /**
  1161. * Sets the base original price for the order item.
  1162. *
  1163. * @param float $price
  1164. * @return $this
  1165. */
  1166. public function setBaseOriginalPrice($price);
  1167. /**
  1168. * Sets the tax percent for the order item.
  1169. *
  1170. * @param float $taxPercent
  1171. * @return $this
  1172. */
  1173. public function setTaxPercent($taxPercent);
  1174. /**
  1175. * Sets the tax amount for the order item.
  1176. *
  1177. * @param float $amount
  1178. * @return $this
  1179. */
  1180. public function setTaxAmount($amount);
  1181. /**
  1182. * Sets the base tax amount for the order item.
  1183. *
  1184. * @param float $amount
  1185. * @return $this
  1186. */
  1187. public function setBaseTaxAmount($amount);
  1188. /**
  1189. * Sets the tax invoiced for the order item.
  1190. *
  1191. * @param float $taxInvoiced
  1192. * @return $this
  1193. */
  1194. public function setTaxInvoiced($taxInvoiced);
  1195. /**
  1196. * Sets the base tax invoiced for the order item.
  1197. *
  1198. * @param float $baseTaxInvoiced
  1199. * @return $this
  1200. */
  1201. public function setBaseTaxInvoiced($baseTaxInvoiced);
  1202. /**
  1203. * Sets the discount percent for the order item.
  1204. *
  1205. * @param float $discountPercent
  1206. * @return $this
  1207. */
  1208. public function setDiscountPercent($discountPercent);
  1209. /**
  1210. * Sets the discount amount for the order item.
  1211. *
  1212. * @param float $amount
  1213. * @return $this
  1214. */
  1215. public function setDiscountAmount($amount);
  1216. /**
  1217. * Sets the base discount amount for the order item.
  1218. *
  1219. * @param float $amount
  1220. * @return $this
  1221. */
  1222. public function setBaseDiscountAmount($amount);
  1223. /**
  1224. * Sets the discount invoiced for the order item.
  1225. *
  1226. * @param float $discountInvoiced
  1227. * @return $this
  1228. */
  1229. public function setDiscountInvoiced($discountInvoiced);
  1230. /**
  1231. * Sets the base discount invoiced for the order item.
  1232. *
  1233. * @param float $baseDiscountInvoiced
  1234. * @return $this
  1235. */
  1236. public function setBaseDiscountInvoiced($baseDiscountInvoiced);
  1237. /**
  1238. * Sets the amount refunded for the order item.
  1239. *
  1240. * @param float $amountRefunded
  1241. * @return $this
  1242. */
  1243. public function setAmountRefunded($amountRefunded);
  1244. /**
  1245. * Sets the base amount refunded for the order item.
  1246. *
  1247. * @param float $baseAmountRefunded
  1248. * @return $this
  1249. */
  1250. public function setBaseAmountRefunded($baseAmountRefunded);
  1251. /**
  1252. * Sets the row total for the order item.
  1253. *
  1254. * @param float $amount
  1255. * @return $this
  1256. */
  1257. public function setRowTotal($amount);
  1258. /**
  1259. * Sets the base row total for the order item.
  1260. *
  1261. * @param float $amount
  1262. * @return $this
  1263. */
  1264. public function setBaseRowTotal($amount);
  1265. /**
  1266. * Sets the row invoiced for the order item.
  1267. *
  1268. * @param float $rowInvoiced
  1269. * @return $this
  1270. */
  1271. public function setRowInvoiced($rowInvoiced);
  1272. /**
  1273. * Sets the base row invoiced for the order item.
  1274. *
  1275. * @param float $baseRowInvoiced
  1276. * @return $this
  1277. */
  1278. public function setBaseRowInvoiced($baseRowInvoiced);
  1279. /**
  1280. * Sets the row weight for the order item.
  1281. *
  1282. * @param float $rowWeight
  1283. * @return $this
  1284. */
  1285. public function setRowWeight($rowWeight);
  1286. /**
  1287. * Sets the base tax before discount for the order item.
  1288. *
  1289. * @param float $baseTaxBeforeDiscount
  1290. * @return $this
  1291. */
  1292. public function setBaseTaxBeforeDiscount($baseTaxBeforeDiscount);
  1293. /**
  1294. * Sets the tax before discount for the order item.
  1295. *
  1296. * @param float $taxBeforeDiscount
  1297. * @return $this
  1298. */
  1299. public function setTaxBeforeDiscount($taxBeforeDiscount);
  1300. /**
  1301. * Sets the external order item ID for the order item.
  1302. *
  1303. * @param string $id
  1304. * @return $this
  1305. */
  1306. public function setExtOrderItemId($id);
  1307. /**
  1308. * Sets the locked DO invoice flag value for the order item.
  1309. *
  1310. * @param int $flag
  1311. * @return $this
  1312. */
  1313. public function setLockedDoInvoice($flag);
  1314. /**
  1315. * Sets the locked DO ship flag value for the order item.
  1316. *
  1317. * @param int $flag
  1318. * @return $this
  1319. */
  1320. public function setLockedDoShip($flag);
  1321. /**
  1322. * Sets the price including tax for the order item.
  1323. *
  1324. * @param float $amount
  1325. * @return $this
  1326. */
  1327. public function setPriceInclTax($amount);
  1328. /**
  1329. * Sets the base price including tax for the order item.
  1330. *
  1331. * @param float $amount
  1332. * @return $this
  1333. */
  1334. public function setBasePriceInclTax($amount);
  1335. /**
  1336. * Sets the row total including tax for the order item.
  1337. *
  1338. * @param float $amount
  1339. * @return $this
  1340. */
  1341. public function setRowTotalInclTax($amount);
  1342. /**
  1343. * Sets the base row total including tax for the order item.
  1344. *
  1345. * @param float $amount
  1346. * @return $this
  1347. */
  1348. public function setBaseRowTotalInclTax($amount);
  1349. /**
  1350. * Sets the discount tax compensation amount for the order item.
  1351. *
  1352. * @param float $amount
  1353. * @return $this
  1354. */
  1355. public function setDiscountTaxCompensationAmount($amount);
  1356. /**
  1357. * Sets the base discount tax compensation amount for the order item.
  1358. *
  1359. * @param float $amount
  1360. * @return $this
  1361. */
  1362. public function setBaseDiscountTaxCompensationAmount($amount);
  1363. /**
  1364. * Sets the discount tax compensation invoiced for the order item.
  1365. *
  1366. * @param float $discountTaxCompensationInvoiced
  1367. * @return $this
  1368. */
  1369. public function setDiscountTaxCompensationInvoiced($discountTaxCompensationInvoiced);
  1370. /**
  1371. * Sets the base discount tax compensation invoiced for the order item.
  1372. *
  1373. * @param float $baseDiscountTaxCompensationInvoiced
  1374. * @return $this
  1375. */
  1376. public function setBaseDiscountTaxCompensationInvoiced($baseDiscountTaxCompensationInvoiced);
  1377. /**
  1378. * Sets the discount tax compensation refunded for the order item.
  1379. *
  1380. * @param float $discountTaxCompensationRefunded
  1381. * @return $this
  1382. */
  1383. public function setDiscountTaxCompensationRefunded($discountTaxCompensationRefunded);
  1384. /**
  1385. * Sets the base discount tax compensation refunded for the order item.
  1386. *
  1387. * @param float $baseDiscountTaxCompensationRefunded
  1388. * @return $this
  1389. */
  1390. public function setBaseDiscountTaxCompensationRefunded($baseDiscountTaxCompensationRefunded);
  1391. /**
  1392. * Sets the tax canceled for the order item.
  1393. *
  1394. * @param float $taxCanceled
  1395. * @return $this
  1396. */
  1397. public function setTaxCanceled($taxCanceled);
  1398. /**
  1399. * Sets the discount tax compensation canceled for the order item.
  1400. *
  1401. * @param float $discountTaxCompensationCanceled
  1402. * @return $this
  1403. */
  1404. public function setDiscountTaxCompensationCanceled($discountTaxCompensationCanceled);
  1405. /**
  1406. * Sets the tax refunded for the order item.
  1407. *
  1408. * @param float $taxRefunded
  1409. * @return $this
  1410. */
  1411. public function setTaxRefunded($taxRefunded);
  1412. /**
  1413. * Sets the base tax refunded for the order item.
  1414. *
  1415. * @param float $baseTaxRefunded
  1416. * @return $this
  1417. */
  1418. public function setBaseTaxRefunded($baseTaxRefunded);
  1419. /**
  1420. * Sets the discount refunded for the order item.
  1421. *
  1422. * @param float $discountRefunded
  1423. * @return $this
  1424. */
  1425. public function setDiscountRefunded($discountRefunded);
  1426. /**
  1427. * Sets the base discount refunded for the order item.
  1428. *
  1429. * @param float $baseDiscountRefunded
  1430. * @return $this
  1431. */
  1432. public function setBaseDiscountRefunded($baseDiscountRefunded);
  1433. /**
  1434. * Sets the GW ID for the order item.
  1435. *
  1436. * @param int $id
  1437. * @return $this
  1438. */
  1439. public function setGwId($id);
  1440. /**
  1441. * Sets the GW base price for the order item.
  1442. *
  1443. * @param float $price
  1444. * @return $this
  1445. */
  1446. public function setGwBasePrice($price);
  1447. /**
  1448. * Sets the GW price for the order item.
  1449. *
  1450. * @param float $price
  1451. * @return $this
  1452. */
  1453. public function setGwPrice($price);
  1454. /**
  1455. * Sets the GW base tax amount for the order item.
  1456. *
  1457. * @param float $amount
  1458. * @return $this
  1459. */
  1460. public function setGwBaseTaxAmount($amount);
  1461. /**
  1462. * Sets the GW tax amount for the order item.
  1463. *
  1464. * @param float $amount
  1465. * @return $this
  1466. */
  1467. public function setGwTaxAmount($amount);
  1468. /**
  1469. * Sets the GW base price invoiced for the order item.
  1470. *
  1471. * @param float $gwBasePriceInvoiced
  1472. * @return $this
  1473. */
  1474. public function setGwBasePriceInvoiced($gwBasePriceInvoiced);
  1475. /**
  1476. * Sets the GW price invoiced for the order item.
  1477. *
  1478. * @param float $gwPriceInvoiced
  1479. * @return $this
  1480. */
  1481. public function setGwPriceInvoiced($gwPriceInvoiced);
  1482. /**
  1483. * Sets the GW base tax amount invoiced for the order item.
  1484. *
  1485. * @param float $gwBaseTaxAmountInvoiced
  1486. * @return $this
  1487. */
  1488. public function setGwBaseTaxAmountInvoiced($gwBaseTaxAmountInvoiced);
  1489. /**
  1490. * Sets the GW tax amount invoiced for the order item.
  1491. *
  1492. * @param float $gwTaxAmountInvoiced
  1493. * @return $this
  1494. */
  1495. public function setGwTaxAmountInvoiced($gwTaxAmountInvoiced);
  1496. /**
  1497. * Sets the GW base price refunded for the order item.
  1498. *
  1499. * @param float $gwBasePriceRefunded
  1500. * @return $this
  1501. */
  1502. public function setGwBasePriceRefunded($gwBasePriceRefunded);
  1503. /**
  1504. * Sets the GW price refunded for the order item.
  1505. *
  1506. * @param float $gwPriceRefunded
  1507. * @return $this
  1508. */
  1509. public function setGwPriceRefunded($gwPriceRefunded);
  1510. /**
  1511. * Sets the GW base tax amount refunded for the order item.
  1512. *
  1513. * @param float $gwBaseTaxAmountRefunded
  1514. * @return $this
  1515. */
  1516. public function setGwBaseTaxAmountRefunded($gwBaseTaxAmountRefunded);
  1517. /**
  1518. * Sets the GW tax amount refunded for the order item.
  1519. *
  1520. * @param float $gwTaxAmountRefunded
  1521. * @return $this
  1522. */
  1523. public function setGwTaxAmountRefunded($gwTaxAmountRefunded);
  1524. /**
  1525. * Sets the free-shipping flag value for the order item.
  1526. *
  1527. * @param int $freeShipping
  1528. * @return $this
  1529. */
  1530. public function setFreeShipping($freeShipping);
  1531. /**
  1532. * Sets the quantity returned for the order item.
  1533. *
  1534. * @param float $qtyReturned
  1535. * @return $this
  1536. */
  1537. public function setQtyReturned($qtyReturned);
  1538. /**
  1539. * Sets the event ID for the order item.
  1540. *
  1541. * @param int $id
  1542. * @return $this
  1543. */
  1544. public function setEventId($id);
  1545. /**
  1546. * Sets the base WEEE tax applied amount for the order item.
  1547. *
  1548. * @param float $amount
  1549. * @return $this
  1550. */
  1551. public function setBaseWeeeTaxAppliedAmount($amount);
  1552. /**
  1553. * Sets the base WEEE tax applied row amount for the order item.
  1554. *
  1555. * @param float $amnt
  1556. * @return $this
  1557. */
  1558. public function setBaseWeeeTaxAppliedRowAmnt($amnt);
  1559. /**
  1560. * Sets the WEEE tax applied amount for the order item.
  1561. *
  1562. * @param float $amount
  1563. * @return $this
  1564. */
  1565. public function setWeeeTaxAppliedAmount($amount);
  1566. /**
  1567. * Sets the WEEE tax applied row amount for the order item.
  1568. *
  1569. * @param float $amount
  1570. * @return $this
  1571. */
  1572. public function setWeeeTaxAppliedRowAmount($amount);
  1573. /**
  1574. * Sets the WEEE tax applied for the order item.
  1575. *
  1576. * @param string $weeeTaxApplied
  1577. * @return $this
  1578. */
  1579. public function setWeeeTaxApplied($weeeTaxApplied);
  1580. /**
  1581. * Sets the WEEE tax disposition for the order item.
  1582. *
  1583. * @param float $weeeTaxDisposition
  1584. * @return $this
  1585. */
  1586. public function setWeeeTaxDisposition($weeeTaxDisposition);
  1587. /**
  1588. * Sets the WEEE tax row disposition for the order item.
  1589. *
  1590. * @param float $weeeTaxRowDisposition
  1591. * @return $this
  1592. */
  1593. public function setWeeeTaxRowDisposition($weeeTaxRowDisposition);
  1594. /**
  1595. * Sets the base WEEE tax disposition for the order item.
  1596. *
  1597. * @param float $baseWeeeTaxDisposition
  1598. * @return $this
  1599. */
  1600. public function setBaseWeeeTaxDisposition($baseWeeeTaxDisposition);
  1601. /**
  1602. * Sets the base WEEE tax row disposition for the order item.
  1603. *
  1604. * @param float $baseWeeeTaxRowDisposition
  1605. * @return $this
  1606. */
  1607. public function setBaseWeeeTaxRowDisposition($baseWeeeTaxRowDisposition);
  1608. /**
  1609. * Returns product option
  1610. *
  1611. * @return \Magento\Catalog\Api\Data\ProductOptionInterface|null
  1612. */
  1613. public function getProductOption();
  1614. /**
  1615. * Sets product option
  1616. *
  1617. * @param \Magento\Catalog\Api\Data\ProductOptionInterface $productOption
  1618. * @return $this
  1619. */
  1620. public function setProductOption(\Magento\Catalog\Api\Data\ProductOptionInterface $productOption);
  1621. /**
  1622. * Retrieve existing extension attributes object or create a new one.
  1623. *
  1624. * @return \Magento\Sales\Api\Data\OrderItemExtensionInterface|null
  1625. */
  1626. public function getExtensionAttributes();
  1627. /**
  1628. * Set an extension attributes object.
  1629. *
  1630. * @param \Magento\Sales\Api\Data\OrderItemExtensionInterface $extensionAttributes
  1631. * @return $this
  1632. */
  1633. public function setExtensionAttributes(\Magento\Sales\Api\Data\OrderItemExtensionInterface $extensionAttributes);
  1634. }