All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.siftscience.model.Discount Maven / Gradle / Ivy

The newest version!
package com.siftscience.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class Discount {
    @Expose @SerializedName("$percentage_off") private Double percentageOff;
    @Expose @SerializedName("$amount") private Long amount;
    @Expose @SerializedName("$currency_code") private String currencyCode;
    @Expose @SerializedName("$minimum_purchase_amount") private Long minimumPurchaseAmount;

    public Double getPercentageOff() {
        return percentageOff;
    }

    public Discount setPercentageOff(Double percentageOff) {
        this.percentageOff = percentageOff;
        return this;
    }

    public Long getAmount() {
        return amount;
    }

    public Discount setAmount(Long amount) {
        this.amount = amount;
        return this;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public Discount setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
        return this;
    }

    public Long getMinimumPurchaseAmount() {
        return minimumPurchaseAmount;
    }

    public Discount setMinimumPurchaseAmount(Long minimumPurchaseAmount) {
        this.minimumPurchaseAmount = minimumPurchaseAmount;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy