C# Class SampleOrderImporter.OrderImporter

Inheritance: ICommerceDataContractBuilder
Exibir arquivo Open project: Advsol/RiSE-SDK-Examples

Public Methods

Method Description
CreateImportCollection ( string filePath ) : ICollection

Private Methods

Method Description
AddError ( string line, int lineNumber, string msg ) : void
CreateNewParty ( string firstName, string lastName, string country, string city, string stateProvince, string postalCode, string email, string phone, string address1, string address2 ) : PartyData
FinishComboOrder ( ComboOrderData comboOrder ) : void
ProcessOrderImportRow ( string pieces, string line, int lineNumber ) : OrderData
ProcessOrderLineImportRow ( string pieces, string line, int lineNumber, OrderData order ) : void
ProcessProductImportRow ( string pieces, string line, int lineNumber ) : void
SetDecimalFromString ( string line, int lineNumber, string trialValue, decimal &price ) : bool
SetIntegerFromString ( string line, int lineNumber, string trialValue, int &amount ) : bool

Method Details

CreateImportCollection() public method

public CreateImportCollection ( string filePath ) : ICollection
filePath string
return ICollection