Method | Description | |
---|---|---|
GetCustomer ( int id ) : |
||
GetCustomers ( ) : VideoRentalService.SCustomer[] | ||
GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[] | ||
GetPayment ( int id ) : |
||
GetPayments ( int customerid ) : VideoRentalService.SPayment[] | ||
GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[] | ||
GetRentalByPayment ( int id ) : |
||
GetRentals ( int customerid ) : VideoRentalService.SRental[] | ||
GetRewardsReport ( Nullable |
||
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 |
public GetCustomers ( ) : VideoRentalService.SCustomer[] | ||
return | VideoRentalService.SCustomer[] |
public GetCustomersByText ( string searchtext ) : VideoRentalService.SCustomer[] | ||
searchtext | string | |
return | VideoRentalService.SCustomer[] |
public GetPayments ( int customerid ) : VideoRentalService.SPayment[] | ||
customerid | int | |
return | VideoRentalService.SPayment[] |
public GetPaymentsByRental ( int rentalid ) : VideoRentalService.SPayment[] | ||
rentalid | int | |
return | VideoRentalService.SPayment[] |
public GetRentalByPayment ( int id ) : |
||
id | int | |
return |
public GetRentals ( int customerid ) : VideoRentalService.SRental[] | ||
customerid | int | |
return | VideoRentalService.SRental[] |
public GetRewardsReport ( Nullable |
||
min_monthly_purchases | Nullable |
|
min_dollar_amount_purchased | Nullable |
|
count_rewardees | int | |
return | VideoRentalService.SCustomer[] |
public GetSalesByCategory ( ) : VideoRentalService.CategorySale[] | ||
return | VideoRentalService.CategorySale[] |
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 | |
return | int |
public Logon ( string user, string password, int &userID ) : bool | ||
user | string | |
password | string | |
userID | int | |
return | bool |
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 | |
return | int |
public RefundPayment ( int paymentid ) : bool | ||
paymentid | int | |
return | bool |
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 | |
return | int |