C# Class deals.earlymoments.com.Models.CommonModels

Mostra file Open project: Sandviksas/US-Web-Deals Class Usage Examples

Public Methods

Method Description
Confirmation_BillingAddress ( OrderVariables oVars, string template ) : string
Confirmation_ShippingAddress ( OrderVariables oVars ) : string
GetDictionaryValue ( string param_name, string>.Dictionary d ) : string
GetIPAddress ( ) : string
GetOfferCreatives ( OrderVariables oVars ) : string>.Dictionary
GetPriceDisplayType ( string oeprop, double unit_price ) : string
GetRegions ( string areaId ) : double
LogBrowserCapabilities ( System browser ) : string
OfferItemsDisplayType ( List ofr_dtls ) : int
ProcessConfirmationEmails ( string email, string FirstName, string LastName, string Project, string ItemList, string SpecialText, string OptOutText, string BillingAddress, string ShippingAddress, string OrderNumber, string SandviksTrackingLink, string Tax, string GrandTotal, string ProjectSpecificHtml ) : void
ResponsiveConfirmation_GiftingProducts ( OrderVariables oVars, bool option = false, string template = "", bool isTableStripped = true ) : string
ResponsivePayment_GiftingProducts ( OrderVariables oVars, bool option = false, string template = "" ) : string
ResponsivePayment_GiftingProducts ( OrderVariables oVars, double &taxAmount, double &totalAmount, bool option = false, string template = "", bool upsell = false ) : string
SendEmail ( string body ) : void
SendEmail ( string subject, string body ) : void
SendEmail ( string subject, string body, string mailTo ) : void
SendEmail ( string subject, string body, string mailTo, string from ) : void
SendEmail ( string from, string to, string subject, string body, string smtp ) : void
addZeros ( string value, int len ) : string

Method Details

Confirmation_BillingAddress() public method

public Confirmation_BillingAddress ( OrderVariables oVars, string template ) : string
oVars OrderVariables
template string
return string

Confirmation_ShippingAddress() public method

public Confirmation_ShippingAddress ( OrderVariables oVars ) : string
oVars OrderVariables
return string

GetDictionaryValue() public method

public GetDictionaryValue ( string param_name, string>.Dictionary d ) : string
param_name string
d string>.Dictionary
return string

GetIPAddress() public method

public GetIPAddress ( ) : string
return string

GetOfferCreatives() public method

public GetOfferCreatives ( OrderVariables oVars ) : string>.Dictionary
oVars OrderVariables
return string>.Dictionary

GetPriceDisplayType() public method

public GetPriceDisplayType ( string oeprop, double unit_price ) : string
oeprop string
unit_price double
return string

GetRegions() public static method

public static GetRegions ( string areaId ) : double
areaId string
return double

LogBrowserCapabilities() public method

public LogBrowserCapabilities ( System browser ) : string
browser System
return string

OfferItemsDisplayType() public method

public OfferItemsDisplayType ( List ofr_dtls ) : int
ofr_dtls List
return int

ProcessConfirmationEmails() public method

public ProcessConfirmationEmails ( string email, string FirstName, string LastName, string Project, string ItemList, string SpecialText, string OptOutText, string BillingAddress, string ShippingAddress, string OrderNumber, string SandviksTrackingLink, string Tax, string GrandTotal, string ProjectSpecificHtml ) : void
email string
FirstName string
LastName string
Project string
ItemList string
SpecialText string
OptOutText string
BillingAddress string
ShippingAddress string
OrderNumber string
SandviksTrackingLink string
Tax string
GrandTotal string
ProjectSpecificHtml string
return void

ResponsiveConfirmation_GiftingProducts() public method

public ResponsiveConfirmation_GiftingProducts ( OrderVariables oVars, bool option = false, string template = "", bool isTableStripped = true ) : string
oVars OrderVariables
option bool
template string
isTableStripped bool
return string

ResponsivePayment_GiftingProducts() public method

public ResponsivePayment_GiftingProducts ( OrderVariables oVars, bool option = false, string template = "" ) : string
oVars OrderVariables
option bool
template string
return string

ResponsivePayment_GiftingProducts() public method

public ResponsivePayment_GiftingProducts ( OrderVariables oVars, double &taxAmount, double &totalAmount, bool option = false, string template = "", bool upsell = false ) : string
oVars OrderVariables
taxAmount double
totalAmount double
option bool
template string
upsell bool
return string

SendEmail() public method

public SendEmail ( string body ) : void
body string
return void

SendEmail() public method

public SendEmail ( string subject, string body ) : void
subject string
body string
return void

SendEmail() public method

public SendEmail ( string subject, string body, string mailTo ) : void
subject string
body string
mailTo string
return void

SendEmail() public method

public SendEmail ( string subject, string body, string mailTo, string from ) : void
subject string
body string
mailTo string
from string
return void

SendEmail() public method

public SendEmail ( string from, string to, string subject, string body, string smtp ) : void
from string
to string
subject string
body string
smtp string
return void

addZeros() public static method

public static addZeros ( string value, int len ) : string
value string
len int
return string