Subversion Repositories SmartDukaan

Rev

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

Rev 196 Rev 302
Line 112... Line 112...
112
	9:string statusDescription,
112
	9:string statusDescription,
113
	10:i64 customer_id,
113
	10:i64 customer_id,
114
	11:i64 shoppingCartid
114
	11:i64 shoppingCartid
115
}
115
}
116
 
116
 
-
 
117
struct Alert{
-
 
118
	1:i64 id,
-
 
119
	2:i64 transaction_id,
-
 
120
	3:i64 type,
-
 
121
	4:i64 time_set,
-
 
122
	5:string comment,
-
 
123
	6:i64 time_unset
-
 
124
}
-
 
125
 
-
 
126
struct ExtraOrderInfo{
-
 
127
	1:i64 id,
-
 
128
	2:i64 transaction_id,
-
 
129
	3:i64 sku_id,
-
 
130
	4:string model_name,
-
 
131
	5:string vendor_info,
-
 
132
	6:string colour
-
 
133
}
-
 
134
 
117
exception TransactionServiceException{
135
exception TransactionServiceException{
118
	1:i32 errorCode,
136
	1:i32 errorCode,
119
	2:string message
137
	2:string message
120
}
138
}
121
 
139
 
Line 142... Line 160...
142
	bool addBilling(1:i64 tranactionId,2: Billing billing) throws (1:TransactionServiceException ex),
160
	bool addBilling(1:i64 tranactionId,2: Billing billing) throws (1:TransactionServiceException ex),
143
	bool setShippingTracker(1:i64 transactionId, 2:i64 shippingId, 3:string trackingId, 4:string airwayBillNo, 5:string provider) throws (1:TransactionServiceException ex),
161
	bool setShippingTracker(1:i64 transactionId, 2:i64 shippingId, 3:string trackingId, 4:string airwayBillNo, 5:string provider) throws (1:TransactionServiceException ex),
144
	bool setShippingDate(1:i64 transactionId, 2:i64 shippingId, 3:i64 timestamp) throws (1:TransactionServiceException ex),
162
	bool setShippingDate(1:i64 transactionId, 2:i64 shippingId, 3:i64 timestamp) throws (1:TransactionServiceException ex),
145
	bool setDeliveryDate(1:i64 transactionId, 2:i64 shippingid, 3:i64 timestamp) throws (1:TransactionServiceException ex),
163
	bool setDeliveryDate(1:i64 transactionId, 2:i64 shippingid, 3:i64 timestamp) throws (1:TransactionServiceException ex),
146
	bool changeShippingStatus(1:i64 transactionId, 2:i64 shippingId, 3:ShipmentStatus status, 4:string description) throws (1:TransactionServiceException ex),
164
	bool changeShippingStatus(1:i64 transactionId, 2:i64 shippingId, 3:ShipmentStatus status, 4:string description) throws (1:TransactionServiceException ex),
147
	bool addTrail(1:i64 transactionId, 2:string description)throws (1:TransactionServiceException ex)
165
	bool addTrail(1:i64 transactionId, 2:string description)throws (1:TransactionServiceException ex),
-
 
166
	//Alerts apis set on 5th June
-
 
167
	list<Alert> getAlerts(1:i64 transactionId, 2:bool valid),
-
 
168
	void setAlert(1:i64 transactionId, 2:bool unset, 3:i64 type, 4: string comment),
-
 
169
	//extra order info apis. added for demo
-
 
170
	ExtraOrderInfo getExtraInfo(1:i64 transaction_id),
-
 
171
	void setExtraInfo(1:i64 transaction_id, 2:i64 sku_id, 3:string model, 4:string colour, 5:string vendor)
148
}
172
}
149
173