Interface TaxOrBuilder (0.4.0)

public interface TaxOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCountry()

public abstract String getCountry()

The country within which the item is taxed, specified as a CLDR territory code.

string country = 2;

Returns
Type Description
String

The country.

getCountryBytes()

public abstract ByteString getCountryBytes()

The country within which the item is taxed, specified as a CLDR territory code.

string country = 2;

Returns
Type Description
ByteString

The bytes for country.

getLocationId()

public abstract long getLocationId()

The numeric ID of a location that the tax rate applies to as defined in the AdWords API.

int64 location_id = 5;

Returns
Type Description
long

The locationId.

getPostalCode()

public abstract String getPostalCode()

The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94, 94002-95460, 94-95*.

string postal_code = 6;

Returns
Type Description
String

The postalCode.

getPostalCodeBytes()

public abstract ByteString getPostalCodeBytes()

The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94, 94002-95460, 94-95*.

string postal_code = 6;

Returns
Type Description
ByteString

The bytes for postalCode.

getRate()

public abstract double getRate()

The percentage of tax rate that applies to the item price.

double rate = 1;

Returns
Type Description
double

The rate.

getRegion()

public abstract String getRegion()

The geographic region to which the tax rate applies.

string region = 3;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

The geographic region to which the tax rate applies.

string region = 3;

Returns
Type Description
ByteString

The bytes for region.

getTaxShip()

public abstract boolean getTaxShip()

Set to true if tax is charged on shipping.

bool tax_ship = 4;

Returns
Type Description
boolean

The taxShip.