Package model
Class SubscriptionEnrollmentLinks
- java.lang.Object
-
- model.SubscriptionEnrollmentLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") 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 Classes Modifier and Type Class Description static classSubscriptionEnrollmentLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AMOUNTSstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_SCHEDULEstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description SubscriptionEnrollmentLinks()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCHEDULE
public static final String SERIALIZED_NAME_SCHEDULE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AMOUNTS
public static final String SERIALIZED_NAME_AMOUNTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
self
public SubscriptionEnrollmentLinks self(IdentityLinksSelf self)
-
getSelf
@Nullable public IdentityLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(IdentityLinksSelf self)
-
merchant
public SubscriptionEnrollmentLinks merchant(SubscriptionEnrollmentLinksMerchant merchant)
-
getMerchant
@Nullable public SubscriptionEnrollmentLinksMerchant getMerchant()
Get merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(SubscriptionEnrollmentLinksMerchant merchant)
-
schedule
public SubscriptionEnrollmentLinks schedule(SubscriptionEnrollmentLinksSchedule schedule)
-
getSchedule
@Nullable public SubscriptionEnrollmentLinksSchedule getSchedule()
Get schedule- Returns:
- schedule
-
setSchedule
public void setSchedule(SubscriptionEnrollmentLinksSchedule schedule)
-
amounts
public SubscriptionEnrollmentLinks amounts(SubscriptionEnrollmentLinksAmounts amounts)
-
getAmounts
@Nullable public SubscriptionEnrollmentLinksAmounts getAmounts()
Get amounts- Returns:
- amounts
-
setAmounts
public void setAmounts(SubscriptionEnrollmentLinksAmounts amounts)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
public static SubscriptionEnrollmentLinks fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of SubscriptionEnrollmentLinks to an JSON string- Returns:
- JSON string
-
-