Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
49b1e23eef1a5004ed00987c41d5ec8447a19e27
2feaeea9e3c2b01dd5b7e4092d8364af4bf1e740
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2189
v2190
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ public static final class EventData {
* Open Enum. The capability which had its status updated.
*
* <p>One of {@code commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code
* commercial.cross_river_bank.charge_card}, {@code commercial.cross_river_bank.spend_card},
* {@code commercial.lead.prepaid_card}, {@code commercial.stripe.charge_card}, or {@code
* commercial.stripe.prepaid_card}.
* commercial.cross_river_bank.charge_card}, {@code commercial.cross_river_bank.prepaid_card},
* {@code commercial.cross_river_bank.spend_card}, {@code commercial.fifth_third.charge_card},
* {@code commercial.lead.prepaid_card}, {@code commercial.stripe.charge_card}, {@code
* commercial.stripe.prepaid_card}, {@code consumer.celtic.revolving_credit_card}, {@code
* consumer.cross_river_bank.prepaid_card}, or {@code consumer.lead.prepaid_card}.
*/
@SerializedName("updated_capability")
String updatedCapability;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/BalanceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class BalanceTransaction extends ApiResource implements HasId {
/**
* The balance that this transaction impacts.
*
* <p>One of {@code issuing}, {@code payments}, {@code refund_and_dispute_prefunding}, {@code
* risk_reserved}, or {@code transit}.
* <p>One of {@code fee_credits}, {@code issuing}, {@code payments}, {@code
* refund_and_dispute_prefunding}, {@code risk_reserved}, or {@code transit}.
*/
@SerializedName("balance_type")
String balanceType;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/stripe/model/Dispute.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ public class Dispute extends ApiResource
@SerializedName("amount")
Long amount;

/**
* The amount you want to contest, in the dispute's currency. Setting this to less than the full
* dispute amount means accepting the loss on the remaining amount. If not specified, the entire
* disputed amount is contested.
*/
@SerializedName("amount_to_counter")
Long amountToCounter;

/**
* List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your
* Stripe account as a result of this dispute.
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/stripe/model/EventDataClassLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ public final class EventDataClassLookup {

classLookup.put("radar.account_evaluation", com.stripe.model.radar.AccountEvaluation.class);
classLookup.put("radar.early_fraud_warning", com.stripe.model.radar.EarlyFraudWarning.class);
classLookup.put(
"radar.issuing_authorization_evaluation",
com.stripe.model.radar.IssuingAuthorizationEvaluation.class);
classLookup.put("radar.payment_evaluation", com.stripe.model.radar.PaymentEvaluation.class);
classLookup.put("radar.value_list", com.stripe.model.radar.ValueList.class);
classLookup.put("radar.value_list_item", com.stripe.model.radar.ValueListItem.class);
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/com/stripe/model/InvoiceItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ public class InvoiceItem extends ApiResource implements HasId, MetadataStore<Inv
@SerializedName("discounts")
List<ExpandableField<Discount>> discounts;

/**
* Array of field names that can't be modified. Attempting to update a frozen field returns an
* error.
*/
@SerializedName("frozen_fields")
List<String> frozenFields;

/** Unique identifier for the object. */
@Getter(onMethod_ = {@Override})
@SerializedName("id")
Expand Down
Loading
Loading