package com.bytedance.globalpayment.iap.model;

import com.bytedance.covode.number.Covode;

public class AckStrategy {
    public long mAutoAckAfterUploadTokenInMs;
    public boolean mNeedAckAfterSuccessQuery;

    static {
        Covode.recordClassIndex(27112);
    }

    public long getAutoAckAfterUploadTokenInMs() {
        return this.mAutoAckAfterUploadTokenInMs;
    }

    public boolean isNeedAckAfterSuccessQuery() {
        return this.mNeedAckAfterSuccessQuery;
    }

    public AckStrategy setAutoAckAfterUploadTokenInMs(long j) {
        this.mAutoAckAfterUploadTokenInMs = j;
        return this;
    }

    public AckStrategy setNeedAckAfterSuccessQuery(boolean z) {
        this.mNeedAckAfterSuccessQuery = z;
        return this;
    }

    public AckStrategy(boolean z, long j) {
        this.mNeedAckAfterSuccessQuery = z;
        this.mAutoAckAfterUploadTokenInMs = j;
    }
}
