Class: Stripe::PaymentRecordReportPaymentAttemptParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportPaymentAttemptParams::ShippingDetails
- Defined in:
- lib/stripe/params/payment_record_report_payment_attempt_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
186 187 188 189 190 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 186 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The physical shipping address.
180 181 182 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 180 def address @address end |
#name ⇒ Object
The shipping recipient’s name.
182 183 184 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 182 def name @name end |
#phone ⇒ Object
The shipping recipient’s phone number.
184 185 186 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 184 def phone @phone end |