Class: Stripe::PaymentLinkCreateParams::ShippingAddressCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::ShippingAddressCollection
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Instance Attribute Summary collapse
-
#allowed_countries ⇒ Object
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations.
Instance Method Summary collapse
-
#initialize(allowed_countries: nil) ⇒ ShippingAddressCollection
constructor
A new instance of ShippingAddressCollection.
Methods inherited from RequestParams
Constructor Details
#initialize(allowed_countries: nil) ⇒ ShippingAddressCollection
Returns a new instance of ShippingAddressCollection.
544 545 546 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 544 def initialize(allowed_countries: nil) @allowed_countries = allowed_countries end |
Instance Attribute Details
#allowed_countries ⇒ Object
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations.
542 543 544 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 542 def allowed_countries @allowed_countries end |