Class Transfer
- Namespace
- Vonage.SubAccounts
- Assembly
- Vonage.dll
Represents a transfer.
public record Transfer : IEquatable<Transfer>
- Inheritance
-
Transfer
- Implements
- Inherited Members
Constructors
Transfer(Guid, decimal, string, string, string, DateTimeOffset)
Represents a transfer.
public Transfer(Guid Id, decimal Amount, string From, string To, string Reference, DateTimeOffset CreatedAt)
Parameters
IdGuidUnique transfer ID
AmountdecimalTransfer amount
FromstringAccount the amount is transferred from
TostringAccount the amount is transferred to
ReferencestringReference for the transfer
CreatedAtDateTimeOffsetThe date and time when the transfer was executed
Properties
Amount
Transfer amount
public decimal Amount { get; init; }
Property Value
CreatedAt
The date and time when the transfer was executed
[JsonPropertyName("created_at")]
public DateTimeOffset CreatedAt { get; init; }
Property Value
From
Account the amount is transferred from
public string From { get; init; }
Property Value
Id
Unique transfer ID
public Guid Id { get; init; }
Property Value
Reference
Reference for the transfer
public string Reference { get; init; }
Property Value
To
Account the amount is transferred to
public string To { get; init; }