Class PaymentIntent.PaymentDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent

public static class PaymentIntent.PaymentDetails extends StripeObject
For more details about PaymentDetails, please refer to the API Reference.
  • Constructor Details

    • PaymentDetails

      public PaymentDetails()
  • Method Details

    • getCustomerReference

      public String 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

      public String 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 to true.

      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

      public void setCustomerReference(String customerReference)
      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

      public void setOrderReference(String orderReference)
      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 to true.

      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object