Class PaymentLinkCreateParams.ShippingAddressCollection

  • Enclosing class:
    PaymentLinkCreateParams

    public static class PaymentLinkCreateParams.ShippingAddressCollection
    extends java.lang.Object
    Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See PaymentLinkCreateParams.PhoneNumberCollection.extraParams for the field documentation.
    • Method Detail

      • getAllowedCountries

        public java.util.List<PaymentLinkCreateParams.ShippingAddressCollection.AllowedCountry> getAllowedCountries()
        An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI.
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.Object> getExtraParams()
        Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.