Class: Stripe::Terminal::Reader::Action::CollectPaymentMethod
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Terminal::Reader::Action::CollectPaymentMethod
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Defined Under Namespace
Classes: CollectConfig
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Account the payment intent belongs to.
-
#collect_config ⇒ Object
readonly
Represents a per-transaction override of a reader configuration.
-
#payment_intent ⇒ Object
readonly
Most recent PaymentIntent processed by the reader.
-
#payment_method ⇒ Object
readonly
PaymentMethod objects represent your customer’s payment instruments.
-
#stripe_account ⇒ Object
readonly
This field will be deprecated.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#account ⇒ Object (readonly)
Account the payment intent belongs to.
125 126 127 |
# File 'lib/stripe/resources/terminal/reader.rb', line 125 def account @account end |
#collect_config ⇒ Object (readonly)
Represents a per-transaction override of a reader configuration
127 128 129 |
# File 'lib/stripe/resources/terminal/reader.rb', line 127 def collect_config @collect_config end |
#payment_intent ⇒ Object (readonly)
Most recent PaymentIntent processed by the reader.
129 130 131 |
# File 'lib/stripe/resources/terminal/reader.rb', line 129 def payment_intent @payment_intent end |
#payment_method ⇒ Object (readonly)
PaymentMethod objects represent your customer’s payment instruments. You can use them with [PaymentIntents](stripe.com/docs/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments.
Related guides: [Payment Methods](stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](stripe.com/docs/payments/more-payment-scenarios).
135 136 137 |
# File 'lib/stripe/resources/terminal/reader.rb', line 135 def payment_method @payment_method end |
#stripe_account ⇒ Object (readonly)
This field will be deprecated. Please use ‘account` instead.
137 138 139 |
# File 'lib/stripe/resources/terminal/reader.rb', line 137 def stripe_account @stripe_account end |