Class coretax

Inheritance diagram for com.payments.core.CoreTax:

com.payments.core.CoreSetting

Public Member Functions

CoreTax ()
String getName ()
void setName (String name)
BigDecimal getPercentage ()
void setPercentage (BigDecimal percentage)
String getUid ()
void setUid (String uid)

Detailed Description

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

Constructor & Destructor Documentation

CoreTax()

    • com.payments.core.CoreTax.CoreTax
    • (
    • )

  • inline

Initialise a new instance of CoreTax class

Member Function Documentation

getName()

    • String com.payments.core.CoreTax.getName
    • (
    • )

  • inline

The String instance represents name of tax.

Returns

name - tax name

getPercentage()

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

  • inline

The String instance represents percentage for adding tax amounts.

Returns

percentage - percentage of the tax

getUid()

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

  • inline

The String instance represents unique Id for tax.

Returns

uid - unique ID

Implements com.payments.core.CoreSetting.

setName()

    • void com.payments.core.CoreTax.setName
    • (
    • String
    • name
    • )

  • inline

Sets the value of the name property.

Parameters

  • name
  • - tax name

setPercentage()

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

  • inline

Sets the value of the percentage property.

Parameters

  • percentage
  • - percentage of the tax

setUid()

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

  • inline

Sets the value of the uid property.

Parameters

  • uid
  • - unique ID