Skip to content

Commit

Permalink
with allowed nil value subtypes/extensions can be own random functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bastie committed Jul 19, 2024
1 parent b4c3a73 commit caa8425
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Sources/iban4j2JavApi/org/iban4j/Builder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ extension org.iban4j {
* @param countryCode CountryCode
* @return builder Builder
*/
public func setCountryCode(_ newCountryCode : CountryCode ) -> Builder {
public func setCountryCode(_ newCountryCode : CountryCode?) -> Builder {
self.countryCode = newCountryCode;
return self;
}
Expand All @@ -65,7 +65,7 @@ extension org.iban4j {
* @param bankCode String
* @return builder Builder
*/
public func setBankCode(_ newBankCode : String) -> Builder {
public func setBankCode(_ newBankCode : String?) -> Builder {
self.bankCode = newBankCode;
return self;
}
Expand All @@ -76,7 +76,7 @@ extension org.iban4j {
* @param branchCode String
* @return builder Builder
*/
public func setBranchCode(_ newBranchCode : String) -> Builder {
public func setBranchCode(_ newBranchCode : String?) -> Builder {
self.branchCode = newBranchCode;
return self;
}
Expand All @@ -87,7 +87,7 @@ extension org.iban4j {
* @param accountNumber String
* @return builder Builder
*/
public func setAccountNumber(_ newAccountNumber : String) -> Builder {
public func setAccountNumber(_ newAccountNumber : String?) -> Builder {
self.accountNumber = newAccountNumber;
return self;
}
Expand All @@ -98,7 +98,7 @@ extension org.iban4j {
* @param nationalCheckDigit String
* @return builder Builder
*/
public func setNationalCheckDigit(_ newNationalCheckDigit : String) -> Builder {
public func setNationalCheckDigit(_ newNationalCheckDigit : String?) -> Builder {
self.nationalCheckDigit = newNationalCheckDigit;
return self;
}
Expand All @@ -109,7 +109,7 @@ extension org.iban4j {
* @param accountType String
* @return builder Builder
*/
public func setAccountType(_ newAccountType : String ) -> Builder {
public func setAccountType(_ newAccountType : String?) -> Builder {
self.accountType = newAccountType;
return self;
}
Expand All @@ -120,7 +120,7 @@ extension org.iban4j {
* @param ownerAccountType String
* @return builder Builder
*/
public func setOwnerAccountType(_ newOwnerAccountType : String ) -> Builder {
public func setOwnerAccountType(_ newOwnerAccountType : String?) -> Builder {
self.ownerAccountType = newOwnerAccountType;
return self
}
Expand All @@ -131,7 +131,7 @@ extension org.iban4j {
* @param identificationNumber String
* @return builder Builder
*/
public func setIdentificationNumber(_ newIdentificationNumber : String ) -> Builder {
public func setIdentificationNumber(_ newIdentificationNumber : String?) -> Builder {
self.identificationNumber = newIdentificationNumber;
return self
}
Expand Down

0 comments on commit caa8425

Please sign in to comment.