Skip to content

Commit 35d0c58

Browse files
Update generated code for v2112 and
1 parent 88e9ba2 commit 35d0c58

File tree

3 files changed

+57
-17
lines changed

3 files changed

+57
-17
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2111
1+
v2112

src/main/java/com/stripe/param/capital/FinancingOfferCreateParams.java

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
@Getter
1515
@EqualsAndHashCode(callSuper = false)
1616
public class FinancingOfferCreateParams extends ApiRequestParams {
17-
/** <strong>Required.</strong> */
17+
/**
18+
* <strong>Required.</strong> Amount of financing offered, in minor units. For example, 1,000 USD
19+
* is represented as 100000.
20+
*/
1821
@SerializedName("advance_amount")
1922
Long advanceAmount;
2023

@@ -31,18 +34,25 @@ public class FinancingOfferCreateParams extends ApiRequestParams {
3134
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
3235
Map<String, Object> extraParams;
3336

34-
/** <strong>Required.</strong> */
37+
/**
38+
* <strong>Required.</strong> Fixed fee amount, in minor units. For example, 100 USD is
39+
* represented as 10000.
40+
*/
3541
@SerializedName("fee_amount")
3642
Long feeAmount;
3743

38-
/** <strong>Required.</strong> */
44+
/** <strong>Required.</strong> The type of financing offer. */
3945
@SerializedName("financing_type")
4046
FinancingType financingType;
4147

48+
/** The status of the financing offer. */
4249
@SerializedName("status")
4350
Status status;
4451

45-
/** <strong>Required.</strong> */
52+
/**
53+
* <strong>Required.</strong> Per-transaction rate at which Stripe withholds funds to repay the
54+
* financing.
55+
*/
4656
@SerializedName("withhold_rate")
4757
BigDecimal withholdRate;
4858

@@ -94,7 +104,10 @@ public FinancingOfferCreateParams build() {
94104
this.withholdRate);
95105
}
96106

97-
/** <strong>Required.</strong> */
107+
/**
108+
* <strong>Required.</strong> Amount of financing offered, in minor units. For example, 1,000
109+
* USD is represented as 100000.
110+
*/
98111
public Builder setAdvanceAmount(Long advanceAmount) {
99112
this.advanceAmount = advanceAmount;
100113
return this;
@@ -152,24 +165,31 @@ public Builder putAllExtraParam(Map<String, Object> map) {
152165
return this;
153166
}
154167

155-
/** <strong>Required.</strong> */
168+
/**
169+
* <strong>Required.</strong> Fixed fee amount, in minor units. For example, 100 USD is
170+
* represented as 10000.
171+
*/
156172
public Builder setFeeAmount(Long feeAmount) {
157173
this.feeAmount = feeAmount;
158174
return this;
159175
}
160176

161-
/** <strong>Required.</strong> */
177+
/** <strong>Required.</strong> The type of financing offer. */
162178
public Builder setFinancingType(FinancingOfferCreateParams.FinancingType financingType) {
163179
this.financingType = financingType;
164180
return this;
165181
}
166182

183+
/** The status of the financing offer. */
167184
public Builder setStatus(FinancingOfferCreateParams.Status status) {
168185
this.status = status;
169186
return this;
170187
}
171188

172-
/** <strong>Required.</strong> */
189+
/**
190+
* <strong>Required.</strong> Per-transaction rate at which Stripe withholds funds to repay the
191+
* financing.
192+
*/
173193
public Builder setWithholdRate(BigDecimal withholdRate) {
174194
this.withholdRate = withholdRate;
175195
return this;

src/main/java/com/stripe/param/capital/FinancingOfferRefillParams.java

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
@Getter
1515
@EqualsAndHashCode(callSuper = false)
1616
public class FinancingOfferRefillParams extends ApiRequestParams {
17-
/** <strong>Required.</strong> */
17+
/**
18+
* <strong>Required.</strong> Amount of financing offered, in minor units. For example, 1,000 USD
19+
* is represented as 100000.
20+
*/
1821
@SerializedName("advance_amount")
1922
Long advanceAmount;
2023

@@ -31,18 +34,25 @@ public class FinancingOfferRefillParams extends ApiRequestParams {
3134
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
3235
Map<String, Object> extraParams;
3336

34-
/** <strong>Required.</strong> */
37+
/**
38+
* <strong>Required.</strong> Fixed fee amount, in minor units. For example, 100 USD is
39+
* represented as 10000.
40+
*/
3541
@SerializedName("fee_amount")
3642
Long feeAmount;
3743

38-
/** <strong>Required.</strong> */
44+
/** <strong>Required.</strong> The type of financing offer */
3945
@SerializedName("financing_type")
4046
FinancingType financingType;
4147

48+
/** The status of the financing offer. */
4249
@SerializedName("status")
4350
Status status;
4451

45-
/** <strong>Required.</strong> */
52+
/**
53+
* <strong>Required.</strong> Per-transaction rate at which Stripe withholds funds to repay the
54+
* financing.
55+
*/
4656
@SerializedName("withhold_rate")
4757
BigDecimal withholdRate;
4858

@@ -94,7 +104,10 @@ public FinancingOfferRefillParams build() {
94104
this.withholdRate);
95105
}
96106

97-
/** <strong>Required.</strong> */
107+
/**
108+
* <strong>Required.</strong> Amount of financing offered, in minor units. For example, 1,000
109+
* USD is represented as 100000.
110+
*/
98111
public Builder setAdvanceAmount(Long advanceAmount) {
99112
this.advanceAmount = advanceAmount;
100113
return this;
@@ -152,24 +165,31 @@ public Builder putAllExtraParam(Map<String, Object> map) {
152165
return this;
153166
}
154167

155-
/** <strong>Required.</strong> */
168+
/**
169+
* <strong>Required.</strong> Fixed fee amount, in minor units. For example, 100 USD is
170+
* represented as 10000.
171+
*/
156172
public Builder setFeeAmount(Long feeAmount) {
157173
this.feeAmount = feeAmount;
158174
return this;
159175
}
160176

161-
/** <strong>Required.</strong> */
177+
/** <strong>Required.</strong> The type of financing offer */
162178
public Builder setFinancingType(FinancingOfferRefillParams.FinancingType financingType) {
163179
this.financingType = financingType;
164180
return this;
165181
}
166182

183+
/** The status of the financing offer. */
167184
public Builder setStatus(FinancingOfferRefillParams.Status status) {
168185
this.status = status;
169186
return this;
170187
}
171188

172-
/** <strong>Required.</strong> */
189+
/**
190+
* <strong>Required.</strong> Per-transaction rate at which Stripe withholds funds to repay the
191+
* financing.
192+
*/
173193
public Builder setWithholdRate(BigDecimal withholdRate) {
174194
this.withholdRate = withholdRate;
175195
return this;

0 commit comments

Comments
 (0)