Package unit.java.sdk.model
Class BookRepayment
- java.lang.Object
-
- unit.java.sdk.model.Repayment
-
- unit.java.sdk.model.BookRepayment
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class BookRepayment extends RepaymentBookRepayment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class unit.java.sdk.model.Repayment
Repayment.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.Repayment
JSON_PROPERTY_ID, JSON_PROPERTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description BookRepayment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookRepaymentattributes(BookRepaymentAllOfAttributes attributes)booleanequals(java.lang.Object o)Return true if this BookRepayment object is equal to o.BookRepaymentAllOfAttributesgetAttributes()Get attributesBookRepaymentRelationshipsgetRelationships()Get relationshipsinthashCode()BookRepaymentid(java.lang.String id)BookRepaymentrelationships(BookRepaymentRelationships relationships)voidsetAttributes(BookRepaymentAllOfAttributes attributes)voidsetRelationships(BookRepaymentRelationships 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.BookRepaymenttype(Repayment.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 BookRepayment attributes(BookRepaymentAllOfAttributes attributes)
-
getAttributes
@Nonnull public BookRepaymentAllOfAttributes getAttributes()
Get attributes- Returns:
- attributes
-
setAttributes
public void setAttributes(BookRepaymentAllOfAttributes attributes)
-
relationships
public BookRepayment relationships(BookRepaymentRelationships relationships)
-
getRelationships
@Nonnull public BookRepaymentRelationships getRelationships()
Get relationships- Returns:
- relationships
-
setRelationships
public void setRelationships(BookRepaymentRelationships relationships)
-
id
public BookRepayment id(java.lang.String id)
-
type
public BookRepayment type(Repayment.TypeEnum type)
-
equals
public boolean equals(java.lang.Object o)
Return true if this BookRepayment object is equal to o.
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classRepayment- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classRepayment- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-
-