| Line 448... |
Line 448... |
| 448 |
- vatDiff
|
448 |
- vatDiff
|
| 449 |
- igstRate
|
449 |
- igstRate
|
| 450 |
- cgstRate
|
450 |
- cgstRate
|
| 451 |
- sgstRate
|
451 |
- sgstRate
|
| 452 |
- hsnCode
|
452 |
- hsnCode
|
| - |
|
453 |
- invoicePrice
|
| - |
|
454 |
- tp
|
| 453 |
"""
|
455 |
"""
|
| 454 |
|
456 |
|
| 455 |
thrift_spec = (
|
457 |
thrift_spec = (
|
| 456 |
None, # 0
|
458 |
None, # 0
|
| 457 |
(1, TType.I64, 'orderId', None, None, ), # 1
|
459 |
(1, TType.I64, 'orderId', None, None, ), # 1
|
| Line 484... |
Line 486... |
| 484 |
(28, TType.DOUBLE, 'vatDiff', None, None, ), # 28
|
486 |
(28, TType.DOUBLE, 'vatDiff', None, None, ), # 28
|
| 485 |
(29, TType.DOUBLE, 'igstRate', None, None, ), # 29
|
487 |
(29, TType.DOUBLE, 'igstRate', None, None, ), # 29
|
| 486 |
(30, TType.DOUBLE, 'cgstRate', None, None, ), # 30
|
488 |
(30, TType.DOUBLE, 'cgstRate', None, None, ), # 30
|
| 487 |
(31, TType.DOUBLE, 'sgstRate', None, None, ), # 31
|
489 |
(31, TType.DOUBLE, 'sgstRate', None, None, ), # 31
|
| 488 |
(32, TType.STRING, 'hsnCode', None, None, ), # 32
|
490 |
(32, TType.STRING, 'hsnCode', None, None, ), # 32
|
| - |
|
491 |
(33, TType.DOUBLE, 'invoicePrice', None, None, ), # 33
|
| - |
|
492 |
(34, TType.DOUBLE, 'tp', None, None, ), # 34
|
| 489 |
)
|
493 |
)
|
| 490 |
|
494 |
|
| 491 |
def __init__(self, orderId=None, itemId=None, productGroup=None, brand=None, modelNumber=None, modelName=None, color=None, itemNumber=None, quantity=None, unfulfilledQuantity=None, createdAt=None, unitPrice=None, fulfilled=None, codCount=None, availableQuantity=None, reservedQuantity=None, avgSales=None, minStockLevel=None, numberOfDaysStock=None, suggestedQuantity=None, numberOfDaysInStock=None, rtoOrders=None, lastXdaysSale=None, previouslyOrderedQty=None, nlc=None, mrp=None, nlcP=None, vatDiff=None, igstRate=None, cgstRate=None, sgstRate=None, hsnCode=None,):
|
495 |
def __init__(self, orderId=None, itemId=None, productGroup=None, brand=None, modelNumber=None, modelName=None, color=None, itemNumber=None, quantity=None, unfulfilledQuantity=None, createdAt=None, unitPrice=None, fulfilled=None, codCount=None, availableQuantity=None, reservedQuantity=None, avgSales=None, minStockLevel=None, numberOfDaysStock=None, suggestedQuantity=None, numberOfDaysInStock=None, rtoOrders=None, lastXdaysSale=None, previouslyOrderedQty=None, nlc=None, mrp=None, nlcP=None, vatDiff=None, igstRate=None, cgstRate=None, sgstRate=None, hsnCode=None, invoicePrice=None, tp=None,):
|
| 492 |
self.orderId = orderId
|
496 |
self.orderId = orderId
|
| 493 |
self.itemId = itemId
|
497 |
self.itemId = itemId
|
| 494 |
self.productGroup = productGroup
|
498 |
self.productGroup = productGroup
|
| 495 |
self.brand = brand
|
499 |
self.brand = brand
|
| 496 |
self.modelNumber = modelNumber
|
500 |
self.modelNumber = modelNumber
|
| Line 519... |
Line 523... |
| 519 |
self.vatDiff = vatDiff
|
523 |
self.vatDiff = vatDiff
|
| 520 |
self.igstRate = igstRate
|
524 |
self.igstRate = igstRate
|
| 521 |
self.cgstRate = cgstRate
|
525 |
self.cgstRate = cgstRate
|
| 522 |
self.sgstRate = sgstRate
|
526 |
self.sgstRate = sgstRate
|
| 523 |
self.hsnCode = hsnCode
|
527 |
self.hsnCode = hsnCode
|
| - |
|
528 |
self.invoicePrice = invoicePrice
|
| - |
|
529 |
self.tp = tp
|
| 524 |
|
530 |
|
| 525 |
def read(self, iprot):
|
531 |
def read(self, iprot):
|
| 526 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
532 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
| 527 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
533 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
| 528 |
return
|
534 |
return
|
| Line 689... |
Line 695... |
| 689 |
elif fid == 32:
|
695 |
elif fid == 32:
|
| 690 |
if ftype == TType.STRING:
|
696 |
if ftype == TType.STRING:
|
| 691 |
self.hsnCode = iprot.readString();
|
697 |
self.hsnCode = iprot.readString();
|
| 692 |
else:
|
698 |
else:
|
| 693 |
iprot.skip(ftype)
|
699 |
iprot.skip(ftype)
|
| - |
|
700 |
elif fid == 33:
|
| - |
|
701 |
if ftype == TType.DOUBLE:
|
| - |
|
702 |
self.invoicePrice = iprot.readDouble();
|
| - |
|
703 |
else:
|
| - |
|
704 |
iprot.skip(ftype)
|
| - |
|
705 |
elif fid == 34:
|
| - |
|
706 |
if ftype == TType.DOUBLE:
|
| - |
|
707 |
self.tp = iprot.readDouble();
|
| - |
|
708 |
else:
|
| - |
|
709 |
iprot.skip(ftype)
|
| 694 |
else:
|
710 |
else:
|
| 695 |
iprot.skip(ftype)
|
711 |
iprot.skip(ftype)
|
| 696 |
iprot.readFieldEnd()
|
712 |
iprot.readFieldEnd()
|
| 697 |
iprot.readStructEnd()
|
713 |
iprot.readStructEnd()
|
| 698 |
|
714 |
|
| Line 827... |
Line 843... |
| 827 |
oprot.writeFieldEnd()
|
843 |
oprot.writeFieldEnd()
|
| 828 |
if self.hsnCode is not None:
|
844 |
if self.hsnCode is not None:
|
| 829 |
oprot.writeFieldBegin('hsnCode', TType.STRING, 32)
|
845 |
oprot.writeFieldBegin('hsnCode', TType.STRING, 32)
|
| 830 |
oprot.writeString(self.hsnCode)
|
846 |
oprot.writeString(self.hsnCode)
|
| 831 |
oprot.writeFieldEnd()
|
847 |
oprot.writeFieldEnd()
|
| - |
|
848 |
if self.invoicePrice is not None:
|
| - |
|
849 |
oprot.writeFieldBegin('invoicePrice', TType.DOUBLE, 33)
|
| - |
|
850 |
oprot.writeDouble(self.invoicePrice)
|
| - |
|
851 |
oprot.writeFieldEnd()
|
| - |
|
852 |
if self.tp is not None:
|
| - |
|
853 |
oprot.writeFieldBegin('tp', TType.DOUBLE, 34)
|
| - |
|
854 |
oprot.writeDouble(self.tp)
|
| - |
|
855 |
oprot.writeFieldEnd()
|
| 832 |
oprot.writeFieldStop()
|
856 |
oprot.writeFieldStop()
|
| 833 |
oprot.writeStructEnd()
|
857 |
oprot.writeStructEnd()
|
| 834 |
|
858 |
|
| 835 |
def validate(self):
|
859 |
def validate(self):
|
| 836 |
return
|
860 |
return
|