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

com.checkout.sessions.source.SessionsRequestIdSource 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 lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

@Getter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class SessionsRequestIdSource extends SessionSource {

    private String id;

    @Builder
    private SessionsRequestIdSource(final String id,
                                    final SessionScheme scheme,
                                    final SessionAddress billingAddress,
                                    final Phone homePhone,
                                    final Phone mobilePhone,
                                    final Phone workPhone,
                                    final String email) {
        super(SessionSourceType.ID, scheme, billingAddress, homePhone, mobilePhone, workPhone, email);
        this.id = id;
    }

    public SessionsRequestIdSource() {
        super(SessionSourceType.ID);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy