public class ProductsStub extends com.vmware.vapi.internal.bindings.Stub implements Products
Products
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ProductsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProductsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SubscriptionProducts> |
list(java.lang.String org)
List of all the products that are available for purchase.
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<SubscriptionProducts>> asyncCallback)
List of all the products that are available for purchase.
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<SubscriptionProducts>> asyncCallback,
InvocationConfig invocationConfig)
List of all the products that are available for purchase.
|
java.util.List<SubscriptionProducts> |
list(java.lang.String org,
InvocationConfig invocationConfig)
List of all the products that are available for purchase.
|
public ProductsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ProductsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<SubscriptionProducts> list(java.lang.String org)
Products
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<SubscriptionProducts> list(java.lang.String org, InvocationConfig invocationConfig)
Products
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(java.lang.String org, AsyncCallback<java.util.List<SubscriptionProducts>> asyncCallback)
Products
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
InternalServerError
- Internal server error
public void list(java.lang.String org, AsyncCallback<java.util.List<SubscriptionProducts>> asyncCallback, InvocationConfig invocationConfig)
Products
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
InternalServerError
- Internal server error