com.checkout.payments.previous.request.source.apm.RequestPayPalSource 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.request.source.apm;
import com.checkout.common.PaymentSourceType;
import com.checkout.payments.previous.request.source.AbstractRequestSource;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Map;
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class RequestPayPalSource extends AbstractRequestSource {
@SerializedName("invoice_number")
private String invoiceNumber;
@SerializedName("recipient_name")
private String recipientName;
@SerializedName("logo_url")
private String logoUrl;
private Map stc;
@Builder
private RequestPayPalSource(final String invoiceNumber,
final String recipientName,
final String logoUrl,
final Map stc) {
super(PaymentSourceType.PAYPAL);
this.invoiceNumber = invoiceNumber;
this.recipientName = recipientName;
this.logoUrl = logoUrl;
this.stc = stc;
}
public RequestPayPalSource() {
super(PaymentSourceType.PAYPAL);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy