com.wechat.pay.java.service.certificate.model.EncryptCertificate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
package com.wechat.pay.java.service.certificate.model;
import com.wechat.pay.java.core.util.GsonUtil;
import java.io.Serializable;
public class EncryptCertificate implements Serializable {
private String algorithm;
private String nonce;
private String associatedData;
private String ciphertext;
public String getAlgorithm() {
return algorithm;
}
public void setAlgorithm(String algorithm) {
this.algorithm = algorithm;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public String getAssociatedData() {
return associatedData;
}
public void setAssociatedData(String associatedData) {
this.associatedData = associatedData;
}
public String getCiphertext() {
return ciphertext;
}
public void setCiphertext(String ciphertext) {
this.ciphertext = ciphertext;
}
@Override
public String toString() {
return GsonUtil.getGson().toJson(this);
}
public String getNonce() {
return nonce;
}
}