Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_update_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
Returns a new instance of BillingDetails.
188 189 190 191 192 193 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 188 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.
180 181 182 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 180 def address @address end |
#email ⇒ Object
The email for the billing details.
182 183 184 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 182 def email @email end |
#name ⇒ Object
The name for the billing details.
184 185 186 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 184 def name @name end |
#phone ⇒ Object
The phone for the billing details.
186 187 188 |
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 186 def phone @phone end |