C# Class CmsWeb.Areas.OnlineReg.Models.PaymentForm

Mostra file Open project: bvcms/bvcms Class Usage Examples

Public Properties

Property Type Description
Campuses List

Public Methods

Method Description
Active ( string type ) : string
AmountDueTrans ( CmsData.CMSDataContext db, CmsData.Transaction ti ) : decimal
Autocomplete ( bool small = false ) : object
CheckStoreInVault ( ModelStateDictionary modelState, int peopleid ) : void
CheckTesting ( ) : void
Checked ( string type ) : string
CreatePaymentForm ( OnlineRegModel m ) : PaymentForm
CreatePaymentFormForBalanceDue ( CmsData.Transaction ti, decimal amtdue, string email ) : PaymentForm
CreateTransaction ( CmsData.CMSDataContext Db, CmsData.Transaction t, decimal amount ) : CmsData.Transaction
CreateTransaction ( CmsData.CMSDataContext Db, decimal amount = null, OnlineRegModel m = null ) : CmsData.Transaction
FullName ( ) : string
PreventNegatives ( ) : void
PreventZero ( ModelStateDictionary modelState ) : void
ProcessPayment ( ModelStateDictionary modelState, OnlineRegModel m ) : RouteModel
ProcessPaymentTransaction ( OnlineRegModel m ) : CmsData.Transaction
ValidateBillingDetails ( ModelStateDictionary modelState ) : void
ValidatePaymentForm ( ModelStateDictionary modelState, bool shouldValidateBilling = true ) : void

Private Methods

Method Description
ClearMaskedNumbers ( PaymentForm pf, CmsData.PaymentInfo pi ) : void
InitializePaymentInfo ( int peopleId ) : void
PayWithCheck ( IGateway gw, int pid, CmsData.Transaction ti ) : TransactionResponse
PayWithCreditCard ( IGateway gateway, int peopleId, CmsData.Transaction transaction ) : TransactionResponse
VerifyCardWithAuth ( ModelStateDictionary modelState, IGateway gateway, int peopleId ) : void

Method Details

Active() public method

public Active ( string type ) : string
type string
return string

AmountDueTrans() public static method

public static AmountDueTrans ( CmsData.CMSDataContext db, CmsData.Transaction ti ) : decimal
db CmsData.CMSDataContext
ti CmsData.Transaction
return decimal

Autocomplete() public method

public Autocomplete ( bool small = false ) : object
small bool
return object

CheckStoreInVault() public method

public CheckStoreInVault ( ModelStateDictionary modelState, int peopleid ) : void
modelState ModelStateDictionary
peopleid int
return void

CheckTesting() public method

public CheckTesting ( ) : void
return void

Checked() public method

public Checked ( string type ) : string
type string
return string

CreatePaymentForm() public static method

public static CreatePaymentForm ( OnlineRegModel m ) : PaymentForm
m OnlineRegModel
return PaymentForm

CreatePaymentFormForBalanceDue() public static method

public static CreatePaymentFormForBalanceDue ( CmsData.Transaction ti, decimal amtdue, string email ) : PaymentForm
ti CmsData.Transaction
amtdue decimal
email string
return PaymentForm

CreateTransaction() public static method

public static CreateTransaction ( CmsData.CMSDataContext Db, CmsData.Transaction t, decimal amount ) : CmsData.Transaction
Db CmsData.CMSDataContext
t CmsData.Transaction
amount decimal
return CmsData.Transaction

CreateTransaction() public method

public CreateTransaction ( CmsData.CMSDataContext Db, decimal amount = null, OnlineRegModel m = null ) : CmsData.Transaction
Db CmsData.CMSDataContext
amount decimal
m OnlineRegModel
return CmsData.Transaction

FullName() public method

public FullName ( ) : string
return string

PreventNegatives() public method

public PreventNegatives ( ) : void
return void

PreventZero() public method

public PreventZero ( ModelStateDictionary modelState ) : void
modelState ModelStateDictionary
return void

ProcessPayment() public method

public ProcessPayment ( ModelStateDictionary modelState, OnlineRegModel m ) : RouteModel
modelState ModelStateDictionary
m OnlineRegModel
return RouteModel

ProcessPaymentTransaction() public method

public ProcessPaymentTransaction ( OnlineRegModel m ) : CmsData.Transaction
m OnlineRegModel
return CmsData.Transaction

ValidateBillingDetails() public method

public ValidateBillingDetails ( ModelStateDictionary modelState ) : void
modelState ModelStateDictionary
return void

ValidatePaymentForm() public method

public ValidatePaymentForm ( ModelStateDictionary modelState, bool shouldValidateBilling = true ) : void
modelState ModelStateDictionary
shouldValidateBilling bool
return void

Property Details

Campuses public_oe property

public List Campuses
return List