Class: Dodopayments::Models::CheckoutSessionRequest::FeatureFlags

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/checkout_session_request.rb

Overview

See Also:

Instance Attribute Summary collapse

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_selectionBoolean?

if customer is allowed to change currency, set it to true

Default is true

Returns:

  • (Boolean, nil)


288
# File 'lib/dodopayments/models/checkout_session_request.rb', line 288

optional :allow_currency_selection, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_cityBoolean?

Returns:

  • (Boolean, nil)


293
# File 'lib/dodopayments/models/checkout_session_request.rb', line 293

optional :allow_customer_editing_city, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_countryBoolean?

Returns:

  • (Boolean, nil)


298
# File 'lib/dodopayments/models/checkout_session_request.rb', line 298

optional :allow_customer_editing_country, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_emailBoolean?

Returns:

  • (Boolean, nil)


303
# File 'lib/dodopayments/models/checkout_session_request.rb', line 303

optional :allow_customer_editing_email, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_nameBoolean?

Returns:

  • (Boolean, nil)


308
# File 'lib/dodopayments/models/checkout_session_request.rb', line 308

optional :allow_customer_editing_name, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_stateBoolean?

Returns:

  • (Boolean, nil)


313
# File 'lib/dodopayments/models/checkout_session_request.rb', line 313

optional :allow_customer_editing_state, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_streetBoolean?

Returns:

  • (Boolean, nil)


318
# File 'lib/dodopayments/models/checkout_session_request.rb', line 318

optional :allow_customer_editing_street, Dodopayments::Internal::Type::Boolean

#allow_customer_editing_zipcodeBoolean?

Returns:

  • (Boolean, nil)


323
# File 'lib/dodopayments/models/checkout_session_request.rb', line 323

optional :allow_customer_editing_zipcode, Dodopayments::Internal::Type::Boolean

#allow_discount_codeBoolean?

If the customer is allowed to apply discount code, set it to true.

Default is true

Returns:

  • (Boolean, nil)


331
# File 'lib/dodopayments/models/checkout_session_request.rb', line 331

optional :allow_discount_code, Dodopayments::Internal::Type::Boolean

#allow_phone_number_collectionBoolean?

If phone number is collected from customer, set it to rue

Default is true

Returns:

  • (Boolean, nil)


339
# File 'lib/dodopayments/models/checkout_session_request.rb', line 339

optional :allow_phone_number_collection, Dodopayments::Internal::Type::Boolean

#allow_tax_idBoolean?

If the customer is allowed to add tax id, set it to true

Default is true

Returns:

  • (Boolean, nil)


347
# File 'lib/dodopayments/models/checkout_session_request.rb', line 347

optional :allow_tax_id, Dodopayments::Internal::Type::Boolean

#always_create_new_customerBoolean?

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

Returns:

  • (Boolean, nil)


356
# File 'lib/dodopayments/models/checkout_session_request.rb', line 356

optional :always_create_new_customer, Dodopayments::Internal::Type::Boolean