Class: Einvoice::Tradevan::Model::VoidData

Inherits:
Base
  • Object
show all
Defined in:
lib/einvoice/tradevan/model/void_data.rb

Constant Summary collapse

VALID_OPTIONS_KEYS =
[
  :type,
  :saleIdentifier,
  :invoiceNumber,
  :invoicePaperReturned,
  :allowanceNumber,
  :allowancePaperReturned,
  :companyUn
].freeze

Instance Method Summary collapse

Methods inherited from Base

#attributes, #attributes=

Instance Method Details

#payloadObject



29
30
31
# File 'lib/einvoice/tradevan/model/void_data.rb', line 29

def payload
  serializable_hash(except: [:errors, :validation_context, :itemList])
end