Class: Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails
- Defined in:
- lib/stripe/services/test_helpers/confirmation_token_service.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.
109 110 111 112 113 114 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 109 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.
101 102 103 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 101 def address @address end |
#email ⇒ Object
Email address.
103 104 105 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 103 def email @email end |
#name ⇒ Object
Full name.
105 106 107 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 105 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
107 108 109 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 107 def phone @phone end |