Skip to content

Commit

Permalink
Update generated code for v1409
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 13, 2024
1 parent bcae77d commit 5c8442d
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 269 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1402
v1409
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/ApiVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
package com.stripe;

final class ApiVersion {
public static final String CURRENT = "2024-12-18.acacia";
public static final String CURRENT = "2024-11-20.acacia";
}
50 changes: 25 additions & 25 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ public static class AccountManagement extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Disables Stripe user authentication for this embedded component. This value can only be
* true for accounts where {@code controller.requirement_collection} is {@code application}.
* The default value is the opposite of the {@code external_account_collection} value. For
* example, if you don’t set {@code external_account_collection}, it defaults to true and
* {@code disable_stripe_user_authentication} defaults to false.
* Disables Stripe user authentication for this embedded component. This feature can only be
* {@code true} for accounts where you’re responsible for collecting updated information
* when requirements are due or change, like Custom accounts. The default value for this
* feature is {@code false} when {@code external_account_collection} is enabled and {@code
* true} otherwise.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
Expand Down Expand Up @@ -228,11 +228,11 @@ public static class AccountOnboarding extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Disables Stripe user authentication for this embedded component. This value can only be
* true for accounts where {@code controller.requirement_collection} is {@code application}.
* The default value is the opposite of the {@code external_account_collection} value. For
* example, if you don’t set {@code external_account_collection}, it defaults to true and
* {@code disable_stripe_user_authentication} defaults to false.
* Disables Stripe user authentication for this embedded component. This feature can only be
* {@code true} for accounts where you’re responsible for collecting updated information
* when requirements are due or change, like Custom accounts. The default value for this
* feature is {@code false} when {@code external_account_collection} is enabled and {@code
* true} otherwise.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
Expand Down Expand Up @@ -273,11 +273,11 @@ public static class Balances extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Disables Stripe user authentication for this embedded component. This value can only be
* true for accounts where {@code controller.requirement_collection} is {@code application}.
* The default value is the opposite of the {@code external_account_collection} value. For
* example, if you don’t set {@code external_account_collection}, it defaults to true and
* {@code disable_stripe_user_authentication} defaults to false.
* Disables Stripe user authentication for this embedded component. This feature can only be
* {@code true} for accounts where you’re responsible for collecting updated information
* when requirements are due or change, like Custom accounts. The default value for this
* feature is {@code false} when {@code external_account_collection} is enabled and {@code
* true} otherwise.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
Expand Down Expand Up @@ -364,11 +364,11 @@ public static class NotificationBanner extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Disables Stripe user authentication for this embedded component. This value can only be
* true for accounts where {@code controller.requirement_collection} is {@code application}.
* The default value is the opposite of the {@code external_account_collection} value. For
* example, if you don’t set {@code external_account_collection}, it defaults to true and
* {@code disable_stripe_user_authentication} defaults to false.
* Disables Stripe user authentication for this embedded component. This feature can only be
* {@code true} for accounts where you’re responsible for collecting updated information
* when requirements are due or change, like Custom accounts. The default value for this
* feature is {@code false} when {@code external_account_collection} is enabled and {@code
* true} otherwise.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
Expand Down Expand Up @@ -509,11 +509,11 @@ public static class Payouts extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Disables Stripe user authentication for this embedded component. This value can only be
* true for accounts where {@code controller.requirement_collection} is {@code application}.
* The default value is the opposite of the {@code external_account_collection} value. For
* example, if you don’t set {@code external_account_collection}, it defaults to true and
* {@code disable_stripe_user_authentication} defaults to false.
* Disables Stripe user authentication for this embedded component. This feature can only be
* {@code true} for accounts where you’re responsible for collecting updated information
* when requirements are due or change, like Custom accounts. The default value for this
* feature is {@code false} when {@code external_account_collection} is enabled and {@code
* true} otherwise.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/com/stripe/model/Card.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,6 @@ public class Card extends ApiResource
@SerializedName("object")
String object;

