mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
* 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>
33 lines
1.3 KiB
TypeScript
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;
|