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

jp.gopay.sdk.models.response.transactiontoken.TemporaryTransactionToken Maven / Gradle / Ivy

package jp.gopay.sdk.models.response.transactiontoken;

import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.types.MetadataMap;
import jp.gopay.sdk.utils.MetadataAdapter;

import java.math.BigInteger;

public class TemporaryTransactionToken extends TransactionToken {

    @SerializedName("alias_metadata")
    private MetadataMap aliasMetadata;

    @SerializedName("amount")
    private BigInteger amount;

    @SerializedName("currency")
    private String currency;

    public BigInteger getAmount() {
        return amount;
    }

    public String getCurrency() {
        return currency;
    }

    public MetadataMap getAliasMetadata() {
        return aliasMetadata;
    }

    public  T getAliasMetadata(MetadataAdapter deserializer) {
        return deserializer.deserialize(aliasMetadata);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy