io.sphere.sdk.payments.PaymentStatus Maven / Gradle / Ivy
package io.sphere.sdk.payments;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.states.State;
import javax.annotation.Nullable;
/**
@see PaymentStatusBuilder
*/
public final class PaymentStatus extends Base {
@Nullable
private final String interfaceCode;
@Nullable
private final String interfaceText;
@Nullable
private final Reference state;
@JsonCreator
PaymentStatus(@Nullable final String interfaceCode, @Nullable final String interfaceText, @Nullable final Reference state) {
this.interfaceCode = interfaceCode;
this.interfaceText = interfaceText;
this.state = state;
}
@Nullable
public String getInterfaceCode() {
return interfaceCode;
}
@Nullable
public String getInterfaceText() {
return interfaceText;
}
@Nullable
public Reference getState() {
return state;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy