com.softlayer.api.service.container.tax.Rates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.container.tax;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;
/**
* This contains the four tax rates, one for each fee type.
*
* @see SoftLayer_Container_Tax_Rates
*/
@ApiType("SoftLayer_Container_Tax_Rates")
public class Rates extends Entity {
/**
* The tax rate associated with the labor fee.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal laborTaxRate;
public BigDecimal getLaborTaxRate() {
return laborTaxRate;
}
public void setLaborTaxRate(BigDecimal laborTaxRate) {
laborTaxRateSpecified = true;
this.laborTaxRate = laborTaxRate;
}
protected boolean laborTaxRateSpecified;
public boolean isLaborTaxRateSpecified() {
return laborTaxRateSpecified;
}
public void unsetLaborTaxRate() {
laborTaxRate = null;
laborTaxRateSpecified = false;
}
/**
* A reference to a location.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal locationId;
public BigDecimal getLocationId() {
return locationId;
}
public void setLocationId(BigDecimal locationId) {
locationIdSpecified = true;
this.locationId = locationId;
}
protected boolean locationIdSpecified;
public boolean isLocationIdSpecified() {
return locationIdSpecified;
}
public void unsetLocationId() {
locationId = null;
locationIdSpecified = false;
}
/**
* The tax rate associated with the one-time fee.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal oneTimeTaxRate;
public BigDecimal getOneTimeTaxRate() {
return oneTimeTaxRate;
}
public void setOneTimeTaxRate(BigDecimal oneTimeTaxRate) {
oneTimeTaxRateSpecified = true;
this.oneTimeTaxRate = oneTimeTaxRate;
}
protected boolean oneTimeTaxRateSpecified;
public boolean isOneTimeTaxRateSpecified() {
return oneTimeTaxRateSpecified;
}
public void unsetOneTimeTaxRate() {
oneTimeTaxRate = null;
oneTimeTaxRateSpecified = false;
}
/**
* The tax rate associated with the recurring fee.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal recurringTaxRate;
public BigDecimal getRecurringTaxRate() {
return recurringTaxRate;
}
public void setRecurringTaxRate(BigDecimal recurringTaxRate) {
recurringTaxRateSpecified = true;
this.recurringTaxRate = recurringTaxRate;
}
protected boolean recurringTaxRateSpecified;
public boolean isRecurringTaxRateSpecified() {
return recurringTaxRateSpecified;
}
public void unsetRecurringTaxRate() {
recurringTaxRate = null;
recurringTaxRateSpecified = false;
}
/**
* The tax rate associated with the setup fee.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal setupTaxRate;
public BigDecimal getSetupTaxRate() {
return setupTaxRate;
}
public void setSetupTaxRate(BigDecimal setupTaxRate) {
setupTaxRateSpecified = true;
this.setupTaxRate = setupTaxRate;
}
protected boolean setupTaxRateSpecified;
public boolean isSetupTaxRateSpecified() {
return setupTaxRateSpecified;
}
public void unsetSetupTaxRate() {
setupTaxRate = null;
setupTaxRateSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask laborTaxRate() {
withLocalProperty("laborTaxRate");
return this;
}
public Mask locationId() {
withLocalProperty("locationId");
return this;
}
public Mask oneTimeTaxRate() {
withLocalProperty("oneTimeTaxRate");
return this;
}
public Mask recurringTaxRate() {
withLocalProperty("recurringTaxRate");
return this;
}
public Mask setupTaxRate() {
withLocalProperty("setupTaxRate");
return this;
}
}
}