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_c_u0_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
6585 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6585 def struct_fields; FIELDS; end |
#validate ⇒ Object
6587 6588 6589 6590 6591 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6587 def validate unless @transactionType.nil? || ::G_a_c_u0_a_d_i8::VALID_VALUES.include?(@transactionType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field transactionType!') end end |