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

com.checkout.payments.response.destination.PaymentResponseAlternativeDestination Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.payments.response.destination;

import com.checkout.common.CheckoutUtils;
import com.checkout.payments.PaymentDestinationType;
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 PaymentResponseAlternativeDestination extends HashMap implements PaymentResponseDestination {

    @Override
    public PaymentDestinationType getType() {
        return EnumUtils.getEnumIgnoreCase(PaymentDestinationType.class, (String) get(CheckoutUtils.TYPE));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy