Class PaymentIntent.PaymentDetails

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

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

    • PaymentDetails

      public PaymentDetails()
  • Method Details

    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getCarRentalData

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

    • getLodgingData

    • getOrderReference

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

    • setCarRentalData

      public void setCarRentalData(List<PaymentIntent.PaymentDetails.CarRentalDatum> carRentalData)
    • 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.

    • setLodgingData

      public void setLodgingData(List<PaymentIntent.PaymentDetails.LodgingDatum> lodgingData)
    • setOrderReference

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

      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