-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…in paypal
- Loading branch information
tuannguyenh1
committed
Nov 8, 2024
1 parent
a37f777
commit 316c0c2
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ | |
import com.fasterxml.jackson.databind.ObjectMapper; | ||
import com.fasterxml.jackson.databind.ObjectWriter; | ||
import com.yas.order.OrderApplication; | ||
import com.yas.order.model.enumeration.CheckoutProgress; | ||
import com.yas.order.model.enumeration.CheckoutState; | ||
import com.yas.order.model.enumeration.PaymentMethod; | ||
import com.yas.order.service.CheckoutService; | ||
import com.yas.order.viewmodel.checkout.CheckoutItemPostVm; | ||
import com.yas.order.viewmodel.checkout.CheckoutItemVm; | ||
|
@@ -201,6 +204,11 @@ private CheckoutVm getCheckoutVm() { | |
"[email protected]", | ||
"Please deliver after 5 PM", | ||
"DISCOUNT20", | ||
CheckoutState.PAYMENT_PROCESSING, | ||
CheckoutProgress.PROMOTION_CODE_APPLIED, | ||
PaymentMethod.PAYPAL, | ||
null, | ||
null, | ||
BigDecimal.valueOf(900), | ||
BigDecimal.valueOf(9), | ||
checkoutItemVms | ||
|
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