Package org.stellar.sdk.operations
Class CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>
- Enclosing class:
CreatePassiveSellOfferOperation
public abstract static class CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionamount
(@NonNull BigDecimal amount) abstract C
build()
The asset being bought in this operationPrice of 1 unit of selling in terms of buying.The asset being sold in this operationtoString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
CreatePassiveSellOfferOperationBuilder
public CreatePassiveSellOfferOperationBuilder()
-
-
Method Details
-
amount
-
selling
The asset being sold in this operation- Returns:
this
.
-
buying
The asset being bought in this operation- Returns:
this
.
-
price
Price of 1 unit of selling in terms of buying.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends CreatePassiveSellOfferOperation,
B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends CreatePassiveSellOfferOperation,
B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C, B>>
-