Skip to content

Commit

Permalink
Reorder customer methods for codegen (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
rattrayalex-stripe committed Jul 5, 2019
1 parent 9b2d940 commit 35d88d6
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions lib/resources/Customers.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,27 @@ module.exports = StripeResource.extend({
path: '/{customer}/sources/{sourceId}/verify',
}),

createBalanceTransaction: stripeMethod({
method: 'POST',
path: '/{customer}/balance_transactions',
}),

listBalanceTransactions: stripeMethod({
method: 'GET',
path: '/{customer}/balance_transactions',
methodType: 'list',
}),

retrieveBalanceTransaction: stripeMethod({
method: 'GET',
path: '/{customer}/balance_transactions/{transaction}',
}),

updateBalanceTransaction: stripeMethod({
method: 'POST',
path: '/{customer}/balance_transactions/{transaction}',
}),

createSource: stripeMethod({
method: 'POST',
path: '/{customer}/sources',
Expand Down Expand Up @@ -64,25 +85,4 @@ module.exports = StripeResource.extend({
method: 'GET',
path: '/{customer}/tax_ids/{id}',
}),

createBalanceTransaction: stripeMethod({
method: 'POST',
path: '/{customer}/balance_transactions',
}),

listBalanceTransactions: stripeMethod({
method: 'GET',
path: '/{customer}/balance_transactions',
methodType: 'list',
}),

retrieveBalanceTransaction: stripeMethod({
method: 'GET',
path: '/{customer}/balance_transactions/{id}',
}),

updateBalanceTransaction: stripeMethod({
method: 'POST',
path: '/{customer}/balance_transactions/{id}',
}),
});

0 comments on commit 35d88d6

Please sign in to comment.