Class: PaymentLineCardIssueForm
- Inherits:
-
Object
- Object
- PaymentLineCardIssueForm
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb
Constant Summary collapse
- REQUIREDTERMSOFSERVICEBUNDLE =
1
- AVAILABLELINECARDS =
2
- FIELDS =
{ REQUIREDTERMSOFSERVICEBUNDLE => {:type => ::Thrift::Types::I32, :name => 'requiredTermsOfServiceBundle', :enum_class => ::G_a_b_z0_a_d_o7}, AVAILABLELINECARDS => {:type => ::Thrift::Types::LIST, :name => 'availableLineCards', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaymentLineCardInfo}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
7973 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7973 def struct_fields; FIELDS; end |
#validate ⇒ Object
7975 7976 7977 7978 7979 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7975 def validate unless @requiredTermsOfServiceBundle.nil? || ::G_a_b_z0_a_d_o7::VALID_VALUES.include?(@requiredTermsOfServiceBundle) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field requiredTermsOfServiceBundle!') end end |