function buildPaymentRequest() {
  return new PaymentRequest(
      [{
        supportedMethods: 'basic-card',
        data: {
          supportedTypes: ['debit'],
        },
      }],
      {
        total: {
          label: 'Total',
          amount: {
            currency: 'USD',
            value: '1.00',
          },
        },
      });
}
/**
 * Builds a payment request for a debit card.
 * @return {!PaymentRequest} A payment request for a debit card.
 * @private
 */
Builds a payment request for a debit card.
@return {!PaymentRequest} A payment request for a debit card.
@private
Builds a payment request for a debit card . @return { !PaymentRequest } A payment request for a debit card . @private
function buildPaymentRequest() {
  return new PaymentRequest(
      [{
        supportedMethods: 'basic-card',
        data: {
          supportedTypes: ['debit'],
        },
      }],
      {
        total: {
          label: 'Total',
          amount: {
            currency: 'USD',
            value: '1.00',
          },
        },
      });
}
function buildPaymentRequest ( ) { return new PaymentRequest ( [ { supportedMethods : 'basic-card' , data : { supportedTypes : [ 'debit' ] , } , } ] , { total : { label : 'Total' , amount : { currency : 'USD' , value : '1.00' , } , } , } ) ; }
Builds a payment request for a debit card.
Builds a payment request for a debit card .