UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

49 lines (48 loc) 1.52 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfInvoiceItemDetails = instanceOfInvoiceItemDetails; exports.InvoiceItemDetailsFromJSON = InvoiceItemDetailsFromJSON; exports.InvoiceItemDetailsFromJSONTyped = InvoiceItemDetailsFromJSONTyped; exports.InvoiceItemDetailsToJSON = InvoiceItemDetailsToJSON; exports.InvoiceItemDetailsToJSONTyped = InvoiceItemDetailsToJSONTyped; /** * Check if a given object implements the InvoiceItemDetails interface. */ function instanceOfInvoiceItemDetails(value) { return true; } function InvoiceItemDetailsFromJSON(json) { return InvoiceItemDetailsFromJSONTyped(json, false); } function InvoiceItemDetailsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'description': json['description'] == null ? undefined : json['description'], }; } function InvoiceItemDetailsToJSON(json) { return InvoiceItemDetailsToJSONTyped(json, false); } function InvoiceItemDetailsToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'description': value['description'], }; }