Class: Stripe::PaymentRecordReportPaymentParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportPaymentParams::ShippingDetails
- Defined in:
- lib/stripe/params/payment_record_report_payment_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The physical shipping address.
-
#name ⇒ Object
The shipping recipient’s name.
-
#phone ⇒ Object
The shipping recipient’s phone number.
Instance Method Summary collapse
-
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
constructor
A new instance of ShippingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
189 190 191 192 193 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 189 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The physical shipping address.
183 184 185 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 183 def address @address end |
#name ⇒ Object
The shipping recipient’s name.
185 186 187 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 185 def name @name end |
#phone ⇒ Object
The shipping recipient’s phone number.
187 188 189 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 187 def phone @phone end |