Package model
Class SubscriptionEnrollmentLinks
java.lang.Object
model.SubscriptionEnrollmentLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class SubscriptionEnrollmentLinks
extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SubscriptionEnrollmentLinksCreate an instance of SubscriptionEnrollmentLinks given an JSON stringGet amountsGet merchantGet schedulegetSelf()Get selfinthashCode()merchant(SubscriptionEnrollmentLinksMerchant merchant) schedule(SubscriptionEnrollmentLinksSchedule schedule) self(IdentityLinksSelf self) voidvoidvoidvoidsetSelf(IdentityLinksSelf self) toJson()Convert an instance of SubscriptionEnrollmentLinks to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SELF
- See Also:
-
SERIALIZED_NAME_MERCHANT
- See Also:
-
SERIALIZED_NAME_SCHEDULE
- See Also:
-
SERIALIZED_NAME_AMOUNTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubscriptionEnrollmentLinks
public SubscriptionEnrollmentLinks()
-
-
Method Details
-
self
-
getSelf
Get self- Returns:
- self
-
setSelf
-
merchant
-
getMerchant
Get merchant- Returns:
- merchant
-
setMerchant
-
schedule
-
getSchedule
Get schedule- Returns:
- schedule
-
setSchedule
-
amounts
-
getAmounts
Get amounts- Returns:
- amounts
-
setAmounts
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to SubscriptionEnrollmentLinks
-
fromJson
Create an instance of SubscriptionEnrollmentLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionEnrollmentLinks
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionEnrollmentLinks
-
toJson
Convert an instance of SubscriptionEnrollmentLinks to an JSON string- Returns:
- JSON string
-