Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The customer’s address.
-
#email ⇒ Object
The customer’s email address.
-
#name ⇒ Object
The customer’s name.
-
#phone ⇒ Object
The customer’s phone number.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ FulfillmentDetails
constructor
A new instance of FulfillmentDetails.
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) ⇒ FulfillmentDetails
Returns a new instance of FulfillmentDetails.
124 125 126 127 128 129 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 124 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 customer’s address.
116 117 118 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 116 def address @address end |
#email ⇒ Object
The customer’s email address.
118 119 120 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 118 def email @email end |
#name ⇒ Object
The customer’s name.
120 121 122 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 120 def name @name end |
#phone ⇒ Object
The customer’s phone number.
122 123 124 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 122 def phone @phone end |