public static string GetName(ServiceNameType type) { switch (type) { case ServiceNameType.DropShipVendorServices: return("Drop Ship Vendor Services"); case ServiceNameType.WarehouseSupplierServices: return("Warehouse Supplier Services"); default: case ServiceNameType.WalmartMarketplace: return("Walmart Marketplace"); } }
public TransportServiceDescriptionType() { this.transportationServiceField = new ObservableCollection<TransportationServiceType>(); this.validityPeriodField = new PeriodType(); this.serviceChargePaymentTermsField = new PaymentTermsType(); this.transportServiceProviderPartyField = new PartyType(); this.transportServiceDescriptionRequestDocumentReferenceField = new DocumentReferenceType(); this.receiverPartyField = new PartyType(); this.senderPartyField = new PartyType(); this.signatureField = new ObservableCollection<SignatureType>(); this.responseCodeField = new ResponseCodeType(); this.serviceNameField = new ServiceNameType(); this.noteField = new ObservableCollection<NoteType>(); this.issueTimeField = new IssueTimeType(); this.issueDateField = new IssueDateType(); this.uUIDField = new UUIDType(); this.copyIndicatorField = new CopyIndicatorType(); this.idField = new IDType(); this.profileExecutionIDField = new ProfileExecutionIDType(); this.profileIDField = new ProfileIDType(); this.customizationIDField = new CustomizationIDType(); this.uBLVersionIDField = new UBLVersionIDType(); this.uBLExtensionsField = new ObservableCollection<UBLExtensionType>(); }
public TransportServiceDescriptionType() { this.transportationServiceField = new ObservableCollection <TransportationServiceType>(); this.validityPeriodField = new PeriodType(); this.serviceChargePaymentTermsField = new PaymentTermsType(); this.transportServiceProviderPartyField = new PartyType(); this.transportServiceDescriptionRequestDocumentReferenceField = new DocumentReferenceType(); this.receiverPartyField = new PartyType(); this.senderPartyField = new PartyType(); this.signatureField = new ObservableCollection <SignatureType>(); this.responseCodeField = new ResponseCodeType(); this.serviceNameField = new ServiceNameType(); this.noteField = new ObservableCollection <NoteType>(); this.issueTimeField = new IssueTimeType(); this.issueDateField = new IssueDateType(); this.uUIDField = new UUIDType(); this.copyIndicatorField = new CopyIndicatorType(); this.idField = new IDType(); this.profileExecutionIDField = new ProfileExecutionIDType(); this.profileIDField = new ProfileIDType(); this.customizationIDField = new CustomizationIDType(); this.uBLVersionIDField = new UBLVersionIDType(); this.uBLExtensionsField = new ObservableCollection <UBLExtensionType>(); }