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

com.univapay.sdk.models.response.applicationtoken.ApplicationJWT Maven / Gradle / Ivy

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

import com.google.gson.annotations.SerializedName;
import com.univapay.sdk.models.common.AppJWTId;
import com.univapay.sdk.models.common.MerchantId;
import com.univapay.sdk.models.response.SimpleModel;
import com.univapay.sdk.models.response.UnivapayResponse;
import java.time.OffsetDateTime;
import java.util.UUID;

public abstract class ApplicationJWT extends UnivapayResponse implements SimpleModel {

  @SerializedName("merchant_id")
  private UUID merchantId;

  @SerializedName("creator_id")
  private UUID creatorId;

  @SerializedName("jti")
  private UUID jti;

  @SerializedName("secret")
  private String secret;

  @SerializedName("jwt")
  private String jwt;

  @SerializedName("created_on")
  private OffsetDateTime createdOn;

  public MerchantId getMerchantId() {
    return new MerchantId(merchantId);
  }

  public MerchantId getCreatorId() {
    return new MerchantId(creatorId);
  }

  public AppJWTId getId() {
    return new AppJWTId(jti);
  }

  public String getSecret() {
    return secret;
  }

  public String getJwt() {
    return jwt;
  }

  public OffsetDateTime getCreatedOn() {
    return createdOn;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy