Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The address for the billing details.
-
#email ⇒ Object
The email for the billing details.
-
#name ⇒ Object
The name for the billing details.
-
#phone ⇒ Object
The phone for the billing details.
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.
173 174 175 176 177 178 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 173 def initialize(address: nil, email: nil, name: nil, phone: nil) @address = address @email = email @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The address for the billing details.
165 166 167 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 165 def address @address end |
#email ⇒ Object
The email for the billing details.
167 168 169 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 167 def email @email end |
#name ⇒ Object
The name for the billing details.
169 170 171 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 169 def name @name end |
#phone ⇒ Object
The phone for the billing details.
171 172 173 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 171 def phone @phone end |