메소드 | 설명 | |
---|---|---|
GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void |
Gets a route for provider configuration
|
|
GetFixedRate ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : decimal? |
Gets fixed shipping rate (if shipping rate computation method allows it and the rate can be calculated before checkout).
|
|
GetShippingOptions ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : Nop.Services.Shipping.GetShippingOptionResponse |
Gets available shipping options
|
|
Install ( ) : void |
Install plugin
|
|
USPSComputationMethod ( IMeasureService measureService, IShippingService shippingService, ISettingService settingService, Nop.Plugin.Shipping.USPS.USPSSettings uspsSettings, Nop.Core.Domain.Directory.MeasureSettings measureSettings, IPriceCalculationService priceCalculationService ) : System | ||
Uninstall ( ) : void |
Uninstall plugin
|
메소드 | 설명 | |
---|---|---|
IsDomesticRequest ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : bool |
Is a request domestic
|
|
PoundsToOunces ( int pounds ) : int |
Convert pounds to ounces
|
메소드 | 설명 | |
---|---|---|
CreateRequest ( string username, string password, Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : string | ||
DoRequest ( string url, string requestString ) : string | ||
GetPackageSize ( int length, int height, int width ) : USPSPackageSize | ||
IsPackageTooHeavy ( int weight ) : bool | ||
IsPackageTooLarge ( int length, int height, int width ) : bool | ||
ParseResponse ( string response, bool isDomestic, string &error ) : List |
||
TotalPackageSize ( int length, int height, int width ) : int |
public GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void | ||
actionName | string | Action name |
controllerName | string | Controller name |
routeValues | RouteValueDictionary | Route values |
리턴 | void |
public GetFixedRate ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : decimal? | ||
getShippingOptionRequest | Nop.Services.Shipping.GetShippingOptionRequest | A request for getting shipping options |
리턴 | decimal? |
public GetShippingOptions ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : Nop.Services.Shipping.GetShippingOptionResponse | ||
getShippingOptionRequest | Nop.Services.Shipping.GetShippingOptionRequest | A request for getting shipping options |
리턴 | Nop.Services.Shipping.GetShippingOptionResponse |
protected IsDomesticRequest ( Nop.Services.Shipping.GetShippingOptionRequest getShippingOptionRequest ) : bool | ||
getShippingOptionRequest | Nop.Services.Shipping.GetShippingOptionRequest | Request |
리턴 | bool |
public USPSComputationMethod ( IMeasureService measureService, IShippingService shippingService, ISettingService settingService, Nop.Plugin.Shipping.USPS.USPSSettings uspsSettings, Nop.Core.Domain.Directory.MeasureSettings measureSettings, IPriceCalculationService priceCalculationService ) : System | ||
measureService | IMeasureService | |
shippingService | IShippingService | |
settingService | ISettingService | |
uspsSettings | Nop.Plugin.Shipping.USPS.USPSSettings | |
measureSettings | Nop.Core.Domain.Directory.MeasureSettings | |
priceCalculationService | IPriceCalculationService | |
리턴 | System |