Module: Increase::Models::CardPurchaseSupplement::Invoice::DiscountTreatmentCode

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

Overview

Indicates how the merchant applied the discount.

See Also:

  • Increase::Models::CardPurchaseSupplement::Invoice#discount_treatment_code

Constant Summary collapse

NO_INVOICE_LEVEL_DISCOUNT_PROVIDED =

No invoice level discount provided

Returns:

  • (:no_invoice_level_discount_provided)
:no_invoice_level_discount_provided
TAX_CALCULATED_ON_POST_DISCOUNT_INVOICE_TOTAL =

Tax calculated on post discount invoice total

Returns:

  • (:tax_calculated_on_post_discount_invoice_total)
:tax_calculated_on_post_discount_invoice_total
TAX_CALCULATED_ON_PRE_DISCOUNT_INVOICE_TOTAL =

Tax calculated on pre discount invoice total

Returns:

  • (:tax_calculated_on_pre_discount_invoice_total)
:tax_calculated_on_pre_discount_invoice_total

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[Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code]

Returns:

  • (::Array[Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code])


157
# File 'sig/increase/models/card_purchase_supplement.rbs', line 157

def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code]