Interface AccountTaxServiceGrpc.AsyncService (0.10.0)

public static interface AccountTaxServiceGrpc.AsyncService

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

  • AccountTax

Methods

getAccountTax(GetAccountTaxRequest request, StreamObserver<AccountTax> responseObserver)

public default void getAccountTax(GetAccountTaxRequest request, StreamObserver<AccountTax> responseObserver)

Returns the tax rules that match the conditions of GetAccountTaxRequest

Parameters
Name Description
request GetAccountTaxRequest
responseObserver io.grpc.stub.StreamObserver<AccountTax>

listAccountTax(ListAccountTaxRequest request, StreamObserver<ListAccountTaxResponse> responseObserver)

public default void listAccountTax(ListAccountTaxRequest request, StreamObserver<ListAccountTaxResponse> responseObserver)

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.

Parameters
Name Description
request ListAccountTaxRequest
responseObserver io.grpc.stub.StreamObserver<ListAccountTaxResponse>

updateAccountTax(UpdateAccountTaxRequest request, StreamObserver<AccountTax> responseObserver)

public default void updateAccountTax(UpdateAccountTaxRequest request, StreamObserver<AccountTax> responseObserver)

Updates the tax settings of the account.

Parameters
Name Description
request UpdateAccountTaxRequest
responseObserver io.grpc.stub.StreamObserver<AccountTax>