Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
type Order(paymentMethod: PaymentMethod, discountCode: Option<string>)=
//Other members removed for brevity
member val PaymentMethod: PaymentMethod = paymentMethod with get
member val DiscountCode: Option<String> = discountCode with get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment