Package com.stripe.model.terminal
Class OnboardingLink
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.terminal.OnboardingLink
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
Returns redirect links used for onboarding onto Tap to Pay on iPhone.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLink type options associated with the current onboarding link object.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic OnboardingLinkcreate(OnboardingLinkCreateParams params) Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLinkcreate(OnboardingLinkCreateParams params, RequestOptions options) Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLinkCreates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLinkcreate(Map<String, Object> params, RequestOptions options) Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.booleanLink type options associated with the current onboarding link object.The type of link being generated.Stripe account ID to generate the link for.The link passed back to the user for their onboarding.inthashCode()voidsetLinkOptions(OnboardingLink.LinkOptions linkOptions) Link type options associated with the current onboarding link object.voidsetLinkType(String linkType) The type of link being generated.voidvoidsetOnBehalfOf(String onBehalfOf) Stripe account ID to generate the link for.voidsetRedirectUrl(String redirectUrl) The link passed back to the user for their onboarding.voidsetResponseGetter(StripeResponseGetter responseGetter) The business name of the merchant accepting Apple's Terms and Conditions.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
OnboardingLink
public OnboardingLink()
-
-
Method Details
-
create
Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.- Throws:
StripeException
-
create
public static OnboardingLink create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.- Throws:
StripeException
-
create
Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.- Throws:
StripeException
-
create
public static OnboardingLink create(OnboardingLinkCreateParams params, RequestOptions options) throws StripeException Creates a newOnboardingLinkobject that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.- Throws:
StripeException
-
setResponseGetter
The business name of the merchant accepting Apple's Terms and Conditions.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getLinkOptions
Link type options associated with the current onboarding link object. -
getLinkType
The type of link being generated.Equal to
apple_terms_and_conditions. -
getObject
-
getOnBehalfOf
Stripe account ID to generate the link for. -
getRedirectUrl
The link passed back to the user for their onboarding. -
setLinkOptions
Link type options associated with the current onboarding link object. -
setLinkType
The type of link being generated.Equal to
apple_terms_and_conditions. -
setObject
-
setOnBehalfOf
Stripe account ID to generate the link for. -
setRedirectUrl
The link passed back to the user for their onboarding. -
equals
-
canEqual
-
hashCode
public int hashCode()
-