Show / Hide Table of Contents

    Class PaymentTransactionType

    PaymentTransactionType contains the additional fields for a payment Transaction

    Inheritance
    System.Object
    PaymentTransactionType
    Implements
    System.IEquatable<PaymentTransactionType>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.Algod.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class PaymentTransactionType : IEquatable<PaymentTransactionType>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    PaymentTransactionType(Nullable<UInt64>, String, Nullable<UInt64>, Nullable<UInt64>, String, Nullable<UInt64>)

    Initializes a new instance of the PaymentTransactionType class.

    Declaration
    public PaymentTransactionType(ulong? amount = default(ulong? ), string close = null, ulong? closeamount = default(ulong? ), ulong? closerewards = default(ulong? ), string to = null, ulong? torewards = default(ulong? ))
    Parameters
    Type Name Description
    System.Nullable<System.UInt64> amount

    Amount is the amount of MicroAlgos intended to be transferred (required).

    System.String close

    CloseRemainderTo is the address the sender closed to.

    System.Nullable<System.UInt64> closeamount

    CloseAmount is the amount sent to CloseRemainderTo, for committed transaction.

    System.Nullable<System.UInt64> closerewards

    CloseRewards is the amount of pending rewards applied to the CloseRemainderTo account as part of this transaction..

    System.String to

    To is the receiver's address (required).

    System.Nullable<System.UInt64> torewards

    ToRewards is the amount of pending rewards applied to the To account as part of this transaction..

    Properties

    | Improve this Doc View Source

    Amount

    Amount is the amount of MicroAlgos intended to be transferred

    Declaration
    [DataMember(Name = "amount", EmitDefaultValue = false)]
    public ulong? Amount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    Amount is the amount of MicroAlgos intended to be transferred

    | Improve this Doc View Source

    Close

    CloseRemainderTo is the address the sender closed to

    Declaration
    [DataMember(Name = "close", EmitDefaultValue = false)]
    public string Close { get; set; }
    Property Value
    Type Description
    System.String

    CloseRemainderTo is the address the sender closed to

    | Improve this Doc View Source

    Closeamount

    CloseAmount is the amount sent to CloseRemainderTo, for committed transaction

    Declaration
    [DataMember(Name = "closeamount", EmitDefaultValue = false)]
    public ulong? Closeamount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    CloseAmount is the amount sent to CloseRemainderTo, for committed transaction

    | Improve this Doc View Source

    Closerewards

    CloseRewards is the amount of pending rewards applied to the CloseRemainderTo account as part of this transaction.

    Declaration
    [DataMember(Name = "closerewards", EmitDefaultValue = false)]
    public ulong? Closerewards { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    CloseRewards is the amount of pending rewards applied to the CloseRemainderTo account as part of this transaction.

    | Improve this Doc View Source

    To

    To is the receiver's address

    Declaration
    [DataMember(Name = "to", EmitDefaultValue = false)]
    public string To { get; set; }
    Property Value
    Type Description
    System.String

    To is the receiver's address

    | Improve this Doc View Source

    Torewards

    ToRewards is the amount of pending rewards applied to the To account as part of this transaction.

    Declaration
    [DataMember(Name = "torewards", EmitDefaultValue = false)]
    public ulong? Torewards { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    ToRewards is the amount of pending rewards applied to the To account as part of this transaction.

    Methods

    | Improve this Doc View Source

    Equals(PaymentTransactionType)

    Returns true if PaymentTransactionType instances are equal

    Declaration
    public bool Equals(PaymentTransactionType input)
    Parameters
    Type Name Description
    PaymentTransactionType input

    Instance of PaymentTransactionType to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX