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

#to_h

Constructor Details

#initialize(address: nil, name: nil) ⇒ ShippingDetails

Returns a new instance of ShippingDetails.



44
45
46
47
# File 'lib/stripe/params/checkout/session_update_params.rb', line 44

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

Instance Attribute Details

#addressObject

The address of the customer



40
41
42
# File 'lib/stripe/params/checkout/session_update_params.rb', line 40

def address
  @address
end

#nameObject

The name of customer



42
43
44
# File 'lib/stripe/params/checkout/session_update_params.rb', line 42

def name
  @name
end