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; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<NAVOrderImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAV.ServiceModel">
<AdditionalCode>String</AdditionalCode>
<AgentId>String</AgentId>
<BeeNumberCustomer>0</BeeNumberCustomer>
<BeeNumberPayee>0</BeeNumberPayee>
<CouponValue>String</CouponValue>
<CreatedDateUTC>0001-01-01T00:00:00</CreatedDateUTC>
<DiscountPercent>String</DiscountPercent>
<EmailAddress>String</EmailAddress>
<ExternalDiscountReason>String</ExternalDiscountReason>
<ExternalOrderId>String</ExternalOrderId>
<FundraiserId>String</FundraiserId>
<Geocode>String</Geocode>
<GiftMessage>String</GiftMessage>
<GiftMessageFrom>String</GiftMessageFrom>
<GiftMessageTo>String</GiftMessageTo>
<MasterOrderId>String</MasterOrderId>
<NumberOfCustomersServed>0</NumberOfCustomersServed>
<OrderFees>
<NAVOrderImportFee>
<FeeAmount>0</FeeAmount>
<FeeSystemKeyword>String</FeeSystemKeyword>
<FeeTotal>0</FeeTotal>
<TaxAmount>0</TaxAmount>
</NAVOrderImportFee>
</OrderFees>
<OrderPayments>
<NAVOrderImportPayment>
<AmountCharged>0</AmountCharged>
<AuthorizationCode>String</AuthorizationCode>
<AuthorizationTime>0001-01-01T00:00:00</AuthorizationTime>
<BillingAddress>
<AddressLine1>String</AddressLine1>
<AddressLine2>String</AddressLine2>
<AddressLine3>String</AddressLine3>
<AddressLine4>String</AddressLine4>
<AddressLine5>String</AddressLine5>
<City>String</City>
<CountryCode>String</CountryCode>
<County>String</County>
<FirstName>String</FirstName>
<LastName>String</LastName>
<PostalCode>String</PostalCode>
<StateProvinceCode>String</StateProvinceCode>
</BillingAddress>
<PaymentIdentifier1>String</PaymentIdentifier1>
<PaymentIdentifier2>String</PaymentIdentifier2>
<PaymentIdentifier3>String</PaymentIdentifier3>
<PaymentIdentifier4>String</PaymentIdentifier4>
<PaymentIdentifier5>String</PaymentIdentifier5>
<PaymentToken>String</PaymentToken>
<PaymentType>String</PaymentType>
<TransactionId>String</TransactionId>
</NAVOrderImportPayment>
</OrderPayments>
<OrderSkus>
<NAVOrderImportSku>
<BuyingDiscount>0</BuyingDiscount>
<ClosedQuantity>0</ClosedQuantity>
<CommissionableValueEarned>0</CommissionableValueEarned>
<CouponCode>String</CouponCode>
<FulfillmentIndicator>String</FulfillmentIndicator>
<GroupCVEarned>0</GroupCVEarned>
<GroupQVEarned>0</GroupQVEarned>
<IsAutoShip>false</IsAutoShip>
<ItemDiscountPercent>0</ItemDiscountPercent>
<ManualDiscountAmount>0</ManualDiscountAmount>
<NetPrice>0</NetPrice>
<NetSales>0</NetSales>
<OfferId>String</OfferId>
<OrderLineNumber>0</OrderLineNumber>
<OrderSkuComponents>
<NAVOrderImportSkuComponent>
<NetPrice>0</NetPrice>
<OfferId>String</OfferId>
<OrderLineNumber>0</OrderLineNumber>
<ParentOrderLineNumber>0</ParentOrderLineNumber>
<PricePaidPerUnit>0</PricePaidPerUnit>
<Quantity>0</Quantity>
<RetailPricePerUnit>0</RetailPricePerUnit>
<SkuCode>String</SkuCode>
<TaxAmount>0</TaxAmount>
<TaxPercentage>0</TaxPercentage>
<VehicleId>String</VehicleId>
<VersionNumber>String</VersionNumber>
<VersionYear>String</VersionYear>
</NAVOrderImportSkuComponent>
</OrderSkuComponents>
<OriginalOrderQty>0</OriginalOrderQty>
<OverrideCVEarned>0</OverrideCVEarned>
<OverrideCVEarnedSubmitted>0</OverrideCVEarnedSubmitted>
<OverrideQVEarned>0</OverrideQVEarned>
<ParentSKUCode>String</ParentSKUCode>
<PricePaidPerUnit>0</PricePaidPerUnit>
<QualifyingValueEarned>0</QualifyingValueEarned>
<QualifyingValueEarnedSubmitted>0</QualifyingValueEarnedSubmitted>
<Quantity>0</Quantity>
<RetailPricePerUnit>0</RetailPricePerUnit>
<SkuCode>String</SkuCode>
<SubmittedNetPrice>0</SubmittedNetPrice>
<SubmittedNetSales>0</SubmittedNetSales>
<SubstituteIndicator>String</SubstituteIndicator>
<SubstituteSkuCode>String</SubstituteSkuCode>
<TaxAmount>0</TaxAmount>
<TaxPercentage>0</TaxPercentage>
<UplineCVEarned>0</UplineCVEarned>
<UplineQVEarned>0</UplineQVEarned>
<VehicleId>String</VehicleId>
<VersionNumber>String</VersionNumber>
<VersionYear>String</VersionYear>
</NAVOrderImportSku>
</OrderSkus>
<OrderSource>String</OrderSource>
<OrderTotal>0</OrderTotal>
<OrderTypeId>String</OrderTypeId>
<OrderWithinTimePeriod>0</OrderWithinTimePeriod>
<OriginalReshipExternalOrderId>String</OriginalReshipExternalOrderId>
<PCLevel>0</PCLevel>
<PCLevelCurrentCycle>0</PCLevelCurrentCycle>
<PhoneNumber>String</PhoneNumber>
<PremierLevel>String</PremierLevel>
<PremierLevelCurrentCycle>String</PremierLevelCurrentCycle>
<SalesCenterId>String</SalesCenterId>
<ShippedVersionNumber>String</ShippedVersionNumber>
<ShippedVersionYear>String</ShippedVersionYear>
<ShippingAddress>
<AddressLine1>String</AddressLine1>
<AddressLine2>String</AddressLine2>
<AddressLine3>String</AddressLine3>
<AddressLine4>String</AddressLine4>
<AddressLine5>String</AddressLine5>
<City>String</City>
<CountryCode>String</CountryCode>
<County>String</County>
<FirstName>String</FirstName>
<LastName>String</LastName>
<PostalCode>String</PostalCode>
<StateProvinceCode>String</StateProvinceCode>
</ShippingAddress>
<ShippingComment>String</ShippingComment>
<ShippingCost>0</ShippingCost>
<ShippingMethod>String</ShippingMethod>
<ShippingTax>0</ShippingTax>
<SubTotal>0</SubTotal>
<SubmittedDateUTC>0001-01-01T00:00:00</SubmittedDateUTC>
<Tax>0</Tax>
<TaxAreaCode>String</TaxAreaCode>
<TaxRatePercent>String</TaxRatePercent>
<VersionNumber>String</VersionNumber>
<VersionYear>String</VersionYear>
<WarehouseCode>String</WarehouseCode>
</NAVOrderImport>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <NAVOrderImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAV.ServiceModel"> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> </NAVOrderImportResponse>