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

com.github.charlemaznable.bunny.client.domain.ChargeRequest Maven / Gradle / Ivy

package com.github.charlemaznable.bunny.client.domain;

import lombok.Getter;
import lombok.Setter;

/**
 * 充值接口 请求
 */
@Getter
@Setter
public class ChargeRequest extends BunnyBaseRequest {

    /**
     * 充值计量, 表示需充值服务的计量, 如短信条数/流量数值
     */
    private int chargeValue;

    public ChargeRequest() {
        this.bunnyAddress = BunnyAddress.CHARGE;
    }

    @Override
    public Class responseClass() {
        return ChargeResponse.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy