Skip to content

Commit

Permalink
Update generated code for v1007
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 2, 2024
1 parent 2d4b94a commit c94532b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1005
v1007
18 changes: 17 additions & 1 deletion src/main/java/com/stripe/model/Dispute.java
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,13 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("card")
Card card;

@SerializedName("paypal")
Paypal paypal;

/**
* Payment method type.
*
* <p>Equal to {@code card}.
* <p>One of {@code card}, or {@code paypal}.
*/
@SerializedName("type")
String type;
Expand All @@ -835,6 +838,19 @@ public static class Card extends StripeObject {
@SerializedName("network_reason_code")
String networkReasonCode;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypal extends StripeObject {
/** The ID of the dispute in PayPal. */
@SerializedName("case_id")
String caseId;

/** The reason for the dispute as defined by PayPal. */
@SerializedName("reason_code")
String reasonCode;
}
}

@Override
Expand Down

0 comments on commit c94532b

Please sign in to comment.