Show / Hide Table of Contents

Class TaxRule

Primary type convension

percent micro : 100% = 1 000 000 and 1% = 10 000 cannot be negative.

Information about tax nexus and related parameters applicable to orders delivered to the area covered by a single tax admin. Nexus is created when a merchant is doing business in an area administered by tax admin (only US states are supported for nexus configuration). If merchant has nexus in a US state, merchant needs to pay tax to all tax authorities associated with the shipping destination. Next Id : 8

Inheritance
object
TaxRule
Implements
IMessage<TaxRule>
IEquatable<TaxRule>
IDeepCloneable<TaxRule>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class TaxRule : IMessage<TaxRule>, IEquatable<TaxRule>, IDeepCloneable<TaxRule>, IBufferMessage, IMessage

Constructors

TaxRule()

Declaration
public TaxRule()

TaxRule(TaxRule)

Declaration
public TaxRule(TaxRule other)
Parameters
Type Name Description
TaxRule other

Properties

EffectiveTimePeriod

Required. Time period when this rule is effective. If the duration is missing from effective_time listed, then it is open ended to the future. The start of this time period is inclusive, and the end is exclusive.

Declaration
public Interval EffectiveTimePeriod { get; set; }
Property Value
Type Description
Interval

HasLocationId

Gets whether the "location_id" field is set

Declaration
public bool HasLocationId { get; }
Property Value
Type Description
bool

HasSelfSpecifiedRateMicros

Gets whether the "self_specified_rate_micros" field is set

Declaration
public bool HasSelfSpecifiedRateMicros { get; }
Property Value
Type Description
bool

HasUseGoogleRate

Gets whether the "use_google_rate" field is set

Declaration
public bool HasUseGoogleRate { get; }
Property Value
Type Description
bool

LocationCase

Declaration
public TaxRule.LocationOneofCase LocationCase { get; }
Property Value
Type Description
TaxRule.LocationOneofCase

LocationId

The admin_id or criteria_id of the region in which this rule is applicable.

Declaration
public long LocationId { get; set; }
Property Value
Type Description
long

PostCodeRange

The range of postal codes in which this rule is applicable.

Declaration
public TaxRule.Types.TaxPostalCodeRange PostCodeRange { get; set; }
Property Value
Type Description
TaxRule.Types.TaxPostalCodeRange

RateCalculationCase

Declaration
public TaxRule.RateCalculationOneofCase RateCalculationCase { get; }
Property Value
Type Description
TaxRule.RateCalculationOneofCase

RegionCode

Region code in which this rule is applicable

Declaration
public string RegionCode { get; set; }
Property Value
Type Description
string

SelfSpecifiedRateMicros

A fixed rate specified in micros, where 100% = 1_000_000. Suitable for origin-based states.

Declaration
public long SelfSpecifiedRateMicros { get; set; }
Property Value
Type Description
long

ShippingTaxed

If set, shipping charge is taxed (at the same rate as product) when delivering to this admin's area. Can only be set on US states without category.

Declaration
public bool ShippingTaxed { get; set; }
Property Value
Type Description
bool

UseGoogleRate

Rate that depends on delivery location: if merchant has a nexus in corresponding US state, rates from authorities with jurisdiction over delivery area are added up.

Declaration
public bool UseGoogleRate { get; set; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX