Class: PurchaseRecord
- Inherits:
-
Object
- Object
- PurchaseRecord
- 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
- PRODUCTDETAIL =
1
- PURCHASEDTIME =
11
- GIVER =
21
- RECIPIENT =
22
- PURCHASEDPRICE =
31
- FIELDS =
{ PRODUCTDETAIL => {:type => ::Thrift::Types::STRUCT, :name => 'productDetail', :class => ::ProductDetail}, PURCHASEDTIME => {:type => ::Thrift::Types::I64, :name => 'purchasedTime'}, GIVER => {:type => ::Thrift::Types::STRING, :name => 'giver'}, RECIPIENT => {:type => ::Thrift::Types::STRING, :name => 'recipient'}, PURCHASEDPRICE => {:type => ::Thrift::Types::STRUCT, :name => 'purchasedPrice', :class => ::Price} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10440 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10440 def struct_fields; FIELDS; end |
#validate ⇒ Object
10442 10443 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10442 def validate end |