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.
4043 4044 4045 4046 4047 4048 |
# File 'lib/stripe/resources/payment_intent.rb', line 4043 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.
4035 4036 4037 |
# File 'lib/stripe/resources/payment_intent.rb', line 4035 def address @address end |
#email ⇒ Object
Email address.
4037 4038 4039 |
# File 'lib/stripe/resources/payment_intent.rb', line 4037 def email @email end |
#name ⇒ Object
Full name.
4039 4040 4041 |
# File 'lib/stripe/resources/payment_intent.rb', line 4039 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
4041 4042 4043 |
# File 'lib/stripe/resources/payment_intent.rb', line 4041 def phone @phone end |