Show / Hide Table of Contents

Class PathPaymentStrictSendOperation.Builder

Builds a PathPaymentStrictSendOperation.

Inheritance
System.Object
PathPaymentStrictSendOperation.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 PathPaymentStrictSendOperation builder.

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

The asset deducted from the sender's account.

System.String sendAmount

The asset deducted from the sender's account.

IAccountId destination

Payment destination.

Asset destAsset

The asset the destination account receives.

System.String destMin

The amount of destination asset the destination account receives.

Builder(PathPaymentStrictSendOp)

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

Methods

Build()

Builds an operation

Declaration
public PathPaymentStrictSendOperation Build()
Returns
PathPaymentStrictSendOperation

SetPath(Asset[])

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

SetSourceAccount(IAccountId)

Sets the source account for this operation.

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

The operation's source account.

Returns
PathPaymentStrictSendOperation.Builder

Builder object so you can chain methods.

Back to top Generated by DocFX