Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
GuestPaymentInformationManagementInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Checkout\Api;
7 
14 {
26  $cartId,
27  $email,
28  \Magento\Quote\Api\Data\PaymentInterface $paymentMethod,
29  \Magento\Quote\Api\Data\AddressInterface $billingAddress = null
30  );
31 
42  public function savePaymentInformation(
43  $cartId,
44  $email,
45  \Magento\Quote\Api\Data\PaymentInterface $paymentMethod,
46  \Magento\Quote\Api\Data\AddressInterface $billingAddress = null
47  );
48 
55  public function getPaymentInformation($cartId);
56 }
$billingAddress
Definition: order.php:25
$email
Definition: details.phtml:13
$cartId
Definition: quote.php:22
savePaymentInformation( $cartId, $email, \Magento\Quote\Api\Data\PaymentInterface $paymentMethod, \Magento\Quote\Api\Data\AddressInterface $billingAddress=null)
savePaymentInformationAndPlaceOrder( $cartId, $email, \Magento\Quote\Api\Data\PaymentInterface $paymentMethod, \Magento\Quote\Api\Data\AddressInterface $billingAddress=null)