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.
106 107 108 109 110 111 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 106 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.
98 99 100 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 98 def address @address end |
#email ⇒ Object
Email address.
100 101 102 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 100 def email @email end |
#name ⇒ Object
Full name.
102 103 104 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 102 def name @name end |
#phone ⇒ Object
Billing phone number (including extension).
104 105 106 |
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 104 def phone @phone end |