C# Class DotNetShipping.ShippingProviders.FedExBaseProvider

Inheritance: DotNetShipping.ShippingProviders.AbstractShippingProvider
Afficher le fichier Open project: kylewest/DotNetShipping

Protected Properties

Свойство Type Description
_accountNumber string
_allowInsuredValues bool
_key string
_meterNumber string
_password string
_serviceCodes string>.Dictionary
_useProduction bool

Méthodes publiques

Méthode Description
GetRates ( ) : void

Gets rates

GetServiceCodes ( ) : string>.IDictionary

Gets service codes.

Méthodes protégées

Méthode Description
CreateRateRequest ( ) : DotNetShipping.RateServiceWebReference.RateRequest

Creates the rate request

FedExBaseProvider ( ) : System

Paramaterless constructor that loads settings from app.config

FedExBaseProvider ( string key, string password, string accountNumber, string meterNumber ) : System

ProcessReply ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void

Processes the reply

SetDestination ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void

Sets the destination

SetOrigin ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void

Sets the origin

SetPackageLineItems ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void

Sets package line items

SetServiceCodes ( ) : void

Sets service codes.

SetShipmentDetails ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void

Sets shipment details

ShowNotifications ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void

Outputs the notifications to the debug console

Private Methods

Méthode Description
Init ( string key, string password, string accountNumber, string meterNumber, bool useProduction ) : void

Method Details

CreateRateRequest() protected méthode

Creates the rate request
protected CreateRateRequest ( ) : DotNetShipping.RateServiceWebReference.RateRequest
Résultat DotNetShipping.RateServiceWebReference.RateRequest

FedExBaseProvider() protected méthode

Paramaterless constructor that loads settings from app.config
protected FedExBaseProvider ( ) : System
Résultat System

FedExBaseProvider() protected méthode

protected FedExBaseProvider ( string key, string password, string accountNumber, string meterNumber ) : System
key string
password string
accountNumber string
meterNumber string
Résultat System

GetRates() public méthode

Gets rates
public GetRates ( ) : void
Résultat void

GetServiceCodes() public méthode

Gets service codes.
public GetServiceCodes ( ) : string>.IDictionary
Résultat string>.IDictionary

ProcessReply() protected méthode

Processes the reply
protected ProcessReply ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void
reply DotNetShipping.RateServiceWebReference.RateReply
Résultat void

SetDestination() protected méthode

Sets the destination
protected SetDestination ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
Résultat void

SetOrigin() protected méthode

Sets the origin
protected SetOrigin ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
Résultat void

SetPackageLineItems() protected méthode

Sets package line items
protected SetPackageLineItems ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
Résultat void

SetServiceCodes() protected abstract méthode

Sets service codes.
protected abstract SetServiceCodes ( ) : void
Résultat void

SetShipmentDetails() protected abstract méthode

Sets shipment details
protected abstract SetShipmentDetails ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
Résultat void

ShowNotifications() protected static méthode

Outputs the notifications to the debug console
protected static ShowNotifications ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void
reply DotNetShipping.RateServiceWebReference.RateReply
Résultat void

Property Details

_accountNumber protected_oe property

protected string _accountNumber
Résultat string

_allowInsuredValues protected_oe property

FedEx allows insured values for items being shipped except when utilizing SmartPost. This setting will this value to be overwritten.
protected bool _allowInsuredValues
Résultat bool

_key protected_oe property

protected string _key
Résultat string

_meterNumber protected_oe property

protected string _meterNumber
Résultat string

_password protected_oe property

protected string _password
Résultat string

_serviceCodes protected_oe property

protected Dictionary _serviceCodes
Résultat string>.Dictionary

_useProduction protected_oe property

protected bool _useProduction
Résultat bool