Class: PurchaseOrder

Inherits:
Object
  • Object
show all
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

SHOPID =
1
PRODUCTID =
2
RECIPIENTMID =
5
PRICE =
11
ENABLELINEPOINTAUTOEXCHANGE =
12
LOCALE =
21
PRESENTATTRIBUTES =
31
FIELDS =
{
  SHOPID => {:type => ::Thrift::Types::STRING, :name => 'shopId'},
  PRODUCTID => {:type => ::Thrift::Types::STRING, :name => 'productId'},
  RECIPIENTMID => {:type => ::Thrift::Types::STRING, :name => 'recipientMid'},
  PRICE => {:type => ::Thrift::Types::STRUCT, :name => 'price', :class => ::Price},
  ENABLELINEPOINTAUTOEXCHANGE => {:type => ::Thrift::Types::BOOL, :name => 'enableLinePointAutoExchange'},
  LOCALE => {:type => ::Thrift::Types::STRUCT, :name => 'locale', :class => ::Locale},
  PRESENTATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'presentAttributes', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



11997
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11997

def struct_fields; FIELDS; end

#validateObject



11999
12000
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11999

def validate
end