public static class ShoppingExample.Discount extends Object
Constructor and Description |
---|
Discount(ShoppingExample.Customer customer,
int amount) |
Modifier and Type | Method and Description |
---|---|
int |
getAmount() |
ShoppingExample.Customer |
getCustomer() |
public Discount(ShoppingExample.Customer customer, int amount)
public ShoppingExample.Customer getCustomer()
public int getAmount()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.