Module: SAFT::V2::Types::Strict

Extended by:
ObjectStrutures
Included in:
SAFT::V2::Types
Defined in:
lib/saft/v2/types.rb

Constant Summary collapse

ISOCurrencyCode =
Types::String.constrained(size: 3)
ISOCountryCode =
Types::String.constrained(size: 2)
SAFcodeType =
Types::String.constrained(max_size: 9)
SAFshorttextType =
Types::String.constrained(max_size: 18)
SAFmiddle1textType =
Types::String.constrained(max_size: 35)
SAFmiddle2textType =
Types::String.constrained(max_size: 70)
SAFlongtextType =
Types::String.constrained(max_size: 256)
SAFmonetaryType =
Types::Decimal.constrained(digits: 18, fraction_digits: 2)
SAFexchangerateType =
Types::Decimal.constrained(digits: 18, fraction_digits: 8)
SAFquantityType =
Types::Decimal.constrained(digits: 22, fraction_digits: 6)
SAFweightType =
Types::Decimal.constrained(digits: 14, fraction_digits: 3)
AddressType =
Types::String.enum("StreetAddress", "PostalAddress", "BillingAddress", "ShipToAddress", "ShipFromAddress")

Method Summary

Methods included from ObjectStrutures

extended