Files
adyen-node-api-library/src/services/resource/checkout/amountUpdates.ts
Wouter Boereboom a479c38bf1 Pw 6663/fix checkout + payments services (#903)
* merge modifications service with checkout service and add cardDetails endpoint to checkout service

* add classic integration/payment API types and service to library

* add unit test for cardDetails endpoint

* fix unit tests for binlookup

* PW-6663: Do not run model generation on every PR

* remove inconsistent e2e/unit hybrid test for binlookup

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2022-07-06 09:51:49 +02:00

33 lines
1.3 KiB
TypeScript

/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
import Client from "../../../client";
import Service from "../../../service";
import Resource from "../../resource";
class AmountUpdates extends Resource {
public constructor(service: Service, paymentPspReference: string) {
super(
service,
`${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/payments/${paymentPspReference}/amountUpdates`,
);
}
}
export default AmountUpdates;