Testing.CreditCard.CreateCreditCard C# (CSharp) Метод

CreateCreditCard() публичный статический Метод

Create a new CreditCard object.
public static CreateCreditCard ( global creditCardID, global cardType, global cardNumber, global expMonth, global expYear, global modifiedDate ) : CreditCard
creditCardID global Initial value of the CreditCardID property.
cardType global Initial value of the CardType property.
cardNumber global Initial value of the CardNumber property.
expMonth global Initial value of the ExpMonth property.
expYear global Initial value of the ExpYear property.
modifiedDate global Initial value of the ModifiedDate property.
Результат CreditCard
        public static CreditCard CreateCreditCard(global::System.Int32 creditCardID, global::System.String cardType, global::System.String cardNumber, global::System.Byte expMonth, global::System.Int16 expYear, global::System.DateTime modifiedDate)
        {
            CreditCard creditCard = new CreditCard();
            creditCard.CreditCardID = creditCardID;
            creditCard.CardType = cardType;
            creditCard.CardNumber = cardNumber;
            creditCard.ExpMonth = expMonth;
            creditCard.ExpYear = expYear;
            creditCard.ModifiedDate = modifiedDate;
            return creditCard;
        }