Package unit.java.sdk.model
Class BookRepaymentRelationships
- java.lang.Object
-
- unit.java.sdk.model.BookRepaymentRelationships
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class BookRepaymentRelationships extends java.lang.ObjectBookRepaymentRelationships
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ACCOUNTstatic java.lang.StringJSON_PROPERTY_COUNTERPARTY_ACCOUNTstatic java.lang.StringJSON_PROPERTY_CREDIT_ACCOUNTstatic java.lang.StringJSON_PROPERTY_CUSTOMERstatic java.lang.StringJSON_PROPERTY_ORGstatic java.lang.StringJSON_PROPERTY_PAYMENTstatic java.lang.StringJSON_PROPERTY_RECURRING_REPAYMENT
-
Constructor Summary
Constructors Constructor Description BookRepaymentRelationships()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT
public static final java.lang.String JSON_PROPERTY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREDIT_ACCOUNT
public static final java.lang.String JSON_PROPERTY_CREDIT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORG
public static final java.lang.String JSON_PROPERTY_ORG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER
public static final java.lang.String JSON_PROPERTY_CUSTOMER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTERPARTY_ACCOUNT
public static final java.lang.String JSON_PROPERTY_COUNTERPARTY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT
public static final java.lang.String JSON_PROPERTY_PAYMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_REPAYMENT
public static final java.lang.String JSON_PROPERTY_RECURRING_REPAYMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
account
public BookRepaymentRelationships account(AccountRelationship account)
-
getAccount
@Nonnull public AccountRelationship getAccount()
Get account- Returns:
- account
-
setAccount
public void setAccount(AccountRelationship account)
-
creditAccount
public BookRepaymentRelationships creditAccount(CreditAccountRelationship creditAccount)
-
getCreditAccount
@Nonnull public CreditAccountRelationship getCreditAccount()
Get creditAccount- Returns:
- creditAccount
-
setCreditAccount
public void setCreditAccount(CreditAccountRelationship creditAccount)
-
org
public BookRepaymentRelationships org(OrgRelationship org)
-
getOrg
@Nonnull public OrgRelationship getOrg()
Get org- Returns:
- org
-
setOrg
public void setOrg(OrgRelationship org)
-
customer
public BookRepaymentRelationships customer(CustomerRelationship customer)
-
getCustomer
@Nullable public CustomerRelationship getCustomer()
Get customer- Returns:
- customer
-
setCustomer
public void setCustomer(CustomerRelationship customer)
-
counterpartyAccount
public BookRepaymentRelationships counterpartyAccount(CounterpartyAccountRelationship counterpartyAccount)
-
getCounterpartyAccount
@Nonnull public CounterpartyAccountRelationship getCounterpartyAccount()
Get counterpartyAccount- Returns:
- counterpartyAccount
-
setCounterpartyAccount
public void setCounterpartyAccount(CounterpartyAccountRelationship counterpartyAccount)
-
payment
public BookRepaymentRelationships payment(PaymentRelationship payment)
-
getPayment
@Nonnull public PaymentRelationship getPayment()
Get payment- Returns:
- payment
-
setPayment
public void setPayment(PaymentRelationship payment)
-
recurringRepayment
public BookRepaymentRelationships recurringRepayment(RecurringRepaymentRelationship recurringRepayment)
-
getRecurringRepayment
@Nullable public RecurringRepaymentRelationship getRecurringRepayment()
Get recurringRepayment- Returns:
- recurringRepayment
-
setRecurringRepayment
public void setRecurringRepayment(RecurringRepaymentRelationship recurringRepayment)
-
equals
public boolean equals(java.lang.Object o)
Return true if this BookRepaymentRelationships object is equal to o.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-
-