com.checkout.sessions.source.SessionSource 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.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