Class Subscription
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponsecreated.subscription.Subscription
-
public final class Subscription extends java.lang.Objectsubscription The details of the subscription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscription.SubscriptionBuilder
-
Constructor Summary
Constructors Constructor Description Subscription()Subscription(java.lang.String id)Creates a newSubscriptioninstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Subscription.SubscriptionBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetId()The ID or reference linking a series of recurring payments together.inthashCode()voidsetId(java.lang.String id)The ID or reference linking a series of recurring payments together.java.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static Subscription.SubscriptionBuilder builder()
-
getId
public java.lang.String getId()
The ID or reference linking a series of recurring payments together. [Optional] <= 50
-
setId
public void setId(java.lang.String id)
The ID or reference linking a series of recurring payments together. [Optional] <= 50
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-