public class PaymentMethodGateway extends Object
Modifier and Type | Field and Description |
---|---|
private Configuration |
configuration |
private Http |
http |
Constructor and Description |
---|
PaymentMethodGateway(Http http,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
Result<? extends PaymentMethod> |
create(PaymentMethodRequest request) |
Result<? extends PaymentMethod> |
delete(String token) |
Result<? extends PaymentMethod> |
delete(String token,
PaymentMethodDeleteRequest request) |
PaymentMethod |
find(String token) |
Result<PaymentMethodNonce> |
grant(String token) |
Result<PaymentMethodNonce> |
grant(String token,
PaymentMethodGrantRequest grantRequest) |
Result<? extends PaymentMethod> |
parseResponse(NodeWrapper response) |
Result<? extends PaymentMethod> |
revoke(String token) |
Result<? extends PaymentMethod> |
update(String token,
PaymentMethodRequest request) |
private Http http
private Configuration configuration
public PaymentMethodGateway(Http http, Configuration configuration)
public Result<? extends PaymentMethod> create(PaymentMethodRequest request)
public Result<? extends PaymentMethod> update(String token, PaymentMethodRequest request)
public Result<? extends PaymentMethod> delete(String token)
public Result<? extends PaymentMethod> delete(String token, PaymentMethodDeleteRequest request)
public PaymentMethod find(String token)
public Result<PaymentMethodNonce> grant(String token)
public Result<PaymentMethodNonce> grant(String token, PaymentMethodGrantRequest grantRequest)
public Result<? extends PaymentMethod> revoke(String token)
public Result<? extends PaymentMethod> parseResponse(NodeWrapper response)
Copyright © 2013-2017. All Rights Reserved.