Class: Nova::API::Resource::Card::Tax
Defined Under Namespace
Modules: TYPE
Constant Summary
collapse
- ALLOWED_ATTRIBUTES =
%i[]
Utils::BaseStruct::DATE_REGEX
Instance Method Summary
collapse
#allowed_attributes
Instance Method Details
#bank_slip? ⇒ Boolean
31
32
33
|
# File 'lib/nova/api/resource/card.rb', line 31
def bank_slip?
type == TYPE::BANK_SLIP
end
|
#debit? ⇒ Boolean
23
24
25
|
# File 'lib/nova/api/resource/card.rb', line 23
def debit?
type == TYPE::DEBIT
end
|
#pix? ⇒ Boolean
35
36
37
|
# File 'lib/nova/api/resource/card.rb', line 35
def pix?
type == TYPE::PIX
end
|