public class PaymentMethodsStub extends com.vmware.vapi.internal.bindings.Stub implements PaymentMethods
PaymentMethods
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PaymentMethodsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PaymentMethodsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PaymentMethodInfo> |
getOrgPaymentMethods(java.lang.String org,
java.lang.Boolean defaultFlag)
Get payment methods of organization
|
void |
getOrgPaymentMethods(java.lang.String org,
java.lang.Boolean defaultFlag,
AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback)
Get payment methods of organization
|
void |
getOrgPaymentMethods(java.lang.String org,
java.lang.Boolean defaultFlag,
AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback,
InvocationConfig invocationConfig)
Get payment methods of organization
|
java.util.List<PaymentMethodInfo> |
getOrgPaymentMethods(java.lang.String org,
java.lang.Boolean defaultFlag,
InvocationConfig invocationConfig)
Get payment methods of organization
|
public PaymentMethodsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PaymentMethodsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<PaymentMethodInfo> getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag)
PaymentMethods
Synchronous method overload. Result of the invocation will be reported as a method return value.
getOrgPaymentMethods
in interface PaymentMethods
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)public java.util.List<PaymentMethodInfo> getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, InvocationConfig invocationConfig)
PaymentMethods
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
getOrgPaymentMethods
in interface PaymentMethods
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)invocationConfig
- Configuration for the method invocation.public void getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback)
PaymentMethods
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Organization doesn't exist
getOrgPaymentMethods
in interface PaymentMethods
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback, InvocationConfig invocationConfig)
PaymentMethods
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
NotFound
- Organization doesn't exist
getOrgPaymentMethods
in interface PaymentMethods
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.