-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BillingPaymentMethodData.cs
69 lines (63 loc) · 3.6 KB
/
BillingPaymentMethodData.cs
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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Billing.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Billing
{
/// <summary>
/// A class representing the BillingPaymentMethod data model.
/// A payment method.
/// </summary>
public partial class BillingPaymentMethodData : ResourceData
{
/// <summary> Initializes a new instance of BillingPaymentMethodData. </summary>
public BillingPaymentMethodData()
{
Logos = new ChangeTrackingList<PaymentMethodLogo>();
}
/// <summary> Initializes a new instance of BillingPaymentMethodData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="family"> The family of payment method. </param>
/// <param name="paymentMethodType"> The type of payment method. </param>
/// <param name="accountHolderName"> The account holder name for the payment method. This is only supported for payment methods with family CreditCard. </param>
/// <param name="expiration"> The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. </param>
/// <param name="lastFourDigits"> Last four digits of payment method. </param>
/// <param name="displayName"> The display name of the payment method. </param>
/// <param name="logos"> The list of logos for the payment method. </param>
/// <param name="status"> Status of the payment method. </param>
internal BillingPaymentMethodData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PaymentMethodFamily? family, string paymentMethodType, string accountHolderName, string expiration, string lastFourDigits, string displayName, IList<PaymentMethodLogo> logos, PaymentMethodStatus? status) : base(id, name, resourceType, systemData)
{
Family = family;
PaymentMethodType = paymentMethodType;
AccountHolderName = accountHolderName;
Expiration = expiration;
LastFourDigits = lastFourDigits;
DisplayName = displayName;
Logos = logos;
Status = status;
}
/// <summary> The family of payment method. </summary>
public PaymentMethodFamily? Family { get; set; }
/// <summary> The type of payment method. </summary>
public string PaymentMethodType { get; }
/// <summary> The account holder name for the payment method. This is only supported for payment methods with family CreditCard. </summary>
public string AccountHolderName { get; }
/// <summary> The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. </summary>
public string Expiration { get; }
/// <summary> Last four digits of payment method. </summary>
public string LastFourDigits { get; }
/// <summary> The display name of the payment method. </summary>
public string DisplayName { get; }
/// <summary> The list of logos for the payment method. </summary>
public IList<PaymentMethodLogo> Logos { get; }
/// <summary> Status of the payment method. </summary>
public PaymentMethodStatus? Status { get; set; }
}
}