com.riversoft.weixin.pay.payment.wrapper.RefundQueryWrapper Maven / Gradle / Ivy
The newest version!
package com.riversoft.weixin.pay.payment.wrapper;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.riversoft.weixin.pay.payment.bean.RefundQuery;
import java.util.HashMap;
import java.util.Map;
/**
* @author borball on 1/13/2017.
*/
public class RefundQueryWrapper extends BaseSettings{
@JsonUnwrapped
private RefundQuery refundQuery;
@JsonAnySetter
public void set(String name, Object value) {
others.put(name, value);
}
public RefundQuery getRefundQuery() {
return refundQuery;
}
public void setRefundQuery(RefundQuery refundQuery) {
this.refundQuery = refundQuery;
}
protected Map others = new HashMap<>();
public Map getOthers() {
return others;
}
public void setOthers(Map others) {
this.others = others;
}
public void ready(){
this.getRefundQuery().setOthers(this.getOthers());
}
}