NAV

<back to all web services

NAVOrderImport

The following routes are available for this service:
POST/orders
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class NAVOrderImport implements IPost
    {
        public String externalOrderId = null;
        public String orderTypeId = null;
        public Date createdDateUTC = null;
        public Date submittedDateUTC = null;
        public BigDecimal beeNumberCustomer = null;
        public BigDecimal beeNumberPayee = null;
        public String orderSource = null;
        public String shippingMethod = null;
        public String giftMessage = null;
        public String giftMessageFrom = null;
        public String giftMessageTo = null;
        public String shippingComment = null;
        public NAVOrderImportAddress shippingAddress = null;
        public ArrayList<NAVOrderImportSku> orderSkus = null;
        public ArrayList<NAVOrderImportPayment> orderPayments = null;
        public ArrayList<NAVOrderImportFee> orderFees = null;
        public BigDecimal subTotal = null;
        public BigDecimal orderTotal = null;
        public BigDecimal shippingCost = null;
        public BigDecimal tax = null;
        public BigDecimal shippingTax = null;
        public String externalDiscountReason = null;
        public BigDecimal pcLevel = null;
        public String agentId = null;
        public BigDecimal numberOfCustomersServed = null;
        public String versionNumber = null;
        public String versionYear = null;
        public String additionalCode = null;
        public String discountPercent = null;
        public String taxRatePercent = null;
        public BigDecimal orderWithinTimePeriod = null;
        public String taxAreaCode = null;
        public String geocode = null;
        public String fundraiserId = null;
        public String warehouseCode = null;
        public String originalReshipExternalOrderId = null;
        public String shippedVersionNumber = null;
        public String shippedVersionYear = null;
        public String masterOrderId = null;
        public String couponValue = null;
        public String salesCenterId = null;
        public String premierLevel = null;
        public BigDecimal pcLevelCurrentCycle = null;
        public String premierLevelCurrentCycle = null;
        public String emailAddress = null;
        public String phoneNumber = null;
        
        public String getExternalOrderId() { return externalOrderId; }
        public NAVOrderImport setExternalOrderId(String value) { this.externalOrderId = value; return this; }
        public String getOrderTypeId() { return orderTypeId; }
        public NAVOrderImport setOrderTypeId(String value) { this.orderTypeId = value; return this; }
        public Date getCreatedDateUTC() { return createdDateUTC; }
        public NAVOrderImport setCreatedDateUTC(Date value) { this.createdDateUTC = value; return this; }
        public Date getSubmittedDateUTC() { return submittedDateUTC; }
        public NAVOrderImport setSubmittedDateUTC(Date value) { this.submittedDateUTC = value; return this; }
        public BigDecimal getBeeNumberCustomer() { return beeNumberCustomer; }
        public NAVOrderImport setBeeNumberCustomer(BigDecimal value) { this.beeNumberCustomer = value; return this; }
        public BigDecimal getBeeNumberPayee() { return beeNumberPayee; }
        public NAVOrderImport setBeeNumberPayee(BigDecimal value) { this.beeNumberPayee = value; return this; }
        public String getOrderSource() { return orderSource; }
        public NAVOrderImport setOrderSource(String value) { this.orderSource = value; return this; }
        public String getShippingMethod() { return shippingMethod; }
        public NAVOrderImport setShippingMethod(String value) { this.shippingMethod = value; return this; }
        public String getGiftMessage() { return giftMessage; }
        public NAVOrderImport setGiftMessage(String value) { this.giftMessage = value; return this; }
        public String getGiftMessageFrom() { return giftMessageFrom; }
        public NAVOrderImport setGiftMessageFrom(String value) { this.giftMessageFrom = value; return this; }
        public String getGiftMessageTo() { return giftMessageTo; }
        public NAVOrderImport setGiftMessageTo(String value) { this.giftMessageTo = value; return this; }
        public String getShippingComment() { return shippingComment; }
        public NAVOrderImport setShippingComment(String value) { this.shippingComment = value; return this; }
        public NAVOrderImportAddress getShippingAddress() { return shippingAddress; }
        public NAVOrderImport setShippingAddress(NAVOrderImportAddress value) { this.shippingAddress = value; return this; }
        public ArrayList<NAVOrderImportSku> getOrderSkus() { return orderSkus; }
        public NAVOrderImport setOrderSkus(ArrayList<NAVOrderImportSku> value) { this.orderSkus = value; return this; }
        public ArrayList<NAVOrderImportPayment> getOrderPayments() { return orderPayments; }
        public NAVOrderImport setOrderPayments(ArrayList<NAVOrderImportPayment> value) { this.orderPayments = value; return this; }
        public ArrayList<NAVOrderImportFee> getOrderFees() { return orderFees; }
        public NAVOrderImport setOrderFees(ArrayList<NAVOrderImportFee> value) { this.orderFees = value; return this; }
        public BigDecimal getSubTotal() { return subTotal; }
        public NAVOrderImport setSubTotal(BigDecimal value) { this.subTotal = value; return this; }
        public BigDecimal getOrderTotal() { return orderTotal; }
        public NAVOrderImport setOrderTotal(BigDecimal value) { this.orderTotal = value; return this; }
        public BigDecimal getShippingCost() { return shippingCost; }
        public NAVOrderImport setShippingCost(BigDecimal value) { this.shippingCost = value; return this; }
        public BigDecimal getTax() { return tax; }
        public NAVOrderImport setTax(BigDecimal value) { this.tax = value; return this; }
        public BigDecimal getShippingTax() { return shippingTax; }
        public NAVOrderImport setShippingTax(BigDecimal value) { this.shippingTax = value; return this; }
        public String getExternalDiscountReason() { return externalDiscountReason; }
        public NAVOrderImport setExternalDiscountReason(String value) { this.externalDiscountReason = value; return this; }
        public BigDecimal getPcLevel() { return pcLevel; }
        public NAVOrderImport setPcLevel(BigDecimal value) { this.pcLevel = value; return this; }
        public String getAgentId() { return agentId; }
        public NAVOrderImport setAgentId(String value) { this.agentId = value; return this; }
        public BigDecimal getNumberOfCustomersServed() { return numberOfCustomersServed; }
        public NAVOrderImport setNumberOfCustomersServed(BigDecimal value) { this.numberOfCustomersServed = value; return this; }
        public String getVersionNumber() { return versionNumber; }
        public NAVOrderImport setVersionNumber(String value) { this.versionNumber = value; return this; }
        public String getVersionYear() { return versionYear; }
        public NAVOrderImport setVersionYear(String value) { this.versionYear = value; return this; }
        public String getAdditionalCode() { return additionalCode; }
        public NAVOrderImport setAdditionalCode(String value) { this.additionalCode = value; return this; }
        public String getDiscountPercent() { return discountPercent; }
        public NAVOrderImport setDiscountPercent(String value) { this.discountPercent = value; return this; }
        public String getTaxRatePercent() { return taxRatePercent; }
        public NAVOrderImport setTaxRatePercent(String value) { this.taxRatePercent = value; return this; }
        public BigDecimal getOrderWithinTimePeriod() { return orderWithinTimePeriod; }
        public NAVOrderImport setOrderWithinTimePeriod(BigDecimal value) { this.orderWithinTimePeriod = value; return this; }
        public String getTaxAreaCode() { return taxAreaCode; }
        public NAVOrderImport setTaxAreaCode(String value) { this.taxAreaCode = value; return this; }
        public String getGeocode() { return geocode; }
        public NAVOrderImport setGeocode(String value) { this.geocode = value; return this; }
        public String getFundraiserId() { return fundraiserId; }
        public NAVOrderImport setFundraiserId(String value) { this.fundraiserId = value; return this; }
        public String getWarehouseCode() { return warehouseCode; }
        public NAVOrderImport setWarehouseCode(String value) { this.warehouseCode = value; return this; }
        public String getOriginalReshipExternalOrderId() { return originalReshipExternalOrderId; }
        public NAVOrderImport setOriginalReshipExternalOrderId(String value) { this.originalReshipExternalOrderId = value; return this; }
        public String getShippedVersionNumber() { return shippedVersionNumber; }
        public NAVOrderImport setShippedVersionNumber(String value) { this.shippedVersionNumber = value; return this; }
        public String getShippedVersionYear() { return shippedVersionYear; }
        public NAVOrderImport setShippedVersionYear(String value) { this.shippedVersionYear = value; return this; }
        public String getMasterOrderId() { return masterOrderId; }
        public NAVOrderImport setMasterOrderId(String value) { this.masterOrderId = value; return this; }
        public String getCouponValue() { return couponValue; }
        public NAVOrderImport setCouponValue(String value) { this.couponValue = value; return this; }
        public String getSalesCenterId() { return salesCenterId; }
        public NAVOrderImport setSalesCenterId(String value) { this.salesCenterId = value; return this; }
        public String getPremierLevel() { return premierLevel; }
        public NAVOrderImport setPremierLevel(String value) { this.premierLevel = value; return this; }
        public BigDecimal getPcLevelCurrentCycle() { return pcLevelCurrentCycle; }
        public NAVOrderImport setPcLevelCurrentCycle(BigDecimal value) { this.pcLevelCurrentCycle = value; return this; }
        public String getPremierLevelCurrentCycle() { return premierLevelCurrentCycle; }
        public NAVOrderImport setPremierLevelCurrentCycle(String value) { this.premierLevelCurrentCycle = value; return this; }
        public String getEmailAddress() { return emailAddress; }
        public NAVOrderImport setEmailAddress(String value) { this.emailAddress = value; return this; }
        public String getPhoneNumber() { return phoneNumber; }
        public NAVOrderImport setPhoneNumber(String value) { this.phoneNumber = value; return this; }
    }

    public static class NAVOrderImportAddress
    {
        public String firstName = null;
        public String lastName = null;
        public String addressLine1 = null;
        public String addressLine2 = null;
        public String addressLine3 = null;
        public String addressLine4 = null;
        public String addressLine5 = null;
        public String city = null;
        public String stateProvinceCode = null;
        public String postalCode = null;
        public String county = null;
        public String countryCode = null;
        
        public String getFirstName() { return firstName; }
        public NAVOrderImportAddress setFirstName(String value) { this.firstName = value; return this; }
        public String getLastName() { return lastName; }
        public NAVOrderImportAddress setLastName(String value) { this.lastName = value; return this; }
        public String getAddressLine1() { return addressLine1; }
        public NAVOrderImportAddress setAddressLine1(String value) { this.addressLine1 = value; return this; }
        public String getAddressLine2() { return addressLine2; }
        public NAVOrderImportAddress setAddressLine2(String value) { this.addressLine2 = value; return this; }
        public String getAddressLine3() { return addressLine3; }
        public NAVOrderImportAddress setAddressLine3(String value) { this.addressLine3 = value; return this; }
        public String getAddressLine4() { return addressLine4; }
        public NAVOrderImportAddress setAddressLine4(String value) { this.addressLine4 = value; return this; }
        public String getAddressLine5() { return addressLine5; }
        public NAVOrderImportAddress setAddressLine5(String value) { this.addressLine5 = value; return this; }
        public String getCity() { return city; }
        public NAVOrderImportAddress setCity(String value) { this.city = value; return this; }
        public String getStateProvinceCode() { return stateProvinceCode; }
        public NAVOrderImportAddress setStateProvinceCode(String value) { this.stateProvinceCode = value; return this; }
        public String getPostalCode() { return postalCode; }
        public NAVOrderImportAddress setPostalCode(String value) { this.postalCode = value; return this; }
        public String getCounty() { return county; }
        public NAVOrderImportAddress setCounty(String value) { this.county = value; return this; }
        public String getCountryCode() { return countryCode; }
        public NAVOrderImportAddress setCountryCode(String value) { this.countryCode = value; return this; }
    }

    public static class NAVOrderImportSku
    {
        public String skuCode = null;
        public Integer orderLineNumber = null;
        public Integer quantity = null;
        public Boolean isAutoShip = null;
        public ArrayList<NAVOrderImportSkuComponent> orderSkuComponents = null;
        public BigDecimal pricePaidPerUnit = null;
        public BigDecimal retailPricePerUnit = null;
        public BigDecimal netPrice = null;
        public BigDecimal netSales = null;
        public BigDecimal submittedNetPrice = null;
        public BigDecimal submittedNetSales = null;
        public BigDecimal manualDiscountAmount = null;
        public BigDecimal itemDiscountPercent = null;
        public BigDecimal taxAmount = null;
        public BigDecimal taxPercentage = null;
        public BigDecimal commissionableValueEarned = null;
        public BigDecimal qualifyingValueEarned = null;
        public BigDecimal qualifyingValueEarnedSubmitted = null;
        public BigDecimal overrideCVEarned = null;
        public BigDecimal overrideCVEarnedSubmitted = null;
        public BigDecimal overrideQVEarned = null;
        public BigDecimal groupCVEarned = null;
        public BigDecimal groupQVEarned = null;
        public BigDecimal uplineCVEarned = null;
        public BigDecimal uplineQVEarned = null;
        public String versionNumber = null;
        public String versionYear = null;
        public String couponCode = null;
        public String substituteIndicator = null;
        public String fulfillmentIndicator = null;
        public String substituteSkuCode = null;
        public String vehicleId = null;
        public String offerId = null;
        public String parentSKUCode = null;
        public BigDecimal buyingDiscount = null;
        public BigDecimal originalOrderQty = null;
        public BigDecimal closedQuantity = null;
        
        public String getSkuCode() { return skuCode; }
        public NAVOrderImportSku setSkuCode(String value) { this.skuCode = value; return this; }
        public Integer getOrderLineNumber() { return orderLineNumber; }
        public NAVOrderImportSku setOrderLineNumber(Integer value) { this.orderLineNumber = value; return this; }
        public Integer getQuantity() { return quantity; }
        public NAVOrderImportSku setQuantity(Integer value) { this.quantity = value; return this; }
        public Boolean getIsAutoShip() { return isAutoShip; }
        public NAVOrderImportSku setIsAutoShip(Boolean value) { this.isAutoShip = value; return this; }
        public ArrayList<NAVOrderImportSkuComponent> getOrderSkuComponents() { return orderSkuComponents; }
        public NAVOrderImportSku setOrderSkuComponents(ArrayList<NAVOrderImportSkuComponent> value) { this.orderSkuComponents = value; return this; }
        public BigDecimal getPricePaidPerUnit() { return pricePaidPerUnit; }
        public NAVOrderImportSku setPricePaidPerUnit(BigDecimal value) { this.pricePaidPerUnit = value; return this; }
        public BigDecimal getRetailPricePerUnit() { return retailPricePerUnit; }
        public NAVOrderImportSku setRetailPricePerUnit(BigDecimal value) { this.retailPricePerUnit = value; return this; }
        public BigDecimal getNetPrice() { return netPrice; }
        public NAVOrderImportSku setNetPrice(BigDecimal value) { this.netPrice = value; return this; }
        public BigDecimal getNetSales() { return netSales; }
        public NAVOrderImportSku setNetSales(BigDecimal value) { this.netSales = value; return this; }
        public BigDecimal getSubmittedNetPrice() { return submittedNetPrice; }
        public NAVOrderImportSku setSubmittedNetPrice(BigDecimal value) { this.submittedNetPrice = value; return this; }
        public BigDecimal getSubmittedNetSales() { return submittedNetSales; }
        public NAVOrderImportSku setSubmittedNetSales(BigDecimal value) { this.submittedNetSales = value; return this; }
        public BigDecimal getManualDiscountAmount() { return manualDiscountAmount; }
        public NAVOrderImportSku setManualDiscountAmount(BigDecimal value) { this.manualDiscountAmount = value; return this; }
        public BigDecimal getItemDiscountPercent() { return itemDiscountPercent; }
        public NAVOrderImportSku setItemDiscountPercent(BigDecimal value) { this.itemDiscountPercent = value; return this; }
        public BigDecimal getTaxAmount() { return taxAmount; }
        public NAVOrderImportSku setTaxAmount(BigDecimal value) { this.taxAmount = value; return this; }
        public BigDecimal getTaxPercentage() { return taxPercentage; }
        public NAVOrderImportSku setTaxPercentage(BigDecimal value) { this.taxPercentage = value; return this; }
        public BigDecimal getCommissionableValueEarned() { return commissionableValueEarned; }
        public NAVOrderImportSku setCommissionableValueEarned(BigDecimal value) { this.commissionableValueEarned = value; return this; }
        public BigDecimal getQualifyingValueEarned() { return qualifyingValueEarned; }
        public NAVOrderImportSku setQualifyingValueEarned(BigDecimal value) { this.qualifyingValueEarned = value; return this; }
        public BigDecimal getQualifyingValueEarnedSubmitted() { return qualifyingValueEarnedSubmitted; }
        public NAVOrderImportSku setQualifyingValueEarnedSubmitted(BigDecimal value) { this.qualifyingValueEarnedSubmitted = value; return this; }
        public BigDecimal getOverrideCVEarned() { return overrideCVEarned; }
        public NAVOrderImportSku setOverrideCVEarned(BigDecimal value) { this.overrideCVEarned = value; return this; }
        public BigDecimal getOverrideCVEarnedSubmitted() { return overrideCVEarnedSubmitted; }
        public NAVOrderImportSku setOverrideCVEarnedSubmitted(BigDecimal value) { this.overrideCVEarnedSubmitted = value; return this; }
        public BigDecimal getOverrideQVEarned() { return overrideQVEarned; }
        public NAVOrderImportSku setOverrideQVEarned(BigDecimal value) { this.overrideQVEarned = value; return this; }
        public BigDecimal getGroupCVEarned() { return groupCVEarned; }
        public NAVOrderImportSku setGroupCVEarned(BigDecimal value) { this.groupCVEarned = value; return this; }
        public BigDecimal getGroupQVEarned() { return groupQVEarned; }
        public NAVOrderImportSku setGroupQVEarned(BigDecimal value) { this.groupQVEarned = value; return this; }
        public BigDecimal getUplineCVEarned() { return uplineCVEarned; }
        public NAVOrderImportSku setUplineCVEarned(BigDecimal value) { this.uplineCVEarned = value; return this; }
        public BigDecimal getUplineQVEarned() { return uplineQVEarned; }
        public NAVOrderImportSku setUplineQVEarned(BigDecimal value) { this.uplineQVEarned = value; return this; }
        public String getVersionNumber() { return versionNumber; }
        public NAVOrderImportSku setVersionNumber(String value) { this.versionNumber = value; return this; }
        public String getVersionYear() { return versionYear; }
        public NAVOrderImportSku setVersionYear(String value) { this.versionYear = value; return this; }
        public String getCouponCode() { return couponCode; }
        public NAVOrderImportSku setCouponCode(String value) { this.couponCode = value; return this; }
        public String getSubstituteIndicator() { return substituteIndicator; }
        public NAVOrderImportSku setSubstituteIndicator(String value) { this.substituteIndicator = value; return this; }
        public String getFulfillmentIndicator() { return fulfillmentIndicator; }
        public NAVOrderImportSku setFulfillmentIndicator(String value) { this.fulfillmentIndicator = value; return this; }
        public String getSubstituteSkuCode() { return substituteSkuCode; }
        public NAVOrderImportSku setSubstituteSkuCode(String value) { this.substituteSkuCode = value; return this; }
        public String getVehicleId() { return vehicleId; }
        public NAVOrderImportSku setVehicleId(String value) { this.vehicleId = value; return this; }
        public String getOfferId() { return offerId; }
        public NAVOrderImportSku setOfferId(String value) { this.offerId = value; return this; }
        public String getParentSKUCode() { return parentSKUCode; }
        public NAVOrderImportSku setParentSKUCode(String value) { this.parentSKUCode = value; return this; }
        public BigDecimal getBuyingDiscount() { return buyingDiscount; }
        public NAVOrderImportSku setBuyingDiscount(BigDecimal value) { this.buyingDiscount = value; return this; }
        public BigDecimal getOriginalOrderQty() { return originalOrderQty; }
        public NAVOrderImportSku setOriginalOrderQty(BigDecimal value) { this.originalOrderQty = value; return this; }
        public BigDecimal getClosedQuantity() { return closedQuantity; }
        public NAVOrderImportSku setClosedQuantity(BigDecimal value) { this.closedQuantity = value; return this; }
    }

    public static class NAVOrderImportSkuComponent
    {
        public Integer parentOrderLineNumber = null;
        public Integer orderLineNumber = null;
        public String skuCode = null;
        public Integer quantity = null;
        public BigDecimal pricePaidPerUnit = null;
        public BigDecimal retailPricePerUnit = null;
        public BigDecimal netPrice = null;
        public BigDecimal taxAmount = null;
        public BigDecimal taxPercentage = null;
        public String versionNumber = null;
        public String versionYear = null;
        public String vehicleId = null;
        public String offerId = null;
        
        public Integer getParentOrderLineNumber() { return parentOrderLineNumber; }
        public NAVOrderImportSkuComponent setParentOrderLineNumber(Integer value) { this.parentOrderLineNumber = value; return this; }
        public Integer getOrderLineNumber() { return orderLineNumber; }
        public NAVOrderImportSkuComponent setOrderLineNumber(Integer value) { this.orderLineNumber = value; return this; }
        public String getSkuCode() { return skuCode; }
        public NAVOrderImportSkuComponent setSkuCode(String value) { this.skuCode = value; return this; }
        public Integer getQuantity() { return quantity; }
        public NAVOrderImportSkuComponent setQuantity(Integer value) { this.quantity = value; return this; }
        public BigDecimal getPricePaidPerUnit() { return pricePaidPerUnit; }
        public NAVOrderImportSkuComponent setPricePaidPerUnit(BigDecimal value) { this.pricePaidPerUnit = value; return this; }
        public BigDecimal getRetailPricePerUnit() { return retailPricePerUnit; }
        public NAVOrderImportSkuComponent setRetailPricePerUnit(BigDecimal value) { this.retailPricePerUnit = value; return this; }
        public BigDecimal getNetPrice() { return netPrice; }
        public NAVOrderImportSkuComponent setNetPrice(BigDecimal value) { this.netPrice = value; return this; }
        public BigDecimal getTaxAmount() { return taxAmount; }
        public NAVOrderImportSkuComponent setTaxAmount(BigDecimal value) { this.taxAmount = value; return this; }
        public BigDecimal getTaxPercentage() { return taxPercentage; }
        public NAVOrderImportSkuComponent setTaxPercentage(BigDecimal value) { this.taxPercentage = value; return this; }
        public String getVersionNumber() { return versionNumber; }
        public NAVOrderImportSkuComponent setVersionNumber(String value) { this.versionNumber = value; return this; }
        public String getVersionYear() { return versionYear; }
        public NAVOrderImportSkuComponent setVersionYear(String value) { this.versionYear = value; return this; }
        public String getVehicleId() { return vehicleId; }
        public NAVOrderImportSkuComponent setVehicleId(String value) { this.vehicleId = value; return this; }
        public String getOfferId() { return offerId; }
        public NAVOrderImportSkuComponent setOfferId(String value) { this.offerId = value; return this; }
    }

    public static class NAVOrderImportPayment
    {
        public String paymentType = null;
        public String paymentIdentifier1 = null;
        public String paymentIdentifier2 = null;
        public String paymentIdentifier3 = null;
        public String paymentIdentifier4 = null;
        public String paymentIdentifier5 = null;
        public String paymentToken = null;
        public Date authorizationTime = null;
        public String authorizationCode = null;
        public String transactionId = null;
        public BigDecimal amountCharged = null;
        public NAVOrderImportAddress billingAddress = null;
        
        public String getPaymentType() { return paymentType; }
        public NAVOrderImportPayment setPaymentType(String value) { this.paymentType = value; return this; }
        public String getPaymentIdentifier1() { return paymentIdentifier1; }
        public NAVOrderImportPayment setPaymentIdentifier1(String value) { this.paymentIdentifier1 = value; return this; }
        public String getPaymentIdentifier2() { return paymentIdentifier2; }
        public NAVOrderImportPayment setPaymentIdentifier2(String value) { this.paymentIdentifier2 = value; return this; }
        public String getPaymentIdentifier3() { return paymentIdentifier3; }
        public NAVOrderImportPayment setPaymentIdentifier3(String value) { this.paymentIdentifier3 = value; return this; }
        public String getPaymentIdentifier4() { return paymentIdentifier4; }
        public NAVOrderImportPayment setPaymentIdentifier4(String value) { this.paymentIdentifier4 = value; return this; }
        public String getPaymentIdentifier5() { return paymentIdentifier5; }
        public NAVOrderImportPayment setPaymentIdentifier5(String value) { this.paymentIdentifier5 = value; return this; }
        public String getPaymentToken() { return paymentToken; }
        public NAVOrderImportPayment setPaymentToken(String value) { this.paymentToken = value; return this; }
        public Date getAuthorizationTime() { return authorizationTime; }
        public NAVOrderImportPayment setAuthorizationTime(Date value) { this.authorizationTime = value; return this; }
        public String getAuthorizationCode() { return authorizationCode; }
        public NAVOrderImportPayment setAuthorizationCode(String value) { this.authorizationCode = value; return this; }
        public String getTransactionId() { return transactionId; }
        public NAVOrderImportPayment setTransactionId(String value) { this.transactionId = value; return this; }
        public BigDecimal getAmountCharged() { return amountCharged; }
        public NAVOrderImportPayment setAmountCharged(BigDecimal value) { this.amountCharged = value; return this; }
        public NAVOrderImportAddress getBillingAddress() { return billingAddress; }
        public NAVOrderImportPayment setBillingAddress(NAVOrderImportAddress value) { this.billingAddress = value; return this; }
    }

    public static class NAVOrderImportFee
    {
        public String feeSystemKeyword = null;
        public BigDecimal feeAmount = null;
        public BigDecimal taxAmount = null;
        public BigDecimal feeTotal = null;
        
        public String getFeeSystemKeyword() { return feeSystemKeyword; }
        public NAVOrderImportFee setFeeSystemKeyword(String value) { this.feeSystemKeyword = value; return this; }
        public BigDecimal getFeeAmount() { return feeAmount; }
        public NAVOrderImportFee setFeeAmount(BigDecimal value) { this.feeAmount = value; return this; }
        public BigDecimal getTaxAmount() { return taxAmount; }
        public NAVOrderImportFee setTaxAmount(BigDecimal value) { this.taxAmount = value; return this; }
        public BigDecimal getFeeTotal() { return feeTotal; }
        public NAVOrderImportFee setFeeTotal(BigDecimal value) { this.feeTotal = value; return this; }
    }

    public static class NAVOrderImportResponse
    {
        public ResponseStatus responseStatus = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public NAVOrderImportResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

}

