Skip to content

Commit 9690e8b

Browse files
authoredMay 11, 2021
Codegen for openapi 9c7c84c (#1206)
1 parent ddb7d35 commit 9690e8b

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed
 

‎src/main/java/com/stripe/model/Charge.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ public static class AcssDebit extends StripeObject {
11831183
@Setter
11841184
@EqualsAndHashCode(callSuper = false)
11851185
public static class AfterpayClearpay extends StripeObject {
1186-
/** Order identifier shown to the customer in Afterpay’s online portal. */
1186+
/** Order identifier shown to the merchant in Afterpay’s online portal. */
11871187
@SerializedName("reference")
11881188
String reference;
11891189
}

‎src/main/java/com/stripe/model/PaymentIntent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ public static class MandateOptions extends StripeObject {
12541254
@EqualsAndHashCode(callSuper = false)
12551255
public static class AfterpayClearpay extends StripeObject {
12561256
/**
1257-
* Order identifier shown to the customer in Afterpay’s online portal. We recommend using a
1257+
* Order identifier shown to the merchant in Afterpay’s online portal. We recommend using a
12581258
* value that helps you answer any questions a customer might have about the payment. The
12591259
* identifier is limited to 128 characters and may contain only letters, digits, underscores,
12601260
* backslashes and dashes.

‎src/main/java/com/stripe/model/terminal/ConnectionToken.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
@Setter
1717
@EqualsAndHashCode(callSuper = false)
1818
public class ConnectionToken extends ApiResource {
19-
/** The id of the location that this connection token is scoped to. */
19+
/**
20+
* The id of the location that this connection token is scoped to. Note that location scoping only
21+
* applies to internet-connected readers. For more details, see <a
22+
* href="https://stripe.com/docs/terminal/readers/fleet-management#connection-tokens">the docs on
23+
* scoping connection tokens</a>.
24+
*/
2025
@SerializedName("location")
2126
String location;
2227

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

+9-3
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public static class BusinessProfile {
514514

515515
/** A publicly available website for handling support issues. */
516516
@SerializedName("support_url")
517-
String supportUrl;
517+
Object supportUrl;
518518

519519
/** The business's publicly available website. */
520520
@SerializedName("url")
@@ -528,7 +528,7 @@ private BusinessProfile(
528528
SupportAddress supportAddress,
529529
String supportEmail,
530530
String supportPhone,
531-
String supportUrl,
531+
Object supportUrl,
532532
String url) {
533533
this.extraParams = extraParams;
534534
this.mcc = mcc;
@@ -560,7 +560,7 @@ public static class Builder {
560560

561561
private String supportPhone;
562562

563-
private String supportUrl;
563+
private Object supportUrl;
564564

565565
private String url;
566566

@@ -653,6 +653,12 @@ public Builder setSupportUrl(String supportUrl) {
653653
return this;
654654
}
655655

656+
/** A publicly available website for handling support issues. */
657+
public Builder setSupportUrl(EmptyParam supportUrl) {
658+
this.supportUrl = supportUrl;
659+
return this;
660+
}
661+
656662
/** The business's publicly available website. */
657663
public Builder setUrl(String url) {
658664
this.url = url;

‎src/main/java/com/stripe/param/terminal/ConnectionTokenCreateParams.java

+8-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ public class ConnectionTokenCreateParams extends ApiRequestParams {
2727
/**
2828
* The id of the location that this connection token is scoped to. If specified the connection
2929
* token will only be usable with readers assigned to that location, otherwise the connection
30-
* token will be usable with all readers.
30+
* token will be usable with all readers. Note that location scoping only applies to
31+
* internet-connected readers. For more details, see <a
32+
* href="https://stripe.com/docs/terminal/readers/fleet-management#connection-tokens">the docs on
33+
* scoping connection tokens</a>.
3134
*/
3235
@SerializedName("location")
3336
String location;
@@ -110,7 +113,10 @@ public Builder putAllExtraParam(Map<String, Object> map) {
110113
/**
111114
* The id of the location that this connection token is scoped to. If specified the connection
112115
* token will only be usable with readers assigned to that location, otherwise the connection
113-
* token will be usable with all readers.
116+
* token will be usable with all readers. Note that location scoping only applies to
117+
* internet-connected readers. For more details, see <a
118+
* href="https://stripe.com/docs/terminal/readers/fleet-management#connection-tokens">the docs
119+
* on scoping connection tokens</a>.
114120
*/
115121
public Builder setLocation(String location) {
116122
this.location = location;

0 commit comments

Comments
 (0)
Please sign in to comment.