Show / Hide Table of Contents

    Class Payments

    Inheritance
    System.Object
    Payments
    Namespace: Hyperledger.Indy.PaymentsApi
    Assembly: Hyperledger.Indy.Sdk.dll
    Syntax
    public class Payments : Object

    Constructors

    Payments()

    Declaration
    public Payments()

    Methods

    AddRequestFeesAsync(Wallet, String, String, String, String)

    Declaration
    public static Task<PaymentResult> AddRequestFeesAsync(Wallet wallet, string submitterDid, string reqJson, string inputsJson, string outputsJson)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submitterDid
    System.String reqJson
    System.String inputsJson
    System.String outputsJson
    Returns
    Type Description
    System.Threading.Tasks.Task<PaymentResult>

    BuildGetTxnFeesRequestAsync(Wallet, String, String)

    Declaration
    public static Task<string> BuildGetTxnFeesRequestAsync(Wallet wallet, string submitterDid, string paymentMethod)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submitterDid
    System.String paymentMethod
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    BuildGetUtxoRequestAsync(Wallet, String, String)

    Declaration
    public static Task<PaymentResult> BuildGetUtxoRequestAsync(Wallet wallet, string submittedDid, string paymentAddress)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submittedDid
    System.String paymentAddress
    Returns
    Type Description
    System.Threading.Tasks.Task<PaymentResult>

    BuildMintRequestAsync(Wallet, String, String)

    Declaration
    public static Task<PaymentResult> BuildMintRequestAsync(Wallet wallet, string submitterDid, string outputsJson)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submitterDid
    System.String outputsJson
    Returns
    Type Description
    System.Threading.Tasks.Task<PaymentResult>

    BuildPaymentRequestAsync(Wallet, String, String, String)

    Declaration
    public static Task<PaymentResult> BuildPaymentRequestAsync(Wallet wallet, string submitterDid, string inputsJson, string outputsJson)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submitterDid
    System.String inputsJson
    System.String outputsJson
    Returns
    Type Description
    System.Threading.Tasks.Task<PaymentResult>

    BuildSetTxnFeesRequestAsync(Wallet, String, String, String)

    Declaration
    public static Task<string> BuildSetTxnFeesRequestAsync(Wallet wallet, string submitterDid, string paymentMethod, string feesJson)
    Parameters
    Type Name Description
    Wallet wallet
    System.String submitterDid
    System.String paymentMethod
    System.String feesJson
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    CreatePaymentAddressAsync(Wallet, String, String)

    Declaration
    public static Task<string> CreatePaymentAddressAsync(Wallet wallet, string paymentMethod, string config)
    Parameters
    Type Name Description
    Wallet wallet
    System.String paymentMethod
    System.String config
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    ListPaymentAddressesAsync(Wallet)

    Declaration
    public static Task<string> ListPaymentAddressesAsync(Wallet wallet)
    Parameters
    Type Name Description
    Wallet wallet
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    ParseGetTxnFeesResponseAsync(String, String)

    Declaration
    public static Task<string> ParseGetTxnFeesResponseAsync(string paymentMethod, string responseJson)
    Parameters
    Type Name Description
    System.String paymentMethod
    System.String responseJson
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    ParseGetUtxoResponseAsync(String, String)

    Declaration
    public static Task<string> ParseGetUtxoResponseAsync(string paymentMethod, string responseJson)
    Parameters
    Type Name Description
    System.String paymentMethod
    System.String responseJson
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    ParsePaymentResponseAsync(String, String)

    Declaration
    public static Task<string> ParsePaymentResponseAsync(string paymentMethod, string responseJson)
    Parameters
    Type Name Description
    System.String paymentMethod
    System.String responseJson
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    ParseResponseWithFeesAsync(String, String)

    Declaration
    public static Task<string> ParseResponseWithFeesAsync(string paymentMethod, string responseJson)
    Parameters
    Type Name Description
    System.String paymentMethod
    System.String responseJson
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    RegisterPaymentMethodAsync(String, PaymentMethod)

    Declaration
    public static Task RegisterPaymentMethodAsync(string paymentMethod, PaymentMethod implementation)
    Parameters
    Type Name Description
    System.String paymentMethod
    PaymentMethod implementation
    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Copyright © 2017 The Linux Foundation®