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

com.checkout.payments.previous.response.source.AlternativePaymentSourceResponse Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
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