Class: Candid::X12::V1::Types::TypeOfBillCompositeUpdate
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Candid::X12::V1::Types::TypeOfBillCompositeUpdate
- Extended by:
- Internal::Types::Union
- Defined in:
- lib/candid/x_12/v_1/types/type_of_bill_composite_update.rb
Overview
A type of bill can either be seen as a compositio of structured parts, or as a literal string. This union represents the potential to express a type of bill either as one of those two shapes. Passing a string, this update will be seen as a complete 4 digit code, along with a padding code 0, that should match a valid composition. Passing as a structure, the update will be seen as three parts and will be joined together by the server to represent a valid composition for you. Which you use depends upon whether you are “passing through” coded information or making a decision about its structure explicitly.
Method Summary
Methods included from Internal::Types::Union
coerce, discriminant, member, member?, members
Methods included from Internal::Types::Type
Methods included from Internal::JSON::Serializable
Methods inherited from Internal::Types::Model
#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h
Constructor Details
This class inherits a constructor from Candid::Internal::Types::Model