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

jp.gopay.sdk.models.response.merchant.Merchant Maven / Gradle / Ivy

package jp.gopay.sdk.models.response.merchant;

import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.MerchantId;
import jp.gopay.sdk.models.common.VerificationDataId;
import jp.gopay.sdk.models.response.GoPayResponse;
import jp.gopay.sdk.models.response.SimpleModel;

import java.util.Date;
import java.util.UUID;

public class Merchant extends GoPayResponse implements SimpleModel {

    @SerializedName("id")
    private UUID merchantId;

    @SerializedName("verification_data_id")
    private UUID verificationDataId;

    @SerializedName("name")
    private String name;

    @SerializedName("email")
    private String email;

    @SerializedName("verified")
    private Boolean verified;

    @SerializedName("created_on")
    private Date createdOn;

    public MerchantId getMerchantId() {
        return new MerchantId(merchantId);
    }

    public VerificationDataId getVerificationDataId() {
        return new VerificationDataId(verificationDataId);
    }

    public String getName() {
        return name;
    }

    public String getEmail() {
        return email;
    }

    public Boolean getVerified() {
        return verified;
    }

    public Date getCreatedOn() {
        return createdOn;
    }

    @Override
    public MerchantId getId() {
        return new MerchantId(merchantId);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy