Show / Hide Table of Contents

Class PathPaymentStrictReceiveOperation.Builder

Builds a PathPaymentStrictReceiveOperation.

Inheritance
System.Object
PathPaymentStrictReceiveOperation.Builder
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Builder : object

Constructors

Builder(Asset, String, IAccountId, Asset, String)

Creates a new PathPaymentStrictReceiveOperation builder.

Declaration
public Builder(Asset sendAsset, string sendMax, IAccountId destination, Asset destAsset, string destAmount)
Parameters
Type Name Description
Asset sendAsset

The asset deducted from the sender's account.

System.String sendMax

The asset deducted from the sender's account.

IAccountId destination

Payment destination.

Asset destAsset

The asset the destination account receives.

System.String destAmount

The amount of destination asset the destination account receives.

Builder(PathPaymentStrictReceiveOp)

Declaration
public Builder(PathPaymentStrictReceiveOp op)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.PathPaymentStrictReceiveOp op

Methods

Build()

Builds an operation

Declaration
public PathPaymentStrictReceiveOperation Build()
Returns
PathPaymentStrictReceiveOperation

SetPath(Asset[])

Declaration
public PathPaymentStrictReceiveOperation.Builder SetPath(Asset[] path)
Parameters
Type Name Description
Asset[] path
Returns
PathPaymentStrictReceiveOperation.Builder

SetSourceAccount(IAccountId)

Sets the source account for this operation.

Declaration
public PathPaymentStrictReceiveOperation.Builder SetSourceAccount(IAccountId sourceAccount)
Parameters
Type Name Description
IAccountId sourceAccount

The operation's source account.

Returns
PathPaymentStrictReceiveOperation.Builder

Builder object so you can chain methods.

Back to top Generated by DocFX