package com.bcxin.api.interfaces.identities.requests;

import com.bcxin.api.interfaces.RequestAbstract;
import lombok.Getter;

@Getter
public class BindWechatRequest extends RequestAbstract {
    private final String openId;
    private final String nicky;
    private final String unionId;

    public BindWechatRequest(String openId, String nicky, String unionId) {
        this.nicky = nicky;
        this.openId = openId;
        this.unionId = unionId;
    }

    public static BindWechatRequest create(String openId, String nicky, String unionId) {

        return new BindWechatRequest(openId, nicky, unionId);
    }
}
