C# 클래스 VideoRentalService.RentalService

상속: IRentalService
파일 보기 프로젝트 열기: Ecetera/appdynamics-sandpit

공개 메소드들

메소드 설명
GetCustomer ( int id ) : SCustomer
GetCustomers ( ) : VideoRentalService.SCustomer[]
GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[]
GetPayment ( int id ) : SPayment
GetPayments ( int customerid ) : VideoRentalService.SPayment[]
GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[]
GetRentalByPayment ( int id ) : SRental
GetRentals ( int customerid ) : VideoRentalService.SRental[]
GetRewardsReport ( Nullable min_monthly_purchases, Nullable min_dollar_amount_purchased, int count_rewardees ) : VideoRentalService.SCustomer[]
GetSalesByCategory ( ) : VideoRentalService.CategorySale[]
HireMovie ( int staffid, int customerid, int rentalid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
Logon ( string user, string password, int &userID ) : bool
Refund ( int staffid, int customerid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
RefundPayment ( int paymentid ) : bool
RefundT ( int staffid, int customerid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
RentalService ( ) : System
ServiceCheck ( ) : int

메소드 상세

GetCustomer() 공개 메소드

public GetCustomer ( int id ) : SCustomer
id int
리턴 SCustomer

GetCustomers() 공개 메소드

public GetCustomers ( ) : VideoRentalService.SCustomer[]
리턴 VideoRentalService.SCustomer[]

GetCustomersByText() 공개 메소드

public GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[]
searchtext string
리턴 VideoRentalService.SCustomer[]

GetPayment() 공개 메소드

public GetPayment ( int id ) : SPayment
id int
리턴 SPayment

GetPayments() 공개 메소드

public GetPayments ( int customerid ) : VideoRentalService.SPayment[]
customerid int
리턴 VideoRentalService.SPayment[]

GetPaymentsByRental() 공개 메소드

public GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[]
rentalid int
리턴 VideoRentalService.SPayment[]

GetRentalByPayment() 공개 메소드

public GetRentalByPayment ( int id ) : SRental
id int
리턴 SRental

GetRentals() 공개 메소드

public GetRentals ( int customerid ) : VideoRentalService.SRental[]
customerid int
리턴 VideoRentalService.SRental[]

GetRewardsReport() 공개 메소드

public GetRewardsReport ( Nullable min_monthly_purchases, Nullable min_dollar_amount_purchased, int count_rewardees ) : VideoRentalService.SCustomer[]
min_monthly_purchases Nullable
min_dollar_amount_purchased Nullable
count_rewardees int
리턴 VideoRentalService.SCustomer[]

GetSalesByCategory() 공개 메소드

public GetSalesByCategory ( ) : VideoRentalService.CategorySale[]
리턴 VideoRentalService.CategorySale[]

HireMovie() 공개 메소드

public HireMovie ( int staffid, int customerid, int rentalid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
staffid int
customerid int
rentalid int
paymentAmount double
creditcardno string
expiry string
cvv string
리턴 int

Logon() 공개 메소드

public Logon ( string user, string password, int &userID ) : bool
user string
password string
userID int
리턴 bool

Refund() 공개 메소드

public Refund ( int staffid, int customerid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
staffid int
customerid int
paymentAmount double
creditcardno string
expiry string
cvv string
리턴 int

RefundPayment() 공개 메소드

public RefundPayment ( int paymentid ) : bool
paymentid int
리턴 bool

RefundT() 공개 메소드

public RefundT ( int staffid, int customerid, double paymentAmount, string creditcardno, string expiry, string cvv ) : int
staffid int
customerid int
paymentAmount double
creditcardno string
expiry string
cvv string
리턴 int

RentalService() 공개 메소드

public RentalService ( ) : System
리턴 System

ServiceCheck() 공개 메소드

public ServiceCheck ( ) : int
리턴 int