Package com.adyen.checkout.voucher
Class VoucherConfiguration.Builder
-
- All Implemented Interfaces:
@Deprecated(message = "Configuration builders are deprecated, use CheckoutConfiguration instead.") public final class VoucherConfiguration.Builder extends BaseConfigurationBuilder<VoucherConfiguration, VoucherConfiguration.Builder>
Builder to create a VoucherConfiguration.
-
-
Constructor Summary
Constructors Constructor Description VoucherConfiguration.Builder(Environment environment, String clientKey)Initialize a configuration builder with the required fields. VoucherConfiguration.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. VoucherConfiguration.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
-
VoucherConfiguration.Builder
VoucherConfiguration.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.
-
VoucherConfiguration.Builder
VoucherConfiguration.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.
-
VoucherConfiguration.Builder
VoucherConfiguration.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.
-
-
-
-