Class: Stripe::PaymentMethod::UpdateParams::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethod::UpdateParams::BillingDetails
- Defined in:
- lib/stripe/resources/payment_method.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.
2224 2225 2226 2227 2228 2229 2230 |
# File 'lib/stripe/resources/payment_method.rb', line 2224 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.
2214 2215 2216 |
# File 'lib/stripe/resources/payment_method.rb', line 2214 def address @address end |
#email ⇒ Object
Email address.
2216 2217 2218 |
# File 'lib/stripe/resources/payment_method.rb', line 2216 def email @email end |
#name ⇒ Object
Full name.
2218 2219 2220 |
# File 'lib/stripe/resources/payment_method.rb', line 2218 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
2220 2221 2222 |
# File 'lib/stripe/resources/payment_method.rb', line 2220 def phone @phone end |
#tax_id ⇒ Object
Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
2222 2223 2224 |
# File 'lib/stripe/resources/payment_method.rb', line 2222 def tax_id @tax_id end |