io.sphere.sdk.payments.commands.PaymentUpdateCommandImpl Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.UpdateCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasUpdateCommand.
in the source class io.sphere.sdk.payments.Payment.
To render this class the handlebars template 'commands/updateCommandImplementation.hbs' has been used.
*/
package io.sphere.sdk.payments.commands;
import io.sphere.sdk.commands.MetaModelUpdateCommandDslBuilder;
import io.sphere.sdk.commands.MetaModelUpdateCommandDslImpl;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.payments.Payment;
import io.sphere.sdk.payments.expansion.PaymentExpansionModel;
import io.sphere.sdk.client.JsonEndpoint;
import java.util.List;
final class PaymentUpdateCommandImpl extends MetaModelUpdateCommandDslImpl> implements PaymentUpdateCommand {
PaymentUpdateCommandImpl(final Versioned versioned, final List extends UpdateAction> updateActions) {
super(versioned, updateActions, JsonEndpoint.of(Payment.typeReference(), "/payments"), PaymentUpdateCommandImpl::new, PaymentExpansionModel.of());
}
PaymentUpdateCommandImpl(final MetaModelUpdateCommandDslBuilder> builder) {
super(builder);
}
}