Class: Stripe::PaymentLinkUpdateParams::ShippingAddressCollection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(allowed_countries: nil) ⇒ ShippingAddressCollection

Returns a new instance of ShippingAddressCollection.



454
455
456
# File 'lib/stripe/params/payment_link_update_params.rb', line 454

def initialize(allowed_countries: nil)
  @allowed_countries = allowed_countries
end

Instance Attribute Details

#allowed_countriesObject

An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations.



452
453
454
# File 'lib/stripe/params/payment_link_update_params.rb', line 452

def allowed_countries
  @allowed_countries
end