com.checkout.payments.previous.response.source.AlternativePaymentSourceResponse 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.payments.previous.response.source;
import com.checkout.common.CheckoutUtils;
import com.checkout.common.PaymentSourceType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.commons.lang3.EnumUtils;
import java.util.HashMap;
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class AlternativePaymentSourceResponse extends HashMap implements ResponseSource {
@Override
public PaymentSourceType getType() {
return EnumUtils.getEnumIgnoreCase(PaymentSourceType.class, (String) get(CheckoutUtils.TYPE));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy