Class: Stripe::Checkout::SessionUpdateParams::CollectedInformation::ShippingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_update_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) ⇒ ShippingDetails

Returns a new instance of ShippingDetails.



64
65
66
67
# File 'lib/stripe/params/checkout/session_update_params.rb', line 64

def initialize(address: nil, name: nil)
  @address = address
  @name = name
end

Instance Attribute Details

#addressObject

The address of the customer



60
61
62
# File 'lib/stripe/params/checkout/session_update_params.rb', line 60

def address
  @address
end

#nameObject

The name of customer



62
63
64
# File 'lib/stripe/params/checkout/session_update_params.rb', line 62

def name
  @name
end