Class: Dodopayments::Models::CheckoutSessionRequest::FeatureFlags
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CheckoutSessionRequest::FeatureFlags
- Defined in:
- lib/dodopayments/models/checkout_session_request.rb
Overview
Instance Attribute Summary collapse
-
#allow_currency_selection ⇒ Boolean?
if customer is allowed to change currency, set it to true.
- #allow_customer_editing_city ⇒ Boolean?
- #allow_customer_editing_country ⇒ Boolean?
- #allow_customer_editing_email ⇒ Boolean?
- #allow_customer_editing_name ⇒ Boolean?
- #allow_customer_editing_state ⇒ Boolean?
- #allow_customer_editing_street ⇒ Boolean?
- #allow_customer_editing_zipcode ⇒ Boolean?
-
#allow_discount_code ⇒ Boolean?
If the customer is allowed to apply discount code, set it to true.
-
#allow_phone_number_collection ⇒ Boolean?
If phone number is collected from customer, set it to rue.
-
#allow_tax_id ⇒ Boolean?
If the customer is allowed to add tax id, set it to true.
-
#always_create_new_customer ⇒ Boolean?
Set to true if a new customer object should be created.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from Dodopayments::Internal::Type::BaseModel
Instance Attribute Details
#allow_currency_selection ⇒ Boolean?
if customer is allowed to change currency, set it to true
Default is true
288 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 288 optional :allow_currency_selection, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_city ⇒ Boolean?
293 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 293 optional :allow_customer_editing_city, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_country ⇒ Boolean?
298 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 298 optional :allow_customer_editing_country, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_email ⇒ Boolean?
303 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 303 optional :allow_customer_editing_email, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_name ⇒ Boolean?
308 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 308 optional :allow_customer_editing_name, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_state ⇒ Boolean?
313 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 313 optional :allow_customer_editing_state, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_street ⇒ Boolean?
318 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 318 optional :allow_customer_editing_street, Dodopayments::Internal::Type::Boolean |
#allow_customer_editing_zipcode ⇒ Boolean?
323 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 323 optional :allow_customer_editing_zipcode, Dodopayments::Internal::Type::Boolean |
#allow_discount_code ⇒ Boolean?
If the customer is allowed to apply discount code, set it to true.
Default is true
331 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 331 optional :allow_discount_code, Dodopayments::Internal::Type::Boolean |
#allow_phone_number_collection ⇒ Boolean?
If phone number is collected from customer, set it to rue
Default is true
339 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 339 optional :allow_phone_number_collection, Dodopayments::Internal::Type::Boolean |
#allow_tax_id ⇒ Boolean?
If the customer is allowed to add tax id, set it to true
Default is true
347 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 347 optional :allow_tax_id, Dodopayments::Internal::Type::Boolean |
#always_create_new_customer ⇒ Boolean?
Set to true if a new customer object should be created. By default email is used to find an existing customer to attach the session to
Default is false
356 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 356 optional :always_create_new_customer, Dodopayments::Internal::Type::Boolean |