@esolve/ng-esolve-connect 0.89.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/account/user-account/classes/esolve-user-account.model.mjs +2 -1
- package/esm2022/lib/cart/esolve-cart.service.mjs +6 -2
- package/esm2022/lib/cart/interfaces/esolve-checkout-body.interface.mjs +1 -1
- package/esm2022/lib/transactions/classes/esolve-transaction.model.mjs +4 -2
- package/esm2022/lib/transactions/interfaces/esolve-transaction-record.interface.mjs +1 -1
- package/fesm2022/esolve-ng-esolve-connect.mjs +9 -2
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/cart/esolve-cart.service.d.ts +4 -1
- package/lib/cart/interfaces/esolve-checkout-body.interface.d.ts +1 -0
- package/lib/transactions/classes/esolve-transaction.model.d.ts +1 -0
- package/lib/transactions/interfaces/esolve-transaction-record.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -59,10 +59,13 @@ export declare class EsolveCartService {
|
|
|
59
59
|
* @param payment_method_id The ID of the selected payment method
|
|
60
60
|
* @param location_id The ID of the selected branch from with shipping needs to be calculated
|
|
61
61
|
* @param comments Additional comments on the cart
|
|
62
|
+
* @param time_slot The time slot to be used
|
|
63
|
+
* @param apply_wallet Whether to apply wallet to the order
|
|
64
|
+
* @param purchase_order_number Custom purchase order to added to transaction
|
|
62
65
|
*
|
|
63
66
|
* @returns An `Observable` with the transaction ID
|
|
64
67
|
*/
|
|
65
|
-
checkout(type: EsolveTransactionType, addresses_id: number, shipping_id: number, payment_method_id?: number, location_id?: number, comments?: string, time_slot?: EsolveTimeSlotCheckout, apply_wallet?: boolean): Observable<EsolveCheckoutResult>;
|
|
68
|
+
checkout(type: EsolveTransactionType, addresses_id: number, shipping_id: number, payment_method_id?: number, location_id?: number, comments?: string, time_slot?: EsolveTimeSlotCheckout, apply_wallet?: boolean, purchase_order_number?: number): Observable<EsolveCheckoutResult>;
|
|
66
69
|
getCartAlternatives(): Observable<EsolveCartAlternativesMap>;
|
|
67
70
|
/**
|
|
68
71
|
* Set an alternative stock item to current cart item
|