title: Dynamically add properties to request object - Google Pay [Typescript]
body: <p>I am building this payment request object as follows</p>
  <pre><code>paymentRequest: google.payments.api.PaymentDataRequest = {
  apiVersion: 2,
  apiVersionMinor: 0,
  allowedPaymentMethods: [
    {
      type: 'CARD',
      parameters: {
        allowedAuthMethods: ['PAN_ONLY', 'CRYPTOGRAM_3DS'],
        allowedCardNetworks: ['AMEX', 'VISA', 'MASTERCARD'],
        billingAddressRequired: true,
        billingAddressParameters:{
          format:'FULL',
          phoneNumberRequired:true
        }
      },
      tokenizationSpecification: {
        type: 'PAYMENT_GATEWAY',
        parameters: {
          gateway: 'example',
          gatewayMerchantId: 'exampleGatewayMerchantId'
        }
      }
    }
  ],
  merchantInfo: {
    merchantId: '12345678901234567890',
    merchantName: 'Demo Merchant'
  },
  transactionInfo: {
    totalPriceStatus: 'FINAL',
    totalPriceLabel: 'Total',
    totalPrice: '0.10',
    currencyCode: 'EUR',
    countryCode: 'BE'
  },
  callbackIntents: ['PAYMENT_AUTHORIZATION']
  </code></pre>
  <p>And using this paymentRequest in the html as follows</p>
  <pre><code>&lt;google-pay-button
      environment=&quot;TEST&quot;
      buttonType=&quot;buy&quot;
      buttonColor=&quot;black&quot;
      [paymentRequest]=&quot;paymentRequest&quot;
      (loadpaymentdata)=&quot;onLoadPaymentData($event)&quot;
      (error)=&quot;onError($event)&quot;
      [paymentAuthorizedCallback]=&quot;onPaymentDataAuthorized&quot;&gt;&lt;/google-pay-button&gt;
  </code></pre>
  <p>My Question:</p>
  <p>I want to dynamically add the properties inside request object dynamically. For example I want to add property &quot;billingAddressRequired = true&quot; at some cases alone and for other cases I don't require it. So my request object will not contain &quot;billingAddressRequired&quot; property.</p>