Skip to content
Open
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 @@
16e50491e9d896cb53da4a46080b4333741b76cb
4dc7f7397bbc766a67a417a5f9797ace835b95e1
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2217
v2222
4 changes: 4 additions & 0 deletions src/main/java/com/stripe/model/ApplicationFee.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ public static class FeeSource extends StripeObject {
@SerializedName("charge")
String charge;

/** PaymentRecord ID that created this application fee. */
@SerializedName("payment_record")
String paymentRecord;

/** Payout ID that created this application fee. */
@SerializedName("payout")
String payout;
Expand Down
80 changes: 80 additions & 0 deletions src/main/java/com/stripe/model/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -3293,6 +3293,10 @@ public static class PaymentDetails extends StripeObject {
@SerializedName("event_details")
EventDetails eventDetails;

/** Fleet data for this PaymentIntent. */
@SerializedName("fleet_data")
List<PaymentIntent.PaymentDetails.FleetDatum> fleetData;

@SerializedName("flight_data")
List<PaymentIntent.PaymentDetails.FlightDatum> flightData;

Expand Down Expand Up @@ -4014,6 +4018,82 @@ public static class Recipient extends StripeObject {
}
}

/**
* For more details about FleetDatum, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FleetDatum extends StripeObject {
@SerializedName("primary_fuel_fields")
PrimaryFuelFields primaryFuelFields;

@SerializedName("station")
Station station;

@SerializedName("vat")
Vat vat;

/**
* For more details about PrimaryFuelFields, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PrimaryFuelFields extends StripeObject {
/** The fuel brand. */
@SerializedName("brand")
String brand;
}

/**
* For more details about Station, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Station extends StripeObject {
/** Additional contact information for the station. */
@SerializedName("additional_contact_info")
String additionalContactInfo;

/** The customer service phone number of the station. */
@SerializedName("customer_service_phone_number")
String customerServicePhoneNumber;

/** The partner ID code of the station. */
@SerializedName("partner_id_code")
String partnerIdCode;

/** The phone number of the station. */
@SerializedName("phone_number")
String phoneNumber;

@SerializedName("service_location")
com.stripe.model.Address serviceLocation;

/** The URL of the station. */
@SerializedName("url")
String url;
}

/**
* For more details about Vat, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Vat extends StripeObject {
/** Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing. */
@SerializedName("iob_indicator")
String iobIndicator;
}
}

/**
* For more details about FlightDatum, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,26 @@ public static class PaymentMethodOptions extends StripeObject {
public static class Card extends StripeObject {
@SerializedName("commodity_code")
String commodityCode;

@SerializedName("fleet_data")
FleetData fleetData;

/**
* For more details about FleetData, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FleetData extends StripeObject {
/** The type of product being purchased at this line item. */
@SerializedName("product_type")
String productType;

/** The type of service received at the acceptor location. */
@SerializedName("service_type")
String serviceType;
}
}

/**
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore<P
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

/** ID of the shared payment granted token used in the creation of this PaymentMethod. */
@SerializedName("shared_payment_granted_token")
String sharedPaymentGrantedToken;

@SerializedName("shopeepay")
Shopeepay shopeepay;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public class RequestedSession extends ApiResource
/**
* The status of the requested session.
*
* <p>One of {@code completed}, {@code expired}, or {@code open}.
* <p>One of {@code completed}, {@code expired}, {@code open}, or {@code requires_action}.
*/
@SerializedName("status")
String status;
Expand Down
28 changes: 21 additions & 7 deletions src/main/java/com/stripe/model/radar/CustomerEvaluation.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ public class CustomerEvaluation extends ApiResource implements HasId {
@SerializedName("created_at")
Long createdAt;

/** The ID of the Stripe customer the customer evaluation is associated with. */
/** The ID of the Customer to associate with this CustomerEvaluation. */
@SerializedName("customer")
String customer;

/** The type of evaluation event. */
/**
* The type of evaluation event.
*
* <p>One of {@code login}, or {@code registration}.
*/
@SerializedName("event_type")
String eventType;

Expand Down Expand Up @@ -61,7 +65,7 @@ public class CustomerEvaluation extends ApiResource implements HasId {
@SerializedName("object")
String object;

/** A hash of signal objects providing Radar's evaluation for the lifecycle event. */
/** A hash of signal objects providing Radar's evaluation of the customer. */
@SerializedName("signals")
Signals signals;

Expand Down Expand Up @@ -203,11 +207,16 @@ public static class AccountSharing extends StripeObject {
@SerializedName("evaluated_at")
Long evaluatedAt;

/** The risk level for this signal. */
/**
* The risk level for this signal.
*
* <p>One of {@code elevated}, {@code highest}, {@code low}, {@code normal}, {@code
* not_assessed}, or {@code unknown}.
*/
@SerializedName("risk_level")
String riskLevel;

/** Score for this signal (float between 0.0-100.0). */
/** Score for this signal (between 0.0 and 100.0). */
@SerializedName("score")
BigDecimal score;
}
Expand All @@ -224,11 +233,16 @@ public static class MultiAccounting extends StripeObject {
@SerializedName("evaluated_at")
Long evaluatedAt;

/** The risk level for this signal. */
/**
* The risk level for this signal.
*
* <p>One of {@code elevated}, {@code highest}, {@code low}, {@code normal}, {@code
* not_assessed}, or {@code unknown}.
*/
@SerializedName("risk_level")
String riskLevel;

/** Score for this signal (float between 0.0-100.0). */
/** Score for this signal (between 0.0 and 100.0). */
@SerializedName("score")
BigDecimal score;
}
Expand Down
36 changes: 36 additions & 0 deletions src/main/java/com/stripe/model/radar/PaymentEvaluation.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ public static PaymentEvaluation create(
@Setter
@EqualsAndHashCode(callSuper = false)
public static class ClientDeviceMetadataDetails extends StripeObject {
/**
* Direct client device attributes such as IP address and user agent. Use this as an alternative
* to radar_session when a Radar Session isn't available.
*/
@SerializedName("data")
Data data;

/**
* ID for the Radar Session associated with the payment evaluation. A <a
* href="https://docs.stripe.com/radar/radar-session">Radar Session</a> is a snapshot of the
Expand All @@ -159,6 +166,35 @@ public static class ClientDeviceMetadataDetails extends StripeObject {
*/
@SerializedName("radar_session")
String radarSession;

/**
* Direct client device attributes such as IP address and user agent. Use this as an alternative
* to radar_session when a Radar Session isn't available.
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Data extends StripeObject {
/** The IP address of the client device. */
@SerializedName("ip")
String ip;

/** Pasted fields from the checkout flow. */
@SerializedName("pasted_fields")
List<String> pastedFields;

/** The referrer of the client device. */
@SerializedName("referrer")
String referrer;

/** The time on page in milliseconds. */
@SerializedName("time_on_page_ms")
Long timeOnPageMs;

/** The user agent of the client device. */
@SerializedName("user_agent")
String userAgent;
}
}

/** Customer details attached to this payment evaluation. */
Expand Down
Loading
Loading