Class InstrumentsClientImpl
- java.lang.Object
-
- com.checkout.AbstractClient
-
- com.checkout.instruments.previous.InstrumentsClientImpl
-
- All Implemented Interfaces:
InstrumentsClient
public class InstrumentsClientImpl extends AbstractClient implements InstrumentsClient
-
-
Field Summary
-
Fields inherited from class com.checkout.AbstractClient
apiClient, configuration
-
-
Constructor Summary
Constructors Constructor Description InstrumentsClientImpl(ApiClient apiClient, CheckoutConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<CreateInstrumentResponse>create(CreateInstrumentRequest createInstrumentRequest)java.util.concurrent.CompletableFuture<EmptyResponse>delete(java.lang.String instrumentId)java.util.concurrent.CompletableFuture<InstrumentDetailsResponse>get(java.lang.String instrumentId)java.util.concurrent.CompletableFuture<UpdateInstrumentResponse>update(java.lang.String instrumentId, UpdateInstrumentRequest updateInstrumentRequest)-
Methods inherited from class com.checkout.AbstractClient
buildPath, isSandbox, sdkAuthorization, sdkAuthorization
-
-
-
-
Constructor Detail
-
InstrumentsClientImpl
public InstrumentsClientImpl(ApiClient apiClient, CheckoutConfiguration configuration)
-
-
Method Detail
-
create
public java.util.concurrent.CompletableFuture<CreateInstrumentResponse> create(CreateInstrumentRequest createInstrumentRequest)
- Specified by:
createin interfaceInstrumentsClient
-
get
public java.util.concurrent.CompletableFuture<InstrumentDetailsResponse> get(java.lang.String instrumentId)
- Specified by:
getin interfaceInstrumentsClient
-
update
public java.util.concurrent.CompletableFuture<UpdateInstrumentResponse> update(java.lang.String instrumentId, UpdateInstrumentRequest updateInstrumentRequest)
- Specified by:
updatein interfaceInstrumentsClient
-
delete
public java.util.concurrent.CompletableFuture<EmptyResponse> delete(java.lang.String instrumentId)
- Specified by:
deletein interfaceInstrumentsClient- Parameters:
instrumentId- - matching a pattern ^(src)_(\w{26})$
-
-