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

    • getBenefit

    • getCarRental

    • 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.

    • getEventDetails

    • 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.

    • getSubscription

    • setBenefit

      public void setBenefit(PaymentIntent.PaymentDetails.Benefit benefit)
    • setCarRental

      public void setCarRental(PaymentIntent.PaymentDetails.CarRental carRental)
    • 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.

    • setEventDetails

      public void setEventDetails(PaymentIntent.PaymentDetails.EventDetails eventDetails)
    • 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.

    • setSubscription

      public void setSubscription(PaymentIntent.PaymentDetails.Subscription subscription)
    • 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