jp.gopay.sdk.models.response.webhook.Webhook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.response.webhook;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.MerchantId;
import jp.gopay.sdk.models.common.StoreId;
import jp.gopay.sdk.models.common.WebhookId;
import jp.gopay.sdk.models.response.GoPayResponse;
import jp.gopay.sdk.models.response.SimpleModel;
import jp.gopay.sdk.types.PaymentSystemEvent;
import java.net.URL;
import java.util.Date;
import java.util.List;
import java.util.UUID;
public class Webhook extends GoPayResponse implements SimpleModel {
@SerializedName("id")
private UUID id;
@SerializedName("merchant_id")
private UUID merchantId;
@SerializedName("store_id")
private UUID storeId;
@SerializedName("triggers")
private List triggers;
@SerializedName("url")
private URL url;
@SerializedName("created_on")
private Date createdOn;
@SerializedName("updated_on")
private Date updatedOn;
public WebhookId getId() {
return new WebhookId(id);
}
public MerchantId getMerchantId() {
return new MerchantId(merchantId);
}
public StoreId getStoreId() {
return new StoreId(storeId);
}
public List getTriggers() {
return triggers;
}
public URL getUrl() {
return url;
}
public Date getCreatedOn() {
return createdOn;
}
public Date getUpdatedOn() {
return updatedOn;
}
}