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

com.siftscience.model.OrderStatusFieldSet 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;

public class OrderStatusFieldSet extends BaseAppBrowserSiteBrandFieldSet {
    public static OrderStatusFieldSet fromJson(String json) {
        return gson.fromJson(json, OrderStatusFieldSet.class);
    }

    @Expose @SerializedName("$order_id") private String orderId;
    @Expose @SerializedName("$order_status") private String orderStatus;
    @Expose @SerializedName("$reason") private String reason;
    @Expose @SerializedName("$source") private String source;
    @Expose @SerializedName("$analyst") private String analyst;
    @Expose @SerializedName("$webhook_id") private String webhookId;
    @Expose @SerializedName("$description") private String description;

    @Override
    public String getEventType() {
        return "$order_status";
    }

    public String getOrderId() {
        return orderId;
    }

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

    public String getOrderStatus() {
        return orderStatus;
    }

    public OrderStatusFieldSet setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public String getReason() {
        return reason;
    }

    public OrderStatusFieldSet setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getSource() {
        return source;
    }

    public OrderStatusFieldSet setSource(String source) {
        this.source = source;
        return this;
    }

    public String getAnalyst() {
        return analyst;
    }

    public OrderStatusFieldSet setAnalyst(String analyst) {
        this.analyst = analyst;
        return this;
    }

    public String getWebhookId() {
        return webhookId;
    }

    public OrderStatusFieldSet setWebhookId(String webhookId) {
        this.webhookId = webhookId;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public OrderStatusFieldSet setDescription(String description) {
        this.description = description;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy