com.mozu.api.contracts.pricingruntime.AppliedOrderShippingDiscount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.pricingruntime;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.pricingruntime.Discount;
/**
* The discount applied to the order's shipping cost.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class AppliedOrderShippingDiscount implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* The coupon code that a shopper uses to redeem an associated discount on a purchase. This is also the unique identifier of the coupon itself.
*/
protected String couponCode;
public String getCouponCode() {
return this.couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
/**
* The unique identifier of the coupon set for the discount applied to the order's shipping cost.
*/
protected Integer couponSetId;
public Integer getCouponSetId() {
return this.couponSetId;
}
public void setCouponSetId(Integer couponSetId) {
this.couponSetId = couponSetId;
}
/**
* The value of the discount applied to the cart or order, represented as a negative currency amount to apply to the original price.
*/
protected Double impact;
public Double getImpact() {
return this.impact;
}
public void setImpact(Double impact) {
this.impact = impact;
}
/**
* The code associated with a carrier's shipping method service type, used during fulfillment of packages and shipments. Service type codes include a prefix that indicates the carrier. For example: FEDEX_INTERNATIONAL_STANDARD and UPS_GROUND.If using a custom rate, this property corresponds to the field in when you navigate to > > , and then click on an existing rate or on .
*/
protected String shippingMethodCode;
public String getShippingMethodCode() {
return this.shippingMethodCode;
}
public void setShippingMethodCode(String shippingMethodCode) {
this.shippingMethodCode = shippingMethodCode;
}
/**
* Name of the discount added and applied to a shopping cart and order for a shopper's purchase.
*/
protected Discount discount;
public Discount getDiscount() {
return this.discount;
}
public void setDiscount(Discount discount) {
this.discount = discount;
}
}