MedicalAmounts

public class MedicalAmounts

A container for the various MedicalAmounts.

Methods

create

public static MedicalAmounts create()

Create a MedicalAmounts object.

getAmountClinic

public Decimal getAmountClinic()

Returns the clinic amount if set, otherwise returns null.

getAmountDental

public Decimal getAmountDental()

Returns the dental amount if set, otherwise returns null.

getAmountHealthCare

public Decimal getAmountHealthCare()

Returns the health care amount if set, otherwise returns null.

getAmountPrescription

public Decimal getAmountPrescription()

Returns the prescription amount if set, otherwise returns null.

getAmountVision

public Decimal getAmountVision()

Returns the vision amount if set, otherwise returns null.

setAmountClinic

public void setAmountClinic(Decimal amountClinic)

Set the clinic amount.

setAmountDental

public void setAmountDental(Decimal amountDental)

Set the dental amount.

setAmountHealthCare

public void setAmountHealthCare(Decimal amountHealthcare)

Sets the health care amount. This could be total of all the other medical amounts.

setAmountPrescription

public void setAmountPrescription(Decimal amountPrescription)

Sets the prescription amount.

setAmountVision

public void setAmountVision(Decimal amountVision)

Sets the vision amount.

setWithMedicalAmounts

public void setWithMedicalAmounts(Decimal amountHealthcare, Decimal amountPrescription, Decimal amountVision, Decimal amountClinic, Decimal amountDental)

Set all of the medical amounts at once, overriding any previous setting.