io.sphere.sdk.payments.queries.PaymentByKeyGet Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasByKeyGetEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasByKeyGetEndpoint.
in the source class io.sphere.sdk.payments.Payment.
To render this class the handlebars template 'queries/byFieldGetInterface.hbs' has been used.
*/
package io.sphere.sdk.payments.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.payments.Payment;
import io.sphere.sdk.payments.expansion.PaymentExpansionModel;
import io.sphere.sdk.models.Identifiable;
import java.util.List;
/**
* Retrieves a payment by a known key.
{@include.example io.sphere.sdk.payments.queries.PaymentByKeyGetIntegrationTest#execution() }
*/
public interface PaymentByKeyGet extends MetaModelGetDsl> {
static PaymentByKeyGet of(final String key) {
return new PaymentByKeyGetImpl(key);
}
@Override
List> expansionPaths();
@Override
PaymentByKeyGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
PaymentByKeyGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
PaymentByKeyGet withExpansionPaths(final List> expansionPaths);
}