package com.bcxin.api.interfaces.tenants.responses;

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

@Getter
public class ExternalMemberInviteCodeResponse extends ResponseAbstract {
    private final String code;
    private final int retryIndex;

    public ExternalMemberInviteCodeResponse(String code, int retryIndex) {
        this.code = code;
        this.retryIndex = retryIndex;
    }

    public static ExternalMemberInviteCodeResponse create(String code, int retryIndex) {
        return new ExternalMemberInviteCodeResponse(code, retryIndex);
    }
}
