Package com.stripe.model
Class Order.Payment
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Order.Payment
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Order
The token of the gift card applied to the order.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Get ID of expandablepaymentIntent
object.Get expandedpaymentIntent
.Settings describing how the order should configure generated PaymentIntents.The status of the underlying payment associated with this order, if any.int
hashCode()
void
void
setPaymentIntentObject
(PaymentIntent expandableObject) void
setSettings
(Order.Payment.Settings settings) Settings describing how the order should configure generated PaymentIntents.void
The status of the underlying payment associated with this order, if any.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Payment
public Payment()
-
-
Method Details
-
getPaymentIntent
Get ID of expandablepaymentIntent
object. -
setPaymentIntent
-
getPaymentIntentObject
Get expandedpaymentIntent
. -
setPaymentIntentObject
-
getSettings
Settings describing how the order should configure generated PaymentIntents. -
getStatus
The status of the underlying payment associated with this order, if any. Null when the order isopen
.One of
canceled
,complete
,not_required
,processing
,requires_action
,requires_capture
,requires_confirmation
, orrequires_payment_method
. -
setSettings
Settings describing how the order should configure generated PaymentIntents. -
setStatus
The status of the underlying payment associated with this order, if any. Null when the order isopen
.One of
canceled
,complete
,not_required
,processing
,requires_action
,requires_capture
,requires_confirmation
, orrequires_payment_method
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-