VideoRentalService.payment.Createpayment C# (CSharp) 메소드

Createpayment() 공개 정적인 메소드

Create a new payment object.
public static Createpayment ( global payment_id, global customer_id, global staff_id, global amount, global payment_date, global last_update ) : payment
payment_id global Initial value of the payment_id property.
customer_id global Initial value of the customer_id property.
staff_id global Initial value of the staff_id property.
amount global Initial value of the amount property.
payment_date global Initial value of the payment_date property.
last_update global Initial value of the last_update property.
리턴 payment
        public static payment Createpayment(global::System.Int32 payment_id, global::System.Int32 customer_id, global::System.Byte staff_id, global::System.Decimal amount, global::System.DateTime payment_date, global::System.DateTime last_update)
        {
            payment payment = new payment();
            payment.payment_id = payment_id;
            payment.customer_id = customer_id;
            payment.staff_id = staff_id;
            payment.amount = amount;
            payment.payment_date = payment_date;
            payment.last_update = last_update;
            return payment;
        }