|Constructor and Description|
Creates a new AllowTrust builder.
|Modifier and Type||Method and Description|
Builds an operation
Set source account of this operation
public Builder(java.lang.String trustor, java.lang.String assetCode, boolean authorize)
trustor- The account of the recipient of the trustline.
assetCode- The asset of the trustline the source account is authorizing. For example, if a gateway wants to allow another account to hold its USD credit, the type is USD.
authorize- Flag indicating whether the trustline is authorized.
public AllowTrustOperation.Builder setSourceAccount(java.lang.String sourceAccount)
sourceAccount- Source account
public AllowTrustOperation build()