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).
-
#tax_id ⇒ Object
Taxpayer identification number.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) ⇒ BillingDetails
constructor
A new instance of BillingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) ⇒ BillingDetails
Returns a new instance of BillingDetails.
13013 13014 13015 13016 13017 13018 13019 |
# File 'lib/stripe/resources/payment_intent.rb', line 13013 def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil) @address = address @email = email @name = name @phone = phone @tax_id = tax_id end |
Instance Attribute Details
#address ⇒ Object
Billing address.
13003 13004 13005 |
# File 'lib/stripe/resources/payment_intent.rb', line 13003 def address @address end |
#email ⇒ Object
Email address.
13005 13006 13007 |
# File 'lib/stripe/resources/payment_intent.rb', line 13005 def email @email end |
#name ⇒ Object
Full name.
13007 13008 13009 |
# File 'lib/stripe/resources/payment_intent.rb', line 13007 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
13009 13010 13011 |
# File 'lib/stripe/resources/payment_intent.rb', line 13009 def phone @phone end |
#tax_id ⇒ Object
Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
13011 13012 13013 |
# File 'lib/stripe/resources/payment_intent.rb', line 13011 def tax_id @tax_id end |