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

#to_h

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

#addressObject

The physical shipping address.



133
134
135
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 133

def address
  @address
end

#nameObject

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

#phoneObject

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