Subversion Repositories SmartDukaan

Rev

Rev 68 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68 Rev 132
Line 322... Line 322...
322
            }
322
            }
323
            break;
323
            break;
324
          case BILLINGS:
324
          case BILLINGS:
325
            if (field.type == TType.LIST) {
325
            if (field.type == TType.LIST) {
326
              {
326
              {
327
                TList _list9 = iprot.readListBegin();
327
                TList _list13 = iprot.readListBegin();
328
                this.billings = new ArrayList<Billing>(_list9.size);
328
                this.billings = new ArrayList<Billing>(_list13.size);
329
                for (int _i10 = 0; _i10 < _list9.size; ++_i10)
329
                for (int _i14 = 0; _i14 < _list13.size; ++_i14)
330
                {
330
                {
331
                  Billing _elem11;
331
                  Billing _elem15;
332
                  _elem11 = new Billing();
332
                  _elem15 = new Billing();
333
                  _elem11.read(iprot);
333
                  _elem15.read(iprot);
334
                  this.billings.add(_elem11);
334
                  this.billings.add(_elem15);
335
                }
335
                }
336
                iprot.readListEnd();
336
                iprot.readListEnd();
337
              }
337
              }
338
            } else { 
338
            } else { 
339
              TProtocolUtil.skip(iprot, field.type);
339
              TProtocolUtil.skip(iprot, field.type);
Line 356... Line 356...
356
    oprot.writeFieldEnd();
356
    oprot.writeFieldEnd();
357
    if (this.billings != null) {
357
    if (this.billings != null) {
358
      oprot.writeFieldBegin(BILLINGS_FIELD_DESC);
358
      oprot.writeFieldBegin(BILLINGS_FIELD_DESC);
359
      {
359
      {
360
        oprot.writeListBegin(new TList(TType.STRUCT, this.billings.size()));
360
        oprot.writeListBegin(new TList(TType.STRUCT, this.billings.size()));
361
        for (Billing _iter12 : this.billings)
361
        for (Billing _iter16 : this.billings)
362
        {
362
        {
363
          _iter12.write(oprot);
363
          _iter16.write(oprot);
364
        }
364
        }
365
        oprot.writeListEnd();
365
        oprot.writeListEnd();
366
      }
366
      }
367
      oprot.writeFieldEnd();
367
      oprot.writeFieldEnd();
368
    }
368
    }