Class: Stripe::Terminal::Reader::Action::CollectInputs::Input
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Terminal::Reader::Action::CollectInputs::Input
- Defined in:
- lib/stripe/resources/terminal/reader.rb
Defined Under Namespace
Classes: CustomText, Email, Numeric, Phone, Selection, Signature, Text, Toggle
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#custom_text ⇒ Object
readonly
Default text of input being collected.
-
#email ⇒ Object
readonly
Information about a email being collected using a reader.
-
#numeric ⇒ Object
readonly
Information about a number being collected using a reader.
-
#phone ⇒ Object
readonly
Information about a phone number being collected using a reader.
-
#required ⇒ Object
readonly
Indicate that this input is required, disabling the skip button.
-
#selection ⇒ Object
readonly
Information about a selection being collected using a reader.
-
#signature ⇒ Object
readonly
Information about a signature being collected using a reader.
-
#skipped ⇒ Object
readonly
Indicate that this input was skipped by the user.
-
#text ⇒ Object
readonly
Information about text being collected using a reader.
-
#toggles ⇒ Object
readonly
List of toggles being collected.
-
#type ⇒ Object
readonly
Type of input being collected.
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
#custom_text ⇒ Object (readonly)
Default text of input being collected.
87 88 89 |
# File 'lib/stripe/resources/terminal/reader.rb', line 87 def custom_text @custom_text end |
#email ⇒ Object (readonly)
Information about a email being collected using a reader
89 90 91 |
# File 'lib/stripe/resources/terminal/reader.rb', line 89 def email @email end |
#numeric ⇒ Object (readonly)
Information about a number being collected using a reader
91 92 93 |
# File 'lib/stripe/resources/terminal/reader.rb', line 91 def numeric @numeric end |
#phone ⇒ Object (readonly)
Information about a phone number being collected using a reader
93 94 95 |
# File 'lib/stripe/resources/terminal/reader.rb', line 93 def phone @phone end |
#required ⇒ Object (readonly)
Indicate that this input is required, disabling the skip button.
95 96 97 |
# File 'lib/stripe/resources/terminal/reader.rb', line 95 def required @required end |
#selection ⇒ Object (readonly)
Information about a selection being collected using a reader
97 98 99 |
# File 'lib/stripe/resources/terminal/reader.rb', line 97 def selection @selection end |
#signature ⇒ Object (readonly)
Information about a signature being collected using a reader
99 100 101 |
# File 'lib/stripe/resources/terminal/reader.rb', line 99 def signature @signature end |
#skipped ⇒ Object (readonly)
Indicate that this input was skipped by the user.
101 102 103 |
# File 'lib/stripe/resources/terminal/reader.rb', line 101 def skipped @skipped end |
#text ⇒ Object (readonly)
Information about text being collected using a reader
103 104 105 |
# File 'lib/stripe/resources/terminal/reader.rb', line 103 def text @text end |
#toggles ⇒ Object (readonly)
List of toggles being collected. Values are present if collection is complete.
105 106 107 |
# File 'lib/stripe/resources/terminal/reader.rb', line 105 def toggles @toggles end |
#type ⇒ Object (readonly)
Type of input being collected.
107 108 109 |
# File 'lib/stripe/resources/terminal/reader.rb', line 107 def type @type end |