Class PaymentIntent.PaymentDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Benefit, please refer to the API Reference.static classFor more details about CarRental, please refer to the API Reference.static classFor more details about EventDetails, please refer to the API Reference.static classFor more details about Subscription, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA unique value to identify the customer.A unique value assigned by the business to identify the transaction.inthashCode()voidvoidvoidsetCustomerReference(String customerReference) A unique value to identify the customer.voidsetEventDetails(PaymentIntent.PaymentDetails.EventDetails eventDetails) voidsetOrderReference(String orderReference) A unique value assigned by the business to identify the transaction.voidsetSubscription(PaymentIntent.PaymentDetails.Subscription subscription) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentDetails
public PaymentDetails()
-
-
Method Details
-
getBenefit
-
getCarRental
-
getCustomerReference
A unique value to identify the customer. This field is available only for card payments.This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
-
getEventDetails
-
getOrderReference
A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.Required when the Payment Method Types array contains
card, including when automatic_payment_methods.enabled is set totrue.For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
-
getSubscription
-
setBenefit
-
setCarRental
-
setCustomerReference
A unique value to identify the customer. This field is available only for card payments.This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
-
setEventDetails
-
setOrderReference
A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.Required when the Payment Method Types array contains
card, including when automatic_payment_methods.enabled is set totrue.For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
-
setSubscription
-
equals
-
canEqual
-
hashCode
public int hashCode()
-