public class OtcConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
OtcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
OtcConfiguration |
fileTimestamp(java.lang.String fileTimestamp) |
java.util.List<BillingAgreementRecipe> |
getBillingAgreementRecipes() |
BillingAgreementRecipe |
getBrowserBillingAgreementConfig()
Returns the browser recipe that can handle billing agreement, or null if there is none.
|
CheckoutRecipe |
getBrowserCheckoutConfig()
Returns the browser recipe that can handle checkout, or null if there is none.
|
OAuth2Recipe |
getBrowserOauth2Config(java.util.Set<java.lang.String> scopes)
Returns the browser recipe that can handle these scopes, or null if there is none.
|
java.util.List<CheckoutRecipe> |
getCheckoutRecipes() |
java.lang.String |
getFileTimestamp() |
java.util.List<OAuth2Recipe> |
getOauth2Recipes() |
void |
withBillingAgreementRecipe(BillingAgreementRecipe recipe) |
void |
withCheckoutRecipe(CheckoutRecipe recipe) |
OtcConfiguration |
withOauth2Recipe(OAuth2Recipe recipe) |
public OtcConfiguration withOauth2Recipe(OAuth2Recipe recipe)
public OtcConfiguration fileTimestamp(java.lang.String fileTimestamp)
public java.lang.String getFileTimestamp()
public OAuth2Recipe getBrowserOauth2Config(java.util.Set<java.lang.String> scopes)
scopes - public CheckoutRecipe getBrowserCheckoutConfig()
public BillingAgreementRecipe getBrowserBillingAgreementConfig()
public java.util.List<OAuth2Recipe> getOauth2Recipes()
public void withCheckoutRecipe(CheckoutRecipe recipe)
public java.util.List<CheckoutRecipe> getCheckoutRecipes()
public void withBillingAgreementRecipe(BillingAgreementRecipe recipe)
public java.util.List<BillingAgreementRecipe> getBillingAgreementRecipes()