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