com.univapay.sdk.models.response.merchant.CardTransactionData Maven / Gradle / Ivy
The newest version!
package com.univapay.sdk.models.response.merchant;
import com.univapay.sdk.types.CardBrand;
import com.univapay.sdk.types.Gateway;
public class CardTransactionData extends PaymentTransactionData {
private final String cardHolderName;
CardTransactionData(String cardHolderName, Gateway gateway, String brand) {
super(gateway, brand);
this.cardHolderName = cardHolderName;
}
public String getCardHolderName() {
return cardHolderName;
}
public CardBrand getCardBrand() {
return getBrand();
}
@Override
public CardBrand getBrand() {
return CardBrand.forBrandName(this.brand);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy