Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMovieLicensePrice ¶
func GetMovieLicensePrice(ml *MovieLicense) int
func PrintMovieLicense ¶
func PrintMovieLicense(ml *MovieLicense)
Types ¶
type MovieLicense ¶
type MovieLicense struct {
Name string
Discount
LicenseType
}
func NewMovieLicense ¶
func NewMovieLicense(name string, discount Discount, licenseType LicenseType) *MovieLicense
func (*MovieLicense) GetBasePrice ¶
func (ml *MovieLicense) GetBasePrice() int
func (*MovieLicense) GetDiscount ¶
func (ml *MovieLicense) GetDiscount() int
func (*MovieLicense) GetPrice ¶
func (ml *MovieLicense) GetPrice() int
Click to show internal directories.
Click to hide internal directories.