All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.gopay.sdk.models.request.refund.RefundCreateData Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy