Created
June 6, 2018 17:01
-
-
Save timdeschryver/aef1b0d01e9103b6ec29adcd48313b83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class AddToCart { | |
static readonly type = '[Product List] Add to cart'; | |
constructor(public payload: { sku: string }) {} | |
} | |
export class RemoveFromCart { | |
static readonly type = '[Product List] Remove from cart'; | |
constructor(public payload: { sku: string }) {} | |
} | |
export class EmptyCart { | |
static readonly type = '[Cart] Empty cart'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment