com.checkout.payments.request.source.apm.RequestGiropaySource 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.request.source.apm;
import com.checkout.common.PaymentSourceType;
import com.checkout.payments.request.source.AbstractRequestSource;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import java.util.List;
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class RequestGiropaySource extends AbstractRequestSource {
/**
* @deprecated GiroPay doesn't support this field anymore, will be removed in the future
*/
@Deprecated
private String purpose;
/**
* @deprecated GiroPay doesn't support this field anymore, will be removed in the future
*/
@Deprecated
@SerializedName("info_fields")
private List infoFields;
@Builder
private RequestGiropaySource(final String purpose,
final List infoFields) {
super(PaymentSourceType.GIROPAY);
this.purpose = purpose;
this.infoFields = infoFields;
}
public RequestGiropaySource() {
super(PaymentSourceType.GIROPAY);
}
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public static class InfoFields {
private String label;
private String text;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy