public class RatePlan extends MutableEntity<RatePlan>
| Modifier and Type | Class and Description |
|---|---|
static class |
RatePlan.ProRataMode |
static class |
RatePlan.TaxStatus |
| Modifier and Type | Field and Description |
|---|---|
protected String |
changedBy |
protected Date |
created |
protected String |
currency |
protected Boolean |
deleted |
protected List<FixedTermDefinition> |
fixedTermDefinitions |
protected String |
id |
protected Boolean |
localisedTax |
protected String |
name |
protected String |
organizationID |
protected List<PricingComponent> |
pricingComponents |
protected Product |
product |
protected String |
productID |
protected String |
proRataMode |
protected static ResourcePath |
resourcePath |
protected String |
status |
protected UsageRoundingStrategy |
strategy |
protected List<TaxationLink> |
taxation |
protected String |
taxStatus |
protected Date |
updated |
protected Date |
validFrom |
protected Date |
validTill |
m_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
RatePlan() |
RatePlan(BillForwardClient client_) |
savecreate, create, retiregetAll, getByID, getByID, getByIDPostPath, getClient, setClient, toStringprotected String id
protected String productID
protected String name
protected String organizationID
protected String currency
protected String taxStatus
protected String proRataMode
protected Boolean localisedTax
protected Date validFrom
protected Date validTill
protected String status
protected Boolean deleted
protected Date updated
protected String changedBy
protected Date created
protected Product product
protected List<PricingComponent> pricingComponents
protected List<TaxationLink> taxation
protected List<FixedTermDefinition> fixedTermDefinitions
protected UsageRoundingStrategy strategy
protected static ResourcePath resourcePath
public RatePlan(BillForwardClient client_)
public RatePlan()
public String getID()
public String getProductID()
public void setProductID(String productID)
public String getName()
public void setName(String name)
public String getOrganizationID()
public void setOrganizationID(String organizationID)
public String getCurrencyAsString()
public String getCurrency()
public void setCurrency(Currency currency)
public RatePlan.TaxStatus getTaxStatus()
public String getTaxStatusAsString()
public void setTaxStatus(RatePlan.TaxStatus taxStatus)
public String getProRataMode()
public void setProRataMode(String proRataMode)
public Boolean getLocalisedTax()
public void setLocalisedTax(Boolean localisedTax)
public Date getValidFrom()
public void setValidFrom(Date validFrom)
public Date getValidTill()
public void setValidTill(Date validTill)
public String getStatus()
public void setStatus(String status)
public Boolean getDeleted()
public void setDeleted(Boolean deleted)
public Date getUpdated()
public void setUpdated(Date updated)
public String getChangedBy()
public Date getCreated()
public Product getProduct()
public List<PricingComponent> getPricingComponents()
public UsageRoundingStrategy getUsageRoundingStrategy()
public void setUsageRoundingStrategy(UsageRoundingStrategy strategy)
public PricingComponent[] getLatestPricingComponents()
public RatePlan retire() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RatePlan create(RatePlan ratePlan) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RatePlan getByID(String ID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RatePlan[] getByProductID(String productID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static RatePlan[] getAll() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2014 BillForward. All rights reserved.