com.checkout.payments.request.source.apm.RequestBancontactSource 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.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 RequestBancontactSource extends AbstractRequestSource {
@SerializedName("payment_country")
private CountryCode paymentCountry;
@SerializedName("account_holder_name")
private String accountHolderName;
@SerializedName("billing_descriptor")
private String billingDescriptor;
private String language;
@Builder
private RequestBancontactSource(final CountryCode paymentCountry,
final String accountHolderName,
final String billingDescriptor,
final String language) {
super(PaymentSourceType.BANCONTACT);
this.paymentCountry = paymentCountry;
this.accountHolderName = accountHolderName;
this.billingDescriptor = billingDescriptor;
this.language = language;
}
public RequestBancontactSource() {
super(PaymentSourceType.BANCONTACT);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy