Module: YDIM::Html::State::AutoInvoiceKeys

Included in:
AutoInvoice, CreateAutoInvoice
Defined in:
lib/ydim/html/state/autoinvoice.rb

Instance Method Summary collapse

Instance Method Details

#invoice_keyObject



15
16
17
# File 'lib/ydim/html/state/autoinvoice.rb', line 15

def invoice_key
  :autoinvoice
end

#invoice_keysObject



18
19
20
# File 'lib/ydim/html/state/autoinvoice.rb', line 18

def invoice_keys
  super + [ :date, :reminder_body, :reminder_subject ]
end

#invoice_mandatoryObject



21
22
23
# File 'lib/ydim/html/state/autoinvoice.rb', line 21

def invoice_mandatory
  [ :description, :currency, :invoice_interval ]
end