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

io.sphere.sdk.payments.commands.updateactions.SetStatusInterfaceText Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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