Feature/bpay endpoints #23
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short Description / Link to Ticket
This pull request introduces the BPay Account resource, enabling full management of BPay accounts for Australian bill payments in the ZaiPayment Ruby gem. It adds a new resource class with methods for creating, retrieving, redacting, and associating users with BPay accounts, along with comprehensive validation, documentation, and usage examples. The release is versioned as 2.6.0 and maintains backward compatibility.
BPay Account Resource Implementation:
BpayAccountresource (lib/zai_payment/resources/bpay_account.rb) with methods to create, show, redact, and retrieve the user for a BPay account, including validation for biller code and BPay CRN formats.BpayAccountresource into the main module (lib/zai_payment.rb) and exposed it viaZaiPayment.bpay_accounts. [1] [2]Documentation and Examples:
docs/bpay_accounts.md) and practical usage examples (examples/bpay_accounts.md) covering all endpoints, validation, error handling, and common use cases.Release and Versioning:
lib/zai_payment/version.rb) and updated the changelog with details on the new BPay Account feature. [1] [2]Testing:
Removed Obsolete Summaries:
Testing
Additional Notes