Class coreterminalupdate

Public Member Functions

CoreTerminalUpdate ()
ArrayList< CoreSetting > getSettingCreate ()
void setSettingCreate (ArrayList< CoreSetting > settingCreate)
ArrayList< CoreSetting > getSettingDelete ()
void setSettingDelete (ArrayList< CoreSetting > settingDelete)
ArrayList< CoreSetting > getSettingUpdate ()
void setSettingUpdate (ArrayList< CoreSetting > settingUpdate)

Detailed Description

This class is used to hold the CoreTerminalUpdate object.Update tip and tax settings.

CoreTerminalUpdate terminalUpdate = new CoreTerminalUpdate();
CoreTax tax = new CoreTax();
tax.setPercentage(BigDecimal.valueOf(10.32));
tax.setName("ANDROID TEST 1");
ArrayList<CoreSetting> create = new ArrayList<CoreSetting>();
create.add(tax);
terminalUpdate.setSettingCreate(create);
AndroidTerminal.getInstance().updateSettings(terminalUpdate);
// or if you use Java, use JavaTerminal.getInstance().updateSettings(terminalUpdate);

Constructor & Destructor Documentation

CoreTerminalUpdate()

    • com.payments.core.CoreTerminalUpdate.CoreTerminalUpdate
    • (
    • )

  • inline

Initialise a new instance of CoreTerminalUpdate class

Member Function Documentation

getSettingCreate()

    • ArrayListCoreSetting com.payments.core.CoreTerminalUpdate.getSettingCreate
    • (
    • )

  • inline

The ArrayList of CoreSetting instances representing new terminal settings.

Returns

settingCreate

getSettingDelete()

    • ArrayListCoreSetting com.payments.core.CoreTerminalUpdate.getSettingDelete
    • (
    • )

  • inline

The ArrayList of CoreSetting instances represents deleted terminal settings.

Returns

settingDelete

getSettingUpdate()

    • ArrayListCoreSetting com.payments.core.CoreTerminalUpdate.getSettingUpdate
    • (
    • )

  • inline

The ArrayList of CoreSetting instances represents updated terminal settings.

Returns

settingUpdate

setSettingCreate()

    • void com.payments.core.CoreTerminalUpdate.setSettingCreate
    • (
    • ArrayList< CoreSetting >
    • settingCreate
    • )

  • inline

Sets the value of the settingCreate property.

Parameters

  • settingCreate
  • representing new terminal settings.

setSettingDelete()

    • void com.payments.core.CoreTerminalUpdate.setSettingDelete
    • (
    • ArrayList< CoreSetting >
    • settingDelete
    • )

  • inline

Sets the value of the settingDelete property.

Parameters

  • settingDelete
  • represents deleted terminal settings.

setSettingUpdate()

    • void com.payments.core.CoreTerminalUpdate.setSettingUpdate
    • (
    • ArrayList< CoreSetting >
    • settingUpdate
    • )

  • inline

Sets the value of the settingUpdate property.

Parameters

  • settingUpdate
  • represents updated terminal settings.