Class Order.Payment

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Order.Payment
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Order

public static class Order.Payment extends StripeObject
The token of the gift card applied to the order.
  • Constructor Details

    • Payment

      public Payment()
  • Method Details

    • getPaymentIntent

      public String getPaymentIntent()
      Get ID of expandable paymentIntent object.
    • setPaymentIntent

      public void setPaymentIntent(String id)
    • getPaymentIntentObject

      public PaymentIntent getPaymentIntentObject()
      Get expanded paymentIntent.
    • setPaymentIntentObject

      public void setPaymentIntentObject(PaymentIntent expandableObject)
    • getSettings

      public Order.Payment.Settings getSettings()
      Settings describing how the order should configure generated PaymentIntents.
    • getStatus

      public String getStatus()
      The status of the underlying payment associated with this order, if any. Null when the order is open.

      One of canceled, complete, not_required, processing, requires_action, requires_capture, requires_confirmation, or requires_payment_method.

    • setSettings

      public void setSettings(Order.Payment.Settings settings)
      Settings describing how the order should configure generated PaymentIntents.
    • setStatus

      public void setStatus(String status)
      The status of the underlying payment associated with this order, if any. Null when the order is open.

      One of canceled, complete, not_required, processing, requires_action, requires_capture, requires_confirmation, or requires_payment_method.

    • 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