Class: GOBL::CBC::Stamp

Inherits:
Object show all
Defined in:
lib/gobl/cbc/stamp.rb

Overview

Stamp defines an official seal of approval from a third party like a governmental agency or intermediary and should thus be included in any official envelopes.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Stamp structure

'https://gobl.org/draft-0/cbc/stamp'

Constants included from Hashme

Hashme::Boolean

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#prvGOBL::CBC::Key (readonly)

Identity of the agency used to create the stamp usually defined by each region.

Returns:



19
# File 'lib/gobl/cbc/stamp.rb', line 19

property :prv, GOBL::CBC::Key

#valString (readonly)

The serialized stamp value generated for or by the external agency

Returns:

  • (String)


25
# File 'lib/gobl/cbc/stamp.rb', line 25

property :val, String