Class: Stripe::PaymentRecordReportPaymentAttemptParams::ShippingDetails

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addressObject

The physical shipping address.



180
181
182
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 180

def address
  @address
end

#nameObject

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

#phoneObject

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