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

com.checkout.payments.request.source.apm.RequestPostFinanceSource Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.payments.request.source.apm;

import com.checkout.common.CountryCode;
import com.checkout.common.PaymentSourceType;
import com.checkout.payments.request.source.AbstractRequestSource;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class RequestPostFinanceSource extends AbstractRequestSource {

    @SerializedName("payment_country")
    private CountryCode paymentCountry;

    @SerializedName("account_holder_name")
    private String accountHolderName;

    @SerializedName("billing_descriptor")
    private String billingDescriptor;

    @Builder
    private RequestPostFinanceSource(final CountryCode paymentCountry,
                                     final String accountHolderName,
                                     final String billingDescriptor) {
        super(PaymentSourceType.POSTFINANCE);
        this.paymentCountry = paymentCountry;
        this.accountHolderName = accountHolderName;
        this.billingDescriptor = billingDescriptor;
    }

    public RequestPostFinanceSource() {
        super(PaymentSourceType.POSTFINANCE);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy