public class Package extends Object implements Serializable
Package represents a group of proposal line items which
will be sold together.| Constructor and Description |
|---|
Package() |
Package(Long id,
Long proposalId,
Long productPackageId,
Long rateCardId,
String name,
String comments,
PackageStatus status,
DateTime startDateTime,
DateTime endDateTime,
DateTime lastModifiedDateTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getComments()
Gets the comments value for this Package.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
DateTime |
getEndDateTime()
Gets the endDateTime value for this Package.
|
Long |
getId()
Gets the id value for this Package.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Package.
|
String |
getName()
Gets the name value for this Package.
|
Long |
getProductPackageId()
Gets the productPackageId value for this Package.
|
Long |
getProposalId()
Gets the proposalId value for this Package.
|
Long |
getRateCardId()
Gets the rateCardId value for this Package.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
DateTime |
getStartDateTime()
Gets the startDateTime value for this Package.
|
PackageStatus |
getStatus()
Gets the status value for this Package.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setComments(String comments)
Sets the comments value for this Package.
|
void |
setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this Package.
|
void |
setId(Long id)
Sets the id value for this Package.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Package.
|
void |
setName(String name)
Sets the name value for this Package.
|
void |
setProductPackageId(Long productPackageId)
Sets the productPackageId value for this Package.
|
void |
setProposalId(Long proposalId)
Sets the proposalId value for this Package.
|
void |
setRateCardId(Long rateCardId)
Sets the rateCardId value for this Package.
|
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this Package.
|
void |
setStatus(PackageStatus status)
Sets the status value for this Package.
|
String |
toString() |
public Long getId()
Package.
This attribute is read-only and is assigned by Google.
public void setId(Long id)
id - * The unique ID of the Package.
This attribute is read-only and is assigned by Google.
public Long getProposalId()
Proposal, to which the Package belongs.
This attribute is required for creation and then is read-only.
public void setProposalId(Long proposalId)
proposalId - * The unique ID of the Proposal, to which the Package belongs.
This attribute is required for creation and then is read-only.
public Long getProductPackageId()
ProductPackage, from which the
Package is created.
This attribute is required for creation and then is read-only.
public void setProductPackageId(Long productPackageId)
productPackageId - * The unique ID of the ProductPackage, from which the
Package is created.
This attribute is required for creation and then is read-only.
public Long getRateCardId()
RateCard, based on which the ProposalLineItem objects in
the Package are priced.
This attribute is required for creation of associated
ProposalLineItem objects and
then is read-only.
public void setRateCardId(Long rateCardId)
rateCardId - * The unique ID of the RateCard, based on which the ProposalLineItem objects in
the Package are priced.
This attribute is required for creation of associated
ProposalLineItem objects and
then is read-only.
public String getName()
Package which should be unique under
the same Proposal.
This attribute is required and has a maximum length of 255 characters.
public void setName(String name)
name - * The name of the Package which should be unique under
the same Proposal.
This attribute is required and has a maximum length of 255 characters.
public String getComments()
Package.
This attribute is optional and has a maximum length of 65,535 characters.
public void setComments(String comments)
comments - * Provides any additional comments that may annotate the Package.
This attribute is optional and has a maximum length of 65,535 characters.
public PackageStatus getStatus()
Package, whether
the ProposalLineItem
objects belonging to the Package have been
created.
This attribute is read-only.
public void setStatus(PackageStatus status)
status - * This field specifies the status of the Package, whether
the ProposalLineItem
objects belonging to the Package have been
created.
This attribute is read-only.
public DateTime getStartDateTime()
Package are eligible to begin serving.
This attribute is read-only and is derived from
the earliest
ProposalLineItem.startDateTime of ProposalLineItem
objects belonging to
this package.
This attribute will be null, if this package has no related line items, or none of its line items have a start time.
public void setStartDateTime(DateTime startDateTime)
startDateTime - * The date and time at which the order and line items associated
with
the Package are eligible to begin serving.
This attribute is read-only and is derived from
the earliest
ProposalLineItem.startDateTime of ProposalLineItem
objects belonging to
this package.
This attribute will be null, if this package has no related line items, or none of its line items have a start time.
public DateTime getEndDateTime()
Package stop being served.
This attribute is read-only and is derived from
the latest
ProposalLineItem.endDateTime of ProposalLineItem
objects belonging to
this package.
This attribute will be null, if this package has no related line items, or none of its line items have an end time.
public void setEndDateTime(DateTime endDateTime)
endDateTime - * The date and time at which the order and line items associated
with
the Package stop being served.
This attribute is read-only and is derived from
the latest
ProposalLineItem.endDateTime of ProposalLineItem
objects belonging to
this package.
This attribute will be null, if this package has no related line items, or none of its line items have an end time.
public DateTime getLastModifiedDateTime()
Package was last modified.
This attribute is read-only and is assigned by
Google when a Package is updated.
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this Package was last modified.
This attribute is read-only and is assigned by
Google when a Package 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 © 2020. All rights reserved.