Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty value at payment_bank_name, payment_branch_brnach_name #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ganb_corporate_client/models/va_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ def payment_bank_name(self, payment_bank_name):
raise ValueError("Invalid value for `payment_bank_name`, must not be `None`") # noqa: E501
if payment_bank_name is not None and len(payment_bank_name) > 30:
raise ValueError("Invalid value for `payment_bank_name`, length must be less than or equal to `30`") # noqa: E501
if payment_bank_name is not None and len(payment_bank_name) < 1:
raise ValueError("Invalid value for `payment_bank_name`, length must be greater than or equal to `1`") # noqa: E501

self._payment_bank_name = payment_bank_name

Expand Down Expand Up @@ -413,8 +411,6 @@ def payment_branch_name(self, payment_branch_name):
raise ValueError("Invalid value for `payment_branch_name`, must not be `None`") # noqa: E501
if payment_branch_name is not None and len(payment_branch_name) > 15:
raise ValueError("Invalid value for `payment_branch_name`, length must be less than or equal to `15`") # noqa: E501
if payment_branch_name is not None and len(payment_branch_name) < 1:
raise ValueError("Invalid value for `payment_branch_name`, length must be greater than or equal to `1`") # noqa: E501

self._payment_branch_name = payment_branch_name

Expand Down
4 changes: 0 additions & 4 deletions ganb_personal_client/models/va_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ def payment_bank_name(self, payment_bank_name):
raise ValueError("Invalid value for `payment_bank_name`, must not be `None`") # noqa: E501
if payment_bank_name is not None and len(payment_bank_name) > 30:
raise ValueError("Invalid value for `payment_bank_name`, length must be less than or equal to `30`") # noqa: E501
if payment_bank_name is not None and len(payment_bank_name) < 1:
raise ValueError("Invalid value for `payment_bank_name`, length must be greater than or equal to `1`") # noqa: E501

self._payment_bank_name = payment_bank_name

Expand Down Expand Up @@ -413,8 +411,6 @@ def payment_branch_name(self, payment_branch_name):
raise ValueError("Invalid value for `payment_branch_name`, must not be `None`") # noqa: E501
if payment_branch_name is not None and len(payment_branch_name) > 15:
raise ValueError("Invalid value for `payment_branch_name`, length must be less than or equal to `15`") # noqa: E501
if payment_branch_name is not None and len(payment_branch_name) < 1:
raise ValueError("Invalid value for `payment_branch_name`, length must be greater than or equal to `1`") # noqa: E501

self._payment_branch_name = payment_branch_name

Expand Down