Class OnboardingLink

All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface

public class OnboardingLink extends ApiResource
Returns redirect links used for onboarding onto Tap to Pay on iPhone.
  • Constructor Details

    • OnboardingLink

      public OnboardingLink()
  • Method Details

    • create

      public static OnboardingLink create(Map<String,Object> params) throws StripeException
      Creates a new OnboardingLink 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 StripeException
      Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
      Throws:
      StripeException
    • create

      public static OnboardingLink create(OnboardingLinkCreateParams params) throws StripeException
      Creates a new OnboardingLink 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 new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
      Throws:
      StripeException
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      The business name of the merchant accepting Apple's Terms and Conditions.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Overrides:
      setResponseGetter in class ApiResource
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getLinkOptions

      public OnboardingLink.LinkOptions getLinkOptions()
      Link type options associated with the current onboarding link object.
    • getLinkType

      public String getLinkType()
      The type of link being generated.

      Equal to apple_terms_and_conditions.

    • getObject

      public String getObject()
    • getOnBehalfOf

      public String getOnBehalfOf()
      Stripe account ID to generate the link for.
    • getRedirectUrl

      public String getRedirectUrl()
      The link passed back to the user for their onboarding.
    • setLinkOptions

      public void setLinkOptions(OnboardingLink.LinkOptions linkOptions)
      Link type options associated with the current onboarding link object.
    • setLinkType

      public void setLinkType(String linkType)
      The type of link being generated.

      Equal to apple_terms_and_conditions.

    • setObject

      public void setObject(String object)
    • setOnBehalfOf

      public void setOnBehalfOf(String onBehalfOf)
      Stripe account ID to generate the link for.
    • setRedirectUrl

      public void setRedirectUrl(String redirectUrl)
      The link passed back to the user for their onboarding.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object