@@ -105,6 +105,10 @@ public class RequestedSession extends ApiResource
105105 @ SerializedName ("payment_method_preview" )
106106 PaymentMethodPreview paymentMethodPreview ;
107107
108+ /** The risk details of the requested session. */
109+ @ SerializedName ("risk_details" )
110+ RiskDetails riskDetails ;
111+
108112 @ SerializedName ("seller_details" )
109113 SellerDetails sellerDetails ;
110114
@@ -539,22 +543,10 @@ public static class LineItemDetail extends StripeObject {
539543 @ SerializedName ("amount_subtotal" )
540544 Long amountSubtotal ;
541545
542- /** The description of the line item. */
543- @ SerializedName ("description" )
544- String description ;
545-
546- /** The images of the line item. */
547- @ SerializedName ("images" )
548- List <String > images ;
549-
550546 /** The key of the line item. */
551547 @ SerializedName ("key" )
552548 String key ;
553549
554- /** The name of the line item. */
555- @ SerializedName ("name" )
556- String name ;
557-
558550 @ SerializedName ("product_details" )
559551 ProductDetails productDetails ;
560552
@@ -769,6 +761,48 @@ public static class Card extends StripeObject {
769761 }
770762 }
771763
764+ /**
765+ * For more details about RiskDetails, please refer to the <a
766+ * href="https://docs.stripe.com/api">API Reference.</a>
767+ */
768+ @ Getter
769+ @ Setter
770+ @ EqualsAndHashCode (callSuper = false )
771+ public static class RiskDetails extends StripeObject {
772+ /** The risk metadata for the client device. */
773+ @ SerializedName ("client_device_metadata_details" )
774+ ClientDeviceMetadataDetails clientDeviceMetadataDetails ;
775+
776+ /**
777+ * For more details about ClientDeviceMetadataDetails, please refer to the <a
778+ * href="https://docs.stripe.com/api">API Reference.</a>
779+ */
780+ @ Getter
781+ @ Setter
782+ @ EqualsAndHashCode (callSuper = false )
783+ public static class ClientDeviceMetadataDetails extends StripeObject {
784+ /** The radar session for the client device. */
785+ @ SerializedName ("radar_session" )
786+ String radarSession ;
787+
788+ /** The referrer of the client device. */
789+ @ SerializedName ("referrer" )
790+ String referrer ;
791+
792+ /** The remote IP address of the client device. */
793+ @ SerializedName ("remote_ip" )
794+ String remoteIp ;
795+
796+ /** The time spent on the page by the client device. */
797+ @ SerializedName ("time_on_page_ms" )
798+ Long timeOnPageMs ;
799+
800+ /** The user agent of the client device. */
801+ @ SerializedName ("user_agent" )
802+ String userAgent ;
803+ }
804+ }
805+
772806 /**
773807 * For more details about SellerDetails, please refer to the <a
774808 * href="https://docs.stripe.com/api">API Reference.</a>
@@ -840,6 +874,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
840874 trySetResponseGetter (fulfillmentDetails , responseGetter );
841875 trySetResponseGetter (orderDetails , responseGetter );
842876 trySetResponseGetter (paymentMethodPreview , responseGetter );
877+ trySetResponseGetter (riskDetails , responseGetter );
843878 trySetResponseGetter (sellerDetails , responseGetter );
844879 trySetResponseGetter (totalDetails , responseGetter );
845880 }
0 commit comments