public class HostedService extends Object
| Constructor and Description |
|---|
HostedService(GpEcomConfig config) |
HostedService(GpEcomConfig config,
String configName) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationBuilder |
authorize() |
AuthorizationBuilder |
authorize(BigDecimal amount) |
AuthorizationBuilder |
charge() |
AuthorizationBuilder |
charge(BigDecimal amount) |
Transaction |
parseResponse(String json) |
Transaction |
parseResponse(String json,
boolean encoded) |
Transaction |
parseResponse(String json,
boolean encoded,
String configName) |
AuthorizationBuilder |
verify() |
AuthorizationBuilder |
verify(BigDecimal amount) |
public HostedService(GpEcomConfig config) throws ApiException
ApiExceptionpublic HostedService(GpEcomConfig config, String configName) throws ApiException
ApiExceptionpublic AuthorizationBuilder authorize()
public AuthorizationBuilder authorize(BigDecimal amount)
public AuthorizationBuilder charge()
public AuthorizationBuilder charge(BigDecimal amount)
public AuthorizationBuilder verify()
public AuthorizationBuilder verify(BigDecimal amount)
public Transaction parseResponse(String json) throws ApiException
ApiExceptionpublic Transaction parseResponse(String json, boolean encoded) throws ApiException
ApiExceptionpublic Transaction parseResponse(String json, boolean encoded, String configName) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.