Skip to content

Commit

Permalink
Merge branch 'main' into add_setter_outputtext
Browse files Browse the repository at this point in the history
  • Loading branch information
DjoykeAbyah authored Mar 7, 2024
2 parents 3a8fd11 + 22d92e4 commit 2c1169d
Show file tree
Hide file tree
Showing 194 changed files with 11,511 additions and 332 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.10.0</version>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
@JsonPropertyOrder({
AULocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
AULocalAccountIdentification.JSON_PROPERTY_BSB_CODE,
AULocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
AULocalAccountIdentification.JSON_PROPERTY_TYPE
})

Expand All @@ -43,6 +44,9 @@ public class AULocalAccountIdentification {
public static final String JSON_PROPERTY_BSB_CODE = "bsbCode";
private String bsbCode;

public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
private String formFactor = "physical";

/**
* **auLocal**
*/
Expand Down Expand Up @@ -142,6 +146,36 @@ public void setBsbCode(String bsbCode) {
}


public AULocalAccountIdentification formFactor(String formFactor) {
this.formFactor = formFactor;
return this;
}

/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
* @return formFactor
**/
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getFormFactor() {
return formFactor;
}


/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @param formFactor
*/
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFormFactor(String formFactor) {
this.formFactor = formFactor;
}


public AULocalAccountIdentification type(TypeEnum type) {
this.type = type;
return this;
Expand Down Expand Up @@ -186,12 +220,13 @@ public boolean equals(Object o) {
AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification) o;
return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber) &&
Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode) &&
Objects.equals(this.formFactor, auLocalAccountIdentification.formFactor) &&
Objects.equals(this.type, auLocalAccountIdentification.type);
}

@Override
public int hashCode() {
return Objects.hash(accountNumber, bsbCode, type);
return Objects.hash(accountNumber, bsbCode, formFactor, type);
}

@Override
Expand All @@ -200,6 +235,7 @@ public String toString() {
sb.append("class AULocalAccountIdentification {\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" bsbCode: ").append(toIndentedString(bsbCode)).append("\n");
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
BRLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
BRLocalAccountIdentification.JSON_PROPERTY_BANK_CODE,
BRLocalAccountIdentification.JSON_PROPERTY_BRANCH_NUMBER,
BRLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
BRLocalAccountIdentification.JSON_PROPERTY_TYPE
})

