Class coretip

Inheritance diagram for com.payments.core.CoreTip:

com.payments.core.CoreSetting

Public Member Functions

CoreTip ()
BigDecimal getAmount ()
void setAmount (BigDecimal amount)
BigDecimal getPercentage ()
void setPercentage (BigDecimal percentage)
TipType getTipType ()
void setTipType (TipType tipType)
String getUid ()
void setUid (String uid)

Detailed Description

This class represents the tip object which is retrieved from the server.

Constructor & Destructor Documentation

CoreTip()

    • com.payments.core.CoreTip.CoreTip
    • (
    • )

  • inline

Member Function Documentation

getAmount()

    • BigDecimal com.payments.core.CoreTip.getAmount
    • (
    • )

  • inline

The BigDecimal instance represents tip amount.

Returns

amount

getPercentage()

    • BigDecimal com.payments.core.CoreTip.getPercentage
    • (
    • )

  • inline

The String instance represents percentage for tip amounts.

Returns

percentage

getTipType()

    • TipType com.payments.core.CoreTip.getTipType
    • (
    • )

  • inline

The BigDecimal instance represents type of the tip.

Returns

tipType

getUid()

    • String com.payments.core.CoreTip.getUid
    • (
    • )

  • inline

The String instance represents Unique Id .

Returns

uid

Implements com.payments.core.CoreSetting.

setAmount()

    • void com.payments.core.CoreTip.setAmount
    • (
    • BigDecimal
    • amount
    • )

  • inline

Sets the value of the amount property.

Parameters

  • amount
  • - tip amount

setPercentage()

    • void com.payments.core.CoreTip.setPercentage
    • (
    • BigDecimal
    • percentage
    • )

  • inline

Sets the value of the percentage property.

Parameters

  • percentage
  • - tip percentage

setTipType()

    • void com.payments.core.CoreTip.setTipType
    • (
    • TipType
    • tipType
    • )

  • inline

Sets the value of the tipType property.

Parameters

  • tipType
  • - type of the tip

setUid()

    • void com.payments.core.CoreTip.setUid
    • (
    • String
    • uid
    • )

  • inline

Sets the value of the uid property.

Parameters

  • uid
  • - unique ID