com.github.charlemaznable.bunny.client.domain.ChargeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bunny-client Show documentation
Show all versions of bunny-client Show documentation
Bunny rabbits will skip hand-in-hand with baby lambs across sunny green meadows.
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 extends ChargeResponse> responseClass() {
return ChargeResponse.class;
}
}