@@ -404,6 +404,15 @@ declare namespace google.payments.api {
404404 * @default false
405405 */
406406 phoneNumberRequired ?: false | true | undefined ;
407+
408+ /**
409+ * Shipping address format.
410+ *
411+ * If omitted, defaults to [[ShippingAddressFormat|`FULL`]].
412+ *
413+ * * @default "FULL"
414+ */
415+ format ?: ShippingAddressFormat | undefined ;
407416 }
408417
409418 /**
@@ -483,6 +492,14 @@ declare namespace google.payments.api {
483492 * number be returned.
484493 */
485494 phoneNumber ?: string | undefined ;
495+
496+ /**
497+ * The ISO 3166-2 administrative area
498+ *
499+ * ISO 3166-2 administrative area corresponding to administrativeArea.
500+ * Only present if the shipping or billing address format is FULL-ISO3166.
501+ */
502+ iso3166AdministrativeArea ?: string | undefined ;
486503 }
487504
488505 /**
@@ -516,6 +533,14 @@ declare namespace google.payments.api {
516533 * The locality (e.g. city or town).
517534 */
518535 locality : string ;
536+
537+ /**
538+ * The ISO 3166-2 administrative area
539+ *
540+ * ISO 3166-2 administrative area corresponding to administrativeArea.
541+ * Only present if the shipping address format is FULL-ISO3166.
542+ */
543+ iso3166AdministrativeArea ?: string | undefined ;
519544 }
520545
521546 /**
@@ -1582,8 +1607,35 @@ declare namespace google.payments.api {
15821607 * Only select this format when it is required to process the order.
15831608 * Additional form entry or customer data requests can increase friction
15841609 * during the checkout process and can lead to a lower conversion rate.
1610+ *
1611+ * - `FULL-ISO3166`:
1612+ * Same as `FULL` but includes [[Address.iso3166AdministrativeArea|`Address.iso3166AdministrativeArea`]]
1613+ */
1614+ type BillingAddressFormat = "MIN" | "FULL" | "FULL-ISO3166" ;
1615+
1616+ /**
1617+ * Shipping address format enum string.
1618+ *
1619+ * Options:
1620+ *
1621+ * - `FULL`:
1622+ * Full shipping address
1623+ *
1624+ * All the fields in [[Address|`Address`]] will
1625+ * be returned, with the possible exception of
1626+ * [[Address.phoneNumber|`Address.phoneNumber`]] which will only be
1627+ * returned if
1628+ * [[ShippingAddressParameters.phoneNumberRequired|`ShippingAddressParameters.phoneNumberRequired`]]
1629+ * is set to `true`.
1630+ *
1631+ * Only select this format when it is required to process the order.
1632+ * Additional form entry or customer data requests can increase friction
1633+ * during the checkout process and can lead to a lower conversion rate.
1634+ *
1635+ * - `FULL-ISO3166`:
1636+ * Same as `FULL` but includes [[Address.iso3166AdministrativeArea|`Address.iso3166AdministrativeArea`]]
15851637 */
1586- type BillingAddressFormat = "MIN " | "FULL" ;
1638+ type ShippingAddressFormat = "FULL " | "FULL-ISO3166 " ;
15871639
15881640 /**
15891641 * The status of the total price used.
0 commit comments