@getopenpay/client
Version:
OpenPay API TypeScript SDK
57 lines (56 loc) • 1.91 kB
JavaScript
;
/* 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.PaymentInitiator = void 0;
exports.instanceOfPaymentInitiator = instanceOfPaymentInitiator;
exports.PaymentInitiatorFromJSON = PaymentInitiatorFromJSON;
exports.PaymentInitiatorFromJSONTyped = PaymentInitiatorFromJSONTyped;
exports.PaymentInitiatorToJSON = PaymentInitiatorToJSON;
exports.PaymentInitiatorToJSONTyped = PaymentInitiatorToJSONTyped;
/**
*
* @export
*/
exports.PaymentInitiator = {
RetryPayingPastDueInvoicesJob: 'retry_paying_past_due_invoices_job',
ProcessOpenButPastNetDInvoicesJob: 'process_open_but_past_net_d_invoices_job',
PayOpenInvoiceJob: 'pay_open_invoice_job',
Manual: 'manual',
PayPastDueAssociatedWithPm: 'pay_past_due_associated_with_pm',
ProcessUncollectibleInvoices: 'process_uncollectible_invoices',
CreditCardAuthorizationFromController: 'credit_card_authorization_from_controller'
};
function instanceOfPaymentInitiator(value) {
for (const key in exports.PaymentInitiator) {
if (Object.prototype.hasOwnProperty.call(exports.PaymentInitiator, key)) {
if (exports.PaymentInitiator[key] === value) {
return true;
}
}
}
return false;
}
function PaymentInitiatorFromJSON(json) {
return PaymentInitiatorFromJSONTyped(json, false);
}
function PaymentInitiatorFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function PaymentInitiatorToJSON(value) {
return value;
}
function PaymentInitiatorToJSONTyped(value, ignoreDiscriminator) {
return value;
}