juspay/hyperswitch
[FEAT] create macros to implement intermediate traits for connectors
开放
#1,562 创建于 2023年6月28日
C-featureE-mediumgood first issuehelp wanted
仓库指标
- 星标
- (42,690 个星标)
- PR 合并指标
- (平均合并 6天 22小时) (30 天内合并 213 个 PR)
描述
while adding connectors we need to implement intermediate traits while allow us to implement ConnectorIntegration. Example of such implementations are:
impl api::Payment for Stripe {}
impl api::PaymentAuthorize for Stripe {}
impl api::PaymentSync for Stripe {}
impl api::PaymentVoid for Stripe {}
impl api::PaymentCapture for Stripe {}
impl api::PaymentSession for Stripe {}
impl api::ConnectorAccessToken for Stripe {}
create a declarative macro to automate this, and other such implementations