class Mobi::Mtld::Da::Carrier::CarrierDataType

Copyright
Author

Carrier API specific data types. These are used to optimise the data in the data file.

These data types are internal and are mapped to the DataType::STRING_UTF8 that is exposed to the customer.

Constants

STRING_1_BYTE_FIXED
STRING_2_BYTE_FIXED
STRING_3_BYTE_FIXED
STRING_4_BYTE_FIXED
STRING_5_BYTE_FIXED
STRING_LEN_BYTE

These are special types - used to optimise adding of string values Note - these are for API internal only, they should not be exposed

STRING_LEN_INT
STRING_LEN_SHORT

Public Instance Methods

base_data_type(data_type_id) click to toggle source

Get the base data type for the given CarrierDataType. This essentially just converts the above special String types to the DataType.String type.