Package unit.java.sdk.model
Class CreditAccount
- java.lang.Object
-
- unit.java.sdk.model.Account
-
- unit.java.sdk.model.CreditAccount
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class CreditAccount extends AccountCreditAccount
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class unit.java.sdk.model.Account
Account.TypeEnum
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ATTRIBUTESstatic java.lang.StringJSON_PROPERTY_RELATIONSHIPS-
Fields inherited from class unit.java.sdk.model.Account
JSON_PROPERTY_ID, JSON_PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description CreditAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreditAccountattributes(CreditAccountAllOfAttributes attributes)booleanequals(java.lang.Object o)Return true if this CreditAccount object is equal to o.CreditAccountAllOfAttributesgetAttributes()Get attributesCreditAccountAllOfRelationshipsgetRelationships()Get relationshipsinthashCode()CreditAccountid(java.lang.String id)CreditAccountrelationships(CreditAccountAllOfRelationships relationships)voidsetAttributes(CreditAccountAllOfAttributes attributes)voidsetRelationships(CreditAccountAllOfRelationships relationships)java.lang.StringtoString()java.lang.StringtoUrlQueryString()Convert the instance into URL query string.java.lang.StringtoUrlQueryString(java.lang.String prefix)Convert the instance into URL query string.CreditAccounttype(Account.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ATTRIBUTES
public static final java.lang.String JSON_PROPERTY_ATTRIBUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATIONSHIPS
public static final java.lang.String JSON_PROPERTY_RELATIONSHIPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
attributes
public CreditAccount attributes(CreditAccountAllOfAttributes attributes)
-
getAttributes
@Nonnull public CreditAccountAllOfAttributes getAttributes()
Get attributes- Returns:
- attributes
-
setAttributes
public void setAttributes(CreditAccountAllOfAttributes attributes)
-
relationships
public CreditAccount relationships(CreditAccountAllOfRelationships relationships)
-
getRelationships
@Nonnull public CreditAccountAllOfRelationships getRelationships()
Get relationships- Returns:
- relationships
-
setRelationships
public void setRelationships(CreditAccountAllOfRelationships relationships)
-
id
public CreditAccount id(java.lang.String id)
-
type
public CreditAccount type(Account.TypeEnum type)
-
equals
public boolean equals(java.lang.Object o)
Return true if this CreditAccount object is equal to o.
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classAccount- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classAccount- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-
-