public class ContractApiImpl<ContractT> extends java.lang.Object implements ContractApi<ContractT>, ContractApi.ContractApiWithWalletApi<ContractT>
ContractApi.ContractApiWithWalletApi<ContractT>
Constructor and Description |
---|
ContractApiImpl(ContractT contract) |
Modifier and Type | Method and Description |
---|---|
ContractT |
fee(Fee fee)
Prepare
ContractApi with a fee. |
ContractT |
noFee()
Prepare
ContractApi with no fee. |
ContractApi.ContractApiWithWalletApi<ContractT> |
walletApi(WalletApi walletApi)
Use a
walletApi . |
protected ContractT contract
public ContractApiImpl(ContractT contract)
public ContractApi.ContractApiWithWalletApi<ContractT> walletApi(WalletApi walletApi)
ContractApi
walletApi
.walletApi
in interface ContractApi<ContractT>
walletApi
- a wallet apipublic ContractT fee(Fee fee)
ContractApi.ContractApiWithWalletApi
ContractApi
with a fee.fee
in interface ContractApi.ContractApiWithWalletApi<ContractT>
fee
- a feepublic ContractT noFee()
ContractApi.ContractApiWithWalletApi
ContractApi
with no fee.noFee
in interface ContractApi.ContractApiWithWalletApi<ContractT>