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

com.univapay.sdk.models.response.transactiontoken.TemporaryTransactionToken Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show newest version
package com.univapay.sdk.models.response.transactiontoken;

import com.google.gson.annotations.SerializedName;
import com.univapay.sdk.types.MetadataMap;
import com.univapay.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