-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCard.cs
More file actions
97 lines (78 loc) · 2.54 KB
/
Card.cs
File metadata and controls
97 lines (78 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
using System;
using Newtonsoft.Json;
namespace SecureNetRestApiSDK.Api.Models
{
/// <summary>
/// Credit Card Specific Data.
/// </summary>
public class Card
{
#region Properties
/// <summary>
/// Data that has been read from the card's magnetic stripe.
/// </summary>
[JsonProperty("trackData")]
public String TrackData { get; set; }
/// <summary>
/// Credit card account number.
/// </summary>
[JsonProperty("number")]
public String Number { get; set; }
/// <summary>
/// Masked Credit card account number.
/// </summary>
[JsonProperty("maskedNumber")]
public string MaskedNumber { get; set; }
/// <summary>
/// Credit Card Last 4 Digits
/// </summary>
[JsonProperty("lastFourDigits")]
public string LastFourDigits { get; set; }
/// <summary>
/// Credit Card Type
/// </summary>
[JsonProperty("creditCardType")]
public string CreditCardType { get; set; }
/// <summary>
/// Card security code.
/// </summary>
[JsonProperty("cvv")]
public String Cvv { get; set; }
/// <summary>
/// Expiration date for the card. Format: MM/YYYY.
/// </summary>
[JsonProperty("expirationDate")]
public string ExpirationDate { get; set; }
/// <summary>
/// Unaltered KSN Number from PIN pad. (Debit only.)
/// </summary>
[JsonProperty("ksn")]
public String Ksn { get; set; }
/// <summary>
/// Pinblock obtained from the PIN pad. (Debit only.)
/// </summary>
[JsonProperty("pinBlock")]
public String PinBlock { get; set; }
/// <summary>
/// First name of the account holder.
/// </summary>
[JsonProperty("firstName")]
public String FirstName { get; set; }
/// <summary>
/// Last name of the account holder.
/// </summary>
[JsonProperty("lastName")]
public String LastName { get; set; }
/// <summary>
/// Billing address of the account holder.
/// </summary>
[JsonProperty("address")]
public Address Address { get; set; }
/// <summary>
/// Image of the signature of the cardholder as completed at the time of the transaction.
/// </summary>
[JsonProperty("signature")]
public byte[] Signature { get; set; }
#endregion
}
}