Class DefaultAppleIapVerifyReceiptInvokerBuilder
java.lang.Object
dev.getelements.elements.service.appleiap.client.invoker.builder.DefaultAppleIapVerifyReceiptInvokerBuilder
- All Implemented Interfaces:
AppleIapVerifyReceiptInvoker.Builder
public class DefaultAppleIapVerifyReceiptInvokerBuilder
extends Object
implements AppleIapVerifyReceiptInvoker.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the instance ofAppleIapVerifyReceiptInvoker
.jakarta.ws.rs.client.Client
void
setClient
(jakarta.ws.rs.client.Client client) withEnvironment
(AppleIapVerifyReceiptInvoker.AppleIapVerifyReceiptEnvironment appleIapVerifyReceiptEnvironment) Specifies the Apple environment against which to validate.withReceiptData
(String receiptData) Specifies the base64-encoded receipt string to be verified.
-
Constructor Details
-
DefaultAppleIapVerifyReceiptInvokerBuilder
public DefaultAppleIapVerifyReceiptInvokerBuilder()
-
-
Method Details
-
withEnvironment
public AppleIapVerifyReceiptInvoker.Builder withEnvironment(AppleIapVerifyReceiptInvoker.AppleIapVerifyReceiptEnvironment appleIapVerifyReceiptEnvironment) Description copied from interface:AppleIapVerifyReceiptInvoker.Builder
Specifies the Apple environment against which to validate.- Specified by:
withEnvironment
in interfaceAppleIapVerifyReceiptInvoker.Builder
- Parameters:
appleIapVerifyReceiptEnvironment
- The desired Apple environment to point to for the request.- Returns:
- this instance
-
withReceiptData
Description copied from interface:AppleIapVerifyReceiptInvoker.Builder
Specifies the base64-encoded receipt string to be verified.- Specified by:
withReceiptData
in interfaceAppleIapVerifyReceiptInvoker.Builder
- Parameters:
receiptData
- The base64-encoded receipt string to be verified.- Returns:
- this instance
-
build
Description copied from interface:AppleIapVerifyReceiptInvoker.Builder
Builds the instance ofAppleIapVerifyReceiptInvoker
.- Specified by:
build
in interfaceAppleIapVerifyReceiptInvoker.Builder
- Returns:
- the newly created
AppleIapVerifyReceiptInvoker
-
getClient
public jakarta.ws.rs.client.Client getClient() -
setClient
@Inject public void setClient(jakarta.ws.rs.client.Client client)
-