CustomerUsageSpendingBudgetOperations Class

Implements

public class CustomerUsageSpendingBudgetOperations extends BasePartnerComponentString implements ICustomerUsageSpendingBudget

This class implements the operations available on a customer's usage spending budget.

Constructor Summary

Constructor Description
CustomerUsageSpendingBudgetOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerUsageSpendingBudgetOperations class.

Method Summary

Modifier and Type Method and Description
SpendingBudget get()

Gets the usage spending budget allocated to a customer by the partner.

SpendingBudget patch(SpendingBudget usageSpendingBudget)

Patches the usage spending budget allocated to a customer by the partner.

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

CustomerUsageSpendingBudgetOperations

public CustomerUsageSpendingBudgetOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerUsageSpendingBudgetOperations class.

Parameters:

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

Method Details

get

public SpendingBudget get()

Gets the usage spending budget allocated to a customer by the partner.

Returns:

The customer usage spending budget.

patch

public SpendingBudget patch(SpendingBudget usageSpendingBudget)

Patches the usage spending budget allocated to a customer by the partner.

Parameters:

usageSpendingBudget - The new customer usage spending budget.

Returns:

The updated customer usage spending budget.

Applies to