| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| /* |
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| * https://openapi-generator.tech |
| * Do not edit the class manually. |
| */ |
| |
| import { PaymentAllocationOrder } from './paymentAllocationOrder'; |
| |
| |
| /** |
| * PostPaymentAllocation |
| */ |
| export interface PostPaymentAllocation { |
| paymentAllocationOrder?: Array<PaymentAllocationOrder>; |
| transactionType?: PostPaymentAllocation.TransactionTypeEnum; |
| } |
| export namespace PostPaymentAllocation { |
| export const TransactionTypeEnum = { |
| Default: 'DEFAULT', |
| Repayment: 'REPAYMENT', |
| DownPayment: 'DOWN_PAYMENT', |
| MerchantIssuedRefund: 'MERCHANT_ISSUED_REFUND', |
| PayoutRefund: 'PAYOUT_REFUND', |
| GoodwillCredit: 'GOODWILL_CREDIT', |
| ChargeRefund: 'CHARGE_REFUND', |
| ChargeAdjustment: 'CHARGE_ADJUSTMENT', |
| WaiveInterest: 'WAIVE_INTEREST', |
| ChargePayment: 'CHARGE_PAYMENT', |
| RefundForActiveLoan: 'REFUND_FOR_ACTIVE_LOAN', |
| InterestPaymentWaiver: 'INTEREST_PAYMENT_WAIVER', |
| InterestRefund: 'INTEREST_REFUND', |
| CapitalizedIncomeAdjustment: 'CAPITALIZED_INCOME_ADJUSTMENT' |
| } as const; |
| export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum]; |
| } |
| |
| |