One of {@code credit_reversal}, {@code other}, {@code outbound_payment}, or {@code
- * payout}.
+ * One of {@code credit_reversal}, {@code other}, {@code outbound_payment}, {@code
+ * outbound_transfer}, or {@code payout}.
*/
@SerializedName("type")
String type;
diff --git a/src/main/java/com/stripe/param/AccountCreateParams.java b/src/main/java/com/stripe/param/AccountCreateParams.java
index 7d58e379998..c47a587d946 100644
--- a/src/main/java/com/stripe/param/AccountCreateParams.java
+++ b/src/main/java/com/stripe/param/AccountCreateParams.java
@@ -7607,6 +7607,9 @@ public static class Company {
@SerializedName("ownership_declaration")
OwnershipDeclaration ownershipDeclaration;
+ @SerializedName("ownership_exemption_reason")
+ ApiRequestParams.EnumParam ownershipExemptionReason;
+
/** The company's phone number (used for verification). */
@SerializedName("phone")
String phone;
@@ -7664,6 +7667,7 @@ private Company(
String nameKanji,
Boolean ownersProvided,
OwnershipDeclaration ownershipDeclaration,
+ ApiRequestParams.EnumParam ownershipExemptionReason,
String phone,
String registrationNumber,
ApiRequestParams.EnumParam structure,
@@ -7684,6 +7688,7 @@ private Company(
this.nameKanji = nameKanji;
this.ownersProvided = ownersProvided;
this.ownershipDeclaration = ownershipDeclaration;
+ this.ownershipExemptionReason = ownershipExemptionReason;
this.phone = phone;
this.registrationNumber = registrationNumber;
this.structure = structure;
@@ -7724,6 +7729,8 @@ public static class Builder {
private OwnershipDeclaration ownershipDeclaration;
+ private ApiRequestParams.EnumParam ownershipExemptionReason;
+
private String phone;
private String registrationNumber;
@@ -7754,6 +7761,7 @@ public AccountCreateParams.Company build() {
this.nameKanji,
this.ownersProvided,
this.ownershipDeclaration,
+ this.ownershipExemptionReason,
this.phone,
this.registrationNumber,
this.structure,
@@ -7882,6 +7890,17 @@ public Builder setOwnershipDeclaration(
return this;
}
+ public Builder setOwnershipExemptionReason(
+ AccountCreateParams.Company.OwnershipExemptionReason ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
+ public Builder setOwnershipExemptionReason(EmptyParam ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
/** The company's phone number (used for verification). */
public Builder setPhone(String phone) {
this.phone = phone;
@@ -8722,6 +8741,21 @@ public Builder setFront(String front) {
}
}
+ public enum OwnershipExemptionReason implements ApiRequestParams.EnumParam {
+ @SerializedName("qualified_entity_exceeds_ownership_threshold")
+ QUALIFIED_ENTITY_EXCEEDS_OWNERSHIP_THRESHOLD("qualified_entity_exceeds_ownership_threshold"),
+
+ @SerializedName("qualifies_as_financial_institution")
+ QUALIFIES_AS_FINANCIAL_INSTITUTION("qualifies_as_financial_institution");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ OwnershipExemptionReason(String value) {
+ this.value = value;
+ }
+ }
+
public enum Structure implements ApiRequestParams.EnumParam {
@SerializedName("free_zone_establishment")
FREE_ZONE_ESTABLISHMENT("free_zone_establishment"),
diff --git a/src/main/java/com/stripe/param/AccountUpdateParams.java b/src/main/java/com/stripe/param/AccountUpdateParams.java
index f5de947d9bc..4e100a34676 100644
--- a/src/main/java/com/stripe/param/AccountUpdateParams.java
+++ b/src/main/java/com/stripe/param/AccountUpdateParams.java
@@ -7705,6 +7705,9 @@ public static class Company {
@SerializedName("ownership_declaration")
OwnershipDeclaration ownershipDeclaration;
+ @SerializedName("ownership_exemption_reason")
+ ApiRequestParams.EnumParam ownershipExemptionReason;
+
/** The company's phone number (used for verification). */
@SerializedName("phone")
Object phone;
@@ -7762,6 +7765,7 @@ private Company(
Object nameKanji,
Boolean ownersProvided,
OwnershipDeclaration ownershipDeclaration,
+ ApiRequestParams.EnumParam ownershipExemptionReason,
Object phone,
Object registrationNumber,
ApiRequestParams.EnumParam structure,
@@ -7782,6 +7786,7 @@ private Company(
this.nameKanji = nameKanji;
this.ownersProvided = ownersProvided;
this.ownershipDeclaration = ownershipDeclaration;
+ this.ownershipExemptionReason = ownershipExemptionReason;
this.phone = phone;
this.registrationNumber = registrationNumber;
this.structure = structure;
@@ -7822,6 +7827,8 @@ public static class Builder {
private OwnershipDeclaration ownershipDeclaration;
+ private ApiRequestParams.EnumParam ownershipExemptionReason;
+
private Object phone;
private Object registrationNumber;
@@ -7852,6 +7859,7 @@ public AccountUpdateParams.Company build() {
this.nameKanji,
this.ownersProvided,
this.ownershipDeclaration,
+ this.ownershipExemptionReason,
this.phone,
this.registrationNumber,
this.structure,
@@ -8013,6 +8021,17 @@ public Builder setOwnershipDeclaration(
return this;
}
+ public Builder setOwnershipExemptionReason(
+ AccountUpdateParams.Company.OwnershipExemptionReason ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
+ public Builder setOwnershipExemptionReason(EmptyParam ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
/** The company's phone number (used for verification). */
public Builder setPhone(String phone) {
this.phone = phone;
@@ -9059,6 +9078,21 @@ public Builder setFront(EmptyParam front) {
}
}
+ public enum OwnershipExemptionReason implements ApiRequestParams.EnumParam {
+ @SerializedName("qualified_entity_exceeds_ownership_threshold")
+ QUALIFIED_ENTITY_EXCEEDS_OWNERSHIP_THRESHOLD("qualified_entity_exceeds_ownership_threshold"),
+
+ @SerializedName("qualifies_as_financial_institution")
+ QUALIFIES_AS_FINANCIAL_INSTITUTION("qualifies_as_financial_institution");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ OwnershipExemptionReason(String value) {
+ this.value = value;
+ }
+ }
+
public enum Structure implements ApiRequestParams.EnumParam {
@SerializedName("free_zone_establishment")
FREE_ZONE_ESTABLISHMENT("free_zone_establishment"),
diff --git a/src/main/java/com/stripe/param/CustomerCreateParams.java b/src/main/java/com/stripe/param/CustomerCreateParams.java
index 837c376ea17..803823ce0b8 100644
--- a/src/main/java/com/stripe/param/CustomerCreateParams.java
+++ b/src/main/java/com/stripe/param/CustomerCreateParams.java
@@ -1681,24 +1681,24 @@ public static class TaxIdData {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code
- * kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat},
- * {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code
- * my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code np_pan},
- * {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code
- * rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code sg_uen},
- * {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat}, {@code
- * tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code ug_tin},
- * {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code
- * vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif},
+ * {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code
+ * cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif},
+ * {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
+ * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
+ * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
+ * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
+ * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
+ * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
+ * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
+ * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
+ * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
+ * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
+ * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
+ * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -1757,24 +1757,24 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
public Builder setType(CustomerCreateParams.TaxIdData.Type type) {
this.type = type;
@@ -1795,6 +1795,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/CustomerTaxIdCreateParams.java b/src/main/java/com/stripe/param/CustomerTaxIdCreateParams.java
index 28fda9d68e8..9b415a761f9 100644
--- a/src/main/java/com/stripe/param/CustomerTaxIdCreateParams.java
+++ b/src/main/java/com/stripe/param/CustomerTaxIdCreateParams.java
@@ -26,23 +26,23 @@ public class CustomerTaxIdCreateParams extends ApiRequestParams {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code ca_pst_bc},
- * {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code ch_uid}, {@code
- * ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code de_stn}, {@code
- * do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat},
- * {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin},
- * {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn},
- * {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid},
- * {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
- * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
- * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
- * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code
- * sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit},
- * {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
+ * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code
+ * de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat},
+ * {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib},
+ * {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn},
+ * {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin},
+ * {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat},
+ * {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin},
+ * {@code no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code
+ * pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin},
+ * {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat},
+ * {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -131,24 +131,24 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code
- * kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat},
- * {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code
- * my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code np_pan},
- * {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code
- * rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code sg_uen},
- * {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat}, {@code
- * tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code ug_tin},
- * {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code
- * vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif},
+ * {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code
+ * cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif},
+ * {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
+ * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
+ * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
+ * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
+ * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
+ * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
+ * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
+ * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
+ * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
+ * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
+ * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
+ * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
public Builder setType(CustomerTaxIdCreateParams.Type type) {
this.type = type;
@@ -169,6 +169,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/DisputeUpdateParams.java b/src/main/java/com/stripe/param/DisputeUpdateParams.java
index 702812e9193..bf4f4310b78 100644
--- a/src/main/java/com/stripe/param/DisputeUpdateParams.java
+++ b/src/main/java/com/stripe/param/DisputeUpdateParams.java
@@ -1086,7 +1086,7 @@ public static class EnhancedEvidence {
@SerializedName("visa_compelling_evidence_3")
VisaCompellingEvidence3 visaCompellingEvidence3;
- /** Evidence provided for Visa Compliance evidence submission. */
+ /** Evidence provided for Visa compliance evidence submission. */
@SerializedName("visa_compliance")
VisaCompliance visaCompliance;
@@ -1152,7 +1152,7 @@ public Builder setVisaCompellingEvidence3(
return this;
}
- /** Evidence provided for Visa Compliance evidence submission. */
+ /** Evidence provided for Visa compliance evidence submission. */
public Builder setVisaCompliance(
DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance visaCompliance) {
this.visaCompliance = visaCompliance;
@@ -2250,9 +2250,11 @@ public static class VisaCompliance {
Map extraParams;
/**
- * A field acknowledging the fee incurred when countering a Visa Compliance dispute. If this
- * field is set to true, evidence can be submitted for the compliance dispute, and you may
- * incur a $500 fee if the case is lost.
+ * A field acknowledging the fee incurred when countering a Visa compliance dispute. If this
+ * field is set to true, evidence can be submitted for the compliance dispute. Stripe
+ * collects a 500 USD (or local equivalent) amount to cover the network costs associated
+ * with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the
+ * dispute.
*/
@SerializedName("fee_acknowledged")
Boolean feeAcknowledged;
@@ -2308,9 +2310,11 @@ public Builder putAllExtraParam(Map map) {
}
/**
- * A field acknowledging the fee incurred when countering a Visa Compliance dispute. If
- * this field is set to true, evidence can be submitted for the compliance dispute, and
- * you may incur a $500 fee if the case is lost.
+ * A field acknowledging the fee incurred when countering a Visa compliance dispute. If
+ * this field is set to true, evidence can be submitted for the compliance dispute. Stripe
+ * collects a 500 USD (or local equivalent) amount to cover the network costs associated
+ * with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win
+ * the dispute.
*/
public Builder setFeeAcknowledged(Boolean feeAcknowledged) {
this.feeAcknowledged = feeAcknowledged;
diff --git a/src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java b/src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java
index 93e330ac219..122b5790b02 100644
--- a/src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java
+++ b/src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java
@@ -1356,24 +1356,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -1435,24 +1435,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(InvoiceCreatePreviewParams.CustomerDetails.TaxId.Type type) {
this.type = type;
@@ -1473,6 +1474,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/InvoiceUpcomingLinesListParams.java b/src/main/java/com/stripe/param/InvoiceUpcomingLinesListParams.java
index 07a1a2c9863..b11d0145660 100644
--- a/src/main/java/com/stripe/param/InvoiceUpcomingLinesListParams.java
+++ b/src/main/java/com/stripe/param/InvoiceUpcomingLinesListParams.java
@@ -1870,24 +1870,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -1949,24 +1949,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(InvoiceUpcomingLinesListParams.CustomerDetails.TaxId.Type type) {
this.type = type;
@@ -1987,6 +1988,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/InvoiceUpcomingLinesParams.java b/src/main/java/com/stripe/param/InvoiceUpcomingLinesParams.java
index 7607b231631..ad36d70fed0 100644
--- a/src/main/java/com/stripe/param/InvoiceUpcomingLinesParams.java
+++ b/src/main/java/com/stripe/param/InvoiceUpcomingLinesParams.java
@@ -1862,24 +1862,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -1941,24 +1941,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(InvoiceUpcomingLinesParams.CustomerDetails.TaxId.Type type) {
this.type = type;
@@ -1979,6 +1980,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/InvoiceUpcomingParams.java b/src/main/java/com/stripe/param/InvoiceUpcomingParams.java
index 773c1d0636e..4d7b6e77c09 100644
--- a/src/main/java/com/stripe/param/InvoiceUpcomingParams.java
+++ b/src/main/java/com/stripe/param/InvoiceUpcomingParams.java
@@ -1784,24 +1784,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -1863,24 +1863,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(InvoiceUpcomingParams.CustomerDetails.TaxId.Type type) {
this.type = type;
@@ -1901,6 +1902,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/OrderCreateParams.java b/src/main/java/com/stripe/param/OrderCreateParams.java
index 167fd7a3528..490f57940a9 100644
--- a/src/main/java/com/stripe/param/OrderCreateParams.java
+++ b/src/main/java/com/stripe/param/OrderCreateParams.java
@@ -8472,24 +8472,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -8550,24 +8550,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(OrderCreateParams.TaxDetails.TaxId.Type type) {
this.type = type;
@@ -8588,6 +8589,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/OrderUpdateParams.java b/src/main/java/com/stripe/param/OrderUpdateParams.java
index e802e3a0a27..d47037a42f8 100644
--- a/src/main/java/com/stripe/param/OrderUpdateParams.java
+++ b/src/main/java/com/stripe/param/OrderUpdateParams.java
@@ -9105,24 +9105,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -9183,24 +9183,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(OrderUpdateParams.TaxDetails.TaxId.Type type) {
this.type = type;
@@ -9227,6 +9228,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/PaymentLinkUpdateParams.java b/src/main/java/com/stripe/param/PaymentLinkUpdateParams.java
index 22a60d4c240..638ae738845 100644
--- a/src/main/java/com/stripe/param/PaymentLinkUpdateParams.java
+++ b/src/main/java/com/stripe/param/PaymentLinkUpdateParams.java
@@ -123,6 +123,14 @@ public class PaymentLinkUpdateParams extends ApiRequestParams {
@SerializedName("payment_method_types")
Object paymentMethodTypes;
+ /**
+ * Controls phone number collection settings during checkout.
+ *
+ * We recommend that you review your privacy policy and check with your legal contacts.
+ */
+ @SerializedName("phone_number_collection")
+ PhoneNumberCollection phoneNumberCollection;
+
/** Settings that restrict the usage of a payment link. */
@SerializedName("restrictions")
Object restrictions;
@@ -169,6 +177,7 @@ private PaymentLinkUpdateParams(
PaymentIntentData paymentIntentData,
PaymentMethodCollection paymentMethodCollection,
Object paymentMethodTypes,
+ PhoneNumberCollection phoneNumberCollection,
Object restrictions,
Object shippingAddressCollection,
SubmitType submitType,
@@ -191,6 +200,7 @@ private PaymentLinkUpdateParams(
this.paymentIntentData = paymentIntentData;
this.paymentMethodCollection = paymentMethodCollection;
this.paymentMethodTypes = paymentMethodTypes;
+ this.phoneNumberCollection = phoneNumberCollection;
this.restrictions = restrictions;
this.shippingAddressCollection = shippingAddressCollection;
this.submitType = submitType;
@@ -237,6 +247,8 @@ public static class Builder {
private Object paymentMethodTypes;
+ private PhoneNumberCollection phoneNumberCollection;
+
private Object restrictions;
private Object shippingAddressCollection;
@@ -267,6 +279,7 @@ public PaymentLinkUpdateParams build() {
this.paymentIntentData,
this.paymentMethodCollection,
this.paymentMethodTypes,
+ this.phoneNumberCollection,
this.restrictions,
this.shippingAddressCollection,
this.submitType,
@@ -569,6 +582,17 @@ public Builder setPaymentMethodTypes(
return this;
}
+ /**
+ * Controls phone number collection settings during checkout.
+ *
+ *
We recommend that you review your privacy policy and check with your legal contacts.
+ */
+ public Builder setPhoneNumberCollection(
+ PaymentLinkUpdateParams.PhoneNumberCollection phoneNumberCollection) {
+ this.phoneNumberCollection = phoneNumberCollection;
+ return this;
+ }
+
/** Settings that restrict the usage of a payment link. */
public Builder setRestrictions(PaymentLinkUpdateParams.Restrictions restrictions) {
this.restrictions = restrictions;
@@ -3511,6 +3535,75 @@ public Builder setTransferGroup(EmptyParam transferGroup) {
}
}
+ @Getter
+ public static class PhoneNumberCollection {
+ /** Required. Set to {@code true} to enable phone number collection. */
+ @SerializedName("enabled")
+ Boolean enabled;
+
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ private PhoneNumberCollection(Boolean enabled, Map extraParams) {
+ this.enabled = enabled;
+ this.extraParams = extraParams;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Boolean enabled;
+
+ private Map extraParams;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public PaymentLinkUpdateParams.PhoneNumberCollection build() {
+ return new PaymentLinkUpdateParams.PhoneNumberCollection(this.enabled, this.extraParams);
+ }
+
+ /** Required. Set to {@code true} to enable phone number collection. */
+ public Builder setEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Add a key/value pair 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 {@link
+ * PaymentLinkUpdateParams.PhoneNumberCollection#extraParams} for the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link PaymentLinkUpdateParams.PhoneNumberCollection#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+ }
+ }
+
@Getter
public static class Restrictions {
/**
diff --git a/src/main/java/com/stripe/param/TaxIdCollectionCreateParams.java b/src/main/java/com/stripe/param/TaxIdCollectionCreateParams.java
index 2ade24b85fa..d7a6086755f 100644
--- a/src/main/java/com/stripe/param/TaxIdCollectionCreateParams.java
+++ b/src/main/java/com/stripe/param/TaxIdCollectionCreateParams.java
@@ -26,23 +26,23 @@ public class TaxIdCollectionCreateParams extends ApiRequestParams {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code ca_pst_bc},
- * {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code ch_uid}, {@code
- * ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code de_stn}, {@code
- * do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat},
- * {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin},
- * {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn},
- * {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid},
- * {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
- * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
- * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
- * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code
- * sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit},
- * {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
+ * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code
+ * de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat},
+ * {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib},
+ * {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn},
+ * {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin},
+ * {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat},
+ * {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin},
+ * {@code no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code
+ * pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin},
+ * {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat},
+ * {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -131,24 +131,24 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code
- * kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat},
- * {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code
- * my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code np_pan},
- * {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code
- * rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code sg_uen},
- * {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat}, {@code
- * tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code ug_tin},
- * {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code
- * vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif},
+ * {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code
+ * cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif},
+ * {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
+ * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
+ * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
+ * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
+ * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
+ * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
+ * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
+ * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
+ * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
+ * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
+ * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
+ * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
public Builder setType(TaxIdCollectionCreateParams.Type type) {
this.type = type;
@@ -169,6 +169,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/TaxIdCreateParams.java b/src/main/java/com/stripe/param/TaxIdCreateParams.java
index 675c7544415..f2928423b4e 100644
--- a/src/main/java/com/stripe/param/TaxIdCreateParams.java
+++ b/src/main/java/com/stripe/param/TaxIdCreateParams.java
@@ -30,23 +30,23 @@ public class TaxIdCreateParams extends ApiRequestParams {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code ca_pst_bc},
- * {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code ch_uid}, {@code
- * ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code de_stn}, {@code
- * do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat},
- * {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin},
- * {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn},
- * {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid},
- * {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
- * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
- * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
- * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code
- * sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit},
- * {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
+ * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin}, {@code
+ * de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code eu_oss_vat},
+ * {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br}, {@code hr_oib},
+ * {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn},
+ * {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin},
+ * {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat},
+ * {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin},
+ * {@code no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code
+ * pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin},
+ * {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat},
+ * {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -145,24 +145,24 @@ public Builder setOwner(TaxIdCreateParams.Owner owner) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn}, {@code
- * am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code ba_tin},
- * {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj}, {@code
- * br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin}, {@code
- * kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code md_vat},
- * {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp}, {@code
- * my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code np_pan},
- * {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin}, {@code
- * rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code sg_uen},
- * {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat}, {@code
- * tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code ug_tin},
- * {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code
- * vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn},
+ * {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code
+ * br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst},
+ * {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif},
+ * {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code
+ * cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif},
+ * {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
+ * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
+ * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
+ * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
+ * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
+ * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
+ * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
+ * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
+ * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
+ * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
+ * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
+ * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
public Builder setType(TaxIdCreateParams.Type type) {
this.type = type;
@@ -299,6 +299,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/TokenCreateParams.java b/src/main/java/com/stripe/param/TokenCreateParams.java
index a7ca783a21a..2a3ce2b109f 100644
--- a/src/main/java/com/stripe/param/TokenCreateParams.java
+++ b/src/main/java/com/stripe/param/TokenCreateParams.java
@@ -450,6 +450,9 @@ public static class Company {
@SerializedName("ownership_declaration_shown_and_signed")
Boolean ownershipDeclarationShownAndSigned;
+ @SerializedName("ownership_exemption_reason")
+ ApiRequestParams.EnumParam ownershipExemptionReason;
+
/** The company's phone number (used for verification). */
@SerializedName("phone")
String phone;
@@ -508,6 +511,7 @@ private Company(
Boolean ownersProvided,
OwnershipDeclaration ownershipDeclaration,
Boolean ownershipDeclarationShownAndSigned,
+ ApiRequestParams.EnumParam ownershipExemptionReason,
String phone,
String registrationNumber,
ApiRequestParams.EnumParam structure,
@@ -529,6 +533,7 @@ private Company(
this.ownersProvided = ownersProvided;
this.ownershipDeclaration = ownershipDeclaration;
this.ownershipDeclarationShownAndSigned = ownershipDeclarationShownAndSigned;
+ this.ownershipExemptionReason = ownershipExemptionReason;
this.phone = phone;
this.registrationNumber = registrationNumber;
this.structure = structure;
@@ -571,6 +576,8 @@ public static class Builder {
private Boolean ownershipDeclarationShownAndSigned;
+ private ApiRequestParams.EnumParam ownershipExemptionReason;
+
private String phone;
private String registrationNumber;
@@ -602,6 +609,7 @@ public TokenCreateParams.Account.Company build() {
this.ownersProvided,
this.ownershipDeclaration,
this.ownershipDeclarationShownAndSigned,
+ this.ownershipExemptionReason,
this.phone,
this.registrationNumber,
this.structure,
@@ -745,6 +753,17 @@ public Builder setOwnershipDeclarationShownAndSigned(
return this;
}
+ public Builder setOwnershipExemptionReason(
+ TokenCreateParams.Account.Company.OwnershipExemptionReason ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
+ public Builder setOwnershipExemptionReason(EmptyParam ownershipExemptionReason) {
+ this.ownershipExemptionReason = ownershipExemptionReason;
+ return this;
+ }
+
/** The company's phone number (used for verification). */
public Builder setPhone(String phone) {
this.phone = phone;
@@ -1596,6 +1615,22 @@ public Builder setFront(String front) {
}
}
+ public enum OwnershipExemptionReason implements ApiRequestParams.EnumParam {
+ @SerializedName("qualified_entity_exceeds_ownership_threshold")
+ QUALIFIED_ENTITY_EXCEEDS_OWNERSHIP_THRESHOLD(
+ "qualified_entity_exceeds_ownership_threshold"),
+
+ @SerializedName("qualifies_as_financial_institution")
+ QUALIFIES_AS_FINANCIAL_INSTITUTION("qualifies_as_financial_institution");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ OwnershipExemptionReason(String value) {
+ this.value = value;
+ }
+ }
+
public enum Structure implements ApiRequestParams.EnumParam {
@SerializedName("free_zone_establishment")
FREE_ZONE_ESTABLISHMENT("free_zone_establishment"),
diff --git a/src/main/java/com/stripe/param/billingportal/ConfigurationCreateParams.java b/src/main/java/com/stripe/param/billingportal/ConfigurationCreateParams.java
index 4af57aa0ab1..9feb1aed16d 100644
--- a/src/main/java/com/stripe/param/billingportal/ConfigurationCreateParams.java
+++ b/src/main/java/com/stripe/param/billingportal/ConfigurationCreateParams.java
@@ -1116,9 +1116,6 @@ public enum Mode implements ApiRequestParams.EnumParam {
}
public enum ProrationBehavior implements ApiRequestParams.EnumParam {
- @SerializedName("always_invoice")
- ALWAYS_INVOICE("always_invoice"),
-
@SerializedName("create_prorations")
CREATE_PRORATIONS("create_prorations"),
diff --git a/src/main/java/com/stripe/param/billingportal/ConfigurationUpdateParams.java b/src/main/java/com/stripe/param/billingportal/ConfigurationUpdateParams.java
index 537657ae92a..e5c42027292 100644
--- a/src/main/java/com/stripe/param/billingportal/ConfigurationUpdateParams.java
+++ b/src/main/java/com/stripe/param/billingportal/ConfigurationUpdateParams.java
@@ -1158,9 +1158,6 @@ public enum Mode implements ApiRequestParams.EnumParam {
}
public enum ProrationBehavior implements ApiRequestParams.EnumParam {
- @SerializedName("always_invoice")
- ALWAYS_INVOICE("always_invoice"),
-
@SerializedName("create_prorations")
CREATE_PRORATIONS("create_prorations"),
diff --git a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
index 22507d7746f..af76428f742 100644
--- a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
+++ b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
@@ -13619,7 +13619,11 @@ public enum ShippingDetails implements ApiRequestParams.EnumParam {
@Getter
public static class PhoneNumberCollection {
- /** Required. Set to {@code true} to enable phone number collection. */
+ /**
+ * Required. Set to {@code true} to enable phone number collection.
+ *
+ * Can only be set in {@code payment} and {@code subscription} mode.
+ */
@SerializedName("enabled")
Boolean enabled;
@@ -13651,7 +13655,11 @@ public SessionCreateParams.PhoneNumberCollection build() {
return new SessionCreateParams.PhoneNumberCollection(this.enabled, this.extraParams);
}
- /** Required. Set to {@code true} to enable phone number collection. */
+ /**
+ * Required. Set to {@code true} to enable phone number collection.
+ *
+ *
Can only be set in {@code payment} and {@code subscription} mode.
+ */
public Builder setEnabled(Boolean enabled) {
this.enabled = enabled;
return this;
diff --git a/src/main/java/com/stripe/param/tax/CalculationCreateParams.java b/src/main/java/com/stripe/param/tax/CalculationCreateParams.java
index 7c446b06ed5..606afbadce3 100644
--- a/src/main/java/com/stripe/param/tax/CalculationCreateParams.java
+++ b/src/main/java/com/stripe/param/tax/CalculationCreateParams.java
@@ -626,24 +626,24 @@ public static class TaxId {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code hk_br},
- * {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst}, {@code
- * is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code kh_tin},
- * {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat}, {@code
- * md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code my_frp},
- * {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec}, {@code
- * np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code ro_tin},
- * {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst}, {@code
- * sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code th_vat},
- * {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat}, {@code
- * ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code ve_rif},
- * {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code
+ * gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat},
+ * {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code
+ * ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat},
+ * {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code
+ * mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat},
+ * {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code
+ * ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat},
+ * {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code
+ * sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat},
+ * {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code
+ * uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
*/
@SerializedName("type")
Type type;
@@ -705,24 +705,25 @@ public Builder putAllExtraParam(Map map) {
/**
* Required. Type of the tax ID, one of {@code ad_nrt}, {@code ae_trn},
- * {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code au_arn}, {@code
- * ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin}, {@code br_cnpj},
- * {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code ca_gst_hst}, {@code
- * ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst}, {@code cd_nif}, {@code
- * ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code co_nit}, {@code cr_tin},
- * {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin}, {@code es_cif}, {@code
- * eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat}, {@code gn_nif}, {@code
- * hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code il_vat}, {@code in_gst},
- * {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn}, {@code ke_pin}, {@code
- * kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code li_vat}, {@code ma_vat},
- * {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif}, {@code mx_rfc}, {@code
- * my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code no_vat}, {@code no_voec},
- * {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc}, {@code ph_tin}, {@code
- * ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code sa_vat}, {@code sg_gst},
- * {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code sr_fin}, {@code sv_nit}, {@code
- * th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat}, {@code tz_vat}, {@code ua_vat},
- * {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code uz_tin}, {@code uz_vat}, {@code
- * ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin}, or {@code zw_tin}
+ * {@code al_tin}, {@code am_tin}, {@code ao_tin}, {@code ar_cuit}, {@code au_abn}, {@code
+ * au_arn}, {@code ba_tin}, {@code bb_tin}, {@code bg_uic}, {@code bh_vat}, {@code bo_tin},
+ * {@code br_cnpj}, {@code br_cpf}, {@code bs_tin}, {@code by_tin}, {@code ca_bn}, {@code
+ * ca_gst_hst}, {@code ca_pst_bc}, {@code ca_pst_mb}, {@code ca_pst_sk}, {@code ca_qst},
+ * {@code cd_nif}, {@code ch_uid}, {@code ch_vat}, {@code cl_tin}, {@code cn_tin}, {@code
+ * co_nit}, {@code cr_tin}, {@code de_stn}, {@code do_rcn}, {@code ec_ruc}, {@code eg_tin},
+ * {@code es_cif}, {@code eu_oss_vat}, {@code eu_vat}, {@code gb_vat}, {@code ge_vat},
+ * {@code gn_nif}, {@code hk_br}, {@code hr_oib}, {@code hu_tin}, {@code id_npwp}, {@code
+ * il_vat}, {@code in_gst}, {@code is_vat}, {@code jp_cn}, {@code jp_rn}, {@code jp_trn},
+ * {@code ke_pin}, {@code kh_tin}, {@code kr_brn}, {@code kz_bin}, {@code li_uid}, {@code
+ * li_vat}, {@code ma_vat}, {@code md_vat}, {@code me_pib}, {@code mk_vat}, {@code mr_nif},
+ * {@code mx_rfc}, {@code my_frp}, {@code my_itn}, {@code my_sst}, {@code ng_tin}, {@code
+ * no_vat}, {@code no_voec}, {@code np_pan}, {@code nz_gst}, {@code om_vat}, {@code pe_ruc},
+ * {@code ph_tin}, {@code ro_tin}, {@code rs_pib}, {@code ru_inn}, {@code ru_kpp}, {@code
+ * sa_vat}, {@code sg_gst}, {@code sg_uen}, {@code si_tin}, {@code sn_ninea}, {@code
+ * sr_fin}, {@code sv_nit}, {@code th_vat}, {@code tj_tin}, {@code tr_tin}, {@code tw_vat},
+ * {@code tz_vat}, {@code ua_vat}, {@code ug_tin}, {@code us_ein}, {@code uy_ruc}, {@code
+ * uz_tin}, {@code uz_vat}, {@code ve_rif}, {@code vn_tin}, {@code za_vat}, {@code zm_tin},
+ * or {@code zw_tin}
*/
public Builder setType(CalculationCreateParams.CustomerDetails.TaxId.Type type) {
this.type = type;
@@ -743,6 +744,9 @@ public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("ae_trn")
AE_TRN("ae_trn"),
+ @SerializedName("al_tin")
+ AL_TIN("al_tin"),
+
@SerializedName("am_tin")
AM_TIN("am_tin"),
diff --git a/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java b/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
index 6edc54fa17d..cfddb32e8bb 100644
--- a/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
+++ b/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
@@ -202,6 +202,18 @@ public static class CountryOptions {
@SerializedName("ae")
Ae ae;
+ /** Options for the registration in AL. */
+ @SerializedName("al")
+ Al al;
+
+ /** Options for the registration in AM. */
+ @SerializedName("am")
+ Am am;
+
+ /** Options for the registration in AO. */
+ @SerializedName("ao")
+ Ao ao;
+
/** Options for the registration in AT. */
@SerializedName("at")
At at;
@@ -210,6 +222,14 @@ public static class CountryOptions {
@SerializedName("au")
Au au;
+ /** Options for the registration in BA. */
+ @SerializedName("ba")
+ Ba ba;
+
+ /** Options for the registration in BB. */
+ @SerializedName("bb")
+ Bb bb;
+
/** Options for the registration in BE. */
@SerializedName("be")
Be be;
@@ -222,6 +242,10 @@ public static class CountryOptions {
@SerializedName("bh")
Bh bh;
+ /** Options for the registration in BS. */
+ @SerializedName("bs")
+ Bs bs;
+
/** Options for the registration in BY. */
@SerializedName("by")
By by;
@@ -230,6 +254,10 @@ public static class CountryOptions {
@SerializedName("ca")
Ca ca;
+ /** Options for the registration in CD. */
+ @SerializedName("cd")
+ Cd cd;
+
/** Options for the registration in CH. */
@SerializedName("ch")
Ch ch;
@@ -303,6 +331,10 @@ public static class CountryOptions {
@SerializedName("ge")
Ge ge;
+ /** Options for the registration in GN. */
+ @SerializedName("gn")
+ Gn gn;
+
/** Options for the registration in GR. */
@SerializedName("gr")
Gr gr;
@@ -339,6 +371,10 @@ public static class CountryOptions {
@SerializedName("ke")
Ke ke;
+ /** Options for the registration in KH. */
+ @SerializedName("kh")
+ Kh kh;
+
/** Options for the registration in KR. */
@SerializedName("kr")
Kr kr;
@@ -367,6 +403,18 @@ public static class CountryOptions {
@SerializedName("md")
Md md;
+ /** Options for the registration in ME. */
+ @SerializedName("me")
+ Me me;
+
+ /** Options for the registration in MK. */
+ @SerializedName("mk")
+ Mk mk;
+
+ /** Options for the registration in MR. */
+ @SerializedName("mr")
+ Mr mr;
+
/** Options for the registration in MT. */
@SerializedName("mt")
Mt mt;
@@ -391,6 +439,10 @@ public static class CountryOptions {
@SerializedName("no")
No no;
+ /** Options for the registration in NP. */
+ @SerializedName("np")
+ Np np;
+
/** Options for the registration in NZ. */
@SerializedName("nz")
Nz nz;
@@ -399,6 +451,10 @@ public static class CountryOptions {
@SerializedName("om")
Om om;
+ /** Options for the registration in PE. */
+ @SerializedName("pe")
+ Pe pe;
+
/** Options for the registration in PL. */
@SerializedName("pl")
Pl pl;
@@ -439,10 +495,22 @@ public static class CountryOptions {
@SerializedName("sk")
Sk sk;
+ /** Options for the registration in SN. */
+ @SerializedName("sn")
+ Sn sn;
+
+ /** Options for the registration in SR. */
+ @SerializedName("sr")
+ Sr sr;
+
/** Options for the registration in TH. */
@SerializedName("th")
Th th;
+ /** Options for the registration in TJ. */
+ @SerializedName("tj")
+ Tj tj;
+
/** Options for the registration in TR. */
@SerializedName("tr")
Tr tr;
@@ -451,10 +519,18 @@ public static class CountryOptions {
@SerializedName("tz")
Tz tz;
+ /** Options for the registration in UG. */
+ @SerializedName("ug")
+ Ug ug;
+
/** Options for the registration in US. */
@SerializedName("us")
Us us;
+ /** Options for the registration in UY. */
+ @SerializedName("uy")
+ Uy uy;
+
/** Options for the registration in UZ. */
@SerializedName("uz")
Uz uz;
@@ -467,15 +543,30 @@ public static class CountryOptions {
@SerializedName("za")
Za za;
+ /** Options for the registration in ZM. */
+ @SerializedName("zm")
+ Zm zm;
+
+ /** Options for the registration in ZW. */
+ @SerializedName("zw")
+ Zw zw;
+
private CountryOptions(
Ae ae,
+ Al al,
+ Am am,
+ Ao ao,
At at,
Au au,
+ Ba ba,
+ Bb bb,
Be be,
Bg bg,
Bh bh,
+ Bs bs,
By by,
Ca ca,
+ Cd cd,
Ch ch,
Cl cl,
Co co,
@@ -493,6 +584,7 @@ private CountryOptions(
Fr fr,
Gb gb,
Ge ge,
+ Gn gn,
Gr gr,
Hr hr,
Hu hu,
@@ -502,6 +594,7 @@ private CountryOptions(
It it,
Jp jp,
Ke ke,
+ Kh kh,
Kr kr,
Kz kz,
Lt lt,
@@ -509,14 +602,19 @@ private CountryOptions(
Lv lv,
Ma ma,
Md md,
+ Me me,
+ Mk mk,
+ Mr mr,
Mt mt,
Mx mx,
My my,
Ng ng,
Nl nl,
No no,
+ Np np,
Nz nz,
Om om,
+ Pe pe,
Pl pl,
Pt pt,
Ro ro,
@@ -527,21 +625,35 @@ private CountryOptions(
Sg sg,
Si si,
Sk sk,
+ Sn sn,
+ Sr sr,
Th th,
+ Tj tj,
Tr tr,
Tz tz,
+ Ug ug,
Us us,
+ Uy uy,
Uz uz,
Vn vn,
- Za za) {
+ Za za,
+ Zm zm,
+ Zw zw) {
this.ae = ae;
+ this.al = al;
+ this.am = am;
+ this.ao = ao;
this.at = at;
this.au = au;
+ this.ba = ba;
+ this.bb = bb;
this.be = be;
this.bg = bg;
this.bh = bh;
+ this.bs = bs;
this.by = by;
this.ca = ca;
+ this.cd = cd;
this.ch = ch;
this.cl = cl;
this.co = co;
@@ -559,6 +671,7 @@ private CountryOptions(
this.fr = fr;
this.gb = gb;
this.ge = ge;
+ this.gn = gn;
this.gr = gr;
this.hr = hr;
this.hu = hu;
@@ -568,6 +681,7 @@ private CountryOptions(
this.it = it;
this.jp = jp;
this.ke = ke;
+ this.kh = kh;
this.kr = kr;
this.kz = kz;
this.lt = lt;
@@ -575,14 +689,19 @@ private CountryOptions(
this.lv = lv;
this.ma = ma;
this.md = md;
+ this.me = me;
+ this.mk = mk;
+ this.mr = mr;
this.mt = mt;
this.mx = mx;
this.my = my;
this.ng = ng;
this.nl = nl;
this.no = no;
+ this.np = np;
this.nz = nz;
this.om = om;
+ this.pe = pe;
this.pl = pl;
this.pt = pt;
this.ro = ro;
@@ -593,13 +712,20 @@ private CountryOptions(
this.sg = sg;
this.si = si;
this.sk = sk;
+ this.sn = sn;
+ this.sr = sr;
this.th = th;
+ this.tj = tj;
this.tr = tr;
this.tz = tz;
+ this.ug = ug;
this.us = us;
+ this.uy = uy;
this.uz = uz;
this.vn = vn;
this.za = za;
+ this.zm = zm;
+ this.zw = zw;
}
public static Builder builder() {
@@ -609,20 +735,34 @@ public static Builder builder() {
public static class Builder {
private Ae ae;
+ private Al al;
+
+ private Am am;
+
+ private Ao ao;
+
private At at;
private Au au;
+ private Ba ba;
+
+ private Bb bb;
+
private Be be;
private Bg bg;
private Bh bh;
+ private Bs bs;
+
private By by;
private Ca ca;
+ private Cd cd;
+
private Ch ch;
private Cl cl;
@@ -657,6 +797,8 @@ public static class Builder {
private Ge ge;
+ private Gn gn;
+
private Gr gr;
private Hr hr;
@@ -675,6 +817,8 @@ public static class Builder {
private Ke ke;
+ private Kh kh;
+
private Kr kr;
private Kz kz;
@@ -689,6 +833,12 @@ public static class Builder {
private Md md;
+ private Me me;
+
+ private Mk mk;
+
+ private Mr mr;
+
private Mt mt;
private Mx mx;
@@ -701,10 +851,14 @@ public static class Builder {
private No no;
+ private Np np;
+
private Nz nz;
private Om om;
+ private Pe pe;
+
private Pl pl;
private Pt pt;
@@ -725,31 +879,52 @@ public static class Builder {
private Sk sk;
+ private Sn sn;
+
+ private Sr sr;
+
private Th th;
+ private Tj tj;
+
private Tr tr;
private Tz tz;
+ private Ug ug;
+
private Us us;
+ private Uy uy;
+
private Uz uz;
private Vn vn;
private Za za;
+ private Zm zm;
+
+ private Zw zw;
+
/** Finalize and obtain parameter instance from this builder. */
public RegistrationCreateParams.CountryOptions build() {
return new RegistrationCreateParams.CountryOptions(
this.ae,
+ this.al,
+ this.am,
+ this.ao,
this.at,
this.au,
+ this.ba,
+ this.bb,
this.be,
this.bg,
this.bh,
+ this.bs,
this.by,
this.ca,
+ this.cd,
this.ch,
this.cl,
this.co,
@@ -767,6 +942,7 @@ public RegistrationCreateParams.CountryOptions build() {
this.fr,
this.gb,
this.ge,
+ this.gn,
this.gr,
this.hr,
this.hu,
@@ -776,6 +952,7 @@ public RegistrationCreateParams.CountryOptions build() {
this.it,
this.jp,
this.ke,
+ this.kh,
this.kr,
this.kz,
this.lt,
@@ -783,14 +960,19 @@ public RegistrationCreateParams.CountryOptions build() {
this.lv,
this.ma,
this.md,
+ this.me,
+ this.mk,
+ this.mr,
this.mt,
this.mx,
this.my,
this.ng,
this.nl,
this.no,
+ this.np,
this.nz,
this.om,
+ this.pe,
this.pl,
this.pt,
this.ro,
@@ -801,13 +983,20 @@ public RegistrationCreateParams.CountryOptions build() {
this.sg,
this.si,
this.sk,
+ this.sn,
+ this.sr,
this.th,
+ this.tj,
this.tr,
this.tz,
+ this.ug,
this.us,
+ this.uy,
this.uz,
this.vn,
- this.za);
+ this.za,
+ this.zm,
+ this.zw);
}
/** Options for the registration in AE. */
@@ -816,6 +1005,24 @@ public Builder setAe(RegistrationCreateParams.CountryOptions.Ae ae) {
return this;
}
+ /** Options for the registration in AL. */
+ public Builder setAl(RegistrationCreateParams.CountryOptions.Al al) {
+ this.al = al;
+ return this;
+ }
+
+ /** Options for the registration in AM. */
+ public Builder setAm(RegistrationCreateParams.CountryOptions.Am am) {
+ this.am = am;
+ return this;
+ }
+
+ /** Options for the registration in AO. */
+ public Builder setAo(RegistrationCreateParams.CountryOptions.Ao ao) {
+ this.ao = ao;
+ return this;
+ }
+
/** Options for the registration in AT. */
public Builder setAt(RegistrationCreateParams.CountryOptions.At at) {
this.at = at;
@@ -828,6 +1035,18 @@ public Builder setAu(RegistrationCreateParams.CountryOptions.Au au) {
return this;
}
+ /** Options for the registration in BA. */
+ public Builder setBa(RegistrationCreateParams.CountryOptions.Ba ba) {
+ this.ba = ba;
+ return this;
+ }
+
+ /** Options for the registration in BB. */
+ public Builder setBb(RegistrationCreateParams.CountryOptions.Bb bb) {
+ this.bb = bb;
+ return this;
+ }
+
/** Options for the registration in BE. */
public Builder setBe(RegistrationCreateParams.CountryOptions.Be be) {
this.be = be;
@@ -846,6 +1065,12 @@ public Builder setBh(RegistrationCreateParams.CountryOptions.Bh bh) {
return this;
}
+ /** Options for the registration in BS. */
+ public Builder setBs(RegistrationCreateParams.CountryOptions.Bs bs) {
+ this.bs = bs;
+ return this;
+ }
+
/** Options for the registration in BY. */
public Builder setBy(RegistrationCreateParams.CountryOptions.By by) {
this.by = by;
@@ -858,6 +1083,12 @@ public Builder setCa(RegistrationCreateParams.CountryOptions.Ca ca) {
return this;
}
+ /** Options for the registration in CD. */
+ public Builder setCd(RegistrationCreateParams.CountryOptions.Cd cd) {
+ this.cd = cd;
+ return this;
+ }
+
/** Options for the registration in CH. */
public Builder setCh(RegistrationCreateParams.CountryOptions.Ch ch) {
this.ch = ch;
@@ -981,6 +1212,12 @@ public Builder setGe(RegistrationCreateParams.CountryOptions.Ge ge) {
return this;
}
+ /** Options for the registration in GN. */
+ public Builder setGn(RegistrationCreateParams.CountryOptions.Gn gn) {
+ this.gn = gn;
+ return this;
+ }
+
/** Options for the registration in GR. */
public Builder setGr(RegistrationCreateParams.CountryOptions.Gr gr) {
this.gr = gr;
@@ -1035,6 +1272,12 @@ public Builder setKe(RegistrationCreateParams.CountryOptions.Ke ke) {
return this;
}
+ /** Options for the registration in KH. */
+ public Builder setKh(RegistrationCreateParams.CountryOptions.Kh kh) {
+ this.kh = kh;
+ return this;
+ }
+
/** Options for the registration in KR. */
public Builder setKr(RegistrationCreateParams.CountryOptions.Kr kr) {
this.kr = kr;
@@ -1077,6 +1320,24 @@ public Builder setMd(RegistrationCreateParams.CountryOptions.Md md) {
return this;
}
+ /** Options for the registration in ME. */
+ public Builder setMe(RegistrationCreateParams.CountryOptions.Me me) {
+ this.me = me;
+ return this;
+ }
+
+ /** Options for the registration in MK. */
+ public Builder setMk(RegistrationCreateParams.CountryOptions.Mk mk) {
+ this.mk = mk;
+ return this;
+ }
+
+ /** Options for the registration in MR. */
+ public Builder setMr(RegistrationCreateParams.CountryOptions.Mr mr) {
+ this.mr = mr;
+ return this;
+ }
+
/** Options for the registration in MT. */
public Builder setMt(RegistrationCreateParams.CountryOptions.Mt mt) {
this.mt = mt;
@@ -1113,6 +1374,12 @@ public Builder setNo(RegistrationCreateParams.CountryOptions.No no) {
return this;
}
+ /** Options for the registration in NP. */
+ public Builder setNp(RegistrationCreateParams.CountryOptions.Np np) {
+ this.np = np;
+ return this;
+ }
+
/** Options for the registration in NZ. */
public Builder setNz(RegistrationCreateParams.CountryOptions.Nz nz) {
this.nz = nz;
@@ -1125,6 +1392,12 @@ public Builder setOm(RegistrationCreateParams.CountryOptions.Om om) {
return this;
}
+ /** Options for the registration in PE. */
+ public Builder setPe(RegistrationCreateParams.CountryOptions.Pe pe) {
+ this.pe = pe;
+ return this;
+ }
+
/** Options for the registration in PL. */
public Builder setPl(RegistrationCreateParams.CountryOptions.Pl pl) {
this.pl = pl;
@@ -1185,12 +1458,30 @@ public Builder setSk(RegistrationCreateParams.CountryOptions.Sk sk) {
return this;
}
+ /** Options for the registration in SN. */
+ public Builder setSn(RegistrationCreateParams.CountryOptions.Sn sn) {
+ this.sn = sn;
+ return this;
+ }
+
+ /** Options for the registration in SR. */
+ public Builder setSr(RegistrationCreateParams.CountryOptions.Sr sr) {
+ this.sr = sr;
+ return this;
+ }
+
/** Options for the registration in TH. */
public Builder setTh(RegistrationCreateParams.CountryOptions.Th th) {
this.th = th;
return this;
}
+ /** Options for the registration in TJ. */
+ public Builder setTj(RegistrationCreateParams.CountryOptions.Tj tj) {
+ this.tj = tj;
+ return this;
+ }
+
/** Options for the registration in TR. */
public Builder setTr(RegistrationCreateParams.CountryOptions.Tr tr) {
this.tr = tr;
@@ -1203,12 +1494,24 @@ public Builder setTz(RegistrationCreateParams.CountryOptions.Tz tz) {
return this;
}
+ /** Options for the registration in UG. */
+ public Builder setUg(RegistrationCreateParams.CountryOptions.Ug ug) {
+ this.ug = ug;
+ return this;
+ }
+
/** Options for the registration in US. */
public Builder setUs(RegistrationCreateParams.CountryOptions.Us us) {
this.us = us;
return this;
}
+ /** Options for the registration in UY. */
+ public Builder setUy(RegistrationCreateParams.CountryOptions.Uy uy) {
+ this.uy = uy;
+ return this;
+ }
+
/** Options for the registration in UZ. */
public Builder setUz(RegistrationCreateParams.CountryOptions.Uz uz) {
this.uz = uz;
@@ -1226,6 +1529,18 @@ public Builder setZa(RegistrationCreateParams.CountryOptions.Za za) {
this.za = za;
return this;
}
+
+ /** Options for the registration in ZM. */
+ public Builder setZm(RegistrationCreateParams.CountryOptions.Zm zm) {
+ this.zm = zm;
+ return this;
+ }
+
+ /** Options for the registration in ZW. */
+ public Builder setZw(RegistrationCreateParams.CountryOptions.Zw zw) {
+ this.zw = zw;
+ return this;
+ }
}
@Getter
@@ -1311,7 +1626,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class At {
+ public static class Al {
/**
* 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 {@code @SerializedName} value.
@@ -1321,17 +1636,12 @@ public static class At {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Options for the standard registration. */
- @SerializedName("standard")
- Standard standard;
-
- /** Required. Type of registration to be created in an EU country. */
+ /** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private At(Map extraParams, Standard standard, Type type) {
+ private Al(Map extraParams, Type type) {
this.extraParams = extraParams;
- this.standard = standard;
this.type = type;
}
@@ -1342,20 +1652,17 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private Standard standard;
-
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.At build() {
- return new RegistrationCreateParams.CountryOptions.At(
- this.extraParams, this.standard, this.type);
+ public RegistrationCreateParams.CountryOptions.Al build() {
+ return new RegistrationCreateParams.CountryOptions.Al(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.At#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Al#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -1369,7 +1676,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.At#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Al#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -1380,122 +1687,14 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.At.Standard standard) {
- this.standard = standard;
- return this;
- }
-
- /** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.At.Type type) {
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Al.Type type) {
this.type = type;
return this;
}
}
- @Getter
- public static class Standard {
- /**
- * 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 {@code @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.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map extraParams;
-
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- @SerializedName("place_of_supply_scheme")
- PlaceOfSupplyScheme placeOfSupplyScheme;
-
- private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
- this.extraParams = extraParams;
- this.placeOfSupplyScheme = placeOfSupplyScheme;
- }
-
- public static Builder builder() {
- return new Builder();
- }
-
- public static class Builder {
- private Map extraParams;
-
- private PlaceOfSupplyScheme placeOfSupplyScheme;
-
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.At.Standard build() {
- return new RegistrationCreateParams.CountryOptions.At.Standard(
- this.extraParams, this.placeOfSupplyScheme);
- }
-
- /**
- * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.At.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.put(key, value);
- return this;
- }
-
- /**
- * 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 {@link RegistrationCreateParams.CountryOptions.At.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.putAll(map);
- return this;
- }
-
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.At.Standard.PlaceOfSupplyScheme
- placeOfSupplyScheme) {
- this.placeOfSupplyScheme = placeOfSupplyScheme;
- return this;
- }
- }
-
- public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
- @SerializedName("small_seller")
- SMALL_SELLER("small_seller"),
-
- @SerializedName("standard")
- STANDARD("standard");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- PlaceOfSupplyScheme(String value) {
- this.value = value;
- }
- }
- }
-
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("ioss")
- IOSS("ioss"),
-
- @SerializedName("oss_non_union")
- OSS_NON_UNION("oss_non_union"),
-
- @SerializedName("oss_union")
- OSS_UNION("oss_union"),
-
@SerializedName("standard")
STANDARD("standard");
@@ -1509,7 +1708,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Au {
+ public static class Am {
/**
* 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 {@code @SerializedName} value.
@@ -1523,7 +1722,7 @@ public static class Au {
@SerializedName("type")
Type type;
- private Au(Map extraParams, Type type) {
+ private Am(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -1538,14 +1737,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Au build() {
- return new RegistrationCreateParams.CountryOptions.Au(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Am build() {
+ return new RegistrationCreateParams.CountryOptions.Am(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Au#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Am#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -1559,7 +1758,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Au#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Am#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -1571,15 +1770,15 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Au.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Am.Type type) {
this.type = type;
return this;
}
}
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -1591,7 +1790,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Be {
+ public static class Ao {
/**
* 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 {@code @SerializedName} value.
@@ -1601,17 +1800,12 @@ public static class Be {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Options for the standard registration. */
- @SerializedName("standard")
- Standard standard;
-
- /** Required. Type of registration to be created in an EU country. */
+ /** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Be(Map extraParams, Standard standard, Type type) {
+ private Ao(Map extraParams, Type type) {
this.extraParams = extraParams;
- this.standard = standard;
this.type = type;
}
@@ -1622,20 +1816,17 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private Standard standard;
-
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Be build() {
- return new RegistrationCreateParams.CountryOptions.Be(
- this.extraParams, this.standard, this.type);
+ public RegistrationCreateParams.CountryOptions.Ao build() {
+ return new RegistrationCreateParams.CountryOptions.Ao(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Be#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ao#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -1649,7 +1840,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Be#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ao#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -1660,122 +1851,14 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Be.Standard standard) {
- this.standard = standard;
- return this;
- }
-
- /** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Be.Type type) {
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ao.Type type) {
this.type = type;
return this;
}
}
- @Getter
- public static class Standard {
- /**
- * 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 {@code @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.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map extraParams;
-
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- @SerializedName("place_of_supply_scheme")
- PlaceOfSupplyScheme placeOfSupplyScheme;
-
- private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
- this.extraParams = extraParams;
- this.placeOfSupplyScheme = placeOfSupplyScheme;
- }
-
- public static Builder builder() {
- return new Builder();
- }
-
- public static class Builder {
- private Map extraParams;
-
- private PlaceOfSupplyScheme placeOfSupplyScheme;
-
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Be.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Be.Standard(
- this.extraParams, this.placeOfSupplyScheme);
- }
-
- /**
- * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Be.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.put(key, value);
- return this;
- }
-
- /**
- * 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 {@link RegistrationCreateParams.CountryOptions.Be.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.putAll(map);
- return this;
- }
-
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme
- placeOfSupplyScheme) {
- this.placeOfSupplyScheme = placeOfSupplyScheme;
- return this;
- }
- }
-
- public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
- @SerializedName("small_seller")
- SMALL_SELLER("small_seller"),
-
- @SerializedName("standard")
- STANDARD("standard");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- PlaceOfSupplyScheme(String value) {
- this.value = value;
- }
- }
- }
-
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("ioss")
- IOSS("ioss"),
-
- @SerializedName("oss_non_union")
- OSS_NON_UNION("oss_non_union"),
-
- @SerializedName("oss_union")
- OSS_UNION("oss_union"),
-
@SerializedName("standard")
STANDARD("standard");
@@ -1789,7 +1872,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Bg {
+ public static class At {
/**
* 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 {@code @SerializedName} value.
@@ -1807,7 +1890,7 @@ public static class Bg {
@SerializedName("type")
Type type;
- private Bg(Map extraParams, Standard standard, Type type) {
+ private At(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -1825,15 +1908,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Bg build() {
- return new RegistrationCreateParams.CountryOptions.Bg(
+ public RegistrationCreateParams.CountryOptions.At build() {
+ return new RegistrationCreateParams.CountryOptions.At(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bg#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.At#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -1847,7 +1930,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Bg#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.At#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -1859,13 +1942,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Bg.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.At.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bg.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.At.Type type) {
this.type = type;
return this;
}
@@ -1904,15 +1987,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Bg.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Bg.Standard(
+ public RegistrationCreateParams.CountryOptions.At.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.At.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bg.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.At.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -1926,7 +2009,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Bg.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.At.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -1941,7 +2024,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.At.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -1987,7 +2070,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Bh {
+ public static class Au {
/**
* 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 {@code @SerializedName} value.
@@ -2001,7 +2084,7 @@ public static class Bh {
@SerializedName("type")
Type type;
- private Bh(Map extraParams, Type type) {
+ private Au(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -2016,14 +2099,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Bh build() {
- return new RegistrationCreateParams.CountryOptions.Bh(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Au build() {
+ return new RegistrationCreateParams.CountryOptions.Au(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bh#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Au#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2037,7 +2120,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Bh#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Au#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2049,7 +2132,7 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bh.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Au.Type type) {
this.type = type;
return this;
}
@@ -2069,7 +2152,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class By {
+ public static class Ba {
/**
* 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 {@code @SerializedName} value.
@@ -2083,7 +2166,7 @@ public static class By {
@SerializedName("type")
Type type;
- private By(Map extraParams, Type type) {
+ private Ba(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -2098,14 +2181,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.By build() {
- return new RegistrationCreateParams.CountryOptions.By(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Ba build() {
+ return new RegistrationCreateParams.CountryOptions.Ba(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ba#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2119,7 +2202,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ba#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2131,15 +2214,15 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.By.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ba.Type type) {
this.type = type;
return this;
}
}
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("simplified")
- SIMPLIFIED("simplified");
+ @SerializedName("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -2151,7 +2234,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Ca {
+ public static class Bb {
/**
* 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 {@code @SerializedName} value.
@@ -2161,17 +2244,12 @@ public static class Ca {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Options for the provincial tax registration. */
- @SerializedName("province_standard")
- ProvinceStandard provinceStandard;
-
- /** Required. Type of registration to be created in Canada. */
+ /** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Ca(Map extraParams, ProvinceStandard provinceStandard, Type type) {
+ private Bb(Map extraParams, Type type) {
this.extraParams = extraParams;
- this.provinceStandard = provinceStandard;
this.type = type;
}
@@ -2182,20 +2260,17 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private ProvinceStandard provinceStandard;
-
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ca build() {
- return new RegistrationCreateParams.CountryOptions.Ca(
- this.extraParams, this.provinceStandard, this.type);
+ public RegistrationCreateParams.CountryOptions.Bb build() {
+ return new RegistrationCreateParams.CountryOptions.Bb(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ca#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Bb#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2209,7 +2284,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Ca#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Bb#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2220,66 +2295,1586 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Options for the provincial tax registration. */
- public Builder setProvinceStandard(
- RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard provinceStandard) {
- this.provinceStandard = provinceStandard;
- return this;
- }
-
- /** Required. Type of registration to be created in Canada. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Ca.Type type) {
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bb.Type type) {
this.type = type;
return this;
}
}
- @Getter
- public static class ProvinceStandard {
- /**
- * 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 {@code @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.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map extraParams;
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
- /**
- * Required. Two-letter CA province code (ISO 3166-2).
- */
- @SerializedName("province")
- String province;
+ @Getter(onMethod_ = {@Override})
+ private final String value;
- private ProvinceStandard(Map extraParams, String province) {
- this.extraParams = extraParams;
- this.province = province;
+ Type(String value) {
+ this.value = value;
}
+ }
+ }
- public static Builder builder() {
- return new Builder();
- }
+ @Getter
+ public static class Be {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
- public static class Builder {
- private Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
- private String province;
+ /** Required. Type of registration to be created in an EU country. */
+ @SerializedName("type")
+ Type type;
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard build() {
- return new RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard(
- this.extraParams, this.province);
- }
+ private Be(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
- /**
- * Add a key/value pair 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 {@link
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Be build() {
+ return new RegistrationCreateParams.CountryOptions.Be(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Be#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Be#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Be.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Be.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Be.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Be.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Be.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Be.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Bg {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
+ @SerializedName("type")
+ Type type;
+
+ private Bg(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Bg build() {
+ return new RegistrationCreateParams.CountryOptions.Bg(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bg#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Bg#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Bg.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bg.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Bg.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bg.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bg.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Bg.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Bh {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Bh(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Bh build() {
+ return new RegistrationCreateParams.CountryOptions.Bh(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bh#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Bh#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bh.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Bs {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Bs(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Bs build() {
+ return new RegistrationCreateParams.CountryOptions.Bs(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Bs#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Bs#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bs.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class By {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private By(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.By build() {
+ return new RegistrationCreateParams.CountryOptions.By(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.By.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Ca {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Options for the provincial tax registration. */
+ @SerializedName("province_standard")
+ ProvinceStandard provinceStandard;
+
+ /** Required. Type of registration to be created in Canada. */
+ @SerializedName("type")
+ Type type;
+
+ private Ca(Map extraParams, ProvinceStandard provinceStandard, Type type) {
+ this.extraParams = extraParams;
+ this.provinceStandard = provinceStandard;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private ProvinceStandard provinceStandard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ca build() {
+ return new RegistrationCreateParams.CountryOptions.Ca(
+ this.extraParams, this.provinceStandard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ca#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Ca#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the provincial tax registration. */
+ public Builder setProvinceStandard(
+ RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard provinceStandard) {
+ this.provinceStandard = provinceStandard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in Canada. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ca.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class ProvinceStandard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Two-letter CA province code (ISO 3166-2).
+ */
+ @SerializedName("province")
+ String province;
+
+ private ProvinceStandard(Map extraParams, String province) {
+ this.extraParams = extraParams;
+ this.province = province;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private String province;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard build() {
+ return new RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard(
+ this.extraParams, this.province);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link
+ * RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link
* RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard#extraParams} for the field
* documentation.
*/
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Two-letter CA province code (ISO 3166-2).
+ */
+ public Builder setProvince(String province) {
+ this.province = province;
+ return this;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("province_standard")
+ PROVINCE_STANDARD("province_standard"),
+
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Cd {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Cd(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cd build() {
+ return new RegistrationCreateParams.CountryOptions.Cd(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cd#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cd#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Cd.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Ch {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Ch(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ch build() {
+ return new RegistrationCreateParams.CountryOptions.Ch(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ch.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Cl {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Cl(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cl build() {
+ return new RegistrationCreateParams.CountryOptions.Cl(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cl#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cl#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Cl.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Co {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Co(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Co build() {
+ return new RegistrationCreateParams.CountryOptions.Co(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Co#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Co#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Co.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Cr {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Cr(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cr build() {
+ return new RegistrationCreateParams.CountryOptions.Cr(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cr#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cr#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Cr.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Cy {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
+ @SerializedName("type")
+ Type type;
+
+ private Cy(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cy build() {
+ return new RegistrationCreateParams.CountryOptions.Cy(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cy#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cy#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Cy.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Cy.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cy.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Cy.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cy.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cy.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Cy.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Cz {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
+ @SerializedName("type")
+ Type type;
+
+ private Cz(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cz build() {
+ return new RegistrationCreateParams.CountryOptions.Cz(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cz#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Cz#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Cz.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Cz.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Cz.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Cz.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cz.Standard#extraParams} for
+ * the field documentation.
+ */
public Builder putExtraParam(String key, Object value) {
if (this.extraParams == null) {
this.extraParams = new HashMap<>();
@@ -2291,9 +3886,8 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link
- * RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard#extraParams} for the field
- * documentation.
+ * map. See {@link RegistrationCreateParams.CountryOptions.Cz.Standard#extraParams} for
+ * the field documentation.
*/
public Builder putAllExtraParam(Map map) {
if (this.extraParams == null) {
@@ -2304,22 +3898,239 @@ public Builder putAllExtraParam(Map map) {
}
/**
- * Required. Two-letter CA province code (ISO 3166-2).
+ * Required. Place of supply scheme used in an EU standard registration.
*/
- public Builder setProvince(String province) {
- this.province = province;
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Cz.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class De {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
+ @SerializedName("type")
+ Type type;
+
+ private De(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.De build() {
+ return new RegistrationCreateParams.CountryOptions.De(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.De#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.De#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.De.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.De.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.De.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.De.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.De.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.De.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.De.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
}
}
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("province_standard")
- PROVINCE_STANDARD("province_standard"),
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
- @SerializedName("simplified")
- SIMPLIFIED("simplified"),
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
@SerializedName("standard")
STANDARD("standard");
@@ -2334,7 +4145,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Ch {
+ public static class Dk {
/**
* 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 {@code @SerializedName} value.
@@ -2344,12 +4155,17 @@ public static class Ch {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Required. Type of registration to be created in {@code country}. */
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
@SerializedName("type")
Type type;
- private Ch(Map extraParams, Type type) {
+ private Dk(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2360,17 +4176,20 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
+ private Standard standard;
+
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ch build() {
- return new RegistrationCreateParams.CountryOptions.Ch(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Dk build() {
+ return new RegistrationCreateParams.CountryOptions.Dk(
+ this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Dk#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2384,7 +4203,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Dk#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2395,14 +4214,122 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Ch.Type type) {
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Dk.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Dk.Type type) {
this.type = type;
return this;
}
}
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Dk.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Dk.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Dk.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Dk.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Dk.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
@SerializedName("standard")
STANDARD("standard");
@@ -2416,7 +4343,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Cl {
+ public static class Ec {
/**
* 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 {@code @SerializedName} value.
@@ -2430,7 +4357,7 @@ public static class Cl {
@SerializedName("type")
Type type;
- private Cl(Map extraParams, Type type) {
+ private Ec(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -2445,14 +4372,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cl build() {
- return new RegistrationCreateParams.CountryOptions.Cl(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Ec build() {
+ return new RegistrationCreateParams.CountryOptions.Ec(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cl#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ec#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2466,7 +4393,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cl#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ec#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2478,7 +4405,7 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Cl.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ec.Type type) {
this.type = type;
return this;
}
@@ -2498,7 +4425,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Co {
+ public static class Ee {
/**
* 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 {@code @SerializedName} value.
@@ -2508,12 +4435,17 @@ public static class Co {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Required. Type of registration to be created in {@code country}. */
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in an EU country. */
@SerializedName("type")
Type type;
- private Co(Map extraParams, Type type) {
+ private Ee(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2524,51 +4456,162 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
+ private Standard standard;
+
private Type type;
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Co build() {
- return new RegistrationCreateParams.CountryOptions.Co(this.extraParams, this.type);
- }
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ee build() {
+ return new RegistrationCreateParams.CountryOptions.Ee(
+ this.extraParams, this.standard, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ee#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Ee#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ee.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in an EU country. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ee.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ public static class Standard {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ee.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ee.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ee.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
- /**
- * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Co#extraParams} for the field
- * documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Ee.Standard#extraParams} for
+ * the field documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
}
- this.extraParams.put(key, value);
- return this;
- }
- /**
- * 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 {@link RegistrationCreateParams.CountryOptions.Co#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Ee.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
}
- this.extraParams.putAll(map);
- return this;
}
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Co.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("small_seller")
+ SMALL_SELLER("small_seller"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
}
}
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("simplified")
- SIMPLIFIED("simplified");
+ @SerializedName("ioss")
+ IOSS("ioss"),
+
+ @SerializedName("oss_non_union")
+ OSS_NON_UNION("oss_non_union"),
+
+ @SerializedName("oss_union")
+ OSS_UNION("oss_union"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -2580,7 +4623,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Cr {
+ public static class Eg {
/**
* 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 {@code @SerializedName} value.
@@ -2594,7 +4637,7 @@ public static class Cr {
@SerializedName("type")
Type type;
- private Cr(Map extraParams, Type type) {
+ private Eg(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -2609,14 +4652,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cr build() {
- return new RegistrationCreateParams.CountryOptions.Cr(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Eg build() {
+ return new RegistrationCreateParams.CountryOptions.Eg(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cr#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Eg#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2630,7 +4673,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cr#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Eg#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2642,7 +4685,7 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Cr.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Eg.Type type) {
this.type = type;
return this;
}
@@ -2662,7 +4705,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Cy {
+ public static class Es {
/**
* 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 {@code @SerializedName} value.
@@ -2680,7 +4723,7 @@ public static class Cy {
@SerializedName("type")
Type type;
- private Cy(Map extraParams, Standard standard, Type type) {
+ private Es(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -2698,15 +4741,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cy build() {
- return new RegistrationCreateParams.CountryOptions.Cy(
+ public RegistrationCreateParams.CountryOptions.Es build() {
+ return new RegistrationCreateParams.CountryOptions.Es(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cy#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Es#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2720,7 +4763,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cy#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Es#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2732,13 +4775,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Cy.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Es.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Cy.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Es.Type type) {
this.type = type;
return this;
}
@@ -2777,15 +4820,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cy.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Cy.Standard(
+ public RegistrationCreateParams.CountryOptions.Es.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Es.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cy.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Es.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2799,7 +4842,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cy.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Es.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2814,7 +4857,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Cy.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Es.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -2860,7 +4903,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Cz {
+ public static class Fi {
/**
* 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 {@code @SerializedName} value.
@@ -2878,7 +4921,7 @@ public static class Cz {
@SerializedName("type")
Type type;
- private Cz(Map extraParams, Standard standard, Type type) {
+ private Fi(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -2896,15 +4939,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cz build() {
- return new RegistrationCreateParams.CountryOptions.Cz(
+ public RegistrationCreateParams.CountryOptions.Fi build() {
+ return new RegistrationCreateParams.CountryOptions.Fi(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cz#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fi#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2918,7 +4961,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cz#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fi#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2930,13 +4973,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Cz.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Fi.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Cz.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Fi.Type type) {
this.type = type;
return this;
}
@@ -2975,15 +5018,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Cz.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Cz.Standard(
+ public RegistrationCreateParams.CountryOptions.Fi.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Fi.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Cz.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fi.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2997,7 +5040,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Cz.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fi.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3012,7 +5055,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Cz.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Fi.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -3058,7 +5101,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class De {
+ public static class Fr {
/**
* 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 {@code @SerializedName} value.
@@ -3076,7 +5119,7 @@ public static class De {
@SerializedName("type")
Type type;
- private De(Map extraParams, Standard standard, Type type) {
+ private Fr(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -3094,15 +5137,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.De build() {
- return new RegistrationCreateParams.CountryOptions.De(
+ public RegistrationCreateParams.CountryOptions.Fr build() {
+ return new RegistrationCreateParams.CountryOptions.Fr(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.De#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fr#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3116,7 +5159,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.De#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fr#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3128,13 +5171,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.De.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Fr.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.De.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Fr.Type type) {
this.type = type;
return this;
}
@@ -3173,15 +5216,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.De.Standard build() {
- return new RegistrationCreateParams.CountryOptions.De.Standard(
+ public RegistrationCreateParams.CountryOptions.Fr.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Fr.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.De.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fr.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3195,7 +5238,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.De.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Fr.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3210,7 +5253,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.De.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Fr.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -3256,7 +5299,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Dk {
+ public static class Gb {
/**
* 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 {@code @SerializedName} value.
@@ -3266,17 +5309,12 @@ public static class Dk {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Options for the standard registration. */
- @SerializedName("standard")
- Standard standard;
-
- /** Required. Type of registration to be created in an EU country. */
+ /** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Dk(Map extraParams, Standard standard, Type type) {
+ private Gb(Map extraParams, Type type) {
this.extraParams = extraParams;
- this.standard = standard;
this.type = type;
}
@@ -3287,20 +5325,17 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private Standard standard;
-
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Dk build() {
- return new RegistrationCreateParams.CountryOptions.Dk(
- this.extraParams, this.standard, this.type);
+ public RegistrationCreateParams.CountryOptions.Gb build() {
+ return new RegistrationCreateParams.CountryOptions.Gb(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Dk#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gb#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3314,7 +5349,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Dk#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gb#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3325,124 +5360,98 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Dk.Standard standard) {
- this.standard = standard;
- return this;
- }
-
- /** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Dk.Type type) {
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Gb.Type type) {
this.type = type;
return this;
}
}
- @Getter
- public static class Standard {
- /**
- * 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 {@code @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.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map extraParams;
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- @SerializedName("place_of_supply_scheme")
- PlaceOfSupplyScheme placeOfSupplyScheme;
+ @Getter(onMethod_ = {@Override})
+ private final String value;
- private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
- this.extraParams = extraParams;
- this.placeOfSupplyScheme = placeOfSupplyScheme;
+ Type(String value) {
+ this.value = value;
}
+ }
+ }
+
+ @Getter
+ public static class Ge {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
- public static Builder builder() {
- return new Builder();
- }
+ private Ge(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
- public static class Builder {
- private Map extraParams;
+ public static Builder builder() {
+ return new Builder();
+ }
- private PlaceOfSupplyScheme placeOfSupplyScheme;
+ public static class Builder {
+ private Map extraParams;
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Dk.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Dk.Standard(
- this.extraParams, this.placeOfSupplyScheme);
- }
+ private Type type;
- /**
- * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Dk.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.put(key, value);
- return this;
- }
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ge build() {
+ return new RegistrationCreateParams.CountryOptions.Ge(this.extraParams, this.type);
+ }
- /**
- * 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 {@link RegistrationCreateParams.CountryOptions.Dk.Standard#extraParams} for
- * the field documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.putAll(map);
- return this;
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ge#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
}
+ this.extraParams.put(key, value);
+ return this;
+ }
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
- public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Dk.Standard.PlaceOfSupplyScheme
- placeOfSupplyScheme) {
- this.placeOfSupplyScheme = placeOfSupplyScheme;
- return this;
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Ge#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
}
+ this.extraParams.putAll(map);
+ return this;
}
- public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
- @SerializedName("small_seller")
- SMALL_SELLER("small_seller"),
-
- @SerializedName("standard")
- STANDARD("standard");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- PlaceOfSupplyScheme(String value) {
- this.value = value;
- }
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ge.Type type) {
+ this.type = type;
+ return this;
}
}
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("ioss")
- IOSS("ioss"),
-
- @SerializedName("oss_non_union")
- OSS_NON_UNION("oss_non_union"),
-
- @SerializedName("oss_union")
- OSS_UNION("oss_union"),
-
- @SerializedName("standard")
- STANDARD("standard");
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -3454,7 +5463,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Ec {
+ public static class Gn {
/**
* 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 {@code @SerializedName} value.
@@ -3468,7 +5477,7 @@ public static class Ec {
@SerializedName("type")
Type type;
- private Ec(Map extraParams, Type type) {
+ private Gn(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -3483,14 +5492,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ec build() {
- return new RegistrationCreateParams.CountryOptions.Ec(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Gn build() {
+ return new RegistrationCreateParams.CountryOptions.Gn(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ec#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gn#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3504,7 +5513,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Ec#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gn#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3516,15 +5525,15 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Ec.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Gn.Type type) {
this.type = type;
return this;
}
}
public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("simplified")
- SIMPLIFIED("simplified");
+ @SerializedName("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -3536,7 +5545,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Ee {
+ public static class Gr {
/**
* 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 {@code @SerializedName} value.
@@ -3554,7 +5563,7 @@ public static class Ee {
@SerializedName("type")
Type type;
- private Ee(Map extraParams, Standard standard, Type type) {
+ private Gr(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -3572,15 +5581,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ee build() {
- return new RegistrationCreateParams.CountryOptions.Ee(
+ public RegistrationCreateParams.CountryOptions.Gr build() {
+ return new RegistrationCreateParams.CountryOptions.Gr(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ee#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gr#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3594,7 +5603,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Ee#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gr#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3606,13 +5615,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Ee.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Gr.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Ee.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Gr.Type type) {
this.type = type;
return this;
}
@@ -3651,15 +5660,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ee.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Ee.Standard(
+ public RegistrationCreateParams.CountryOptions.Gr.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Gr.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Ee.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gr.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3673,7 +5682,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Ee.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Gr.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3688,7 +5697,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Ee.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Gr.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -3734,89 +5743,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Eg {
- /**
- * 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 {@code @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.
- */
- @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
- Map extraParams;
-
- /** Required. Type of registration to be created in {@code country}. */
- @SerializedName("type")
- Type type;
-
- private Eg(Map extraParams, Type type) {
- this.extraParams = extraParams;
- this.type = type;
- }
-
- public static Builder builder() {
- return new Builder();
- }
-
- public static class Builder {
- private Map extraParams;
-
- private Type type;
-
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Eg build() {
- return new RegistrationCreateParams.CountryOptions.Eg(this.extraParams, this.type);
- }
-
- /**
- * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Eg#extraParams} for the field
- * documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.put(key, value);
- return this;
- }
-
- /**
- * 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 {@link RegistrationCreateParams.CountryOptions.Eg#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.putAll(map);
- return this;
- }
-
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Eg.Type type) {
- this.type = type;
- return this;
- }
- }
-
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("simplified")
- SIMPLIFIED("simplified");
-
- @Getter(onMethod_ = {@Override})
- private final String value;
-
- Type(String value) {
- this.value = value;
- }
- }
- }
-
- @Getter
- public static class Es {
+ public static class Hr {
/**
* 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 {@code @SerializedName} value.
@@ -3834,7 +5761,7 @@ public static class Es {
@SerializedName("type")
Type type;
- private Es(Map extraParams, Standard standard, Type type) {
+ private Hr(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -3852,15 +5779,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Es build() {
- return new RegistrationCreateParams.CountryOptions.Es(
+ public RegistrationCreateParams.CountryOptions.Hr build() {
+ return new RegistrationCreateParams.CountryOptions.Hr(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Es#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hr#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3874,7 +5801,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Es#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hr#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3886,13 +5813,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Es.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Hr.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Es.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Hr.Type type) {
this.type = type;
return this;
}
@@ -3931,15 +5858,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Es.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Es.Standard(
+ public RegistrationCreateParams.CountryOptions.Hr.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Hr.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Es.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hr.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3953,7 +5880,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Es.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hr.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3968,7 +5895,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Es.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Hr.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -4014,7 +5941,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Fi {
+ public static class Hu {
/**
* 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 {@code @SerializedName} value.
@@ -4032,7 +5959,7 @@ public static class Fi {
@SerializedName("type")
Type type;
- private Fi(Map extraParams, Standard standard, Type type) {
+ private Hu(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -4050,15 +5977,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Fi build() {
- return new RegistrationCreateParams.CountryOptions.Fi(
+ public RegistrationCreateParams.CountryOptions.Hu build() {
+ return new RegistrationCreateParams.CountryOptions.Hu(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Fi#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hu#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -4072,7 +5999,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Fi#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hu#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -4084,13 +6011,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Fi.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Hu.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Fi.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Hu.Type type) {
this.type = type;
return this;
}
@@ -4129,15 +6056,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Fi.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Fi.Standard(
+ public RegistrationCreateParams.CountryOptions.Hu.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Hu.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Fi.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hu.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -4151,7 +6078,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Fi.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Hu.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -4166,7 +6093,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Fi.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Hu.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -4212,7 +6139,89 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Fr {
+ public static class Id {
+ /**
+ * 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 {@code @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.
+ */
+ @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
+ Map extraParams;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Id(Map extraParams, Type type) {
+ this.extraParams = extraParams;
+ this.type = type;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static class Builder {
+ private Map extraParams;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Id build() {
+ return new RegistrationCreateParams.CountryOptions.Id(this.extraParams, this.type);
+ }
+
+ /**
+ * Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Id#extraParams} for the field
+ * documentation.
+ */
+ public Builder putExtraParam(String key, Object value) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.put(key, value);
+ return this;
+ }
+
+ /**
+ * 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 {@link RegistrationCreateParams.CountryOptions.Id#extraParams} for the field
+ * documentation.
+ */
+ public Builder putAllExtraParam(Map map) {
+ if (this.extraParams == null) {
+ this.extraParams = new HashMap<>();
+ }
+ this.extraParams.putAll(map);
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Id.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("simplified")
+ SIMPLIFIED("simplified");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ public static class Ie {
/**
* 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 {@code @SerializedName} value.
@@ -4230,7 +6239,7 @@ public static class Fr {
@SerializedName("type")
Type type;
- private Fr(Map extraParams, Standard standard, Type type) {
+ private Ie(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -4248,15 +6257,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Fr build() {
- return new RegistrationCreateParams.CountryOptions.Fr(
+ public RegistrationCreateParams.CountryOptions.Ie build() {
+ return new RegistrationCreateParams.CountryOptions.Ie(
this.extraParams, this.standard, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Fr#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ie#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -4270,7 +6279,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Fr#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ie#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -4282,13 +6291,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Fr.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ie.Standard standard) {
this.standard = standard;
return this;
}
/** Required. Type of registration to be created in an EU country. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Fr.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ie.Type type) {
this.type = type;
return this;
}
@@ -4327,15 +6336,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Fr.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Fr.Standard(
+ public RegistrationCreateParams.CountryOptions.Ie.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ie.Standard(
this.extraParams, this.placeOfSupplyScheme);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Fr.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ie.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -4349,7 +6358,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Fr.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ie.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -4364,7 +6373,7 @@ public Builder putAllExtraParam(Map map) {
* Required. Place of supply scheme used in an EU standard registration.
*/
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Fr.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Ie.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -4410,7 +6419,7 @@ public enum Type implements ApiRequestParams.EnumParam {
}
@Getter
- public static class Gb {
+ public static class Is {
/**
* 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 {@code @SerializedName} value.
@@ -4424,7 +6433,7 @@ public static class Gb {
@SerializedName("type")
Type type;
- private Gb(Map extraParams, Type type) {
+ private Is(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -4439,14 +6448,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Gb build() {
- return new RegistrationCreateParams.CountryOptions.Gb(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Is build() {
+ return new RegistrationCreateParams.CountryOptions.Is(this.extraParams, this.type);
}
/**
* Add a key/value pair 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 {@link RegistrationCreateParams.CountryOptions.Gb#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Is#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -4460,7 +6469,7 @@ public Builder putExtraParam(String key, Object value) {
/**
* 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 {@link RegistrationCreateParams.CountryOptions.Gb#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Is#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -4472,7 +6481,7 @@ public Builder putAllExtraParam(Map