/**
* Status of a card based on the card issuer.
*
* <p>One of {@code regulated}, or {@code unregulated}.
*/
@SerializedName("regulated_status")
String regulatedStatus;

/**
* For external accounts that are cards, possible values are {@code new} and {@code errored}. If a
* payout fails, the status is set to {@code errored} and <a
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1873,28 +1873,9 @@ public static class Card extends StripeObject {
@SerializedName("network_token")
NetworkToken networkToken;

/**
* This is used by the financial networks to identify a transaction. Visa calls this the
* Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the
* Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network
* Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent
* the date (MM/DD). This field will be available for successful Visa, Mastercard, or American
* Express transactions and always null for other card brands.
*/
@SerializedName("network_transaction_id")
String networkTransactionId;

@SerializedName("overcapture")
Overcapture overcapture;

/**
* Status of a card based on the card issuer.
*
* <p>One of {@code regulated}, or {@code unregulated}.
*/
@SerializedName("regulated_status")
String regulatedStatus;

/** Populated if this transaction used 3D Secure authentication. */
@SerializedName("three_d_secure")
ThreeDSecure threeDSecure;
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -697,14 +697,6 @@ public static class Card extends StripeObject {
@SerializedName("networks")
Networks networks;

/**
* Status of a card based on the card issuer.
*
* <p>One of {@code regulated}, or {@code unregulated}.
*/
@SerializedName("regulated_status")
String regulatedStatus;

/** Contains details on how this Card may be used for 3D Secure authentication. */
@SerializedName("three_d_secure_usage")
ThreeDSecureUsage threeDSecureUsage;
Expand Down
40 changes: 0 additions & 40 deletions src/main/java/com/stripe/model/Dispute.java
Original file line number Diff line number Diff line change
Expand Up @@ -780,9 +780,6 @@ public static class EnhancedEvidence extends StripeObject {
@SerializedName("visa_compelling_evidence_3")
VisaCompellingEvidence3 visaCompellingEvidence3;

@SerializedName("visa_compliance")
VisaCompliance visaCompliance;

/**
* For more details about VisaCompellingEvidence3, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -983,23 +980,6 @@ public static class ShippingAddress extends StripeObject {
}
}
}

/**
* For more details about VisaCompliance, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class VisaCompliance extends StripeObject {
/**
* A field acknowledging the fee incurred when countering a Visa Compliance dispute. If this
* field is set to true, evidence can be submitted for the compliance dispute, and you may
* incur a $500 fee if the case is lost.
*/
@SerializedName("fee_acknowledged")
Boolean feeAcknowledged;
}
}
}

Expand Down Expand Up @@ -1052,9 +1032,6 @@ public static class EnhancedEligibility extends StripeObject {
@SerializedName("visa_compelling_evidence_3")
VisaCompellingEvidence3 visaCompellingEvidence3;

@SerializedName("visa_compliance")
VisaCompliance visaCompliance;

/**
* For more details about VisaCompellingEvidence3, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand All @@ -1078,23 +1055,6 @@ public static class VisaCompellingEvidence3 extends StripeObject {
@SerializedName("status")
String status;
}

/**
* For more details about VisaCompliance, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class VisaCompliance extends StripeObject {
/**
* Visa Compelling Evidence 3.0 eligibility status.
*
* <p>One of {@code fee_acknowledged}, or {@code requires_fee_acknowledgement}.
*/
@SerializedName("status")
String status;
}
}
}

Expand Down
8 changes: 0 additions & 8 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -928,14 +928,6 @@ public static class Card extends StripeObject {
@SerializedName("networks")
Networks networks;

/**
* Status of a card based on the card issuer.
*
* <p>One of {@code regulated}, or {@code unregulated}.
*/
@SerializedName("regulated_status")
String regulatedStatus;

/** Contains details on how this Card may be used for 3D Secure authentication. */
@SerializedName("three_d_secure_usage")
ThreeDSecureUsage threeDSecureUsage;
Expand Down
Loading

0 comments on commit 5c8442d

Please sign in to comment.