project/app/scripts/modules/payment-api.js
/*
   * Creates the PaymentDetails dictionary inside the PaymentRequest.
   * This can change as the user selects shipping options.
   */
Creates the PaymentDetails dictionary inside the PaymentRequest.
This can change as the user selects shipping options.
Creates the PaymentDetails dictionary inside the PaymentRequest . This can change as the user selects shipping options .
buildPaymentDetails(cart, shippingOptions, shippingOptionId) {
    let total = cart.total;
  }
buildPaymentDetails ( cart , shippingOptions , shippingOptionId ) { let total = cart . total ; }
Creates the PaymentDetails dictionary inside the PaymentRequest.
Creates the PaymentDetails dictionary inside the PaymentRequest .
// TODO PAY-4.2 - define the display items // TODO PAY-4.3 - define the shipping options // TODO PAY-4.1 - define the details object