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
Constructor Details
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
139 140 141 142 143 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 139 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The physical shipping address.
133 134 135 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 133 def address @address end |
#name ⇒ Object
The shipping recipient’s name.
135 136 137 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 135 def name @name end |
#phone ⇒ Object
The shipping recipient’s phone number.
137 138 139 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 137 def phone @phone end |