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 class
Link 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_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static OnboardingLink
create
(OnboardingLinkCreateParams params) Creates a newOnboardingLink
object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLink
create
(OnboardingLinkCreateParams params, RequestOptions options) Creates a newOnboardingLink
object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLink
Creates a newOnboardingLink
object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.static OnboardingLink
create
(Map<String, Object> params, RequestOptions options) Creates a newOnboardingLink
object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.boolean
Link 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.int
hashCode()
void
setLinkOptions
(OnboardingLink.LinkOptions linkOptions) Link type options associated with the current onboarding link object.void
setLinkType
(String linkType) The type of link being generated.void
void
setOnBehalfOf
(String onBehalfOf) Stripe account ID to generate the link for.void
setRedirectUrl
(String redirectUrl) The link passed back to the user for their onboarding.void
setResponseGetter
(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, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
OnboardingLink
public OnboardingLink()
-
-
Method Details
-
create
Creates a newOnboardingLink
object 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 newOnboardingLink
object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.- Throws:
StripeException
-
create
Creates a newOnboardingLink
object 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 newOnboardingLink
object 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:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance 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()
-