Subversion Repositories SmartDukaan

Rev

Rev 21535 | Rev 22043 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21535 Rev 21844
Line 142... Line 142...
142
}
142
}
143
 
143
 
144
enum TaxType {
144
enum TaxType {
145
	VAT = 0,
145
	VAT = 0,
146
	CST = 1,
146
	CST = 1,
147
	CFORM = 2
147
	CFORM = 2,
-
 
148
	IGST = 3,
-
 
149
	SGST = 4
148
}
150
}
149
 
151
 
150
struct LineItem{
152
struct LineItem{
151
	1:i64 id,
153
	1:i64 id,
152
	2:i64 item_id,
154
	2:i64 item_id,
Line 170... Line 172...
170
	20:double vatRate,
172
	20:double vatRate,
171
	21:double nlc,
173
	21:double nlc,
172
	22:double logisticsCost,
174
	22:double logisticsCost,
173
	23:double codCollectionCharges,
175
	23:double codCollectionCharges,
174
	24:double returnQty,
176
	24:double returnQty,
175
	25:i64 damaged_expiry_timestamp
177
	25:i64 damaged_expiry_timestamp,
-
 
178
	26:double igstRate,
-
 
179
	27:double cgstRate,
-
 
180
	28:double sgstRate,
-
 
181
	29:string hsnCode
176
}
182
}
177
 
183
 
178
enum DelayReason {
184
enum DelayReason {
179
	INVENTORY_LOW_PHASED_OUT,
185
	INVENTORY_LOW_PHASED_OUT,
180
	INVENTORY_LOW_COLOR_NOT_AVAILABLE,
186
	INVENTORY_LOW_COLOR_NOT_AVAILABLE,
Line 344... Line 350...
344
	2:string organisationName,
350
	2:string organisationName,
345
	3:string registeredAddress,
351
	3:string registeredAddress,
346
	4:string regId,
352
	4:string regId,
347
	5:string cinNumber,
353
	5:string cinNumber,
348
	6:string tin,
354
	6:string tin,
349
	7:i64 stateId
355
	7:i64 stateId,
-
 
356
	8:string gstin
350
}
357
}
351
 
358
 
352
struct WarehouseAddress{
359
struct WarehouseAddress{
353
	1:i64 id,
360
	1:i64 id,
354
	2:string address,
361
	2:string address,
355
	3:string pin,
362
	3:string pin,
356
	4:i64 state_id,
363
	4:i64 state_id,
357
	5:i64 created,
364
	5:i64 created,
358
	6:string contact_number
365
	6:string contact_number,
-
 
366
	7:string contact_person
359
}
367
}
360
 
368
 
361
struct BuyerInfo {
369
struct BuyerInfo {
362
	1:i64 buyerId,
370
	1:i64 buyerId,
363
	2:string organisationName,
371
	2:string organisationName,
Line 365... Line 373...
365
	4:string regId,
373
	4:string regId,
366
	5:string cinNumber,
374
	5:string cinNumber,
367
	6:string tin,
375
	6:string tin,
368
	7:i64 addressId,
376
	7:i64 addressId,
369
	8:WarehouseAddress buyerAddress,
377
	8:WarehouseAddress buyerAddress,
370
	9:i64 stateId
378
	9:i64 stateId,
-
 
379
	10:string gstin
371
}
380
}
372
 
381
 
373
struct Transaction{
382
struct Transaction{
374
	1:i64 id,
383
	1:i64 id,
375
	2:list<Order> orders,
384
	2:list<Order> orders,