|
| 1 | +namespace Checkout.NetworkTokens.Common.Responses |
| 2 | +{ |
| 3 | + public class NetworkToken |
| 4 | + { |
| 5 | + /// <summary> Unique token ID assigned by Checkout.com for each token (Required) </summary> |
| 6 | + public string Id { get; set; } |
| 7 | + |
| 8 | + /// <summary> Token status (Required) </summary> |
| 9 | + public StateType State { get; set; } |
| 10 | + |
| 11 | + /// <summary> |
| 12 | + /// The network token number. This field is only returned when the network token status is one of the |
| 13 | + /// following: active, suspended, inactive (Constraints: ^[0-9]+$) |
| 14 | + /// </summary> |
| 15 | + public string Number { get; set; } |
| 16 | + |
| 17 | + /// <summary> |
| 18 | + /// The network token's expiration month. This field is only returned when the network token status is |
| 19 | + /// one of the following: active, suspended, inactive (Constraints: ^[0-9]{1,2}$) |
| 20 | + /// </summary> |
| 21 | + public string ExpiryMonth { get; set; } |
| 22 | + |
| 23 | + /// <summary> |
| 24 | + /// The network token's expiration year. This field is only returned when the network token status is |
| 25 | + /// one of the following: active, suspended, inactive (Constraints: ^[0-9]{4}$) |
| 26 | + /// </summary> |
| 27 | + public string ExpiryYear { get; set; } |
| 28 | + |
| 29 | + /// <summary> The type of token (Required) </summary> |
| 30 | + public NetworkTokenType Type { get; set; } |
| 31 | + |
| 32 | + /// <summary> When the network token was created (Required) </summary> |
| 33 | + public string CreatedOn { get; set; } |
| 34 | + |
| 35 | + /// <summary> When the network token was modified (Required) </summary> |
| 36 | + public string ModifiedOn { get; set; } |
| 37 | + |
| 38 | + /// <summary> |
| 39 | + /// Unique Payment account reference value assigned to payment account. All affiliated payment tokens, |
| 40 | + /// as well as the underlying PAN, have the same payment_account_reference (Optional) |
| 41 | + /// </summary> |
| 42 | + public string PaymentAccountReference { get; set; } |
| 43 | + |
| 44 | + } |
| 45 | +} |
0 commit comments