Package com.stripe.model
Class PaymentIntent.PaymentDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent
For more details about PaymentDetails, 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()voidsetCustomerReference(String customerReference) A unique value to identify the customer.voidsetOrderReference(String orderReference) A unique value assigned by the business to identify the transaction.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
-
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.
-
getOrderReference
A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.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.
-
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.
-
setOrderReference
A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.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.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-