public class RateCardCustomization extends Object implements Serializable
RateCard which could be applied to
the line item
and charges extra premiums.| Constructor and Description |
|---|
RateCardCustomization() |
RateCardCustomization(Long rateCardId,
Long id,
RateCardCustomizationStatus status,
RateCardFeature rateCardFeature,
RateCardCustomizationAdjustmentType adjustmentType,
Long adjustmentSize,
RateType rateType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdjustmentSize()
Gets the adjustmentSize value for this RateCardCustomization.
|
RateCardCustomizationAdjustmentType |
getAdjustmentType()
Gets the adjustmentType value for this RateCardCustomization.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this RateCardCustomization.
|
RateCardFeature |
getRateCardFeature()
Gets the rateCardFeature value for this RateCardCustomization.
|
Long |
getRateCardId()
Gets the rateCardId value for this RateCardCustomization.
|
RateType |
getRateType()
Gets the rateType value for this RateCardCustomization.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
RateCardCustomizationStatus |
getStatus()
Gets the status value for this RateCardCustomization.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdjustmentSize(Long adjustmentSize)
Sets the adjustmentSize value for this RateCardCustomization.
|
void |
setAdjustmentType(RateCardCustomizationAdjustmentType adjustmentType)
Sets the adjustmentType value for this RateCardCustomization.
|
void |
setId(Long id)
Sets the id value for this RateCardCustomization.
|
void |
setRateCardFeature(RateCardFeature rateCardFeature)
Sets the rateCardFeature value for this RateCardCustomization.
|
void |
setRateCardId(Long rateCardId)
Sets the rateCardId value for this RateCardCustomization.
|
void |
setRateType(RateType rateType)
Sets the rateType value for this RateCardCustomization.
|
void |
setStatus(RateCardCustomizationStatus status)
Sets the status value for this RateCardCustomization.
|
public RateCardCustomization()
public RateCardCustomization(Long rateCardId, Long id, RateCardCustomizationStatus status, RateCardFeature rateCardFeature, RateCardCustomizationAdjustmentType adjustmentType, Long adjustmentSize, RateType rateType)
public Long getRateCardId()
RateCard object to which this rate card
customization
belongs.
This attribute is required and cannot be changed after
creation.public void setRateCardId(Long rateCardId)
rateCardId - * The ID of the RateCard object to which this rate card
customization
belongs.
This attribute is required and cannot be changed after
creation.public Long getId()
RateCardCustomization object.
This attribute is read-only and is assigned by Google
when a rate card
customization is created.public void setId(Long id)
id - * Uniquely identifies the RateCardCustomization object.
This attribute is read-only and is assigned by Google
when a rate card
customization is created.public RateCardCustomizationStatus getStatus()
RateCardCustomization. This attribute
is
read-only and is assigned by Google.public void setStatus(RateCardCustomizationStatus status)
status - * The status of the RateCardCustomization. This attribute
is
read-only and is assigned by Google.public RateCardFeature getRateCardFeature()
public void setRateCardFeature(RateCardFeature rateCardFeature)
rateCardFeature - * The rate card feature this rate card customization is applied
to.
This attribute cannot be changed after creation.public RateCardCustomizationAdjustmentType getAdjustmentType()
public void setAdjustmentType(RateCardCustomizationAdjustmentType adjustmentType)
adjustmentType - * Whether the adjustment is a percentage or absolute value.
This attribute is required.public Long getAdjustmentSize()
adjustmentType is
RateCardCustomizationAdjustmentType.ABSOLUTE_VALUE,
this value is
in micros. If adjustmentType is
RateCardCustomizationAdjustmentType.PERCENTAGE,
this value is in
millipercent.
This attribute is required.public void setAdjustmentSize(Long adjustmentSize)
adjustmentSize - * If adjustmentType is
RateCardCustomizationAdjustmentType.ABSOLUTE_VALUE,
this value is
in micros. If adjustmentType is
RateCardCustomizationAdjustmentType.PERCENTAGE,
this value is in
millipercent.
This attribute is required.public RateType getRateType()
public void setRateType(RateType rateType)
rateType - * The rate type this customization would be applied to.
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 © 2013. All Rights Reserved.