Skip to content

overwriting 'bankAccount' method. need to rename the second 'card' #7

Description

@mindfire-io

You didn't rename the individual card method from 'bankAccount'

/**

  • Retrieves an individual Card for a customer
  • @param {string} customerId - id of customer
  • @param {string} cardId - id of Card
  • @param callback - Callback function which is called with any error or the Card
    */
    Quickbooks.prototype.bankAccount = function(customerId, cardId, callback) {
    module.request(this, 'get', {
    url: '/payments/customers/' + customerId + '/cards/' + cardId,
    headers: {
    'Company-Id': this.realmId
    }
    }, null, callback)
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions