Class: Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordService::ReportPaymentAttemptParams::ShippingDetails
- Defined in:
- lib/stripe/services/payment_record_service.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.
149 150 151 152 153 |
# File 'lib/stripe/services/payment_record_service.rb', line 149 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The physical shipping address.
143 144 145 |
# File 'lib/stripe/services/payment_record_service.rb', line 143 def address @address end |
#name ⇒ Object
The shipping recipient’s name.
145 146 147 |
# File 'lib/stripe/services/payment_record_service.rb', line 145 def name @name end |
#phone ⇒ Object
The shipping recipient’s phone number.
147 148 149 |
# File 'lib/stripe/services/payment_record_service.rb', line 147 def phone @phone end |