Package com.stripe.model
Class PaymentLink.AfterCompletion
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.PaymentLink.AfterCompletion
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentLink
public static class PaymentLink.AfterCompletion extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentLink.AfterCompletion.HostedConfirmation
static class
PaymentLink.AfterCompletion.Redirect
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description AfterCompletion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
PaymentLink.AfterCompletion.HostedConfirmation
getHostedConfirmation()
PaymentLink.AfterCompletion.Redirect
getRedirect()
java.lang.String
getType()
The specified behavior after the purchase is complete.int
hashCode()
void
setHostedConfirmation(PaymentLink.AfterCompletion.HostedConfirmation hostedConfirmation)
void
setRedirect(PaymentLink.AfterCompletion.Redirect redirect)
void
setType(java.lang.String type)
The specified behavior after the purchase is complete.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getHostedConfirmation
public PaymentLink.AfterCompletion.HostedConfirmation getHostedConfirmation()
-
getRedirect
public PaymentLink.AfterCompletion.Redirect getRedirect()
-
getType
public java.lang.String getType()
The specified behavior after the purchase is complete.One of
hosted_confirmation
, orredirect
.
-
setHostedConfirmation
public void setHostedConfirmation(PaymentLink.AfterCompletion.HostedConfirmation hostedConfirmation)
-
setRedirect
public void setRedirect(PaymentLink.AfterCompletion.Redirect redirect)
-
setType
public void setType(java.lang.String type)
The specified behavior after the purchase is complete.One of
hosted_confirmation
, orredirect
.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-