Created
February 10, 2016 10:56
-
-
Save k4m4r82/52d180a02053e56fae2b 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
Option Explicit | |
Private mOrderID As Long | |
Private mProductID As Long | |
Private mUnitPrice As Double | |
Private mQuantity As Integer | |
Private mDiscount As Single | |
Public Property Let orderID(ByVal vData As Long) | |
mOrderID = vData | |
End Property | |
Public Property Get orderID() As Long | |
orderID = mOrderID | |
End Property | |
Public Property Let productID(ByVal vData As Long) | |
mProductID = vData | |
End Property | |
Public Property Get productID() As Long | |
productID = mProductID | |
End Property | |
Public Property Let unitPrice(ByVal vData As Double) | |
mUnitPrice = vData | |
End Property | |
Public Property Get unitPrice() As Double | |
unitPrice = mUnitPrice | |
End Property | |
Public Property Let quantity(ByVal vData As Integer) | |
mQuantity = vData | |
End Property | |
Public Property Get quantity() As Integer | |
quantity = mQuantity | |
End Property | |
Public Property Let discount(ByVal vData As Single) | |
mDiscount = vData | |
End Property | |
Public Property Get discount() As Single | |
discount = mDiscount | |
End Property |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment