com.github.charlemaznable.bunny.client.domain.CalculateRequest Maven / Gradle / Ivy
package com.github.charlemaznable.bunny.client.domain;
import lombok.Getter;
import lombok.Setter;
import java.util.Map;
/**
* 计费接口 请求
*/
@Getter
@Setter
public class CalculateRequest extends BunnyBaseRequest {
/**
* 计费参数, 依据服务类型选择计费插件, 由插件解析
*/
private Map chargingParameters;
public CalculateRequest() {
this.bunnyAddress = BunnyAddress.CALCULATE;
}
@Override
public Class extends CalculateResponse> responseClass() {
return CalculateResponse.class;
}
}