C# 클래스 DotNetShipping.ShippingProviders.FedExBaseProvider

상속: DotNetShipping.ShippingProviders.AbstractShippingProvider
파일 보기 프로젝트 열기: kylewest/DotNetShipping

보호된 프로퍼티들

프로퍼티 타입 설명
_accountNumber string
_allowInsuredValues bool
_key string
_meterNumber string
_password string
_serviceCodes string>.Dictionary
_useProduction bool

공개 메소드들

메소드 설명
GetRates ( ) : void

Gets rates

GetServiceCodes ( ) : string>.IDictionary

Gets service codes.

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Init ( string key, string password, string accountNumber, string meterNumber, bool useProduction ) : void

메소드 상세

CreateRateRequest() 보호된 메소드

Creates the rate request
protected CreateRateRequest ( ) : DotNetShipping.RateServiceWebReference.RateRequest
리턴 DotNetShipping.RateServiceWebReference.RateRequest

FedExBaseProvider() 보호된 메소드

Paramaterless constructor that loads settings from app.config
protected FedExBaseProvider ( ) : System
리턴 System

FedExBaseProvider() 보호된 메소드

protected FedExBaseProvider ( string key, string password, string accountNumber, string meterNumber ) : System
key string
password string
accountNumber string
meterNumber string
리턴 System

GetRates() 공개 메소드

Gets rates
public GetRates ( ) : void
리턴 void

GetServiceCodes() 공개 메소드

Gets service codes.
public GetServiceCodes ( ) : string>.IDictionary
리턴 string>.IDictionary

ProcessReply() 보호된 메소드

Processes the reply
protected ProcessReply ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void
reply DotNetShipping.RateServiceWebReference.RateReply
리턴 void

SetDestination() 보호된 메소드

Sets the destination
protected SetDestination ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
리턴 void

SetOrigin() 보호된 메소드

Sets the origin
protected SetOrigin ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
리턴 void

SetPackageLineItems() 보호된 메소드

Sets package line items
protected SetPackageLineItems ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
리턴 void

SetServiceCodes() 보호된 추상적인 메소드

Sets service codes.
protected abstract SetServiceCodes ( ) : void
리턴 void

SetShipmentDetails() 보호된 추상적인 메소드

Sets shipment details
protected abstract SetShipmentDetails ( DotNetShipping.RateServiceWebReference.RateRequest request ) : void
request DotNetShipping.RateServiceWebReference.RateRequest
리턴 void

ShowNotifications() 보호된 정적인 메소드

Outputs the notifications to the debug console
protected static ShowNotifications ( DotNetShipping.RateServiceWebReference.RateReply reply ) : void
reply DotNetShipping.RateServiceWebReference.RateReply
리턴 void

프로퍼티 상세

_accountNumber 보호되어 있는 프로퍼티

protected string _accountNumber
리턴 string

_allowInsuredValues 보호되어 있는 프로퍼티

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

_key 보호되어 있는 프로퍼티

protected string _key
리턴 string

_meterNumber 보호되어 있는 프로퍼티

protected string _meterNumber
리턴 string

_password 보호되어 있는 프로퍼티

protected string _password
리턴 string

_serviceCodes 보호되어 있는 프로퍼티

protected Dictionary _serviceCodes
리턴 string>.Dictionary

_useProduction 보호되어 있는 프로퍼티

protected bool _useProduction
리턴 bool