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

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

There is a newer version: 3.16.0
Show newest version
package com.siftscience.model;

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

import java.util.List;

public abstract class BaseOrderFieldSet>
        extends BaseAppBrowserFieldSet {
    @Expose @SerializedName("$order_id") private String orderId;
    @Expose @SerializedName("$user_email") private String userEmail;
    @Expose @SerializedName("$amount") private Long amount;
    @Expose @SerializedName("$currency_code") private String currencyCode;
    @Expose @SerializedName("$billing_address") private Address billingAddress;
    @Expose @SerializedName("$shipping_address") private Address shippingAddress;
    @Expose @SerializedName("$payment_methods") private List paymentMethods;
    @Expose @SerializedName("$expedited_shipping") private Boolean expeditedShipping;
    @Expose @SerializedName("$items") private List items;
    @Expose @SerializedName("$seller_user_id") private String sellerUserId;
    @Expose @SerializedName("$promotions") private List promotions;
    @Expose @SerializedName("$shipping_method") private String shippingMethod;

    public String getOrderId() {
        return orderId;
    }

    public T setOrderId(String orderId) {
        this.orderId = orderId;
        return (T) this;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public T setUserEmail(String userEmail) {
        this.userEmail = userEmail;
        return (T) this;
    }

    public Long getAmount() {
        return amount;
    }

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

    public String getCurrencyCode() {
        return currencyCode;
    }

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

    public Boolean getExpeditedShipping() {
        return expeditedShipping;
    }

    public T setExpeditedShipping(Boolean expeditedShipping) {
        this.expeditedShipping = expeditedShipping;
        return (T) this;
    }

    public Address getBillingAddress() {
        return billingAddress;
    }

    public T setBillingAddress(Address billingAddress) {
        this.billingAddress = billingAddress;
        return (T) this;
    }

    public Address getShippingAddress() {
        return shippingAddress;
    }

    public T setShippingAddress(Address shippingAddress) {
        this.shippingAddress = shippingAddress;
        return (T) this;
    }

    public List getPaymentMethods() {
        return paymentMethods;
    }

    public T setPaymentMethods(List paymentMethods) {
        this.paymentMethods = paymentMethods;
        return (T) this;
    }

    public Boolean isExpeditedShipping() {
        return expeditedShipping;
    }

    public List getItems() {
        return items;
    }

    public T setItems(List items) {
        this.items = items;
        return (T) this;
    }

    public String getSellerUserId() {
        return sellerUserId;
    }

    public T setSellerUserId(String sellerUserId) {
        this.sellerUserId = sellerUserId;
        return (T) this;
    }

    public List getPromotions() {
        return promotions;
    }

    public T setPromotions(List promotions) {
        this.promotions = promotions;
        return (T) this;
    }

    public String getShippingMethod() {
        return shippingMethod;
    }

    public T setShippingMethod(String shippingMethod) {
        this.shippingMethod = shippingMethod;
        return (T) this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy