extraParams) {
+ /**
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
+ *
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the
+ * Customer after the PaymentIntent is confirmed and the customer completes any required
+ * actions. If you don't provide a Customer, you can still attach the payment method to a
+ * Customer after the transaction completes.
+ *
+ *
If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
+ * and attaches a generated_card
+ * payment method representing the card to the Customer instead.
+ *
+ *
When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
+ * with regional legislation and network rules, such as SCA.
+ */
+ @SerializedName("setup_future_usage")
+ SetupFutureUsage setupFutureUsage;
+
+ private Pix(
+ Long expiresAfterSeconds,
+ Map extraParams,
+ SetupFutureUsage setupFutureUsage) {
this.expiresAfterSeconds = expiresAfterSeconds;
this.extraParams = extraParams;
+ this.setupFutureUsage = setupFutureUsage;
}
public static Builder builder() {
@@ -12564,10 +12630,12 @@ public static class Builder {
private Map extraParams;
+ private SetupFutureUsage setupFutureUsage;
+
/** Finalize and obtain parameter instance from this builder. */
public SessionCreateParams.PaymentMethodOptions.Pix build() {
return new SessionCreateParams.PaymentMethodOptions.Pix(
- this.expiresAfterSeconds, this.extraParams);
+ this.expiresAfterSeconds, this.extraParams, this.setupFutureUsage);
}
/**
@@ -12606,6 +12674,44 @@ public Builder putAllExtraParam(Map map) {
this.extraParams.putAll(map);
return this;
}
+
+ /**
+ * Indicates that you intend to make future payments with this PaymentIntent's payment
+ * method.
+ *
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to
+ * the Customer after the PaymentIntent is confirmed and the customer completes any required
+ * actions. If you don't provide a Customer, you can still attach the payment method to a
+ * Customer after the transaction completes.
+ *
+ *
If the payment method is {@code card_present} and isn't a digital wallet, Stripe
+ * creates and attaches a generated_card
+ * payment method representing the card to the Customer instead.
+ *
+ *
When processing card payments, Stripe uses {@code setup_future_usage} to help you
+ * comply with regional legislation and network rules, such as SCA.
+ */
+ public Builder setSetupFutureUsage(
+ SessionCreateParams.PaymentMethodOptions.Pix.SetupFutureUsage setupFutureUsage) {
+ this.setupFutureUsage = setupFutureUsage;
+ return this;
+ }
+ }
+
+ public enum SetupFutureUsage implements ApiRequestParams.EnumParam {
+ @SerializedName("none")
+ NONE("none");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ SetupFutureUsage(String value) {
+ this.value = value;
+ }
}
}
@@ -16506,7 +16612,10 @@ public static class BillingMode {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Required. */
+ /**
+ * Required. Controls the calculation and orchestration of prorations and
+ * invoices for subscriptions.
+ */
@SerializedName("type")
Type type;
@@ -16557,7 +16666,10 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Required. */
+ /**
+ * Required. Controls the calculation and orchestration of prorations and
+ * invoices for subscriptions.
+ */
public Builder setType(SessionCreateParams.SubscriptionData.BillingMode.Type type) {
this.type = type;
return this;
@@ -17501,6 +17613,21 @@ public enum Mode implements ApiRequestParams.EnumParam {
}
}
+ public enum OriginContext implements ApiRequestParams.EnumParam {
+ @SerializedName("mobile_app")
+ MOBILE_APP("mobile_app"),
+
+ @SerializedName("web")
+ WEB("web");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ OriginContext(String value) {
+ this.value = value;
+ }
+ }
+
public enum PaymentMethodCollection implements ApiRequestParams.EnumParam {
@SerializedName("always")
ALWAYS("always"),
@@ -17604,6 +17731,9 @@ public enum PaymentMethodType implements ApiRequestParams.EnumParam {
@SerializedName("naver_pay")
NAVER_PAY("naver_pay"),
+ @SerializedName("nz_bank_account")
+ NZ_BANK_ACCOUNT("nz_bank_account"),
+
@SerializedName("oxxo")
OXXO("oxxo"),
diff --git a/src/main/java/com/stripe/param/radar/ValueListCreateParams.java b/src/main/java/com/stripe/param/radar/ValueListCreateParams.java
index 54153c0c659..2d5324dcde4 100644
--- a/src/main/java/com/stripe/param/radar/ValueListCreateParams.java
+++ b/src/main/java/com/stripe/param/radar/ValueListCreateParams.java
@@ -31,10 +31,10 @@ public class ValueListCreateParams extends ApiRequestParams {
Map extraParams;
/**
- * Type of the items in the value list. One of {@code card_fingerprint}, {@code
- * us_bank_account_fingerprint}, {@code sepa_debit_fingerprint}, {@code card_bin}, {@code email},
- * {@code ip_address}, {@code country}, {@code string}, {@code case_sensitive_string}, or {@code
- * customer_id}. Use {@code string} if the item type is unknown or mixed.
+ * Type of the items in the value list. One of {@code card_fingerprint}, {@code card_bin}, {@code
+ * email}, {@code ip_address}, {@code country}, {@code string}, {@code case_sensitive_string},
+ * {@code customer_id}, {@code sepa_debit_fingerprint}, or {@code us_bank_account_fingerprint}.
+ * Use {@code string} if the item type is unknown or mixed.
*/
@SerializedName("item_type")
ItemType itemType;
@@ -149,10 +149,10 @@ public Builder putAllExtraParam(Map map) {
}
/**
- * Type of the items in the value list. One of {@code card_fingerprint}, {@code
- * us_bank_account_fingerprint}, {@code sepa_debit_fingerprint}, {@code card_bin}, {@code
- * email}, {@code ip_address}, {@code country}, {@code string}, {@code case_sensitive_string},
- * or {@code customer_id}. Use {@code string} if the item type is unknown or mixed.
+ * Type of the items in the value list. One of {@code card_fingerprint}, {@code card_bin},
+ * {@code email}, {@code ip_address}, {@code country}, {@code string}, {@code
+ * case_sensitive_string}, {@code customer_id}, {@code sepa_debit_fingerprint}, or {@code
+ * us_bank_account_fingerprint}. Use {@code string} if the item type is unknown or mixed.
*/
public Builder setItemType(ValueListCreateParams.ItemType itemType) {
this.itemType = itemType;
diff --git a/src/main/java/com/stripe/param/reporting/ReportRunCreateParams.java b/src/main/java/com/stripe/param/reporting/ReportRunCreateParams.java
index 0b8d7babe6e..ff66424a18b 100644
--- a/src/main/java/com/stripe/param/reporting/ReportRunCreateParams.java
+++ b/src/main/java/com/stripe/param/reporting/ReportRunCreateParams.java
@@ -775,6 +775,9 @@ public enum Timezone implements ApiRequestParams.EnumParam {
@SerializedName("America/Costa_Rica")
AMERICA_COSTA_RICA("America/Costa_Rica"),
+ @SerializedName("America/Coyhaique")
+ AMERICA_COYHAIQUE("America/Coyhaique"),
+
@SerializedName("America/Creston")
AMERICA_CRESTON("America/Creston"),
diff --git a/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java b/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
index a50243c371e..537c6f76860 100644
--- a/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
+++ b/src/main/java/com/stripe/param/tax/RegistrationCreateParams.java
@@ -1753,12 +1753,17 @@ public static class Ae {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Ae(Map extraParams, Type type) {
+ private Ae(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -1769,11 +1774,14 @@ 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.Ae build() {
- return new RegistrationCreateParams.CountryOptions.Ae(this.extraParams, this.type);
+ return new RegistrationCreateParams.CountryOptions.Ae(
+ this.extraParams, this.standard, this.type);
}
/**
@@ -1804,6 +1812,12 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ae.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
public Builder setType(RegistrationCreateParams.CountryOptions.Ae.Type type) {
this.type = type;
@@ -1811,6 +1825,96 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Ae.Type type) {
}
}
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Ae.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ae.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.Ae.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.Ae.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Ae.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("standard")
STANDARD("standard");
@@ -1836,12 +1940,17 @@ public static class Al {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Al(Map extraParams, Type type) {
+ private Al(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -1852,11 +1961,14 @@ 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.Al build() {
- return new RegistrationCreateParams.CountryOptions.Al(this.extraParams, this.type);
+ return new RegistrationCreateParams.CountryOptions.Al(
+ this.extraParams, this.standard, this.type);
}
/**
@@ -1887,6 +1999,12 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Al.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
public Builder setType(RegistrationCreateParams.CountryOptions.Al.Type type) {
this.type = type;
@@ -1894,6 +2012,96 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Al.Type type) {
}
}
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Al.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Al.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.Al.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.Al.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Al.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("standard")
STANDARD("standard");
@@ -2002,12 +2210,17 @@ public static class Ao {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Ao(Map extraParams, Type type) {
+ private Ao(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2018,11 +2231,14 @@ 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.Ao build() {
- return new RegistrationCreateParams.CountryOptions.Ao(this.extraParams, this.type);
+ return new RegistrationCreateParams.CountryOptions.Ao(
+ this.extraParams, this.standard, this.type);
}
/**
@@ -2053,6 +2269,12 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ao.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
public Builder setType(RegistrationCreateParams.CountryOptions.Ao.Type type) {
this.type = type;
@@ -2060,44 +2282,134 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Ao.Type type) {
}
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
- @Getter(onMethod_ = {@Override})
- private final String value;
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- Type(String value) {
- this.value = value;
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
- }
- }
-
- @Getter
- @EqualsAndHashCode(callSuper = false)
- 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.
- * 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;
+ public static Builder builder() {
+ return new Builder();
+ }
- /** Required. Type of registration to be created in an EU country. */
- @SerializedName("type")
- Type type;
+ public static class Builder {
+ private Map extraParams;
- private At(Map extraParams, Standard standard, Type type) {
- this.extraParams = extraParams;
- this.standard = standard;
- this.type = type;
- }
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ao.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ao.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.Ao.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.Ao.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Ao.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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.
+ * 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 At(Map extraParams, Standard standard, Type type) {
+ this.extraParams = extraParams;
+ this.standard = standard;
+ this.type = type;
+ }
public static Builder builder() {
return new Builder();
@@ -2236,6 +2548,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -2285,12 +2600,17 @@ public static class Au {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Au(Map extraParams, Type type) {
+ private Au(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2301,11 +2621,14 @@ 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.Au build() {
- return new RegistrationCreateParams.CountryOptions.Au(this.extraParams, this.type);
+ return new RegistrationCreateParams.CountryOptions.Au(
+ this.extraParams, this.standard, this.type);
}
/**
@@ -2336,6 +2659,12 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Au.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
public Builder setType(RegistrationCreateParams.CountryOptions.Au.Type type) {
this.type = type;
@@ -2343,86 +2672,93 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Au.Type type) {
}
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
- @Getter(onMethod_ = {@Override})
- private final String value;
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- Type(String value) {
- this.value = value;
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
- }
- }
-
- @Getter
- @EqualsAndHashCode(callSuper = false)
- public static class Aw {
- /**
- * 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 Aw(Map extraParams, Type type) {
- this.extraParams = extraParams;
- this.type = type;
- }
+ public static Builder builder() {
+ return new Builder();
+ }
- public static Builder builder() {
- return new Builder();
- }
+ public static class Builder {
+ private Map extraParams;
- public static class Builder {
- private Map extraParams;
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
- private Type type;
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Au.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Au.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
- /** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Aw build() {
- return new RegistrationCreateParams.CountryOptions.Aw(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.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.Aw#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.Au.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.Aw#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Au.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.Aw.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
}
}
@@ -2441,7 +2777,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Az {
+ public static class Aw {
/**
* 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.
@@ -2451,12 +2787,17 @@ public static class Az {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Az(Map extraParams, Type type) {
+ private Aw(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2467,17 +2808,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.Az build() {
- return new RegistrationCreateParams.CountryOptions.Az(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Aw build() {
+ return new RegistrationCreateParams.CountryOptions.Aw(
+ 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.Az#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Aw#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2491,7 +2835,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.Az#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Aw#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2502,176 +2846,106 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Az.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
- @EqualsAndHashCode(callSuper = false)
- 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.
- * 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 Ba(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.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.Ba#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.Ba#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
- }
- this.extraParams.putAll(map);
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Aw.Standard standard) {
+ this.standard = standard;
return this;
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Ba.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Aw.Type type) {
this.type = type;
return this;
}
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
- @Getter(onMethod_ = {@Override})
- private final String value;
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- Type(String value) {
- this.value = value;
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
- }
- }
-
- @Getter
- @EqualsAndHashCode(callSuper = false)
- 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.
- * 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 Bb(Map extraParams, Type type) {
- this.extraParams = extraParams;
- this.type = type;
- }
+ public static Builder builder() {
+ return new Builder();
+ }
- public static Builder builder() {
- return new Builder();
- }
+ public static class Builder {
+ private Map extraParams;
- public static class Builder {
- private Map extraParams;
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
- private Type type;
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Aw.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Aw.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
- /** Finalize and obtain parameter instance from this builder. */
- 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.Aw.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.Bb#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.Aw.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.Bb#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Aw.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.Bb.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
}
}
@@ -2690,7 +2964,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Bd {
+ public static class Az {
/**
* 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.
@@ -2704,7 +2978,7 @@ public static class Bd {
@SerializedName("type")
Type type;
- private Bd(Map extraParams, Type type) {
+ private Az(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -2719,14 +2993,14 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Bd build() {
- return new RegistrationCreateParams.CountryOptions.Bd(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Az build() {
+ return new RegistrationCreateParams.CountryOptions.Az(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.Bd#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Az#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2740,7 +3014,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.Bd#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Az#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2752,15 +3026,15 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bd.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Az.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;
@@ -2773,7 +3047,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Be {
+ 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.
@@ -2787,11 +3061,11 @@ public static class Be {
@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 Ba(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -2809,15 +3083,15 @@ public static class Builder {
private Type type;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Be build() {
- return new RegistrationCreateParams.CountryOptions.Be(
+ public RegistrationCreateParams.CountryOptions.Ba build() {
+ return new RegistrationCreateParams.CountryOptions.Ba(
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
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ba#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2831,7 +3105,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.Ba#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2843,13 +3117,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Be.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ba.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.Ba.Type type) {
this.type = type;
return this;
}
@@ -2868,9 +3142,7 @@ public static class Standard {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
+ /** Place of supply scheme used in an standard registration. */
@SerializedName("place_of_supply_scheme")
PlaceOfSupplyScheme placeOfSupplyScheme;
@@ -2889,15 +3161,15 @@ public static class Builder {
private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Be.Standard build() {
- return new RegistrationCreateParams.CountryOptions.Be.Standard(
+ public RegistrationCreateParams.CountryOptions.Ba.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ba.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
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ba.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -2911,7 +3183,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.Standard#extraParams} for
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ba.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -2922,11 +3194,9 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
+ /** Place of supply scheme used in an standard registration. */
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Be.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Ba.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -2934,8 +3204,8 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
- @SerializedName("small_seller")
- SMALL_SELLER("small_seller"),
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
@SerializedName("standard")
STANDARD("standard");
@@ -2950,17 +3220,8 @@ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
}
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("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -2973,7 +3234,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Bf {
+ 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.
@@ -2983,12 +3244,17 @@ public static class Bf {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Bf(Map extraParams, Type type) {
+ private Bb(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -2999,17 +3265,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.Bf build() {
- return new RegistrationCreateParams.CountryOptions.Bf(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Bb build() {
+ return new RegistrationCreateParams.CountryOptions.Bb(
+ 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.Bf#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Bb#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3023,7 +3292,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.Bf#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Bb#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3034,13 +3303,109 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Bb.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bf.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bb.Type type) {
this.type = type;
return this;
}
}
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Bb.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bb.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.Bb.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.Bb.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Bb.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
public enum Type implements ApiRequestParams.EnumParam {
@SerializedName("standard")
STANDARD("standard");
@@ -3056,7 +3421,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Bg {
+ public static class Bd {
/**
* 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.
@@ -3070,11 +3435,11 @@ public static class Bg {
@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 Bg(Map extraParams, Standard standard, Type type) {
+ private Bd(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
this.standard = standard;
this.type = type;
@@ -3092,15 +3457,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.Bd build() {
+ return new RegistrationCreateParams.CountryOptions.Bd(
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.Bd#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3114,7 +3479,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.Bd#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3126,13 +3491,13 @@ public Builder putAllExtraParam(Map map) {
}
/** Options for the standard registration. */
- public Builder setStandard(RegistrationCreateParams.CountryOptions.Bg.Standard standard) {
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Bd.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) {
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bd.Type type) {
this.type = type;
return this;
}
@@ -3151,9 +3516,7 @@ public static class Standard {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
+ /** Place of supply scheme used in an standard registration. */
@SerializedName("place_of_supply_scheme")
PlaceOfSupplyScheme placeOfSupplyScheme;
@@ -3172,15 +3535,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.Bd.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bd.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.Bd.Standard#extraParams} for
* the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3194,7 +3557,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.Bd.Standard#extraParams} for
* the field documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3205,11 +3568,9 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /**
- * Required. Place of supply scheme used in an EU standard registration.
- */
+ /** Place of supply scheme used in an standard registration. */
public Builder setPlaceOfSupplyScheme(
- RegistrationCreateParams.CountryOptions.Bg.Standard.PlaceOfSupplyScheme
+ RegistrationCreateParams.CountryOptions.Bd.Standard.PlaceOfSupplyScheme
placeOfSupplyScheme) {
this.placeOfSupplyScheme = placeOfSupplyScheme;
return this;
@@ -3217,8 +3578,8 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
- @SerializedName("small_seller")
- SMALL_SELLER("small_seller"),
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
@SerializedName("standard")
STANDARD("standard");
@@ -3233,15 +3594,6 @@ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
}
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");
@@ -3256,7 +3608,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Bh {
+ 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.
@@ -3266,12 +3618,17 @@ public static class Bh {
@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 Bh(Map extraParams, Type type) {
+ private Be(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -3282,17 +3639,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.Bh build() {
- return new RegistrationCreateParams.CountryOptions.Bh(this.extraParams, this.type);
+ 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.Bh#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Be#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3306,7 +3666,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.Be#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3317,53 +3677,742 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bh.Type type) {
+ /** 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;
}
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
- @Getter(onMethod_ = {@Override})
- private final String value;
+ /**
+ * Required. Place of supply scheme used in an EU standard registration.
+ */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- Type(String value) {
- this.value = value;
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
- }
- }
- @Getter
- @EqualsAndHashCode(callSuper = false)
- public static class Bj {
- /**
- * 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 Builder builder() {
+ return new Builder();
+ }
- /** Required. Type of registration to be created in {@code country}. */
- @SerializedName("type")
- Type type;
+ public static class Builder {
+ private Map extraParams;
- private Bj(Map extraParams, Type type) {
- this.extraParams = extraParams;
- this.type = type;
- }
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
- public static Builder builder() {
- return new Builder();
- }
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Be.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Be.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
- public static class Builder {
- private Map extraParams;
+ /**
+ * 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("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @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
+ @EqualsAndHashCode(callSuper = false)
+ public static class Bf {
+ /**
+ * 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 {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Bf(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.Bf build() {
+ return new RegistrationCreateParams.CountryOptions.Bf(
+ 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.Bf#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.Bf#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.Bf.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Bf.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Bf.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bf.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.Bf.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.Bf.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Bf.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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
+ @EqualsAndHashCode(callSuper = false)
+ 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("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @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
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Bh(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.Bh build() {
+ return new RegistrationCreateParams.CountryOptions.Bh(
+ 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.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;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Bh.Standard standard) {
+ this.standard = standard;
+ 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;
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Bh.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bh.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.Bh.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.Bh.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Bh.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ public enum Type implements ApiRequestParams.EnumParam {
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ Type(String value) {
+ this.value = value;
+ }
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Bj {
+ /**
+ * 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 Bj(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;
@@ -3382,34 +4431,221 @@ public Builder putExtraParam(String key, Object value) {
if (this.extraParams == null) {
this.extraParams = new HashMap<>();
}
- this.extraParams.put(key, value);
- 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.Bj#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.Bj.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
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
+ /** Required. Type of registration to be created in {@code country}. */
+ @SerializedName("type")
+ Type type;
+
+ private Bs(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.Bs build() {
+ return new RegistrationCreateParams.CountryOptions.Bs(
+ 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.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;
+ }
+
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Bs.Standard standard) {
+ this.standard = standard;
+ 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;
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Bs.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Bs.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.Bs.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.Bs.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 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.Bj#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Bs.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.Bj.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @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("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -3422,7 +4658,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Bs {
+ 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.
@@ -3436,7 +4672,7 @@ public static class Bs {
@SerializedName("type")
Type type;
- private Bs(Map extraParams, Type type) {
+ private By(Map extraParams, Type type) {
this.extraParams = extraParams;
this.type = type;
}
@@ -3451,14 +4687,14 @@ public static class Builder {
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);
+ 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.Bs#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3472,7 +4708,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.Bs#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.By#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3484,15 +4720,15 @@ public Builder putAllExtraParam(Map map) {
}
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Bs.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.By.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;
@@ -3505,7 +4741,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class By {
+ 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.
@@ -3515,12 +4751,17 @@ public static class By {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Required. Type of registration to be created in {@code country}. */
+ /** 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 By(Map extraParams, Type type) {
+ private Ca(Map extraParams, ProvinceStandard provinceStandard, Type type) {
this.extraParams = extraParams;
+ this.provinceStandard = provinceStandard;
this.type = type;
}
@@ -3531,17 +4772,20 @@ 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.By build() {
- return new RegistrationCreateParams.CountryOptions.By(this.extraParams, this.type);
+ 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.By#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ca#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3555,7 +4799,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.Ca#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3566,16 +4810,110 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.By.Type type) {
+ /** 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
+ @EqualsAndHashCode(callSuper = false)
+ 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");
+ SIMPLIFIED("simplified"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
@Getter(onMethod_ = {@Override})
private final String value;
@@ -3588,7 +4926,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Ca {
+ 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.
@@ -3598,17 +4936,17 @@ public static class Ca {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /** Options for the provincial tax registration. */
- @SerializedName("province_standard")
- ProvinceStandard provinceStandard;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
- /** 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 Cd(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
- this.provinceStandard = provinceStandard;
+ this.standard = standard;
this.type = type;
}
@@ -3619,20 +4957,20 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private ProvinceStandard provinceStandard;
+ private Standard standard;
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.Cd build() {
+ return new RegistrationCreateParams.CountryOptions.Cd(
+ 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.Ca#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Cd#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3646,7 +4984,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.Cd#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3657,15 +4995,14 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /** Options for the provincial tax registration. */
- public Builder setProvinceStandard(
- RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard provinceStandard) {
- this.provinceStandard = provinceStandard;
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Cd.Standard standard) {
+ this.standard = standard;
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.Cd.Type type) {
this.type = type;
return this;
}
@@ -3673,7 +5010,7 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Ca.Type type) {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class ProvinceStandard {
+ 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.
@@ -3684,16 +5021,13 @@ public static class ProvinceStandard {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
- /**
- * Required. Two-letter CA province code (ISO 3166-2).
- */
- @SerializedName("province")
- String province;
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- private ProvinceStandard(Map extraParams, String province) {
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
this.extraParams = extraParams;
- this.province = province;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
public static Builder builder() {
@@ -3703,20 +5037,19 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private String province;
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
/** Finalize and obtain parameter instance from this builder. */
- public RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard build() {
- return new RegistrationCreateParams.CountryOptions.Ca.ProvinceStandard(
- this.extraParams, this.province);
+ public RegistrationCreateParams.CountryOptions.Cd.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Cd.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.Ca.ProvinceStandard#extraParams} for the field
- * documentation.
+ * map. See {@link RegistrationCreateParams.CountryOptions.Cd.Standard#extraParams} for
+ * the field documentation.
*/
public Builder putExtraParam(String key, Object value) {
if (this.extraParams == null) {
@@ -3729,9 +5062,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.Cd.Standard#extraParams} for
+ * the field documentation.
*/
public Builder putAllExtraParam(Map map) {
if (this.extraParams == null) {
@@ -3741,24 +5073,32 @@ public Builder putAllExtraParam(Map map) {
return this;
}
- /**
- * Required. Two-letter CA province code (ISO 3166-2).
- */
- public Builder setProvince(String province) {
- this.province = province;
- return this;
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Cd.Standard.PlaceOfSupplyScheme
+ placeOfSupplyScheme) {
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
+ return this;
+ }
+ }
+
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @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"),
-
- @SerializedName("simplified")
- SIMPLIFIED("simplified"),
-
@SerializedName("standard")
STANDARD("standard");
@@ -3773,7 +5113,7 @@ public enum Type implements ApiRequestParams.EnumParam {
@Getter
@EqualsAndHashCode(callSuper = false)
- public static class Cd {
+ 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.
@@ -3783,12 +5123,17 @@ public static class Cd {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Cd(Map extraParams, Type type) {
+ private Ch(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -3799,17 +5144,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.Cd build() {
- return new RegistrationCreateParams.CountryOptions.Cd(this.extraParams, this.type);
+ public RegistrationCreateParams.CountryOptions.Ch build() {
+ return new RegistrationCreateParams.CountryOptions.Ch(
+ 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.Cd#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
* documentation.
*/
public Builder putExtraParam(String key, Object value) {
@@ -3823,7 +5171,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.Cd#extraParams} for the field
+ * map. See {@link RegistrationCreateParams.CountryOptions.Ch#extraParams} for the field
* documentation.
*/
public Builder putAllExtraParam(Map map) {
@@ -3834,93 +5182,106 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Ch.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
- public Builder setType(RegistrationCreateParams.CountryOptions.Cd.Type type) {
+ public Builder setType(RegistrationCreateParams.CountryOptions.Ch.Type type) {
this.type = type;
return this;
}
}
- public enum Type implements ApiRequestParams.EnumParam {
- @SerializedName("standard")
- STANDARD("standard");
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
- @Getter(onMethod_ = {@Override})
- private final String value;
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
- Type(String value) {
- this.value = value;
+ private Standard(Map extraParams, PlaceOfSupplyScheme placeOfSupplyScheme) {
+ this.extraParams = extraParams;
+ this.placeOfSupplyScheme = placeOfSupplyScheme;
}
- }
- }
-
- @Getter
- @EqualsAndHashCode(callSuper = false)
- 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 Builder builder() {
- return new Builder();
- }
+ public static class Builder {
+ private Map extraParams;
- public static class Builder {
- private Map extraParams;
+ private PlaceOfSupplyScheme placeOfSupplyScheme;
- private Type type;
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Ch.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Ch.Standard(
+ this.extraParams, this.placeOfSupplyScheme);
+ }
- /** 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.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.Ch#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.Ch.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.Ch#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Ch.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.Ch.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
}
}
@@ -4515,6 +5876,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -4715,6 +6079,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -4915,6 +6282,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -5115,6 +6485,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -5398,6 +6771,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -5681,6 +7057,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -5730,12 +7109,17 @@ public static class Et {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Et(Map extraParams, Type type) {
+ private Et(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -5746,45 +7130,144 @@ public static Builder builder() {
public static class Builder {
private Map extraParams;
- private Type type;
+ private Standard standard;
+
+ private Type type;
+
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Et build() {
+ return new RegistrationCreateParams.CountryOptions.Et(
+ 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.Et#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.Et#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.Et.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
+ /** Required. Type of registration to be created in {@code country}. */
+ public Builder setType(RegistrationCreateParams.CountryOptions.Et.Type type) {
+ this.type = type;
+ return this;
+ }
+ }
+
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an 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.Et build() {
- return new RegistrationCreateParams.CountryOptions.Et(this.extraParams, this.type);
- }
+ /** Finalize and obtain parameter instance from this builder. */
+ public RegistrationCreateParams.CountryOptions.Et.Standard build() {
+ return new RegistrationCreateParams.CountryOptions.Et.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.Et#extraParams} for the field
- * documentation.
- */
- public Builder putExtraParam(String key, Object value) {
- if (this.extraParams == null) {
- this.extraParams = new HashMap<>();
+ /**
+ * 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.Et.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;
}
- 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.Et#extraParams} for the field
- * documentation.
- */
- public Builder putAllExtraParam(Map map) {
- 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.Et.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;
+ }
+
+ /** Place of supply scheme used in an standard registration. */
+ public Builder setPlaceOfSupplyScheme(
+ RegistrationCreateParams.CountryOptions.Et.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.Et.Type type) {
- this.type = type;
- return this;
+ public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
+ @SerializedName("standard")
+ STANDARD("standard");
+
+ @Getter(onMethod_ = {@Override})
+ private final String value;
+
+ PlaceOfSupplyScheme(String value) {
+ this.value = value;
+ }
}
}
@@ -5964,6 +7447,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -6164,6 +7650,9 @@ public Builder setPlaceOfSupplyScheme(
}
public enum PlaceOfSupplyScheme implements ApiRequestParams.EnumParam {
+ @SerializedName("inbound_goods")
+ INBOUND_GOODS("inbound_goods"),
+
@SerializedName("small_seller")
SMALL_SELLER("small_seller"),
@@ -6213,12 +7702,17 @@ public static class Gb {
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map extraParams;
+ /** Options for the standard registration. */
+ @SerializedName("standard")
+ Standard standard;
+
/** Required. Type of registration to be created in {@code country}. */
@SerializedName("type")
Type type;
- private Gb(Map extraParams, Type type) {
+ private Gb(Map extraParams, Standard standard, Type type) {
this.extraParams = extraParams;
+ this.standard = standard;
this.type = type;
}
@@ -6229,11 +7723,14 @@ 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.Gb build() {
- return new RegistrationCreateParams.CountryOptions.Gb(this.extraParams, this.type);
+ return new RegistrationCreateParams.CountryOptions.Gb(
+ this.extraParams, this.standard, this.type);
}
/**
@@ -6264,6 +7761,12 @@ public Builder putAllExtraParam(Map map) {
return this;
}
+ /** Options for the standard registration. */
+ public Builder setStandard(RegistrationCreateParams.CountryOptions.Gb.Standard standard) {
+ this.standard = standard;
+ return this;
+ }
+
/** Required. Type of registration to be created in {@code country}. */
public Builder setType(RegistrationCreateParams.CountryOptions.Gb.Type type) {
this.type = type;
@@ -6271,6 +7774,96 @@ public Builder setType(RegistrationCreateParams.CountryOptions.Gb.Type type) {
}
}
+ @Getter
+ @EqualsAndHashCode(callSuper = false)
+ 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;
+
+ /** Place of supply scheme used in an standard registration. */
+ @SerializedName("place_of_supply_scheme")
+ PlaceOfSupplyScheme placeOfSupplyScheme;
+
+ private Standard(Map