public class RateCard extends Object implements Serializable
| Constructor and Description |
|---|
RateCard() |
RateCard(Long id,
String name,
String currencyCode,
RateCardStatus status,
Boolean forMarketplace,
PricingModel pricingModel,
long[] appliedTeamIds,
DateTime lastModifiedDateTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long[] |
getAppliedTeamIds()
Gets the appliedTeamIds value for this RateCard.
|
long |
getAppliedTeamIds(int i) |
String |
getCurrencyCode()
Gets the currencyCode value for this RateCard.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Boolean |
getForMarketplace()
Gets the forMarketplace value for this RateCard.
|
Long |
getId()
Gets the id value for this RateCard.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this RateCard.
|
String |
getName()
Gets the name value for this RateCard.
|
PricingModel |
getPricingModel()
Gets the pricingModel value for this RateCard.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
RateCardStatus |
getStatus()
Gets the status value for this RateCard.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAppliedTeamIds(int i,
long _value) |
void |
setAppliedTeamIds(long[] appliedTeamIds)
Sets the appliedTeamIds value for this RateCard.
|
void |
setCurrencyCode(String currencyCode)
Sets the currencyCode value for this RateCard.
|
void |
setForMarketplace(Boolean forMarketplace)
Sets the forMarketplace value for this RateCard.
|
void |
setId(Long id)
Sets the id value for this RateCard.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this RateCard.
|
void |
setName(String name)
Sets the name value for this RateCard.
|
void |
setPricingModel(PricingModel pricingModel)
Sets the pricingModel value for this RateCard.
|
void |
setStatus(RateCardStatus status)
Sets the status value for this RateCard.
|
String |
toString() |
public RateCard()
public RateCard(Long id, String name, String currencyCode, RateCardStatus status, Boolean forMarketplace, PricingModel pricingModel, long[] appliedTeamIds, DateTime lastModifiedDateTime)
public Long getId()
RateCard.
This attribute is read-only and is assigned by Google
when a rate card is created.public void setId(Long id)
id - * The ID of the RateCard.
This attribute is read-only and is assigned by Google
when a rate card is created.public String getName()
RateCard.
This attribute is required and has a maximum length
of 255 characters.
This attribute must also be case-insensitive unique.public void setName(String name)
name - * The name of the RateCard.
This attribute is required and has a maximum length
of 255 characters.
This attribute must also be case-insensitive unique.public String getCurrencyCode()
RateCard.
This attribute is optional
to create a RateCard and defaults to the network's
currency. This attribute is read-only if either the
RateCard is for Marketplace or
once a ProposalLineItem has been created using
this RateCard.public void setCurrencyCode(String currencyCode)
currencyCode - * The ISO currency code for the currency used by the RateCard.
This attribute is optional
to create a RateCard and defaults to the network's
currency. This attribute is read-only if either the
RateCard is for Marketplace or
once a ProposalLineItem has been created using
this RateCard.public RateCardStatus getStatus()
RateCard.
This attribute is read-only and is assigned by Google.
Rate cards are
created in the RateCardStatus.INACTIVE state.public void setStatus(RateCardStatus status)
status - * The status of the RateCard.
This attribute is read-only and is assigned by Google.
Rate cards are
created in the RateCardStatus.INACTIVE state.public Boolean getForMarketplace()
RateCard can be used for Marketplace
products.
This attribute is read-only and assigned by Google.public void setForMarketplace(Boolean forMarketplace)
forMarketplace - * Whether or not the RateCard can be used for Marketplace
products.
This attribute is read-only and assigned by Google.public PricingModel getPricingModel()
PricingModel of the RateCard.
This attribute is required to create a RateCard.
This attribute is read-only if either the RateCard is for
Marketplace or once a
ProposalLineItem has been created using this
RateCard.
public void setPricingModel(PricingModel pricingModel)
pricingModel - * The PricingModel of the RateCard.
This attribute is required to create a RateCard.
This attribute is read-only if either the RateCard is for
Marketplace or once a
ProposalLineItem has been created using this
RateCard.
public long[] getAppliedTeamIds()
public void setAppliedTeamIds(long[] appliedTeamIds)
appliedTeamIds - * The IDs of all teams this rate card is directly in.
This attribute is optional.public long getAppliedTeamIds(int i)
public void setAppliedTeamIds(int i,
long _value)
public DateTime getLastModifiedDateTime()
RateCard was last modified.
This attribute is readonly and is assigned by Google
when a RateCard is updated.
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this RateCard was last modified.
This attribute is readonly and is assigned by Google
when a RateCard is updated.
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.