com.checkout.issuing.cards.requests.create.CardRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.issuing.cards.requests.create;
import com.checkout.issuing.cards.CardType;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
@Data
public abstract class CardRequest {
private final CardType type;
@SerializedName("cardholder_id")
private String cardholderId;
private CardLifetime lifetime;
private String reference;
@SerializedName("card_product_id")
private String cardProductId;
@SerializedName("display_name")
private String displayName;
@SerializedName("activate_card")
private Boolean activateCard;
protected CardRequest(final CardType type,
final String cardholderId,
final CardLifetime lifetime,
final String reference,
final String cardProductId,
final String displayName,
final Boolean activateCard) {
this.type = type;
this.cardholderId = cardholderId;
this.lifetime = lifetime;
this.reference = reference;
this.cardProductId = cardProductId;
this.displayName = displayName;
this.activateCard = activateCard;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy