Class: Stripe::PaymentIntent::UpdateParams::PaymentMethodData::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntent::UpdateParams::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.
6121 6122 6123 6124 6125 6126 |
# File 'lib/stripe/resources/payment_intent.rb', line 6121 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.
6113 6114 6115 |
# File 'lib/stripe/resources/payment_intent.rb', line 6113 def address @address end |
#email ⇒ Object
Email address.
6115 6116 6117 |
# File 'lib/stripe/resources/payment_intent.rb', line 6115 def email @email end |
#name ⇒ Object
Full name.
6117 6118 6119 |
# File 'lib/stripe/resources/payment_intent.rb', line 6117 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
6119 6120 6121 |
# File 'lib/stripe/resources/payment_intent.rb', line 6119 def phone @phone end |