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

com.checkout.payments.previous.request.source.apm.RequestPayPalSource Maven / Gradle / Ivy

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