Skip to content

Commit a5d9dab

Browse files
Update generated code for v1443
1 parent 1eee247 commit a5d9dab

File tree

4 files changed

+200
-1
lines changed

4 files changed

+200
-1
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1442
1+
v1443

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,15 @@ public static class Capabilities extends StripeObject {
12261226
@SerializedName("p24_payments")
12271227
String p24Payments;
12281228

1229+
/**
1230+
* The status of the pay_by_bank payments capability of the account, or whether the account can
1231+
* directly process pay_by_bank charges.
1232+
*
1233+
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
1234+
*/
1235+
@SerializedName("pay_by_bank_payments")
1236+
String payByBankPayments;
1237+
12291238
/**
12301239
* The status of the Payco capability of the account, or whether the account can directly
12311240
* process Payco payments.

src/main/java/com/stripe/param/AccountCreateParams.java

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,10 @@ public static class Capabilities {
13981398
@SerializedName("p24_payments")
13991399
P24Payments p24Payments;
14001400

1401+
/** The pay_by_bank_payments capability. */
1402+
@SerializedName("pay_by_bank_payments")
1403+
PayByBankPayments payByBankPayments;
1404+
14011405
/** The payco_payments capability. */
14021406
@SerializedName("payco_payments")
14031407
PaycoPayments paycoPayments;
@@ -1541,6 +1545,7 @@ private Capabilities(
15411545
NaverPayPayments naverPayPayments,
15421546
OxxoPayments oxxoPayments,
15431547
P24Payments p24Payments,
1548+
PayByBankPayments payByBankPayments,
15441549
PaycoPayments paycoPayments,
15451550
PaynowPayments paynowPayments,
15461551
PaypalPayments paypalPayments,
@@ -1608,6 +1613,7 @@ private Capabilities(
16081613
this.naverPayPayments = naverPayPayments;
16091614
this.oxxoPayments = oxxoPayments;
16101615
this.p24Payments = p24Payments;
1616+
this.payByBankPayments = payByBankPayments;
16111617
this.paycoPayments = paycoPayments;
16121618
this.paynowPayments = paynowPayments;
16131619
this.paypalPayments = paypalPayments;
@@ -1724,6 +1730,8 @@ public static class Builder {
17241730

17251731
private P24Payments p24Payments;
17261732

1733+
private PayByBankPayments payByBankPayments;
1734+
17271735
private PaycoPayments paycoPayments;
17281736

17291737
private PaynowPayments paynowPayments;
@@ -1819,6 +1827,7 @@ public AccountCreateParams.Capabilities build() {
18191827
this.naverPayPayments,
18201828
this.oxxoPayments,
18211829
this.p24Payments,
1830+
this.payByBankPayments,
18221831
this.paycoPayments,
18231832
this.paynowPayments,
18241833
this.paypalPayments,
@@ -2149,6 +2158,13 @@ public Builder setP24Payments(AccountCreateParams.Capabilities.P24Payments p24Pa
21492158
return this;
21502159
}
21512160

2161+
/** The pay_by_bank_payments capability. */
2162+
public Builder setPayByBankPayments(
2163+
AccountCreateParams.Capabilities.PayByBankPayments payByBankPayments) {
2164+
this.payByBankPayments = payByBankPayments;
2165+
return this;
2166+
}
2167+
21522168
/** The payco_payments capability. */
21532169
public Builder setPaycoPayments(
21542170
AccountCreateParams.Capabilities.PaycoPayments paycoPayments) {
@@ -5555,6 +5571,85 @@ public Builder setRequested(Boolean requested) {
55555571
}
55565572
}
55575573

5574+
@Getter
5575+
public static class PayByBankPayments {
5576+
/**
5577+
* Map of extra parameters for custom features not available in this client library. The
5578+
* content in this map is not serialized under this field's {@code @SerializedName} value.
5579+
* Instead, each key/value pair is serialized as if the key is a root-level field (serialized)
5580+
* name in this param object. Effectively, this map is flattened to its parent instance.
5581+
*/
5582+
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
5583+
Map<String, Object> extraParams;
5584+
5585+
/**
5586+
* Passing true requests the capability for the account, if it is not already requested. A
5587+
* requested capability may not immediately become active. Any requirements to activate the
5588+
* capability are returned in the {@code requirements} arrays.
5589+
*/
5590+
@SerializedName("requested")
5591+
Boolean requested;
5592+
5593+
private PayByBankPayments(Map<String, Object> extraParams, Boolean requested) {
5594+
this.extraParams = extraParams;
5595+
this.requested = requested;
5596+
}
5597+
5598+
public static Builder builder() {
5599+
return new Builder();
5600+
}
5601+
5602+
public static class Builder {
5603+
private Map<String, Object> extraParams;
5604+
5605+
private Boolean requested;
5606+
5607+
/** Finalize and obtain parameter instance from this builder. */
5608+
public AccountCreateParams.Capabilities.PayByBankPayments build() {
5609+
return new AccountCreateParams.Capabilities.PayByBankPayments(
5610+
this.extraParams, this.requested);
5611+
}
5612+
5613+
/**
5614+
* Add a key/value pair to `extraParams` map. A map is initialized for the first
5615+
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
5616+
* map. See {@link AccountCreateParams.Capabilities.PayByBankPayments#extraParams} for the
5617+
* field documentation.
5618+
*/
5619+
public Builder putExtraParam(String key, Object value) {
5620+
if (this.extraParams == null) {
5621+
this.extraParams = new HashMap<>();
5622+
}
5623+
this.extraParams.put(key, value);
5624+
return this;
5625+
}
5626+
5627+
/**
5628+
* Add all map key/value pairs to `extraParams` map. A map is initialized for the first
5629+
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
5630+
* map. See {@link AccountCreateParams.Capabilities.PayByBankPayments#extraParams} for the
5631+
* field documentation.
5632+
*/
5633+
public Builder putAllExtraParam(Map<String, Object> map) {
5634+
if (this.extraParams == null) {
5635+
this.extraParams = new HashMap<>();
5636+
}
5637+
this.extraParams.putAll(map);
5638+
return this;
5639+
}
5640+
5641+
/**
5642+
* Passing true requests the capability for the account, if it is not already requested. A
5643+
* requested capability may not immediately become active. Any requirements to activate the
5644+
* capability are returned in the {@code requirements} arrays.
5645+
*/
5646+
public Builder setRequested(Boolean requested) {
5647+
this.requested = requested;
5648+
return this;
5649+
}
5650+
}
5651+
}
5652+
55585653
@Getter
55595654
public static class PaycoPayments {
55605655
/**

src/main/java/com/stripe/param/AccountUpdateParams.java

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,10 @@ public static class Capabilities {
14961496
@SerializedName("p24_payments")
14971497
P24Payments p24Payments;
14981498

1499+
/** The pay_by_bank_payments capability. */
1500+
@SerializedName("pay_by_bank_payments")
1501+
PayByBankPayments payByBankPayments;
1502+
14991503
/** The payco_payments capability. */
15001504
@SerializedName("payco_payments")
15011505
PaycoPayments paycoPayments;
@@ -1639,6 +1643,7 @@ private Capabilities(
16391643
NaverPayPayments naverPayPayments,
16401644
OxxoPayments oxxoPayments,
16411645
P24Payments p24Payments,
1646+
PayByBankPayments payByBankPayments,
16421647
PaycoPayments paycoPayments,
16431648
PaynowPayments paynowPayments,
16441649
PaypalPayments paypalPayments,
@@ -1706,6 +1711,7 @@ private Capabilities(
17061711
this.naverPayPayments = naverPayPayments;
17071712
this.oxxoPayments = oxxoPayments;
17081713
this.p24Payments = p24Payments;
1714+
this.payByBankPayments = payByBankPayments;
17091715
this.paycoPayments = paycoPayments;
17101716
this.paynowPayments = paynowPayments;
17111717
this.paypalPayments = paypalPayments;
@@ -1822,6 +1828,8 @@ public static class Builder {
18221828

18231829
private P24Payments p24Payments;
18241830

1831+
private PayByBankPayments payByBankPayments;
1832+
18251833
private PaycoPayments paycoPayments;
18261834

18271835
private PaynowPayments paynowPayments;
@@ -1917,6 +1925,7 @@ public AccountUpdateParams.Capabilities build() {
19171925
this.naverPayPayments,
19181926
this.oxxoPayments,
19191927
this.p24Payments,
1928+
this.payByBankPayments,
19201929
this.paycoPayments,
19211930
this.paynowPayments,
19221931
this.paypalPayments,
@@ -2247,6 +2256,13 @@ public Builder setP24Payments(AccountUpdateParams.Capabilities.P24Payments p24Pa
22472256
return this;
22482257
}
22492258

2259+
/** The pay_by_bank_payments capability. */
2260+
public Builder setPayByBankPayments(
2261+
AccountUpdateParams.Capabilities.PayByBankPayments payByBankPayments) {
2262+
this.payByBankPayments = payByBankPayments;
2263+
return this;
2264+
}
2265+
22502266
/** The payco_payments capability. */
22512267
public Builder setPaycoPayments(
22522268
AccountUpdateParams.Capabilities.PaycoPayments paycoPayments) {
@@ -5653,6 +5669,85 @@ public Builder setRequested(Boolean requested) {
56535669
}
56545670
}
56555671

5672+
@Getter
5673+
public static class PayByBankPayments {
5674+
/**
5675+
* Map of extra parameters for custom features not available in this client library. The
5676+
* content in this map is not serialized under this field's {@code @SerializedName} value.
5677+
* Instead, each key/value pair is serialized as if the key is a root-level field (serialized)
5678+
* name in this param object. Effectively, this map is flattened to its parent instance.
5679+
*/
5680+
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
5681+
Map<String, Object> extraParams;
5682+
5683+
/**
5684+
* Passing true requests the capability for the account, if it is not already requested. A
5685+
* requested capability may not immediately become active. Any requirements to activate the
5686+
* capability are returned in the {@code requirements} arrays.
5687+
*/
5688+
@SerializedName("requested")
5689+
Boolean requested;
5690+
5691+
private PayByBankPayments(Map<String, Object> extraParams, Boolean requested) {
5692+
this.extraParams = extraParams;
5693+
this.requested = requested;
5694+
}
5695+
5696+
public static Builder builder() {
5697+
return new Builder();
5698+
}
5699+
5700+
public static class Builder {
5701+
private Map<String, Object> extraParams;
5702+
5703+
private Boolean requested;
5704+
5705+
/** Finalize and obtain parameter instance from this builder. */
5706+
public AccountUpdateParams.Capabilities.PayByBankPayments build() {
5707+
return new AccountUpdateParams.Capabilities.PayByBankPayments(
5708+
this.extraParams, this.requested);
5709+
}
5710+
5711+
/**
5712+
* Add a key/value pair to `extraParams` map. A map is initialized for the first
5713+
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
5714+
* map. See {@link AccountUpdateParams.Capabilities.PayByBankPayments#extraParams} for the
5715+
* field documentation.
5716+
*/
5717+
public Builder putExtraParam(String key, Object value) {
5718+
if (this.extraParams == null) {
5719+
this.extraParams = new HashMap<>();
5720+
}
5721+
this.extraParams.put(key, value);
5722+
return this;
5723+
}
5724+
5725+
/**
5726+
* Add all map key/value pairs to `extraParams` map. A map is initialized for the first
5727+
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
5728+
* map. See {@link AccountUpdateParams.Capabilities.PayByBankPayments#extraParams} for the
5729+
* field documentation.
5730+
*/
5731+
public Builder putAllExtraParam(Map<String, Object> map) {
5732+
if (this.extraParams == null) {
5733+
this.extraParams = new HashMap<>();
5734+
}
5735+
this.extraParams.putAll(map);
5736+
return this;
5737+
}
5738+
5739+
/**
5740+
* Passing true requests the capability for the account, if it is not already requested. A
5741+
* requested capability may not immediately become active. Any requirements to activate the
5742+
* capability are returned in the {@code requirements} arrays.
5743+
*/
5744+
public Builder setRequested(Boolean requested) {
5745+
this.requested = requested;
5746+
return this;
5747+
}
5748+
}
5749+
}
5750+
56565751
@Getter
56575752
public static class PaycoPayments {
56585753
/**

0 commit comments

Comments
 (0)