Java NAVOrderImport DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /orders HTTP/1.1 
Host: extensions.avon.ca 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"externalOrderId":"String","orderTypeId":"String","createdDateUTC":"0001-01-01T00:00:00.0000000","submittedDateUTC":"0001-01-01T00:00:00.0000000","beeNumberCustomer":0,"beeNumberPayee":0,"orderSource":"String","shippingMethod":"String","giftMessage":"String","giftMessageFrom":"String","giftMessageTo":"String","shippingComment":"String","shippingAddress":{"firstName":"String","lastName":"String","addressLine1":"String","addressLine2":"String","addressLine3":"String","addressLine4":"String","addressLine5":"String","city":"String","stateProvinceCode":"String","postalCode":"String","county":"String","countryCode":"String"},"orderSkus":[{"skuCode":"String","orderLineNumber":0,"quantity":0,"isAutoShip":false,"orderSkuComponents":[{"parentOrderLineNumber":0,"orderLineNumber":0,"skuCode":"String","quantity":0,"pricePaidPerUnit":0,"retailPricePerUnit":0,"netPrice":0,"taxAmount":0,"taxPercentage":0,"versionNumber":"String","versionYear":"String","vehicleId":"String","offerId":"String"}],"pricePaidPerUnit":0,"retailPricePerUnit":0,"netPrice":0,"netSales":0,"submittedNetPrice":0,"submittedNetSales":0,"manualDiscountAmount":0,"itemDiscountPercent":0,"taxAmount":0,"taxPercentage":0,"commissionableValueEarned":0,"qualifyingValueEarned":0,"qualifyingValueEarnedSubmitted":0,"overrideCVEarned":0,"overrideCVEarnedSubmitted":0,"overrideQVEarned":0,"groupCVEarned":0,"groupQVEarned":0,"uplineCVEarned":0,"uplineQVEarned":0,"versionNumber":"String","versionYear":"String","couponCode":"String","substituteIndicator":"String","fulfillmentIndicator":"String","substituteSkuCode":"String","vehicleId":"String","offerId":"String","parentSKUCode":"String","buyingDiscount":0,"originalOrderQty":0,"closedQuantity":0}],"orderPayments":[{"paymentType":"String","paymentIdentifier1":"String","paymentIdentifier2":"String","paymentIdentifier3":"String","paymentIdentifier4":"String","paymentIdentifier5":"String","paymentToken":"String","authorizationTime":"0001-01-01T00:00:00.0000000","authorizationCode":"String","transactionId":"String","amountCharged":0,"billingAddress":{"firstName":"String","lastName":"String","addressLine1":"String","addressLine2":"String","addressLine3":"String","addressLine4":"String","addressLine5":"String","city":"String","stateProvinceCode":"String","postalCode":"String","county":"String","countryCode":"String"}}],"orderFees":[{"feeSystemKeyword":"String","feeAmount":0,"taxAmount":0,"feeTotal":0}],"subTotal":0,"orderTotal":0,"shippingCost":0,"tax":0,"shippingTax":0,"externalDiscountReason":"String","pcLevel":0,"agentId":"String","numberOfCustomersServed":0,"versionNumber":"String","versionYear":"String","additionalCode":"String","discountPercent":"String","taxRatePercent":"String","orderWithinTimePeriod":0,"taxAreaCode":"String","geocode":"String","fundraiserId":"String","warehouseCode":"String","originalReshipExternalOrderId":"String","shippedVersionNumber":"String","shippedVersionYear":"String","masterOrderId":"String","couponValue":"String","salesCenterId":"String","premierLevel":"String","pcLevelCurrentCycle":0,"premierLevelCurrentCycle":"String","emailAddress":"String","phoneNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}