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

Afficher le fichier Open project: Sandviksas/US-Web-Deals Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Confirmation_BillingAddress ( OrderVariables oVars, string template ) : string
oVars OrderVariables
template string
Résultat string

Confirmation_ShippingAddress() public méthode

public Confirmation_ShippingAddress ( OrderVariables oVars ) : string
oVars OrderVariables
Résultat string

GetDictionaryValue() public méthode

public GetDictionaryValue ( string param_name, string>.Dictionary d ) : string
param_name string
d string>.Dictionary
Résultat string

GetIPAddress() public méthode

public GetIPAddress ( ) : string
Résultat string

GetOfferCreatives() public méthode

public GetOfferCreatives ( OrderVariables oVars ) : string>.Dictionary
oVars OrderVariables
Résultat string>.Dictionary

GetPriceDisplayType() public méthode

public GetPriceDisplayType ( string oeprop, double unit_price ) : string
oeprop string
unit_price double
Résultat string

GetRegions() public static méthode

public static GetRegions ( string areaId ) : double
areaId string
Résultat double

LogBrowserCapabilities() public méthode

public LogBrowserCapabilities ( System browser ) : string
browser System
Résultat string

OfferItemsDisplayType() public méthode

public OfferItemsDisplayType ( List ofr_dtls ) : int
ofr_dtls List
Résultat int

ProcessConfirmationEmails() public méthode

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
Résultat void

ResponsiveConfirmation_GiftingProducts() public méthode

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

ResponsivePayment_GiftingProducts() public méthode

public ResponsivePayment_GiftingProducts ( OrderVariables oVars, bool option = false, string template = "" ) : string
oVars OrderVariables
option bool
template string
Résultat string

ResponsivePayment_GiftingProducts() public méthode

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
Résultat string

SendEmail() public méthode

public SendEmail ( string body ) : void
body string
Résultat void

SendEmail() public méthode

public SendEmail ( string subject, string body ) : void
subject string
body string
Résultat void

SendEmail() public méthode

public SendEmail ( string subject, string body, string mailTo ) : void
subject string
body string
mailTo string
Résultat void

SendEmail() public méthode

public SendEmail ( string subject, string body, string mailTo, string from ) : void
subject string
body string
mailTo string
from string
Résultat void

SendEmail() public méthode

public SendEmail ( string from, string to, string subject, string body, string smtp ) : void
from string
to string
subject string
body string
smtp string
Résultat void

addZeros() public static méthode

public static addZeros ( string value, int len ) : string
value string
len int
Résultat string