public abstract static class CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>> extends Operation.OperationBuilder<C,B>
Constructor and Description |
---|
CreatePassiveSellOfferOperationBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
amount(@NonNull java.math.BigDecimal amount) |
abstract C |
build() |
B |
buying(@NonNull Asset buying)
The asset being bought in this operation
|
B |
price(@NonNull Price price)
Price of 1 unit of selling in terms of buying.
|
B |
selling(@NonNull Asset selling)
The asset being sold in this operation
|
java.lang.String |
toString() |
sourceAccount
public CreatePassiveSellOfferOperationBuilder()
public B amount(@NonNull @NonNull java.math.BigDecimal amount)
public B selling(@NonNull @NonNull Asset selling)
this
.public B buying(@NonNull @NonNull Asset buying)
this
.public B price(@NonNull @NonNull Price price)
this
.public abstract C build()
build
in class Operation.OperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>>
public java.lang.String toString()
toString
in class Operation.OperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>>