UNPKG

@paytrail/paytrail-js-sdk

Version:

The goal for this project is to develop a Javascript SDK for the Paytrail payment service. The aim is to provide JS developers with an easier and more streamlined way to integrate our API into their applications.

6 lines (5 loc) 265 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertObjectToClass = void 0; const convertObjectToClass = (object, targetClass) => Object.assign(new targetClass(), object); exports.convertObjectToClass = convertObjectToClass;