jp.gopay.sdk.models.request.refund.RefundCreateData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.request.refund;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.types.MetadataMap;
import jp.gopay.sdk.types.RefundReason;
import java.math.BigInteger;
@SuppressWarnings("FieldCanBeLocal")
public class RefundCreateData {
@SerializedName("amount")
private BigInteger amount;
@SerializedName("currency")
private String currency;
@SerializedName("reason")
private RefundReason reason;
@SerializedName("message")
private String message;
@SerializedName("metadata")
private MetadataMap metadata;
public RefundCreateData(BigInteger amount, String currency, RefundReason reason, String message, MetadataMap metadata) {
this.amount = amount;
this.currency = currency;
this.reason = reason;
this.message = message;
this.metadata = metadata;
}
}