io.sphere.sdk.payments.commands.updateactions.SetStatusInterfaceText Maven / Gradle / Ivy
package io.sphere.sdk.payments.commands.updateactions;
import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.payments.Payment;
import javax.annotation.Nullable;
/**
* Sets a text, given by the PSP, that describes the current status.
*
* {@doc.gen intro}
*
* {@include.example io.sphere.sdk.payments.commands.PaymentUpdateCommandTest#setStatusInterfaceText()}
*
* @see Payment
*/
public class SetStatusInterfaceText extends UpdateActionImpl {
@Nullable
private final String interfaceText;
private SetStatusInterfaceText(@Nullable final String interfaceText) {
super("setStatusInterfaceText");
this.interfaceText = interfaceText;
}
public static SetStatusInterfaceText of(@Nullable final String interfaceText) {
return new SetStatusInterfaceText(interfaceText);
}
@Nullable
public String getinterfaceText() {
return interfaceText;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy