Last active
December 12, 2015 10:38
-
-
Save danveloper/4760232 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
public enum PaymentVendor { | |
INTERNAL, STRIPE; | |
} | |
public class ProductOrder { | |
Account account; | |
Address shippingAddress; | |
PaymentMethod paymentMethod; | |
double taxRate = 0.0; | |
PaymentVendor paymentVendor = PaymentVendor.STRIPE; | |
boolean firstOrderThankYou = false; | |
List<Product> products; | |
List<Coupon> coupons; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment