OrderPaymentInterface.php 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067
  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 payment 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 OrderPaymentInterface 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. * Entity ID.
  23. */
  24. const ENTITY_ID = 'entity_id';
  25. /*
  26. * Parent ID.
  27. */
  28. const PARENT_ID = 'parent_id';
  29. /*
  30. * Base shipping captured.
  31. */
  32. const BASE_SHIPPING_CAPTURED = 'base_shipping_captured';
  33. /*
  34. * Shipping captured.
  35. */
  36. const SHIPPING_CAPTURED = 'shipping_captured';
  37. /*
  38. * Amount refunded.
  39. */
  40. const AMOUNT_REFUNDED = 'amount_refunded';
  41. /*
  42. * Base amount paid.
  43. */
  44. const BASE_AMOUNT_PAID = 'base_amount_paid';
  45. /*
  46. * Amount canceled.
  47. */
  48. const AMOUNT_CANCELED = 'amount_canceled';
  49. /*
  50. * Base amount authorized.
  51. */
  52. const BASE_AMOUNT_AUTHORIZED = 'base_amount_authorized';
  53. /*
  54. * Base amount paid online.
  55. */
  56. const BASE_AMOUNT_PAID_ONLINE = 'base_amount_paid_online';
  57. /*
  58. * Base amount refunded online.
  59. */
  60. const BASE_AMOUNT_REFUNDED_ONLINE = 'base_amount_refunded_online';
  61. /*
  62. * Base shipping amount.
  63. */
  64. const BASE_SHIPPING_AMOUNT = 'base_shipping_amount';
  65. /*
  66. * Shipping amount.
  67. */
  68. const SHIPPING_AMOUNT = 'shipping_amount';
  69. /*
  70. * Amount paid.
  71. */
  72. const AMOUNT_PAID = 'amount_paid';
  73. /*
  74. * Amount authorized.
  75. */
  76. const AMOUNT_AUTHORIZED = 'amount_authorized';
  77. /*
  78. * Base amount ordered.
  79. */
  80. const BASE_AMOUNT_ORDERED = 'base_amount_ordered';
  81. /*
  82. * Base shipping refunded.
  83. */
  84. const BASE_SHIPPING_REFUNDED = 'base_shipping_refunded';
  85. /*
  86. * Shipping refunded.
  87. */
  88. const SHIPPING_REFUNDED = 'shipping_refunded';
  89. /*
  90. * Base amount refunded.
  91. */
  92. const BASE_AMOUNT_REFUNDED = 'base_amount_refunded';
  93. /*
  94. * Amount ordered.
  95. */
  96. const AMOUNT_ORDERED = 'amount_ordered';
  97. /*
  98. * Base amount canceled.
  99. */
  100. const BASE_AMOUNT_CANCELED = 'base_amount_canceled';
  101. /*
  102. * Quote payment ID.
  103. */
  104. const QUOTE_PAYMENT_ID = 'quote_payment_id';
  105. /*
  106. * Additional data.
  107. */
  108. const ADDITIONAL_DATA = 'additional_data';
  109. /*
  110. * Credit card expiration month.
  111. */
  112. const CC_EXP_MONTH = 'cc_exp_month';
  113. /**
  114. * Credit card SS start year.
  115. *
  116. * @deprecated unused constant
  117. */
  118. const CC_SS_START_YEAR = 'cc_ss_start_year';
  119. /*
  120. * eCheck bank name.
  121. */
  122. const ECHECK_BANK_NAME = 'echeck_bank_name';
  123. /*
  124. * Payment method.
  125. */
  126. const METHOD = 'method';
  127. /*
  128. * Credit card debug request body.
  129. */
  130. const CC_DEBUG_REQUEST_BODY = 'cc_debug_request_body';
  131. /*
  132. * Credit card secure verify.
  133. */
  134. const CC_SECURE_VERIFY = 'cc_secure_verify';
  135. /*
  136. * Protection eligibility.
  137. */
  138. const PROTECTION_ELIGIBILITY = 'protection_eligibility';
  139. /*
  140. * Credit card approval.
  141. */
  142. const CC_APPROVAL = 'cc_approval';
  143. /*
  144. * Last four digits of credit card number.
  145. */
  146. const CC_LAST_4 = 'cc_last_4';
  147. /*
  148. * Credit card status description.
  149. */
  150. const CC_STATUS_DESCRIPTION = 'cc_status_description';
  151. /*
  152. * eCheck type.
  153. */
  154. const ECHECK_TYPE = 'echeck_type';
  155. /*
  156. * Credit card debug response serialized.
  157. */
  158. const CC_DEBUG_RESPONSE_SERIALIZED = 'cc_debug_response_serialized';
  159. /**
  160. * Credit card SS start month.
  161. *
  162. * @deprecated unused constant
  163. */
  164. const CC_SS_START_MONTH = 'cc_ss_start_month';
  165. /*
  166. * eCheck account type.
  167. */
  168. const ECHECK_ACCOUNT_TYPE = 'echeck_account_type';
  169. /*
  170. * Last transaction ID.
  171. */
  172. const LAST_TRANS_ID = 'last_trans_id';
  173. /*
  174. * Credit card CID status.
  175. */
  176. const CC_CID_STATUS = 'cc_cid_status';
  177. /*
  178. * Credit card owner.
  179. */
  180. const CC_OWNER = 'cc_owner';
  181. /*
  182. * Credit card type.
  183. */
  184. const CC_TYPE = 'cc_type';
  185. /*
  186. * PO number.
  187. */
  188. const PO_NUMBER = 'po_number';
  189. /*
  190. * Credit card expiration year.
  191. */
  192. const CC_EXP_YEAR = 'cc_exp_year';
  193. /*
  194. * Credit card status.
  195. */
  196. const CC_STATUS = 'cc_status';
  197. /*
  198. * eCheck routing number.
  199. */
  200. const ECHECK_ROUTING_NUMBER = 'echeck_routing_number';
  201. /*
  202. * Account status.
  203. */
  204. const ACCOUNT_STATUS = 'account_status';
  205. /*
  206. * ANET transaction method.
  207. */
  208. const ANET_TRANS_METHOD = 'anet_trans_method';
  209. /*
  210. * Credit card debug response body.
  211. */
  212. const CC_DEBUG_RESPONSE_BODY = 'cc_debug_response_body';
  213. /**
  214. * Credit card SS issue.
  215. *
  216. * @deprecated unused constant
  217. */
  218. const CC_SS_ISSUE = 'cc_ss_issue';
  219. /*
  220. * eCheck account name.
  221. */
  222. const ECHECK_ACCOUNT_NAME = 'echeck_account_name';
  223. /*
  224. * Credit card AVS status.
  225. */
  226. const CC_AVS_STATUS = 'cc_avs_status';
  227. /*
  228. * Encrypted credit card number.
  229. */
  230. const CC_NUMBER_ENC = 'cc_number_enc';
  231. /*
  232. * Credit card transaction ID.
  233. */
  234. const CC_TRANS_ID = 'cc_trans_id';
  235. /*
  236. * Address status.
  237. */
  238. const ADDRESS_STATUS = 'address_status';
  239. /*
  240. * Additional information.
  241. */
  242. const ADDITIONAL_INFORMATION = 'additional_information';
  243. /**
  244. * Gets the account status for the order payment.
  245. *
  246. * @return string Account status.
  247. */
  248. public function getAccountStatus();
  249. /**
  250. * Gets the additional data for the order payment.
  251. *
  252. * @return string|null Additional data.
  253. */
  254. public function getAdditionalData();
  255. /**
  256. * Gets the additional information for the order payment.
  257. *
  258. * @return string[] Array of additional information.
  259. */
  260. public function getAdditionalInformation();
  261. /**
  262. * Gets the address status for the order payment.
  263. *
  264. * @return string|null Address status.
  265. */
  266. public function getAddressStatus();
  267. /**
  268. * Gets the amount authorized for the order payment.
  269. *
  270. * @return float|null Amount authorized.
  271. */
  272. public function getAmountAuthorized();
  273. /**
  274. * Gets the amount canceled for the order payment.
  275. *
  276. * @return float|null Amount canceled.
  277. */
  278. public function getAmountCanceled();
  279. /**
  280. * Gets the amount ordered for the order payment.
  281. *
  282. * @return float|null Amount ordered.
  283. */
  284. public function getAmountOrdered();
  285. /**
  286. * Gets the amount paid for the order payment.
  287. *
  288. * @return float|null Amount paid.
  289. */
  290. public function getAmountPaid();
  291. /**
  292. * Gets the amount refunded for the order payment.
  293. *
  294. * @return float|null Amount refunded.
  295. */
  296. public function getAmountRefunded();
  297. /**
  298. * Gets the anet transaction method for the order payment.
  299. *
  300. * @return string|null Anet transaction method.
  301. */
  302. public function getAnetTransMethod();
  303. /**
  304. * Gets the base amount authorized for the order payment.
  305. *
  306. * @return float|null Base amount authorized.
  307. */
  308. public function getBaseAmountAuthorized();
  309. /**
  310. * Gets the base amount canceled for the order payment.
  311. *
  312. * @return float|null Base amount canceled.
  313. */
  314. public function getBaseAmountCanceled();
  315. /**
  316. * Gets the base amount ordered for the order payment.
  317. *
  318. * @return float|null Base amount ordered.
  319. */
  320. public function getBaseAmountOrdered();
  321. /**
  322. * Gets the base amount paid for the order payment.
  323. *
  324. * @return float|null Base amount paid.
  325. */
  326. public function getBaseAmountPaid();
  327. /**
  328. * Gets the base amount paid online for the order payment.
  329. *
  330. * @return float|null Base amount paid online.
  331. */
  332. public function getBaseAmountPaidOnline();
  333. /**
  334. * Gets the base amount refunded for the order payment.
  335. *
  336. * @return float|null Base amount refunded.
  337. */
  338. public function getBaseAmountRefunded();
  339. /**
  340. * Gets the base amount refunded online for the order payment.
  341. *
  342. * @return float|null Base amount refunded online.
  343. */
  344. public function getBaseAmountRefundedOnline();
  345. /**
  346. * Gets the base shipping amount for the order payment.
  347. *
  348. * @return float|null Base shipping amount.
  349. */
  350. public function getBaseShippingAmount();
  351. /**
  352. * Gets the base shipping captured for the order payment.
  353. *
  354. * @return float|null Base shipping captured amount.
  355. */
  356. public function getBaseShippingCaptured();
  357. /**
  358. * Gets the base shipping refunded amount for the order payment.
  359. *
  360. * @return float|null Base shipping refunded amount.
  361. */
  362. public function getBaseShippingRefunded();
  363. /**
  364. * Gets the credit card approval for the order payment.
  365. *
  366. * @return string|null Credit card approval.
  367. */
  368. public function getCcApproval();
  369. /**
  370. * Gets the credit card avs status for the order payment.
  371. *
  372. * @return string|null Credit card avs status.
  373. */
  374. public function getCcAvsStatus();
  375. /**
  376. * Gets the credit card cid status for the order payment.
  377. *
  378. * @return string|null Credit card CID status.
  379. */
  380. public function getCcCidStatus();
  381. /**
  382. * Gets the credit card debug request body for the order payment.
  383. *
  384. * @return string|null Credit card debug request body.
  385. */
  386. public function getCcDebugRequestBody();
  387. /**
  388. * Gets the credit card debug response body for the order payment.
  389. *
  390. * @return string|null Credit card debug response body.
  391. */
  392. public function getCcDebugResponseBody();
  393. /**
  394. * Gets the credit card debug response serialized for the order payment.
  395. *
  396. * @return string|null Credit card debug response serialized.
  397. */
  398. public function getCcDebugResponseSerialized();
  399. /**
  400. * Gets the credit card expiration month for the order payment.
  401. *
  402. * @return string|null Credit card expiration month.
  403. */
  404. public function getCcExpMonth();
  405. /**
  406. * Gets the credit card expiration year for the order payment.
  407. *
  408. * @return string|null Credit card expiration year.
  409. */
  410. public function getCcExpYear();
  411. /**
  412. * Gets the last four digits of the credit card for the order payment.
  413. *
  414. * @return string Last four digits of the credit card.
  415. */
  416. public function getCcLast4();
  417. /**
  418. * Gets the encrypted credit card number for the order payment.
  419. *
  420. * @return string|null Encrypted credit card number.
  421. */
  422. public function getCcNumberEnc();
  423. /**
  424. * Gets the credit card owner for the order payment.
  425. *
  426. * @return string|null Credit card number.
  427. */
  428. public function getCcOwner();
  429. /**
  430. * Gets the credit card secure verify for the order payment.
  431. *
  432. * @return string|null Credit card secure verify.
  433. */
  434. public function getCcSecureVerify();
  435. /**
  436. * Gets the credit card SS issue for the order payment.
  437. *
  438. * @return string|null Credit card SS issue.
  439. * @deprecated 100.1.0 unused
  440. */
  441. public function getCcSsIssue();
  442. /**
  443. * Gets the credit card SS start month for the order payment.
  444. *
  445. * @return string|null Credit card SS start month.
  446. * @deprecated 100.1.0 unused
  447. */
  448. public function getCcSsStartMonth();
  449. /**
  450. * Gets the credit card SS start year for the order payment.
  451. *
  452. * @return string|null Credit card SS start year.
  453. * @deprecated 100.1.0 unused
  454. */
  455. public function getCcSsStartYear();
  456. /**
  457. * Gets the credit card status for the order payment.
  458. *
  459. * @return string|null Credit card status.
  460. */
  461. public function getCcStatus();
  462. /**
  463. * Gets the credit card status description for the order payment.
  464. *
  465. * @return string|null Credit card status description.
  466. */
  467. public function getCcStatusDescription();
  468. /**
  469. * Gets the credit card transaction id for the order payment.
  470. *
  471. * @return string|null Credit card transaction ID.
  472. */
  473. public function getCcTransId();
  474. /**
  475. * Gets the credit card type for the order payment.
  476. *
  477. * @return string|null Credit card type.
  478. */
  479. public function getCcType();
  480. /**
  481. * Gets the eCheck account name for the order payment.
  482. *
  483. * @return string|null eCheck account name.
  484. */
  485. public function getEcheckAccountName();
  486. /**
  487. * Gets the eCheck account type for the order payment.
  488. *
  489. * @return string|null eCheck account type.
  490. */
  491. public function getEcheckAccountType();
  492. /**
  493. * Gets the eCheck bank name for the order payment.
  494. *
  495. * @return string|null eCheck bank name.
  496. */
  497. public function getEcheckBankName();
  498. /**
  499. * Gets the eCheck routing number for the order payment.
  500. *
  501. * @return string|null eCheck routing number.
  502. */
  503. public function getEcheckRoutingNumber();
  504. /**
  505. * Gets the eCheck type for the order payment.
  506. *
  507. * @return string|null eCheck type.
  508. */
  509. public function getEcheckType();
  510. /**
  511. * Gets the entity ID for the order payment.
  512. *
  513. * @return int|null Entity ID.
  514. */
  515. public function getEntityId();
  516. /**
  517. * Sets entity ID.
  518. *
  519. * @param int $entityId
  520. * @return $this
  521. */
  522. public function setEntityId($entityId);
  523. /**
  524. * Gets the last transaction ID for the order payment.
  525. *
  526. * @return string|null Last transaction ID.
  527. */
  528. public function getLastTransId();
  529. /**
  530. * Gets the method for the order payment.
  531. *
  532. * @return string Method.
  533. */
  534. public function getMethod();
  535. /**
  536. * Gets the parent ID for the order payment.
  537. *
  538. * @return int|null Parent ID.
  539. */
  540. public function getParentId();
  541. /**
  542. * Gets the PO number for the order payment.
  543. *
  544. * @return string|null PO number.
  545. */
  546. public function getPoNumber();
  547. /**
  548. * Gets the protection eligibility for the order payment.
  549. *
  550. * @return string|null Protection eligibility.
  551. */
  552. public function getProtectionEligibility();
  553. /**
  554. * Gets the quote payment ID for the order payment.
  555. *
  556. * @return int|null Quote payment ID.
  557. */
  558. public function getQuotePaymentId();
  559. /**
  560. * Gets the shipping amount for the order payment.
  561. *
  562. * @return float|null Shipping amount.
  563. */
  564. public function getShippingAmount();
  565. /**
  566. * Gets the shipping captured for the order payment.
  567. *
  568. * @return float|null Shipping captured.
  569. */
  570. public function getShippingCaptured();
  571. /**
  572. * Gets the shipping refunded for the order payment.
  573. *
  574. * @return float|null Shipping refunded.
  575. */
  576. public function getShippingRefunded();
  577. /**
  578. * Sets the parent ID for the order payment.
  579. *
  580. * @param int $id
  581. * @return $this
  582. */
  583. public function setParentId($id);
  584. /**
  585. * Sets the base shipping captured for the order payment.
  586. *
  587. * @param float $baseShippingCaptured
  588. * @return $this
  589. */
  590. public function setBaseShippingCaptured($baseShippingCaptured);
  591. /**
  592. * Sets the shipping captured for the order payment.
  593. *
  594. * @param float $shippingCaptured
  595. * @return $this
  596. */
  597. public function setShippingCaptured($shippingCaptured);
  598. /**
  599. * Sets the amount refunded for the order payment.
  600. *
  601. * @param float $amountRefunded
  602. * @return $this
  603. */
  604. public function setAmountRefunded($amountRefunded);
  605. /**
  606. * Sets the base amount paid for the order payment.
  607. *
  608. * @param float $baseAmountPaid
  609. * @return $this
  610. */
  611. public function setBaseAmountPaid($baseAmountPaid);
  612. /**
  613. * Sets the amount canceled for the order payment.
  614. *
  615. * @param float $amountCanceled
  616. * @return $this
  617. */
  618. public function setAmountCanceled($amountCanceled);
  619. /**
  620. * Sets the base amount authorized for the order payment.
  621. *
  622. * @param float $baseAmountAuthorized
  623. * @return $this
  624. */
  625. public function setBaseAmountAuthorized($baseAmountAuthorized);
  626. /**
  627. * Sets the base amount paid online for the order payment.
  628. *
  629. * @param float $baseAmountPaidOnline
  630. * @return $this
  631. */
  632. public function setBaseAmountPaidOnline($baseAmountPaidOnline);
  633. /**
  634. * Sets the base amount refunded online for the order payment.
  635. *
  636. * @param float $baseAmountRefundedOnline
  637. * @return $this
  638. */
  639. public function setBaseAmountRefundedOnline($baseAmountRefundedOnline);
  640. /**
  641. * Sets the base shipping amount for the order payment.
  642. *
  643. * @param float $amount
  644. * @return $this
  645. */
  646. public function setBaseShippingAmount($amount);
  647. /**
  648. * Sets the shipping amount for the order payment.
  649. *
  650. * @param float $amount
  651. * @return $this
  652. */
  653. public function setShippingAmount($amount);
  654. /**
  655. * Sets the amount paid for the order payment.
  656. *
  657. * @param float $amountPaid
  658. * @return $this
  659. */
  660. public function setAmountPaid($amountPaid);
  661. /**
  662. * Sets the amount authorized for the order payment.
  663. *
  664. * @param float $amountAuthorized
  665. * @return $this
  666. */
  667. public function setAmountAuthorized($amountAuthorized);
  668. /**
  669. * Sets the base amount ordered for the order payment.
  670. *
  671. * @param float $baseAmountOrdered
  672. * @return $this
  673. */
  674. public function setBaseAmountOrdered($baseAmountOrdered);
  675. /**
  676. * Sets the base shipping refunded amount for the order payment.
  677. *
  678. * @param float $baseShippingRefunded
  679. * @return $this
  680. */
  681. public function setBaseShippingRefunded($baseShippingRefunded);
  682. /**
  683. * Sets the shipping refunded for the order payment.
  684. *
  685. * @param float $shippingRefunded
  686. * @return $this
  687. */
  688. public function setShippingRefunded($shippingRefunded);
  689. /**
  690. * Sets the base amount refunded for the order payment.
  691. *
  692. * @param float $baseAmountRefunded
  693. * @return $this
  694. */
  695. public function setBaseAmountRefunded($baseAmountRefunded);
  696. /**
  697. * Sets the amount ordered for the order payment.
  698. *
  699. * @param float $amountOrdered
  700. * @return $this
  701. */
  702. public function setAmountOrdered($amountOrdered);
  703. /**
  704. * Sets the base amount canceled for the order payment.
  705. *
  706. * @param float $baseAmountCanceled
  707. * @return $this
  708. */
  709. public function setBaseAmountCanceled($baseAmountCanceled);
  710. /**
  711. * Sets the quote payment ID for the order payment.
  712. *
  713. * @param int $id
  714. * @return $this
  715. */
  716. public function setQuotePaymentId($id);
  717. /**
  718. * Sets the additional data for the order payment.
  719. *
  720. * @param string $additionalData
  721. * @return $this
  722. */
  723. public function setAdditionalData($additionalData);
  724. /**
  725. * Sets the credit card expiration month for the order payment.
  726. *
  727. * @param string $ccExpMonth
  728. * @return $this
  729. */
  730. public function setCcExpMonth($ccExpMonth);
  731. /**
  732. * Sets the credit card SS start year for the order payment.
  733. *
  734. * @param string $ccSsStartYear
  735. * @return $this
  736. */
  737. public function setCcSsStartYear($ccSsStartYear);
  738. /**
  739. * Sets the eCheck bank name for the order payment.
  740. *
  741. * @param string $echeckBankName
  742. * @return $this
  743. */
  744. public function setEcheckBankName($echeckBankName);
  745. /**
  746. * Sets the method for the order payment.
  747. *
  748. * @param string $method
  749. * @return $this
  750. */
  751. public function setMethod($method);
  752. /**
  753. * Sets the credit card debug request body for the order payment.
  754. *
  755. * @param string $ccDebugRequestBody
  756. * @return $this
  757. */
  758. public function setCcDebugRequestBody($ccDebugRequestBody);
  759. /**
  760. * Sets the credit card secure verify for the order payment.
  761. *
  762. * @param string $ccSecureVerify
  763. * @return $this
  764. */
  765. public function setCcSecureVerify($ccSecureVerify);
  766. /**
  767. * Sets the protection eligibility for the order payment.
  768. *
  769. * @param string $protectionEligibility
  770. * @return $this
  771. */
  772. public function setProtectionEligibility($protectionEligibility);
  773. /**
  774. * Sets the credit card approval for the order payment.
  775. *
  776. * @param string $ccApproval
  777. * @return $this
  778. */
  779. public function setCcApproval($ccApproval);
  780. /**
  781. * Sets the last four digits of the credit card for the order payment.
  782. *
  783. * @param string $ccLast4
  784. * @return $this
  785. */
  786. public function setCcLast4($ccLast4);
  787. /**
  788. * Sets the credit card status description for the order payment.
  789. *
  790. * @param string $description
  791. * @return $this
  792. */
  793. public function setCcStatusDescription($description);
  794. /**
  795. * Sets the eCheck type for the order payment.
  796. *
  797. * @param string $echeckType
  798. * @return $this
  799. */
  800. public function setEcheckType($echeckType);
  801. /**
  802. * Sets the credit card debug response serialized for the order payment.
  803. *
  804. * @param string $ccDebugResponseSerialized
  805. * @return $this
  806. */
  807. public function setCcDebugResponseSerialized($ccDebugResponseSerialized);
  808. /**
  809. * Sets the credit card SS start month for the order payment.
  810. *
  811. * @param string $ccSsStartMonth
  812. * @return $this
  813. */
  814. public function setCcSsStartMonth($ccSsStartMonth);
  815. /**
  816. * Sets the eCheck account type for the order payment.
  817. *
  818. * @param string $echeckAccountType
  819. * @return $this
  820. */
  821. public function setEcheckAccountType($echeckAccountType);
  822. /**
  823. * Sets the last transaction ID for the order payment.
  824. *
  825. * @param string $id
  826. * @return $this
  827. */
  828. public function setLastTransId($id);
  829. /**
  830. * Sets the credit card cid status for the order payment.
  831. *
  832. * @param string $ccCidStatus
  833. * @return $this
  834. */
  835. public function setCcCidStatus($ccCidStatus);
  836. /**
  837. * Sets the credit card owner for the order payment.
  838. *
  839. * @param string $ccOwner
  840. * @return $this
  841. */
  842. public function setCcOwner($ccOwner);
  843. /**
  844. * Sets the credit card type for the order payment.
  845. *
  846. * @param string $ccType
  847. * @return $this
  848. */
  849. public function setCcType($ccType);
  850. /**
  851. * Sets the PO number for the order payment.
  852. *
  853. * @param string $poNumber
  854. * @return $this
  855. */
  856. public function setPoNumber($poNumber);
  857. /**
  858. * Sets the credit card expiration year for the order payment.
  859. *
  860. * @param string $ccExpYear
  861. * @return $this
  862. */
  863. public function setCcExpYear($ccExpYear);
  864. /**
  865. * Sets the credit card status for the order payment.
  866. *
  867. * @param string $ccStatus
  868. * @return $this
  869. */
  870. public function setCcStatus($ccStatus);
  871. /**
  872. * Sets the eCheck routing number for the order payment.
  873. *
  874. * @param string $echeckRoutingNumber
  875. * @return $this
  876. */
  877. public function setEcheckRoutingNumber($echeckRoutingNumber);
  878. /**
  879. * Sets the account status for the order payment.
  880. *
  881. * @param string $accountStatus
  882. * @return $this
  883. */
  884. public function setAccountStatus($accountStatus);
  885. /**
  886. * Sets the anet transaction method for the order payment.
  887. *
  888. * @param string $anetTransMethod
  889. * @return $this
  890. */
  891. public function setAnetTransMethod($anetTransMethod);
  892. /**
  893. * Sets the credit card debug response body for the order payment.
  894. *
  895. * @param string $ccDebugResponseBody
  896. * @return $this
  897. */
  898. public function setCcDebugResponseBody($ccDebugResponseBody);
  899. /**
  900. * Sets the credit card SS issue for the order payment.
  901. *
  902. * @param string $ccSsIssue
  903. * @return $this
  904. */
  905. public function setCcSsIssue($ccSsIssue);
  906. /**
  907. * Sets the eCheck account name for the order payment.
  908. *
  909. * @param string $echeckAccountName
  910. * @return $this
  911. */
  912. public function setEcheckAccountName($echeckAccountName);
  913. /**
  914. * Sets the credit card avs status for the order payment.
  915. *
  916. * @param string $ccAvsStatus
  917. * @return $this
  918. */
  919. public function setCcAvsStatus($ccAvsStatus);
  920. /**
  921. * Sets the encrypted credit card number for the order payment.
  922. *
  923. * @param string $ccNumberEnc
  924. * @return $this
  925. */
  926. public function setCcNumberEnc($ccNumberEnc);
  927. /**
  928. * Sets the credit card transaction id for the order payment.
  929. *
  930. * @param string $id
  931. * @return $this
  932. */
  933. public function setCcTransId($id);
  934. /**
  935. * Sets the address status for the order payment.
  936. *
  937. * @param string $addressStatus
  938. * @return $this
  939. */
  940. public function setAddressStatus($addressStatus);
  941. /**
  942. * Retrieve existing extension attributes object or create a new one.
  943. *
  944. * @return \Magento\Sales\Api\Data\OrderPaymentExtensionInterface|null
  945. */
  946. public function getExtensionAttributes();
  947. /**
  948. * Set an extension attributes object.
  949. *
  950. * @param \Magento\Sales\Api\Data\OrderPaymentExtensionInterface $extensionAttributes
  951. * @return $this
  952. */
  953. public function setExtensionAttributes(\Magento\Sales\Api\Data\OrderPaymentExtensionInterface $extensionAttributes);
  954. }