Class: PaymentCancellationInfo
- Inherits:
-
Object
- Object
- PaymentCancellationInfo
- 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
- TRANSACTIONTYPE =
1
- CANCELDATE =
3
- CANCELAMOUNT =
4
- REMAINAMOUNT =
5
- FIELDS =
{ TRANSACTIONTYPE => {:type => ::Thrift::Types::I32, :name => 'transactionType', :enum_class => ::G_a_b_z0_a_d_i8}, CANCELDATE => {:type => ::Thrift::Types::I64, :name => 'cancelDate'}, CANCELAMOUNT => {:type => ::Thrift::Types::STRUCT, :name => 'cancelAmount', :class => ::DisplayMoney}, REMAINAMOUNT => {:type => ::Thrift::Types::STRUCT, :name => 'remainAmount', :class => ::DisplayMoney} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
8149 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8149 def struct_fields; FIELDS; end |
#validate ⇒ Object
8151 8152 8153 8154 8155 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8151 def validate unless @transactionType.nil? || ::G_a_b_z0_a_d_i8::VALID_VALUES.include?(@transactionType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field transactionType!') end end |