import Client from "../../../client" ; import Service from "../../../service" ; import Resource from "../../resource" ; class PaymentLinksId extends Resource { static _id : string ; public constructor ( service ) { super ( service , `${ service . client . config . checkoutEndpoint }/${ Client . CHECKOUT_API_VERSION }/paymentLinks` ) ; } public set id ( id ) { PaymentLinksId . _id = id ; this . endpoint = `${ this . endpoint }/${ PaymentLinksId . _id }` ; } } export default PaymentLinksId ;