public class ProductPackage extends Object implements Serializable
ProductPackage represents a group of products which will
be sold together.| Constructor and Description |
|---|
ProductPackage() |
ProductPackage(Long id,
String name,
String notes,
ProductPackageStatus status,
Boolean isArchived,
long[] rateCardIds,
BaseCustomFieldValue[] customFieldValues,
DateTime lastModifiedDateTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BaseCustomFieldValue[] |
getCustomFieldValues()
Gets the customFieldValues value for this ProductPackage.
|
BaseCustomFieldValue |
getCustomFieldValues(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this ProductPackage.
|
Boolean |
getIsArchived()
Gets the isArchived value for this ProductPackage.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this ProductPackage.
|
String |
getName()
Gets the name value for this ProductPackage.
|
String |
getNotes()
Gets the notes value for this ProductPackage.
|
long[] |
getRateCardIds()
Gets the rateCardIds value for this ProductPackage.
|
long |
getRateCardIds(int i) |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ProductPackageStatus |
getStatus()
Gets the status value for this ProductPackage.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCustomFieldValues(BaseCustomFieldValue[] customFieldValues)
Sets the customFieldValues value for this ProductPackage.
|
void |
setCustomFieldValues(int i,
BaseCustomFieldValue _value) |
void |
setId(Long id)
Sets the id value for this ProductPackage.
|
void |
setIsArchived(Boolean isArchived)
Sets the isArchived value for this ProductPackage.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this ProductPackage.
|
void |
setName(String name)
Sets the name value for this ProductPackage.
|
void |
setNotes(String notes)
Sets the notes value for this ProductPackage.
|
void |
setRateCardIds(int i,
long _value) |
void |
setRateCardIds(long[] rateCardIds)
Sets the rateCardIds value for this ProductPackage.
|
void |
setStatus(ProductPackageStatus status)
Sets the status value for this ProductPackage.
|
String |
toString() |
public ProductPackage()
public ProductPackage(Long id, String name, String notes, ProductPackageStatus status, Boolean isArchived, long[] rateCardIds, BaseCustomFieldValue[] customFieldValues, DateTime lastModifiedDateTime)
public Long getId()
ProductPackage.
This attribute is read-only and is assigned by
Google when a ProductPackage
is created.
public void setId(Long id)
id - * Uniquely identifies the ProductPackage.
This attribute is read-only and is assigned by
Google when a ProductPackage
is created.
public String getName()
ProductPackage.
This attribute is required and has maximum length of 255 characters.
public void setName(String name)
name - * The name of the ProductPackage.
This attribute is required and has maximum length of 255 characters.
public String getNotes()
ProductPackage.
This attribute has maximum length of 511 characters.
This attribute is optional.
public void setNotes(String notes)
notes - * The notes of the ProductPackage.
This attribute has maximum length of 511 characters.
This attribute is optional.
public ProductPackageStatus getStatus()
ProductPackage.
This attribute is read-only and is assigned by Google.
public void setStatus(ProductPackageStatus status)
status - * The status of the ProductPackage.
This attribute is read-only and is assigned by Google.
public Boolean getIsArchived()
ProductPackage.
This attribute is read-only and is assigned by Google.
public void setIsArchived(Boolean isArchived)
isArchived - * The archival status of the ProductPackage.
This attribute is read-only and is assigned by Google.
public long[] getRateCardIds()
RateCard IDs associated with the ProductPackage.
This attribute is optional.
public void setRateCardIds(long[] rateCardIds)
rateCardIds - * RateCard IDs associated with the ProductPackage.
This attribute is optional.
public long getRateCardIds(int i)
public void setRateCardIds(int i,
long _value)
public BaseCustomFieldValue[] getCustomFieldValues()
CustomFieldValue objects associated with this ProductPackage.
This attribute is optional.
public void setCustomFieldValues(BaseCustomFieldValue[] customFieldValues)
customFieldValues - * The CustomFieldValue objects associated with this ProductPackage.
This attribute is optional.
public BaseCustomFieldValue getCustomFieldValues(int i)
public void setCustomFieldValues(int i,
BaseCustomFieldValue _value)
public DateTime getLastModifiedDateTime()
ProductPackage was last modified.
This attribute is read-only and is assigned by
Google when a ProductPackage
is updated.
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this ProductPackage was last modified.
This attribute is read-only and is assigned by
Google when a ProductPackage
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.