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

[BUG] BillingRequestMandateRequest defined twice #115

Closed
dreinon opened this issue Mar 10, 2022 · 1 comment
Closed

[BUG] BillingRequestMandateRequest defined twice #115

dreinon opened this issue Mar 10, 2022 · 1 comment

Comments

@dreinon
Copy link

dreinon commented Mar 10, 2022

Hi!
BillingRequestMandateRequest interface is defined twice in the file, and this leads to exporting only the second.

The implementations are the following:

// first

/** Type for a billingrequestmandaterequest resource. */
export interface BillingRequestMandateRequest {
    currency: string;
    scheme?: string;
}


// second

/** Type for a billingrequestmandaterequest resource. */
export interface BillingRequestMandateRequest {
    currency: string;
    links: BillingRequestMandateRequestLinks;
    scheme?: string;
    verify: BillingRequestMandateRequestVerify;
}

The difference between them is that the second has links and verify property, which I have looked for in the API Reference in the docs, and regarding to the links property, I haven't found any mandate_request[links], and regarding to the verify property, it appears in the introduction of the Billing Requests Section.

The first definition appears in the create billing request endpoint section.

Thanks!

@brettwillis
Copy link
Contributor

Duplicate of #116 which is closed by #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants