2022-12-04 12:10:10 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace GrossesMitainesAPI.Models;
|
2022-12-04 11:28:12 -05:00
|
|
|
|
public class ChargesModel {
|
2022-12-04 12:10:10 -05:00
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
2022-12-04 11:28:12 -05:00
|
|
|
|
public string Token { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public long AmountInCents { get; set; }
|
|
|
|
|
public string CurrencyCode { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
public string Phone { get; set; }
|
2022-12-08 20:27:06 -05:00
|
|
|
|
public string LastFourDigits { get; set; }
|
2022-12-12 15:28:21 -05:00
|
|
|
|
public AddressModel BillingAddress { get; set; }
|
2022-12-04 11:28:12 -05:00
|
|
|
|
}
|