public interface PaymentMethods extends Service, PaymentMethodsTypes
_VAPI_SERVICE_ID
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
|
java.util.List<PaymentMethodInfo> getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenNotFound
- Organization doesn't existjava.util.List<PaymentMethodInfo> getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Organization identifier (required)defaultFlag
- When true, will only return default payment methods. (optional, default to
false)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenNotFound
- Organization doesn't existvoid getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback)
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
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.void getOrgPaymentMethods(java.lang.String org, java.lang.Boolean defaultFlag, AsyncCallback<java.util.List<PaymentMethodInfo>> asyncCallback, InvocationConfig invocationConfig)
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
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.