Skip to content

Commit 081f377

Browse files
Update generated code for v2109 and
1 parent 7bb8b57 commit 081f377

File tree

7 files changed

+2194
-427
lines changed

7 files changed

+2194
-427
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
07c094f7c1f64823539941252667a6620cc6bb44
1+
a9b4d5059aeb24192ebc26c24160bb6e495bd6cb

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2108
1+
v2109

src/main/java/com/stripe/model/v2/billing/MeterEvent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public class MeterEvent extends StripeObject {
4848
/**
4949
* The payload of the event. This must contain the fields corresponding to a meter’s {@code
5050
* customer_mapping.event_payload_key} (default is {@code stripe_customer_id}) and {@code
51-
* value_settings.event_payload_key} (default is {@code value}). Read more about the payload.
51+
* value_settings.event_payload_key} (default is {@code value}). Read more about the <a
52+
* href="https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides">payload</a>..
5253
*/
5354
@SerializedName("payload")
5455
Map<String, String> payload;

src/main/java/com/stripe/model/v2/core/Account.java

Lines changed: 204 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ public static class AutomaticIndirectTax extends StripeObject {
218218
Location location;
219219

220220
/**
221-
* The data source used to identify the customer's tax location - defaults to
222-
* 'identity_address'. Will only be used for automatic tax calculation on the customer's
221+
* The data source used to identify the customer's tax location - defaults to {@code
222+
* identity_address}. Will only be used for automatic tax calculation on the customer's
223223
* Invoices and Subscriptions.
224224
*
225225
* <p>One of {@code identity_address}, {@code ip_address}, {@code payment_method}, or {@code
@@ -499,13 +499,21 @@ public static class Merchant extends StripeObject {
499499
@SerializedName("card_payments")
500500
CardPayments cardPayments;
501501

502+
/** Settings specific to Konbini payments on the account. */
503+
@SerializedName("konbini_payments")
504+
KonbiniPayments konbiniPayments;
505+
502506
/**
503507
* The merchant category code for the merchant. MCCs are used to classify businesses based on
504508
* the goods or services they provide.
505509
*/
506510
@SerializedName("mcc")
507511
String mcc;
508512

513+
/** Settings for the default text that appears on statements for language variations. */
514+
@SerializedName("script_statement_descriptor")
515+
ScriptStatementDescriptor scriptStatementDescriptor;
516+
509517
/** Settings used for SEPA debit payments. */
510518
@SerializedName("sepa_debit_payments")
511519
SepaDebitPayments sepaDebitPayments;
@@ -3263,6 +3271,140 @@ public static class DeclineOn extends StripeObject {
32633271
}
32643272
}
32653273

3274+
/** Settings specific to Konbini payments on the account. */
3275+
@Getter
3276+
@Setter
3277+
@EqualsAndHashCode(callSuper = false)
3278+
public static class KonbiniPayments extends StripeObject {
3279+
/** Support for Konbini payments. */
3280+
@SerializedName("support")
3281+
Support support;
3282+
3283+
/** Support for Konbini payments. */
3284+
@Getter
3285+
@Setter
3286+
@EqualsAndHashCode(callSuper = false)
3287+
public static class Support extends StripeObject {
3288+
/** Support email address for Konbini payments. */
3289+
@SerializedName("email")
3290+
String email;
3291+
3292+
/** Support hours for Konbini payments. */
3293+
@SerializedName("hours")
3294+
Hours hours;
3295+
3296+
/** Support phone number for Konbini payments. */
3297+
@SerializedName("phone")
3298+
String phone;
3299+
3300+
/** Support hours for Konbini payments. */
3301+
@Getter
3302+
@Setter
3303+
@EqualsAndHashCode(callSuper = false)
3304+
public static class Hours extends StripeObject {
3305+
/** Support hours end time (JST time of day) for in {@code HH:MM} format. */
3306+
@SerializedName("end_time")
3307+
String endTime;
3308+
3309+
/** Support hours start time (JST time of day) for in {@code HH:MM} format. */
3310+
@SerializedName("start_time")
3311+
String startTime;
3312+
}
3313+
}
3314+
}
3315+
3316+
/** Settings for the default text that appears on statements for language variations. */
3317+
@Getter
3318+
@Setter
3319+
@EqualsAndHashCode(callSuper = false)
3320+
public static class ScriptStatementDescriptor extends StripeObject {
3321+
/**
3322+
* The Kana variation of statement_descriptor used for charges in Japan. Japanese statement
3323+
* descriptors have <a
3324+
* href="https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors">special
3325+
* requirements</a>.
3326+
*/
3327+
@SerializedName("kana")
3328+
Kana kana;
3329+
3330+
/**
3331+
* The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement
3332+
* descriptors have <a
3333+
* href="https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors">special
3334+
* requirements</a>.
3335+
*/
3336+
@SerializedName("kanji")
3337+
Kanji kanji;
3338+
3339+
/**
3340+
* The Kana variation of statement_descriptor used for charges in Japan. Japanese statement
3341+
* descriptors have <a
3342+
* href="https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors">special
3343+
* requirements</a>.
3344+
*/
3345+
@Getter
3346+
@Setter
3347+
@EqualsAndHashCode(callSuper = false)
3348+
public static class Kana extends StripeObject {
3349+
/**
3350+
* The default text that appears on statements for non-card charges outside of Japan. For
3351+
* card charges, if you don’t set a statement_descriptor_prefix, this text is also used as
3352+
* the statement descriptor prefix. In that case, if concatenating the statement
3353+
* descriptor suffix causes the combined statement descriptor to exceed 22 characters, we
3354+
* truncate the statement_descriptor text to limit the full descriptor to 22 characters.
3355+
* For more information about statement descriptors and their requirements, see the
3356+
* Merchant Configuration settings documentation.
3357+
*/
3358+
@SerializedName("descriptor")
3359+
String descriptor;
3360+
3361+
/**
3362+
* Default text that appears on statements for card charges outside of Japan, prefixing
3363+
* any dynamic statement_descriptor_suffix specified on the charge. To maximize space for
3364+
* the dynamic part of the descriptor, keep this text short. If you don’t specify this
3365+
* value, statement_descriptor is used as the prefix. For more information about statement
3366+
* descriptors and their requirements, see the Merchant Configuration settings
3367+
* documentation.
3368+
*/
3369+
@SerializedName("prefix")
3370+
String prefix;
3371+
}
3372+
3373+
/**
3374+
* The Kanji variation of statement_descriptor used for charges in Japan. Japanese statement
3375+
* descriptors have <a
3376+
* href="https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors">special
3377+
* requirements</a>.
3378+
*/
3379+
@Getter
3380+
@Setter
3381+
@EqualsAndHashCode(callSuper = false)
3382+
public static class Kanji extends StripeObject {
3383+
/**
3384+
* The default text that appears on statements for non-card charges outside of Japan. For
3385+
* card charges, if you don’t set a statement_descriptor_prefix, this text is also used as
3386+
* the statement descriptor prefix. In that case, if concatenating the statement
3387+
* descriptor suffix causes the combined statement descriptor to exceed 22 characters, we
3388+
* truncate the statement_descriptor text to limit the full descriptor to 22 characters.
3389+
* For more information about statement descriptors and their requirements, see the
3390+
* Merchant Configuration settings documentation.
3391+
*/
3392+
@SerializedName("descriptor")
3393+
String descriptor;
3394+
3395+
/**
3396+
* Default text that appears on statements for card charges outside of Japan, prefixing
3397+
* any dynamic statement_descriptor_suffix specified on the charge. To maximize space for
3398+
* the dynamic part of the descriptor, keep this text short. If you don’t specify this
3399+
* value, statement_descriptor is used as the prefix. For more information about statement
3400+
* descriptors and their requirements, see the Merchant Configuration settings
3401+
* documentation.
3402+
*/
3403+
@SerializedName("prefix")
3404+
String prefix;
3405+
}
3406+
}
3407+
32663408
/** Settings used for SEPA debit payments. */
32673409
@Getter
32683410
@Setter
@@ -3886,6 +4028,10 @@ public static class StatusDetail extends StripeObject {
38864028
@Setter
38874029
@EqualsAndHashCode(callSuper = false)
38884030
public static class HoldsCurrencies extends StripeObject {
4031+
/** Can hold storage-type funds on Stripe in EUR. */
4032+
@SerializedName("eur")
4033+
Eur eur;
4034+
38894035
/** Can hold storage-type funds on Stripe in GBP. */
38904036
@SerializedName("gbp")
38914037
Gbp gbp;
@@ -3894,6 +4040,62 @@ public static class HoldsCurrencies extends StripeObject {
38944040
@SerializedName("usd")
38954041
Usd usd;
38964042

4043+
/** Can hold storage-type funds on Stripe in EUR. */
4044+
@Getter
4045+
@Setter
4046+
@EqualsAndHashCode(callSuper = false)
4047+
public static class Eur extends StripeObject {
4048+
/** Whether the Capability has been requested. */
4049+
@SerializedName("requested")
4050+
Boolean requested;
4051+
4052+
/**
4053+
* The status of the Capability.
4054+
*
4055+
* <p>One of {@code active}, {@code pending}, {@code restricted}, or {@code
4056+
* unsupported}.
4057+
*/
4058+
@SerializedName("status")
4059+
String status;
4060+
4061+
/**
4062+
* Additional details regarding the status of the Capability. {@code status_details}
4063+
* will be empty if the Capability's status is {@code active}.
4064+
*/
4065+
@SerializedName("status_details")
4066+
List<Account.Configuration.Storer.Capabilities.HoldsCurrencies.Eur.StatusDetail>
4067+
statusDetails;
4068+
4069+
/**
4070+
* For more details about StatusDetail, please refer to the <a
4071+
* href="https://docs.stripe.com/api">API Reference.</a>
4072+
*/
4073+
@Getter
4074+
@Setter
4075+
@EqualsAndHashCode(callSuper = false)
4076+
public static class StatusDetail extends StripeObject {
4077+
/**
4078+
* Machine-readable code explaining the reason for the Capability to be in its current
4079+
* status.
4080+
*
4081+
* <p>One of {@code determining_status}, {@code requirements_past_due}, {@code
4082+
* requirements_pending_verification}, {@code restricted_other}, {@code
4083+
* unsupported_business}, {@code unsupported_country}, or {@code
4084+
* unsupported_entity_type}.
4085+
*/
4086+
@SerializedName("code")
4087+
String code;
4088+
4089+
/**
4090+
* Machine-readable code explaining how to make the Capability active.
4091+
*
4092+
* <p>One of {@code contact_stripe}, {@code no_resolution}, or {@code provide_info}.
4093+
*/
4094+
@SerializedName("resolution")
4095+
String resolution;
4096+
}
4097+
}
4098+
38974099
/** Can hold storage-type funds on Stripe in GBP. */
38984100
@Getter
38994101
@Setter

0 commit comments

Comments
 (0)