public class PricingComponentValueChangeAmendment extends Amendment
Amendment.AmendmentState, Amendment.AmendmentType| Modifier and Type | Field and Description |
|---|---|
protected String |
amendmentType |
protected static ResourcePath |
resourcePath |
actionedTime, actioningTime, changedBy, created, deleted, id, nextOverdueCheckTime, nextStatusCheckTime, organizationID, state, subscriptionID, updatedm_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
PricingComponentValueChangeAmendment() |
PricingComponentValueChangeAmendment(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentChange(ComponentChange change) |
ComponentChange |
addComponentChangeByComponentID(String componentID,
int newValue) |
ComponentChange |
addComponentChangeByName(String name,
int newValue) |
static PricingComponentValueChangeAmendment |
create(PricingComponentValueChangeAmendment amendment) |
static PricingComponentValueChangeAmendment |
get(String ID) |
Amendment.AmendmentType |
getAmendmentType() |
String |
getAmendmentTypeAsString() |
List<ComponentChange> |
getComponentChanges() |
InvoicingType |
getInvoicingType() |
ValueChangeMode |
getMode() |
protected ResourcePath |
getResourcePath() |
protected static ResourcePath |
ResourcePath() |
void |
setInvoicingType(InvoicingType invoicingType) |
void |
setMode(ValueChangeMode mode) |
PricingComponentValueChangeAmendment |
sync() |
getActionedTime, getActioningTime, getChangedBy, getCreated, getDeleted, getID, getNextOverdueCheckTime, getNextStatusCheckTime, getOrganizationID, getState, getStateAsString, getSubscriptionID, getTypeMappings, getUpdated, setActioningTime, setDeleted, setSubscriptionIDcreate, create, createExplicitPath, retire, retire, retire, retireExplicitPathprotected String amendmentType
protected static ResourcePath resourcePath
public PricingComponentValueChangeAmendment(BillForwardClient client_)
public PricingComponentValueChangeAmendment()
public String getAmendmentTypeAsString()
public Amendment.AmendmentType getAmendmentType()
public ValueChangeMode getMode()
public void setMode(ValueChangeMode mode)
public InvoicingType getInvoicingType()
public void setInvoicingType(InvoicingType invoicingType)
public List<ComponentChange> getComponentChanges()
public ComponentChange addComponentChangeByName(String name, int newValue)
public ComponentChange addComponentChangeByComponentID(String componentID, int newValue)
public void addComponentChange(ComponentChange change)
public static PricingComponentValueChangeAmendment create(PricingComponentValueChangeAmendment amendment) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static PricingComponentValueChangeAmendment get(String ID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2015 BillForward. All rights reserved.