Module: WhopSDK::Models::PlanCalculateTaxResponse::Status

Extended by:
Internal::Type::Enum
Defined in:
lib/whop_sdk/models/plan_calculate_tax_response.rb,
sig/whop_sdk/models/plan_calculate_tax_response.rbs

Overview

Whether Whop calculated tax for this preview. not_calculated means no tax could be determined, so tax_amount is 0 and total equals subtotal.

See Also:

  • WhopSDK::Models::PlanCalculateTaxResponse#status

Constant Summary collapse

CALCULATED =

Returns:

  • (:calculated)
:calculated
NOT_CALCULATED =

Returns:

  • (:not_calculated)
:not_calculated

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[WhopSDK::Models::PlanCalculateTaxResponse::status]

Returns:

  • (::Array[WhopSDK::Models::PlanCalculateTaxResponse::status])


52
# File 'sig/whop_sdk/models/plan_calculate_tax_response.rbs', line 52

def self?.values: -> ::Array[WhopSDK::Models::PlanCalculateTaxResponse::status]