Class: Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::BillingDetails
- Defined in:
- lib/stripe/resources/payment_intent.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Billing address.
-
#email ⇒ Object
Email address.
-
#name ⇒ Object
Full name.
-
#phone ⇒ Object
Billing phone number (including extension).
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
constructor
A new instance of BillingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
Returns a new instance of BillingDetails.
10113 10114 10115 10116 10117 10118 |
# File 'lib/stripe/resources/payment_intent.rb', line 10113 def initialize(address: nil, email: nil, name: nil, phone: nil) @address = address @email = email @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
Billing address.
10105 10106 10107 |
# File 'lib/stripe/resources/payment_intent.rb', line 10105 def address @address end |
#email ⇒ Object
Email address.
10107 10108 10109 |
# File 'lib/stripe/resources/payment_intent.rb', line 10107 def email @email end |
#name ⇒ Object
Full name.
10109 10110 10111 |
# File 'lib/stripe/resources/payment_intent.rb', line 10109 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
10111 10112 10113 |
# File 'lib/stripe/resources/payment_intent.rb', line 10111 def phone @phone end |