PenaltyType

public PenaltyType PenaltyType(String type, String value, String currency)

Parameters

type

What the penalty amount is based on. should be one of the following values:AMOUNT : it means the user is charged a fixed amount specified in the value node. Say 50$ for example.PERCENT : it means the user is charged a percentage of the base rate/total rate.PERDAY : it means the user is charged Per Day Price. For eg.., if the value is 2, it means the penalty amount will the Per day price of 2 days.

value Value to indicate how many/much of the type listed above is going to be charged as a penalty.

currency

The currency of the amount, only valid when Type=AMOUNT