Class AccountTaxServiceGrpc.AccountTaxServiceBlockingStub (0.5.0)

public static final class AccountTaxServiceGrpc.AccountTaxServiceBlockingStub extends AbstractBlockingStub<AccountTaxServiceGrpc.AccountTaxServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AccountTaxService.

Manages account level tax setting data. This API defines the following resource model:

  • AccountTax

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AccountTaxServiceGrpc.AccountTaxServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AccountTaxServiceGrpc.AccountTaxServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AccountTaxServiceGrpc.AccountTaxServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAccountTax(GetAccountTaxRequest request)

public AccountTax getAccountTax(GetAccountTaxRequest request)

Returns the tax rules that match the conditions of GetAccountTaxRequest

Parameter
Name Description
request GetAccountTaxRequest
Returns
Type Description
AccountTax

listAccountTax(ListAccountTaxRequest request)

public ListAccountTaxResponse listAccountTax(ListAccountTaxRequest request)

Lists the tax settings of the sub-accounts only in your Merchant Center account. This method can only be called on a multi-client account, otherwise it'll return an error.

Parameter
Name Description
request ListAccountTaxRequest
Returns
Type Description
ListAccountTaxResponse

updateAccountTax(UpdateAccountTaxRequest request)

public AccountTax updateAccountTax(UpdateAccountTaxRequest request)

Updates the tax settings of the account.

Parameter
Name Description
request UpdateAccountTaxRequest
Returns
Type Description
AccountTax