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

com.checkout.sessions.source.SessionSource Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.sessions.source;

import com.checkout.common.Phone;
import com.checkout.sessions.SessionAddress;
import com.checkout.sessions.SessionScheme;
import com.checkout.sessions.SessionSourceType;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public abstract class SessionSource {

    protected final SessionSourceType type;

    private SessionScheme scheme;

    @SerializedName("billing_address")
    protected SessionAddress billingAddress;

    @SerializedName("home_phone")
    protected Phone homePhone;

    @SerializedName("mobile_phone")
    protected Phone mobilePhone;

    @SerializedName("work_phone")
    protected Phone workPhone;

    protected String email;

    protected SessionSource(final SessionSourceType type) {
        this.type = type;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy