com.truelayer.java.payments.entities.paymentdetail.Consent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelayer-java Show documentation
Show all versions of truelayer-java Show documentation
TrueLayer Java SDK for https://truelayer.com
package com.truelayer.java.payments.entities.paymentdetail;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Value;
@Value
@EqualsAndHashCode(callSuper = false)
public class Consent extends AuthorizationFlowAction {
Type type = Type.CONSENT;
SubsequentActionHint subsequentActionHint;
@RequiredArgsConstructor
@Getter
public enum SubsequentActionHint {
REDIRECT("redirect"),
FORM("form");
@JsonValue
private final String subsequentActionHint;
}
}