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:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Reader.Action
public static class Reader.Action.CollectPaymentMethod
extends StripeObject
implements StripeActiveObject
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 booleanbooleanRepresents a per-transaction override of a reader configuration.Get ID of expandablepaymentIntentobject.Get expandedpaymentIntent.PaymentMethod objects represent your customer's payment instruments.inthashCode()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.voidsetResponseGetter(StripeResponseGetter responseGetter) Amount used to calculate tip suggestions on tipping selection screen for this transaction.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
CollectPaymentMethod
public CollectPaymentMethod()
-
-
Method Details
-
getPaymentIntent
Get ID of expandablepaymentIntentobject. -
setPaymentIntent
-
getPaymentIntentObject
Get expandedpaymentIntent. -
setPaymentIntentObject
-
setResponseGetter
Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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.
-
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()
-