OrderOperations Class

Implements

public class OrderOperations extends BasePartnerComponent<Tuple<String,String>> implements IOrder

Order operations implementation class.

Constructor Summary

Constructor Description
OrderOperations(IPartner rootPartnerOperations, String customerId, String orderId)

Initializes a new instance of the OrderOperations class.

Method Summary

Modifier and Type Method and Description
Order get()

Gets the order information.

Order get(Boolean includePrice)

Gets the order information.

IOrderLineItemCollection getOrderLineItems()

Gets line item collection operations.

IOrderProvisioningStatus getProvisioningStatus()

Gets the order provisioning status operations.

Order patch(Order order)

Updates a customer order.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

OrderOperations

public OrderOperations(IPartner rootPartnerOperations, String customerId, String orderId)

Initializes a new instance of the OrderOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - The customer identifier.
orderId - The order identifier.

Method Details

get

public Order get()

Gets the order information.

Returns:

The customer order.

get

public Order get(Boolean includePrice)

Gets the order information.

Parameters:

includePrice - A flag indicating whether to include pricing details in the order information or not.

Returns:

The order information including pricing details (based on access permissions) when requested.

getOrderLineItems

public IOrderLineItemCollection getOrderLineItems()

Gets line item collection operations.

Returns:

The line item collection operations.

getProvisioningStatus

public IOrderProvisioningStatus getProvisioningStatus()

Gets the order provisioning status operations.

Returns:

The order provisioning status operations.

patch

public Order patch(Order order)

Updates a customer order.

Parameters:

order - The order to update.

Returns:

The updated order.

Applies to