com.microsoft.store.partnercenter.models.carts.Cart Maven / Gradle / Ivy
// -----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// -----------------------------------------------------------------------
package com.microsoft.store.partnercenter.models.carts;
import java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.store.partnercenter.models.ResourceBaseWithLinks;
import com.microsoft.store.partnercenter.models.StandardResourceLinks;
/**
* This class represents a model of a cart object.
*/
public class Cart
extends ResourceBaseWithLinks {
/**
* Gets or sets a unique cart identifier.
*/
@JsonProperty( "id" )
private String id;
public String getId()
{
return id;
}
public void setId( String value )
{
id = value;
}
/**
* Gets or sets the creation timestamp.
*/
@JsonProperty( "creationTimestamp" )
private DateTime creationTimestamp;
public DateTime getCreationTimestamp()
{
return creationTimestamp;
}
public void setCreationTimestamp( DateTime value )
{
creationTimestamp = value;
}
/**
* Gets or sets the last modified timestamp.
*/
@JsonProperty( "lastModifiedTimestamp" )
private DateTime lastModifiedTimestamp;
public DateTime getLastModifiedTimestamp()
{
return lastModifiedTimestamp;
}
public void setLastModifiedTimestamp( DateTime value )
{
lastModifiedTimestamp = value;
}
/**
* Gets or sets the expiration timestamp.
*/
@JsonProperty( "expirationTimestamp" )
private DateTime expirationTimestamp;
public DateTime getExpirationTimestamp()
{
return expirationTimestamp;
}
public void setExpirationTimestamp( DateTime value )
{
expirationTimestamp = value;
}
/**
* Gets or sets the user who last updated the cart.
*/
@JsonProperty( "lastModifiedUser" )
private String lastModifiedUser;
public String getLastModifiedUser()
{
return lastModifiedUser;
}
public void setLastModifiedUser( String value )
{
lastModifiedUser = value;
}
/**
* Gets or sets the status.
*/
@JsonProperty( "status" )
private String status;
public String getStatus()
{
return status;
}
public void setStatus( String value )
{
status = value;
}
/**
* Gets or sets the last modified user or application.
*/
@JsonProperty( "lineItems" )
private List lineItems;
public List getLineItems()
{
return lineItems;
}
public void setLineItems( List value )
{
lineItems = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy