-
public final class GiftCardConfiguration.Builder extends BaseConfigurationBuilder<GiftCardConfiguration>
Builder to create a GiftCardConfiguration.
-
-
Field Summary
Fields Modifier and Type Field Description private StringbuilderClientKeyprivate EnvironmentbuilderEnvironmentprivate LocalebuilderShopperLocale
-
Constructor Summary
Constructors Constructor Description GiftCardConfiguration.Builder(Context context, String clientKey)Constructor for Builder with default values. GiftCardConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)Builder with required parameters. GiftCardConfiguration.Builder(GiftCardConfiguration configuration)Constructor that copies an existing configuration.
-
Method Summary
Modifier and Type Method Description final StringgetBuilderClientKey()final UnitsetBuilderClientKey(String builderClientKey)final EnvironmentgetBuilderEnvironment()final UnitsetBuilderEnvironment(Environment builderEnvironment)final LocalegetBuilderShopperLocale()final UnitsetBuilderShopperLocale(Locale builderShopperLocale)GiftCardConfiguration.BuildersetShopperLocale(Locale builderShopperLocale)GiftCardConfiguration.BuildersetEnvironment(Environment builderEnvironment)-
-
Constructor Detail
-
GiftCardConfiguration.Builder
GiftCardConfiguration.Builder(Context context, String clientKey)
Constructor for Builder with default values.- Parameters:
context- A contextclientKey- Your Client Key used for network calls from the SDK to Adyen.
-
GiftCardConfiguration.Builder
GiftCardConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)
Builder with required parameters.- Parameters:
shopperLocale- The Locale of the shopper.environment- The Environment to be used for network calls to Adyen.clientKey- Your Client Key used for network calls from the SDK to Adyen.
-
GiftCardConfiguration.Builder
GiftCardConfiguration.Builder(GiftCardConfiguration configuration)
Constructor that copies an existing configuration.- Parameters:
configuration- A configuration to initialize the builder.
-
-
Method Detail
-
getBuilderClientKey
final String getBuilderClientKey()
-
setBuilderClientKey
final Unit setBuilderClientKey(String builderClientKey)
-
getBuilderEnvironment
final Environment getBuilderEnvironment()
-
setBuilderEnvironment
final Unit setBuilderEnvironment(Environment builderEnvironment)
-
getBuilderShopperLocale
final Locale getBuilderShopperLocale()
-
setBuilderShopperLocale
final Unit setBuilderShopperLocale(Locale builderShopperLocale)
-
setShopperLocale
GiftCardConfiguration.Builder setShopperLocale(Locale builderShopperLocale)
-
setEnvironment
GiftCardConfiguration.Builder setEnvironment(Environment builderEnvironment)
-
-
-
-