Package com.stripe.model.terminal
Class Reader.Action.CollectPaymentMethod
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.terminal.Reader.Action.CollectPaymentMethod
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Reader.Action
Represents a reader action to collect a payment method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a per-transaction override of a reader configuration. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAccount the payment intent belongs to.Represents a per-transaction override of a reader configuration.Get ID of expandablepaymentIntentobject.Get expandedpaymentIntent.PaymentMethod objects represent your customer's payment instruments.inthashCode()voidsetAccount(String account) Account the payment intent belongs to.voidsetCollectConfig(Reader.Action.CollectPaymentMethod.CollectConfig collectConfig) Represents a per-transaction override of a reader configuration.voidvoidsetPaymentIntentObject(PaymentIntent expandableObject) voidsetPaymentMethod(PaymentMethod paymentMethod) PaymentMethod objects represent your customer's payment instruments.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CollectPaymentMethod
public CollectPaymentMethod()
-
-
Method Details
-
getPaymentIntent
Get ID of expandablepaymentIntentobject. -
setPaymentIntent
-
getPaymentIntentObject
Get expandedpaymentIntent. -
setPaymentIntentObject
-
getAccount
Account the payment intent belongs to. -
getCollectConfig
Represents a per-transaction override of a reader configuration. -
getPaymentMethod
PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.Related guides: Payment Methods and More Payment Scenarios.
-
setAccount
Account the payment intent belongs to. -
setCollectConfig
Represents a per-transaction override of a reader configuration. -
setPaymentMethod
PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.Related guides: Payment Methods and More Payment Scenarios.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-