public class PremiumRate extends Object implements Serializable
PremiumRateValue objects
with the same PremiumFeature.| Constructor and Description |
|---|
PremiumRate() |
PremiumRate(Long id,
Long rateCardId,
PricingMethod pricingMethod,
PremiumFeature premiumFeature,
PremiumRateValue[] premiumRateValues) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this PremiumRate.
|
PremiumFeature |
getPremiumFeature()
Gets the premiumFeature value for this PremiumRate.
|
PremiumRateValue[] |
getPremiumRateValues()
Gets the premiumRateValues value for this PremiumRate.
|
PremiumRateValue |
getPremiumRateValues(int i) |
PricingMethod |
getPricingMethod()
Gets the pricingMethod value for this PremiumRate.
|
Long |
getRateCardId()
Gets the rateCardId value for this PremiumRate.
|
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 |
setId(Long id)
Sets the id value for this PremiumRate.
|
void |
setPremiumFeature(PremiumFeature premiumFeature)
Sets the premiumFeature value for this PremiumRate.
|
void |
setPremiumRateValues(int i,
PremiumRateValue _value) |
void |
setPremiumRateValues(PremiumRateValue[] premiumRateValues)
Sets the premiumRateValues value for this PremiumRate.
|
void |
setPricingMethod(PricingMethod pricingMethod)
Sets the pricingMethod value for this PremiumRate.
|
void |
setRateCardId(Long rateCardId)
Sets the rateCardId value for this PremiumRate.
|
String |
toString() |
public PremiumRate()
public PremiumRate(Long id, Long rateCardId, PricingMethod pricingMethod, PremiumFeature premiumFeature, PremiumRateValue[] premiumRateValues)
public Long getId()
PremiumRate object.
This attribute is read-only and is assigned by Google
when a premium rate
is created.public void setId(Long id)
id - * Uniquely identifies the PremiumRate object.
This attribute is read-only and is assigned by Google
when a premium rate
is created.public Long getRateCardId()
RateCard object to which this premium
rate 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 premium
rate belongs.
This attribute is required and cannot be changed after
creation.public PricingMethod getPricingMethod()
PremiumRateValue objects
from this
PremiumRate to apply to a ProposalLineItem.
This attribute is required.public void setPricingMethod(PricingMethod pricingMethod)
pricingMethod - * The method of deciding which PremiumRateValue objects
from this
PremiumRate to apply to a ProposalLineItem.
This attribute is required.public PremiumFeature getPremiumFeature()
public void setPremiumFeature(PremiumFeature premiumFeature)
premiumFeature - * The feature type of this premium rate.
This attribute is required and cannot be changed after
creation.public PremiumRateValue[] getPremiumRateValues()
public void setPremiumRateValues(PremiumRateValue[] premiumRateValues)
premiumRateValues - * The premiums rate values in this rate.public PremiumRateValue getPremiumRateValues(int i)
public void setPremiumRateValues(int i,
PremiumRateValue _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.