Class: Stripe::PaymentRecordService::ReportPaymentParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordService::ReportPaymentParams::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.
462 463 464 465 466 |
# File 'lib/stripe/services/payment_record_service.rb', line 462 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The physical shipping address.
454 455 456 |
# File 'lib/stripe/services/payment_record_service.rb', line 454 def address @address end |
#name ⇒ Object
The shipping recipient’s name.
457 458 459 |
# File 'lib/stripe/services/payment_record_service.rb', line 457 def name @name end |
#phone ⇒ Object
The shipping recipient’s phone number.
460 461 462 |
# File 'lib/stripe/services/payment_record_service.rb', line 460 def phone @phone end |