Class: Stripe::PaymentRecordReportPaymentParams::ShippingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_record_report_payment_params.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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

#addressObject

The physical shipping address.



183
184
185
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 183

def address
  @address
end

#nameObject

The shipping recipient’s name.



185
186
187
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 185

def name
  @name
end

#phoneObject

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