public class PremiumRateValue extends Object implements Serializable
RateCard which could be applied to the line
item and charges extra.| Constructor and Description |
|---|
PremiumRateValue() |
PremiumRateValue(Long premiumRateId,
PremiumFeature premiumFeature,
RateType rateType,
PremiumAdjustmentType adjustmentType,
Long adjustmentSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdjustmentSize()
Gets the adjustmentSize value for this PremiumRateValue.
|
PremiumAdjustmentType |
getAdjustmentType()
Gets the adjustmentType value for this PremiumRateValue.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
PremiumFeature |
getPremiumFeature()
Gets the premiumFeature value for this PremiumRateValue.
|
Long |
getPremiumRateId()
Gets the premiumRateId value for this PremiumRateValue.
|
RateType |
getRateType()
Gets the rateType value for this PremiumRateValue.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdjustmentSize(Long adjustmentSize)
Sets the adjustmentSize value for this PremiumRateValue.
|
void |
setAdjustmentType(PremiumAdjustmentType adjustmentType)
Sets the adjustmentType value for this PremiumRateValue.
|
void |
setPremiumFeature(PremiumFeature premiumFeature)
Sets the premiumFeature value for this PremiumRateValue.
|
void |
setPremiumRateId(Long premiumRateId)
Sets the premiumRateId value for this PremiumRateValue.
|
void |
setRateType(RateType rateType)
Sets the rateType value for this PremiumRateValue.
|
String |
toString() |
public PremiumRateValue()
public PremiumRateValue(Long premiumRateId, PremiumFeature premiumFeature, RateType rateType, PremiumAdjustmentType adjustmentType, Long adjustmentSize)
public Long getPremiumRateId()
PremiumRate object to which this premium
rate value
belongs.
This attribute is readonly.public void setPremiumRateId(Long premiumRateId)
premiumRateId - * The ID of the PremiumRate object to which this premium
rate value
belongs.
This attribute is readonly.public PremiumFeature getPremiumFeature()
This attribute is required and cannot be changed after creation.
public void setPremiumFeature(PremiumFeature premiumFeature)
premiumFeature - * The feature type of this premium rate value.
This attribute is required and cannot be changed after creation.
public RateType getRateType()
public void setRateType(RateType rateType)
rateType - * The rate type this premium rate value would be applied to.
This attribute is required.public PremiumAdjustmentType getAdjustmentType()
public void setAdjustmentType(PremiumAdjustmentType adjustmentType)
adjustmentType - * Whether the premium rate value is a percentage or absolute
value to the
product rate.
This attribute is required.public Long getAdjustmentSize()
adjustmentType is
PremiumAdjustmentType.ABSOLUTE_VALUE, this
value is
in micros. If adjustmentType is
PremiumAdjustmentType.PERCENTAGE, this value
is in
millipercent.
This attribute is required.public void setAdjustmentSize(Long adjustmentSize)
adjustmentSize - * If adjustmentType is
PremiumAdjustmentType.ABSOLUTE_VALUE, this
value is
in micros. If adjustmentType is
PremiumAdjustmentType.PERCENTAGE, this value
is in
millipercent.
This attribute is required.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.