public class ReceiptAllowanceCharge
extends java.lang.Object
| Constructor and Description |
|---|
ReceiptAllowanceCharge() |
| Modifier and Type | Method and Description |
|---|---|
static ReceiptAllowanceCharge |
BookingFee(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
BookingFee(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
DeliveryFee(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
DeliveryFee(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
FreightFee(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
FreightFee(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
GeneralDiscount(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
GeneralDiscount(double amount,
java.lang.String description,
Tax tax) |
java.lang.String |
getDescription() |
double |
getId() |
double |
getNetTotal() |
double |
getSubTotal() |
java.util.List<Tax> |
getTaxes() |
double |
getTaxesTotal() |
double |
getTaxesTotal(TaxCode taxCode) |
double |
getTotal() |
SettlementType |
getType() |
java.lang.Boolean |
hasTaxes() |
java.lang.Boolean |
isAllowance() |
java.lang.Boolean |
isCharge() |
static ReceiptAllowanceCharge |
MultiBuyDiscount(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
MultiBuyDiscount(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
PackagingFee(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
PackagingFee(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
ProcessingFee(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
ProcessingFee(double amount,
java.lang.String description,
Tax tax) |
static ReceiptAllowanceCharge |
Tip(double amount,
java.lang.String description) |
static ReceiptAllowanceCharge |
Tip(double amount,
java.lang.String description,
Tax tax) |
public double getId()
public SettlementType getType()
public double getSubTotal()
public java.lang.String getDescription()
public double getNetTotal()
public double getTotal()
public java.lang.Boolean hasTaxes()
public double getTaxesTotal()
public double getTaxesTotal(TaxCode taxCode)
public java.util.List<Tax> getTaxes()
public java.lang.Boolean isCharge()
public java.lang.Boolean isAllowance()
public static ReceiptAllowanceCharge Tip(double amount, java.lang.String description)
public static ReceiptAllowanceCharge Tip(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge DeliveryFee(double amount, java.lang.String description)
public static ReceiptAllowanceCharge DeliveryFee(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge FreightFee(double amount, java.lang.String description)
public static ReceiptAllowanceCharge FreightFee(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge PackagingFee(double amount, java.lang.String description)
public static ReceiptAllowanceCharge PackagingFee(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge ProcessingFee(double amount, java.lang.String description)
public static ReceiptAllowanceCharge ProcessingFee(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge BookingFee(double amount, java.lang.String description)
public static ReceiptAllowanceCharge BookingFee(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge GeneralDiscount(double amount, java.lang.String description)
public static ReceiptAllowanceCharge GeneralDiscount(double amount, java.lang.String description, Tax tax)
public static ReceiptAllowanceCharge MultiBuyDiscount(double amount, java.lang.String description)
public static ReceiptAllowanceCharge MultiBuyDiscount(double amount, java.lang.String description, Tax tax)