io.sphere.sdk.payments.commands.updateactions.SetMethodInfoInterface Maven / Gradle / Ivy
package io.sphere.sdk.payments.commands.updateactions;
import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.payments.Payment;
/**
* Sets the interface that handles the payment (usually a PSP). Can not be changed once it has been set. The combination of interfaceId and paymentMethodInfo.paymentInterface must be unique.
*
* {@doc.gen intro}
*
* {@include.example io.sphere.sdk.payments.commands.PaymentUpdateCommandTest#setMethodInfoInterface()}
*
*
* @see Payment
*
*
*/
public class SetMethodInfoInterface extends UpdateActionImpl {
private final String _interface;//sic! interface is keyword in Java
private SetMethodInfoInterface(final String _interface) {
super("setMethodInfoInterface");
this._interface = _interface;
}
public static SetMethodInfoInterface of(final String _interface) {
return new SetMethodInfoInterface(_interface);
}
public String getInterface() {
return _interface;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy