Package com.adyen.checkout.qrcode
Class QRCodeConfiguration.Builder
-
- All Implemented Interfaces:
public final class QRCodeConfiguration.Builder extends BaseConfigurationBuilder<QRCodeConfiguration, QRCodeConfiguration.Builder>
Builder to create a QRCodeConfiguration.
-
-
Constructor Summary
Constructors Constructor Description QRCodeConfiguration.Builder(Environment environment, String clientKey)Initialize a configuration builder with the required fields. QRCodeConfiguration.Builder(Context context, Environment environment, String clientKey)Alternative constructor that uses the context to fetch the user locale and use it as a shopper locale. QRCodeConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)Initialize a configuration builder with the required fields and a shopper locale.
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
QRCodeConfiguration.Builder
QRCodeConfiguration.Builder(Environment environment, String clientKey)
Initialize a configuration builder with the required fields.- Parameters:
environment- The Environment to be used for internal network calls from the SDK to Adyen.clientKey- Your Client Key used for internal network calls from the SDK to Adyen.
-
QRCodeConfiguration.Builder
QRCodeConfiguration.Builder(Context context, Environment environment, String clientKey)
Alternative constructor that uses the context to fetch the user locale and use it as a shopper locale.- Parameters:
context- A contextenvironment- The Environment to be used for internal network calls from the SDK to Adyen.clientKey- Your Client Key used for internal network calls from the SDK to Adyen.
-
QRCodeConfiguration.Builder
QRCodeConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)
Initialize a configuration builder with the required fields and a shopper locale.- Parameters:
shopperLocale- The Locale of the shopper.environment- The Environment to be used for internal network calls from the SDK to Adyen.clientKey- Your Client Key used for internal network calls from the SDK to Adyen.
-
-
-
-