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.ClientvoidsetClient(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.BuilderSpecifies the Apple environment against which to validate.- Specified by:
withEnvironmentin interfaceAppleIapVerifyReceiptInvoker.Builder- Parameters:
appleIapVerifyReceiptEnvironment- The desired Apple environment to point to for the request.- Returns:
- this instance
-
withReceiptData
Description copied from interface:AppleIapVerifyReceiptInvoker.BuilderSpecifies the base64-encoded receipt string to be verified.- Specified by:
withReceiptDatain interfaceAppleIapVerifyReceiptInvoker.Builder- Parameters:
receiptData- The base64-encoded receipt string to be verified.- Returns:
- this instance
-
build
Description copied from interface:AppleIapVerifyReceiptInvoker.BuilderBuilds the instance ofAppleIapVerifyReceiptInvoker.- Specified by:
buildin 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)
-