C# Class Atomia.Web.Plugin.PublicOrder.Controllers.PublicOrderController

Inheritance: Controller
显示文件 Open project: atomia/OrderPage

Public Methods

Method Description
DomainExistsInTheSystem ( string domainName ) : System.Web.Mvc.ActionResult

Checks the domain for existance in the system.

RecalculateCart ( string arrayOfProducts, string arrayOfProductNames, string arrayOfProductQuantities, string arrayOfRenewalPeriods, bool displayProductName, bool displayProductPeriod, bool displayProductNumberOfItems, bool displayProductPrice, bool displayProductDiscount, bool displayProductTotalPrice, bool displayOrderSubAmount, bool displayOrderTaxes, bool displayOrderTotal, string chosenCountry, int globalCounter, string campaignCode, bool pricesIncludingVAT, string orderCustomAttributes, string orderAddress ) : System.Web.Mvc.ActionResult

Recalculates the cart.

ValidateDomain ( string domainName ) : System.Web.Mvc.ActionResult

Validates the domain.

ValidateDomains ( string domainName ) : System.Web.Mvc.ActionResult

Validates the domain.

Private Methods

Method Description
CreatePaymentTransaction ( Controller controller, OrderServiceReferences order, decimal paidAmount, string paymentMethod ) : string

Creates the payment transaction.

Domain ( ) : System.Web.Mvc.ActionResult
FinishPayment ( PublicPaymentTransaction transaction ) : System.Web.Mvc.ActionResult

Finishes the payment.

GetAddressInfo ( string identifier, string companyType ) : System.Web.Mvc.ActionResult
GetOrderOptionsForProductGroup ( string productGroup, bool &groupExists ) : List

Gets the payment options for product group.

GetStatus ( string sTransactionId ) : System.Web.Mvc.ActionResult
GetTransationById ( string transactionId ) : PublicPaymentTransaction

Gets the transation by identifier.

GetUnavailableDomains ( string domains ) : System.Web.Mvc.ActionResult
Index ( IndexForm IndexForm ) : System.Web.Mvc.ActionResult
Index ( string package, string lang, string sel ) : System.Web.Mvc.ActionResult
LoadProductsIntoSession ( ) : System.Web.Mvc.ActionResult
MarkDomainsAsUnavailable ( string domains ) : System.Web.Mvc.ActionResult
Norid ( string domains, string company, string orgid, string name, string time ) : System.Web.Mvc.ActionResult
PayPalConfirm ( ) : System.Web.Mvc.ActionResult
PayPalConfirm ( string token, string PayerID, string action ) : System.Web.Mvc.ActionResult
Payment ( string amount, string transactionReference, int transactionReferenceType, string status ) : System.Web.Mvc.ActionResult
PaymentFailed ( ) : System.Web.Mvc.ActionResult
Select ( ) : System.Web.Mvc.ActionResult
Select ( SubmitForm SubmitForm ) : System.Web.Mvc.ActionResult
StartSearch ( string domainsArray ) : System.Web.Mvc.ActionResult
Thankyou ( ) : System.Web.Mvc.ActionResult
Tos ( string rName ) : System.Web.Mvc.ActionResult
ValidateDomain ( string domainName, bool allowWithoutTLD ) : System.Web.Mvc.ActionResult
ValidateVatNumber ( string sEcho, string countryCode, string VATNumber ) : System.Web.Mvc.ActionResult

Method Details

DomainExistsInTheSystem() public method

Checks the domain for existance in the system.
public DomainExistsInTheSystem ( string domainName ) : System.Web.Mvc.ActionResult
domainName string Name of the domain.
return System.Web.Mvc.ActionResult

RecalculateCart() public method

Recalculates the cart.
public RecalculateCart ( string arrayOfProducts, string arrayOfProductNames, string arrayOfProductQuantities, string arrayOfRenewalPeriods, bool displayProductName, bool displayProductPeriod, bool displayProductNumberOfItems, bool displayProductPrice, bool displayProductDiscount, bool displayProductTotalPrice, bool displayOrderSubAmount, bool displayOrderTaxes, bool displayOrderTotal, string chosenCountry, int globalCounter, string campaignCode, bool pricesIncludingVAT, string orderCustomAttributes, string orderAddress ) : System.Web.Mvc.ActionResult
arrayOfProducts string The array of products.
arrayOfProductNames string The array of product names.
arrayOfProductQuantities string The array of product quantities.
arrayOfRenewalPeriods string The array of product renewal periods.
displayProductName bool if set to true [display product name].
displayProductPeriod bool if set to true [display product period].
displayProductNumberOfItems bool if set to true [display product number of items].
displayProductPrice bool if set to true [display product price].
displayProductDiscount bool if set to true [display product discount].
displayProductTotalPrice bool if set to true [display product total price].
displayOrderSubAmount bool if set to true [display order sub amount].
displayOrderTaxes bool if set to true [display order taxes].
displayOrderTotal bool if set to true [display order total].
chosenCountry string The chosen country.
globalCounter int The global counter.
campaignCode string The campaign code.
pricesIncludingVAT bool if set to true [prices including VAT].
orderCustomAttributes string The order custom attributes.
orderAddress string The order address.
return System.Web.Mvc.ActionResult

ValidateDomain() public method

Validates the domain.
public ValidateDomain ( string domainName ) : System.Web.Mvc.ActionResult
domainName string Name of the domain.
return System.Web.Mvc.ActionResult

ValidateDomains() public method

Validates the domain.
public ValidateDomains ( string domainName ) : System.Web.Mvc.ActionResult
domainName string Name of the domain.
return System.Web.Mvc.ActionResult