Skip to content

Commit

Permalink
Update generated code for v685
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 29, 2023
1 parent ea13ec2 commit 1006352
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 38 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v684
v685
32 changes: 17 additions & 15 deletions src/main/java/com/stripe/model/BalanceTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,27 +121,29 @@ public class BalanceTransaction extends ApiResource implements HasId {
/**
* Transaction type: {@code adjustment}, {@code advance}, {@code advance_funding}, {@code
* anticipation_repayment}, {@code application_fee}, {@code application_fee_refund}, {@code
* charge}, {@code connect_collection_transfer}, {@code contribution}, {@code
* issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute},
* {@code issuing_transaction}, {@code obligation_inbound}, {@code obligation_outbound}, {@code
* obligation_reversal_inbound}, {@code obligation_reversal_outbound}, {@code obligation_payout},
* {@code obligation_payout_failure}, {@code payment}, {@code payment_failure_refund}, {@code
* payment_refund}, {@code payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code
* payout_cancel}, {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code
* reserve_transaction}, {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code
* tax_fee}, {@code topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel},
* {@code transfer_failure}, or {@code transfer_refund}. Learn more about <a
* charge}, {@code climate_order_purchase}, {@code climate_order_refund}, {@code
* connect_collection_transfer}, {@code contribution}, {@code issuing_authorization_hold}, {@code
* issuing_authorization_release}, {@code issuing_dispute}, {@code issuing_transaction}, {@code
* obligation_inbound}, {@code obligation_outbound}, {@code obligation_reversal_inbound}, {@code
* obligation_reversal_outbound}, {@code obligation_payout}, {@code obligation_payout_failure},
* {@code payment}, {@code payment_failure_refund}, {@code payment_refund}, {@code
* payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code payout_cancel}, {@code
* payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, {@code
* reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup},
* {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or
* {@code transfer_refund}. Learn more about <a
* href="https://stripe.com/docs/reports/balance-transaction-types">balance transaction types and
* what they represent</a>. To classify transactions for accounting purposes, consider {@code
* reporting_category} instead.
*
* <p>One of {@code adjustment}, {@code advance}, {@code advance_funding}, {@code
* anticipation_repayment}, {@code application_fee}, {@code application_fee_refund}, {@code
* charge}, {@code connect_collection_transfer}, {@code contribution}, {@code
* issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute},
* {@code issuing_transaction}, {@code obligation_inbound}, {@code obligation_outbound}, {@code
* obligation_payout}, {@code obligation_payout_failure}, {@code obligation_reversal_inbound},
* {@code obligation_reversal_outbound}, {@code payment}, {@code payment_failure_refund}, {@code
* charge}, {@code climate_order_purchase}, {@code climate_order_refund}, {@code
* connect_collection_transfer}, {@code contribution}, {@code issuing_authorization_hold}, {@code
* issuing_authorization_release}, {@code issuing_dispute}, {@code issuing_transaction}, {@code
* obligation_inbound}, {@code obligation_outbound}, {@code obligation_payout}, {@code
* obligation_payout_failure}, {@code obligation_reversal_inbound}, {@code
* obligation_reversal_outbound}, {@code payment}, {@code payment_failure_refund}, {@code
* payment_refund}, {@code payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code
* payout_cancel}, {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code
* reserve_transaction}, {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code
Expand Down
45 changes: 23 additions & 22 deletions src/main/java/com/stripe/param/BalanceTransactionListParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ public class BalanceTransactionListParams extends ApiRequestParams {
/**
* Only returns transactions of the given type. One of: {@code adjustment}, {@code advance},
* {@code advance_funding}, {@code anticipation_repayment}, {@code application_fee}, {@code
* application_fee_refund}, {@code charge}, {@code connect_collection_transfer}, {@code
* contribution}, {@code issuing_authorization_hold}, {@code issuing_authorization_release},
* {@code issuing_dispute}, {@code issuing_transaction}, {@code obligation_inbound}, {@code
* obligation_outbound}, {@code obligation_reversal_inbound}, {@code
* obligation_reversal_outbound}, {@code obligation_payout}, {@code obligation_payout_failure},
* {@code payment}, {@code payment_failure_refund}, {@code payment_refund}, {@code
* payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code payout_cancel}, {@code
* payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, {@code
* reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup},
* {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or
* {@code transfer_refund}.
* application_fee_refund}, {@code charge}, {@code climate_order_purchase}, {@code
* climate_order_refund}, {@code connect_collection_transfer}, {@code contribution}, {@code
* issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute},
* {@code issuing_transaction}, {@code obligation_inbound}, {@code obligation_outbound}, {@code
* obligation_reversal_inbound}, {@code obligation_reversal_outbound}, {@code obligation_payout},
* {@code obligation_payout_failure}, {@code payment}, {@code payment_failure_refund}, {@code
* payment_refund}, {@code payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code
* payout_cancel}, {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code
* reserve_transaction}, {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code
* tax_fee}, {@code topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel},
* {@code transfer_failure}, or {@code transfer_refund}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -273,17 +273,18 @@ public Builder setStartingAfter(String startingAfter) {
/**
* Only returns transactions of the given type. One of: {@code adjustment}, {@code advance},
* {@code advance_funding}, {@code anticipation_repayment}, {@code application_fee}, {@code
* application_fee_refund}, {@code charge}, {@code connect_collection_transfer}, {@code
* contribution}, {@code issuing_authorization_hold}, {@code issuing_authorization_release},
* {@code issuing_dispute}, {@code issuing_transaction}, {@code obligation_inbound}, {@code
* obligation_outbound}, {@code obligation_reversal_inbound}, {@code
* obligation_reversal_outbound}, {@code obligation_payout}, {@code obligation_payout_failure},
* {@code payment}, {@code payment_failure_refund}, {@code payment_refund}, {@code
* payment_reversal}, {@code payment_unreconciled}, {@code payout}, {@code payout_cancel},
* {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction},
* {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code
* topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code
* transfer_failure}, or {@code transfer_refund}.
* application_fee_refund}, {@code charge}, {@code climate_order_purchase}, {@code
* climate_order_refund}, {@code connect_collection_transfer}, {@code contribution}, {@code
* issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute},
* {@code issuing_transaction}, {@code obligation_inbound}, {@code obligation_outbound}, {@code
* obligation_reversal_inbound}, {@code obligation_reversal_outbound}, {@code
* obligation_payout}, {@code obligation_payout_failure}, {@code payment}, {@code
* payment_failure_refund}, {@code payment_refund}, {@code payment_reversal}, {@code
* payment_unreconciled}, {@code payout}, {@code payout_cancel}, {@code payout_failure}, {@code
* refund}, {@code refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code
* stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, {@code topup_reversal},
* {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or {@code
* transfer_refund}.
*/
public Builder setType(String type) {
this.type = type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,12 @@ public enum ReportingCategory implements ApiRequestParams.EnumParam {
@SerializedName("charge_failure")
CHARGE_FAILURE("charge_failure"),

@SerializedName("climate_order_purchase")
CLIMATE_ORDER_PURCHASE("climate_order_purchase"),

@SerializedName("climate_order_refund")
CLIMATE_ORDER_REFUND("climate_order_refund"),

@SerializedName("connect_collection_transfer")
CONNECT_COLLECTION_TRANSFER("connect_collection_transfer"),

Expand Down

0 comments on commit 1006352

Please sign in to comment.