|
| 1 | +using System.Text.Json.Serialization; |
| 2 | + |
| 3 | +namespace Asaas.Sdk.Models; |
| 4 | + |
| 5 | +/// <summary> |
| 6 | +/// Transfer response |
| 7 | +/// </summary> |
| 8 | +public class TransferGetResponseDto |
| 9 | +{ |
| 10 | + /// <summary> |
| 11 | + /// Object type |
| 12 | + /// </summary> |
| 13 | + [JsonPropertyName("object")] |
| 14 | + public string? Object { get; set; } |
| 15 | + |
| 16 | + /// <summary> |
| 17 | + /// Unique transfer identifier in Asaas |
| 18 | + /// </summary> |
| 19 | + [JsonPropertyName("id")] |
| 20 | + public string? Id { get; set; } |
| 21 | + |
| 22 | + /// <summary> |
| 23 | + /// Type of transfer (BANK_ACCOUNT, ASAAS_ACCOUNT) |
| 24 | + /// </summary> |
| 25 | + [JsonPropertyName("type")] |
| 26 | + public string? Type { get; set; } |
| 27 | + |
| 28 | + /// <summary> |
| 29 | + /// Transfer request date |
| 30 | + /// </summary> |
| 31 | + [JsonPropertyName("dateCreated")] |
| 32 | + public string? DateCreated { get; set; } |
| 33 | + |
| 34 | + /// <summary> |
| 35 | + /// Transfer amount |
| 36 | + /// </summary> |
| 37 | + [JsonPropertyName("value")] |
| 38 | + public double? Value { get; set; } |
| 39 | + |
| 40 | + /// <summary> |
| 41 | + /// Net value minus transfer fee |
| 42 | + /// </summary> |
| 43 | + [JsonPropertyName("netValue")] |
| 44 | + public double? NetValue { get; set; } |
| 45 | + |
| 46 | + /// <summary> |
| 47 | + /// Transfer status (PENDING, BANK_PROCESSING, DONE, CANCELLED, FAILED) |
| 48 | + /// </summary> |
| 49 | + [JsonPropertyName("status")] |
| 50 | + public string? Status { get; set; } |
| 51 | + |
| 52 | + /// <summary> |
| 53 | + /// Transfer rate |
| 54 | + /// </summary> |
| 55 | + [JsonPropertyName("transferFee")] |
| 56 | + public double? TransferFee { get; set; } |
| 57 | + |
| 58 | + /// <summary> |
| 59 | + /// Effective date |
| 60 | + /// </summary> |
| 61 | + [JsonPropertyName("effectiveDate")] |
| 62 | + public string? EffectiveDate { get; set; } |
| 63 | + |
| 64 | + /// <summary> |
| 65 | + /// Schedule date |
| 66 | + /// </summary> |
| 67 | + [JsonPropertyName("scheduleDate")] |
| 68 | + public string? ScheduleDate { get; set; } |
| 69 | + |
| 70 | + /// <summary> |
| 71 | + /// Unique identifier of the Pix transaction at the Central Bank |
| 72 | + /// </summary> |
| 73 | + [JsonPropertyName("endToEndIdentifier")] |
| 74 | + public string? EndToEndIdentifier { get; set; } |
| 75 | + |
| 76 | + /// <summary> |
| 77 | + /// False when awaiting authorization via SMS Token |
| 78 | + /// </summary> |
| 79 | + [JsonPropertyName("authorized")] |
| 80 | + public bool? Authorized { get; set; } |
| 81 | + |
| 82 | + /// <summary> |
| 83 | + /// Reason for transfer failure |
| 84 | + /// </summary> |
| 85 | + [JsonPropertyName("failReason")] |
| 86 | + public string? FailReason { get; set; } |
| 87 | + |
| 88 | + /// <summary> |
| 89 | + /// Transfer identifier in your system |
| 90 | + /// </summary> |
| 91 | + [JsonPropertyName("externalReference")] |
| 92 | + public string? ExternalReference { get; set; } |
| 93 | + |
| 94 | + /// <summary> |
| 95 | + /// Proof of transfer will be available after the transfer is confirmed |
| 96 | + /// </summary> |
| 97 | + [JsonPropertyName("transactionReceiptUrl")] |
| 98 | + public string? TransactionReceiptUrl { get; set; } |
| 99 | + |
| 100 | + /// <summary> |
| 101 | + /// Transfer method (PIX, TED, INTERNAL) |
| 102 | + /// </summary> |
| 103 | + [JsonPropertyName("operationType")] |
| 104 | + public string? OperationType { get; set; } |
| 105 | + |
| 106 | + /// <summary> |
| 107 | + /// Transfer description |
| 108 | + /// </summary> |
| 109 | + [JsonPropertyName("description")] |
| 110 | + public string? Description { get; set; } |
| 111 | + |
| 112 | + /// <summary> |
| 113 | + /// Recurring transfer identifier |
| 114 | + /// </summary> |
| 115 | + [JsonPropertyName("recurring")] |
| 116 | + public string? Recurring { get; set; } |
| 117 | + |
| 118 | + /// <summary> |
| 119 | + /// Bank account information |
| 120 | + /// </summary> |
| 121 | + [JsonPropertyName("bankAccount")] |
| 122 | + public TransferBankAccountGetResponseDto? BankAccount { get; set; } |
| 123 | +} |
0 commit comments