Expand All @@ -47,6 +48,9 @@ public class BRLocalAccountIdentification {
public static final String JSON_PROPERTY_BRANCH_NUMBER = "branchNumber";
private String branchNumber;

public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
private String formFactor = "physical";

/**
* **brLocal**
*/
Expand Down Expand Up @@ -176,6 +180,36 @@ public void setBranchNumber(String branchNumber) {
}


public BRLocalAccountIdentification formFactor(String formFactor) {
this.formFactor = formFactor;
return this;
}

/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
* @return formFactor
**/
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getFormFactor() {
return formFactor;
}


/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @param formFactor
*/
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFormFactor(String formFactor) {
this.formFactor = formFactor;
}


public BRLocalAccountIdentification type(TypeEnum type) {
this.type = type;
return this;
Expand Down Expand Up @@ -221,12 +255,13 @@ public boolean equals(Object o) {
return Objects.equals(this.accountNumber, brLocalAccountIdentification.accountNumber) &&
Objects.equals(this.bankCode, brLocalAccountIdentification.bankCode) &&
Objects.equals(this.branchNumber, brLocalAccountIdentification.branchNumber) &&
Objects.equals(this.formFactor, brLocalAccountIdentification.formFactor) &&
Objects.equals(this.type, brLocalAccountIdentification.type);
}

@Override
public int hashCode() {
return Objects.hash(accountNumber, bankCode, branchNumber, type);
return Objects.hash(accountNumber, bankCode, branchNumber, formFactor, type);
}

@Override
Expand All @@ -236,6 +271,7 @@ public String toString() {
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
sb.append(" branchNumber: ").append(toIndentedString(branchNumber)).append("\n");
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class BankIdentification {
private String identification;

/**
* Gets or Sets identificationType
* The type of the identification. Possible values: **iban**, **routingNumber**.
*/
public enum IdentificationTypeEnum {
IBAN("iban"),
Expand Down Expand Up @@ -90,10 +90,10 @@ public BankIdentification country(String country) {
}

/**
* Get country
* Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
* @return country
**/
@ApiModelProperty(value = "")
@ApiModelProperty(value = "Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.")
@JsonProperty(JSON_PROPERTY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -103,7 +103,7 @@ public String getCountry() {


/**
* country
* Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
*
* @param country
*/
Expand All @@ -120,10 +120,10 @@ public BankIdentification identification(String identification) {
}

/**
* Get identification
* The bank identification code.
* @return identification
**/
@ApiModelProperty(value = "")
@ApiModelProperty(value = "The bank identification code.")
@JsonProperty(JSON_PROPERTY_IDENTIFICATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -133,7 +133,7 @@ public String getIdentification() {


/**
* identification
* The bank identification code.
*
* @param identification
*/
Expand All @@ -150,10 +150,10 @@ public BankIdentification identificationType(IdentificationTypeEnum identificati
}

/**
* Get identificationType
* The type of the identification. Possible values: **iban**, **routingNumber**.
* @return identificationType
**/
@ApiModelProperty(value = "")
@ApiModelProperty(value = "The type of the identification. Possible values: **iban**, **routingNumber**.")
@JsonProperty(JSON_PROPERTY_IDENTIFICATION_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -163,7 +163,7 @@ public IdentificationTypeEnum getIdentificationType() {


/**
* identificationType
* The type of the identification. Possible values: **iban**, **routingNumber**.
*
* @param identificationType
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
@JsonPropertyOrder({
CALocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
CALocalAccountIdentification.JSON_PROPERTY_ACCOUNT_TYPE,
CALocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
CALocalAccountIdentification.JSON_PROPERTY_INSTITUTION_NUMBER,
CALocalAccountIdentification.JSON_PROPERTY_TRANSIT_NUMBER,
CALocalAccountIdentification.JSON_PROPERTY_TYPE
Expand Down Expand Up @@ -80,6 +81,9 @@ public static AccountTypeEnum fromValue(String value) {
public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType";
private AccountTypeEnum accountType = AccountTypeEnum.CHECKING;

public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
private String formFactor = "physical";

public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber";
private String institutionNumber;

Expand Down Expand Up @@ -185,6 +189,36 @@ public void setAccountType(AccountTypeEnum accountType) {
}


public CALocalAccountIdentification formFactor(String formFactor) {
this.formFactor = formFactor;
return this;
}

/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
* @return formFactor
**/
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getFormFactor() {
return formFactor;
}


/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @param formFactor
*/
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFormFactor(String formFactor) {
this.formFactor = formFactor;
}


public CALocalAccountIdentification institutionNumber(String institutionNumber) {
this.institutionNumber = institutionNumber;
return this;
Expand Down Expand Up @@ -289,14 +323,15 @@ public boolean equals(Object o) {
CALocalAccountIdentification caLocalAccountIdentification = (CALocalAccountIdentification) o;
return Objects.equals(this.accountNumber, caLocalAccountIdentification.accountNumber) &&
Objects.equals(this.accountType, caLocalAccountIdentification.accountType) &&
Objects.equals(this.formFactor, caLocalAccountIdentification.formFactor) &&
Objects.equals(this.institutionNumber, caLocalAccountIdentification.institutionNumber) &&
Objects.equals(this.transitNumber, caLocalAccountIdentification.transitNumber) &&
Objects.equals(this.type, caLocalAccountIdentification.type);
}

@Override
public int hashCode() {
return Objects.hash(accountNumber, accountType, institutionNumber, transitNumber, type);
return Objects.hash(accountNumber, accountType, formFactor, institutionNumber, transitNumber, type);
}

@Override
Expand All @@ -305,6 +340,7 @@ public String toString() {
sb.append("class CALocalAccountIdentification {\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
sb.append(" institutionNumber: ").append(toIndentedString(institutionNumber)).append("\n");
sb.append(" transitNumber: ").append(toIndentedString(transitNumber)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
@JsonPropertyOrder({
CZLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
CZLocalAccountIdentification.JSON_PROPERTY_BANK_CODE,
CZLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
CZLocalAccountIdentification.JSON_PROPERTY_TYPE
})

Expand All @@ -43,6 +44,9 @@ public class CZLocalAccountIdentification {
public static final String JSON_PROPERTY_BANK_CODE = "bankCode";
private String bankCode;

public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
private String formFactor = "physical";

/**
* **czLocal**
*/
Expand Down Expand Up @@ -142,6 +146,36 @@ public void setBankCode(String bankCode) {
}


public CZLocalAccountIdentification formFactor(String formFactor) {
this.formFactor = formFactor;
return this;
}

/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
* @return formFactor
**/
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getFormFactor() {
return formFactor;
}


/**
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @param formFactor
*/
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFormFactor(String formFactor) {
this.formFactor = formFactor;
}


public CZLocalAccountIdentification type(TypeEnum type) {
this.type = type;
return this;
Expand Down Expand Up @@ -186,12 +220,13 @@ public boolean equals(Object o) {
CZLocalAccountIdentification czLocalAccountIdentification = (CZLocalAccountIdentification) o;
return Objects.equals(this.accountNumber, czLocalAccountIdentification.accountNumber) &&
Objects.equals(this.bankCode, czLocalAccountIdentification.bankCode) &&
Objects.equals(this.formFactor, czLocalAccountIdentification.formFactor) &&
Objects.equals(this.type, czLocalAccountIdentification.type);
}

@Override
public int hashCode() {
return Objects.hash(accountNumber, bankCode, type);
return Objects.hash(accountNumber, bankCode, formFactor, type);
}

@Override
Expand All @@ -200,6 +235,7 @@ public String toString() {
sb.append("class CZLocalAccountIdentification {\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
Expand Down
Loading

0 comments on commit 2c1169d

Please sign in to comment.