@Singleton @Path(value="/1.0/kb/invoicePayments") public class InvoicePaymentResource extends JaxRsResourceBase
accountUserApi, auditUserApi, catalogName, clock, context, customFieldUserApi, DATE_TIME_FORMATTER, LOCAL_DATE_FORMATTER, mapper, paymentApi, subscriptionApi, tagUserApi, uriBuilderACCOUNTS, ACCOUNTS_PATH, ADMIN, ADMIN_PATH, ALL_CUSTOM_FIELDS, ALL_TAGS, ANALYTICS, ANALYTICS_PATH, ANYTHING_PATTERN, API_POSTFIX, API_PREFIX, API_VERSION, ATTEMPTS, AUDIT_LOG, AUDIT_LOG_WITH_HISTORY, AUTHORIZATION, BCD, BLOCK, BUNDLES, BUNDLES_PATH, CACHE, CANCEL_SCHEDULED_PAYMENT_TRANSACTION, CAPTURE, CATALOG, CATALOG_PATH, CBA_REBALANCING, CHARGEBACK_REVERSALS, CHARGEBACK_REVERSALS_PATH, CHARGEBACKS, CHARGEBACKS_PATH, CHARGES, CHARGES_PATH, CHILDREN, COMBO, COMMIT_INVOICE, CREDITS, CREDITS_PATH, CUSTOM_FIELDS, CUSTOM_FIELDS_PATH, DRY_RUN, EMAIL_NOTIFICATIONS, EMAILS, ENTITLEMENTS, ENTITLEMENTS_PATH, EVENTS, EXPORT, EXPORT_PATH, FORM, HDR_API_KEY, HDR_API_SECRET, HDR_COMMENT, HDR_CREATED_BY, HDR_PAGINATION_CURRENT_OFFSET, HDR_PAGINATION_MAX_NB_RECORDS, HDR_PAGINATION_NEXT_OFFSET, HDR_PAGINATION_NEXT_PAGE_URI, HDR_PAGINATION_TOTAL_NB_RECORDS, HDR_REASON, HEALTHCHECK, HOSTED, INVOICE_CATALOG_TRANSLATION, INVOICE_ITEMS, INVOICE_MP_TEMPLATE, INVOICE_PAYMENTS, INVOICE_PAYMENTS_PATH, INVOICE_TEMPLATE, INVOICE_TRANSLATION, INVOICES, INVOICES_ITEMS_PATH, INVOICES_PATH, MIGRATION, NODES_INFO, NODES_INFO_PATH, NOTIFICATION, NUMBER_PATTERN, OVERDUE, OVERDUE_PATH, PAGINATION, PATH_PAYMENT_PLUGIN_NAME, PAUSE, PAYMENT_GATEWAYS, PAYMENT_GATEWAYS_PATH, PAYMENT_METHODS, PAYMENT_METHODS_DEFAULT_PATH_POSTFIX, PAYMENT_METHODS_PATH, PAYMENT_TRANSACTIONS, PAYMENT_TRANSACTIONS_PATH, PAYMENTS, PAYMENTS_PATH, PLUGINS, PLUGINS_INFO, PLUGINS_INFO_PATH, PLUGINS_PATH, PREFIX, QUERY_ACCOUNT_ID, QUERY_ACCOUNT_TREAT_NULL_AS_RESET, QUERY_ACCOUNT_WITH_BALANCE, QUERY_ACCOUNT_WITH_BALANCE_AND_CBA, QUERY_API_KEY, QUERY_AUDIT, QUERY_AUTO_COMMIT, QUERY_BILLING_POLICY, QUERY_BILLING_REQUESTED_DT, QUERY_BLOCKING_STATE_SVCS, QUERY_BLOCKING_STATE_TYPES, QUERY_BUNDLES_FILTER, QUERY_BUNDLES_RENAME_KEY_IF_EXIST_UNUSED, QUERY_CALL_COMPLETION, QUERY_CALL_TIMEOUT, QUERY_CANCEL_ALL_SUBSCRIPTIONS, QUERY_CUSTOM_FIELD, QUERY_DELETE_DEFAULT_PM_WITH_AUTO_PAY_OFF, QUERY_DELETE_IF_EXISTS, QUERY_END_DATE, QUERY_ENTITLEMENT_EFFECTIVE_FROM_DT, QUERY_ENTITLEMENT_POLICY, QUERY_ENTITLEMENT_REQUESTED_DT, QUERY_EXTERNAL_KEY, QUERY_FORCE_DEFAULT_PM_DELETION, QUERY_FORCE_NEW_BCD_WITH_PAST_EFFECTIVE_DATE, QUERY_INCLUDE_VOIDED_INVOICES, QUERY_INCLUDED_DELETED, QUERY_INVOICE_WITH_CHILDREN_ITEMS, QUERY_INVOICES_FILTER, QUERY_ITEM_ADJUST_UNPAID_INVOICES, QUERY_LOCAL_NODE_ONLY, QUERY_MIGRATED, QUERY_NOTIFICATION_CALLBACK, QUERY_OBJECT_TYPE, QUERY_PARALLEL, QUERY_PAY_ALL_UNPAID_INVOICES, QUERY_PAY_INVOICE, QUERY_PAYMENT_AMOUNT, QUERY_PAYMENT_CONTROL_PLUGIN_NAME, QUERY_PAYMENT_EXTERNAL, QUERY_PAYMENT_EXTERNAL_KEY, QUERY_PAYMENT_METHOD_ID, QUERY_PAYMENT_METHOD_IS_DEFAULT, QUERY_PAYMENT_METHOD_PLUGIN_NAME, QUERY_PAYMENT_PLUGIN_NAME, QUERY_PAYMENT_WITH_REFUNDS_AND_CHARGEBACKS, QUERY_PLUGIN_PROPERTY, QUERY_REMOVE_FUTURE_NOTIFICATIONS, QUERY_REQUESTED_DT, QUERY_SEARCH_LIMIT, QUERY_SEARCH_OFFSET, QUERY_SKIP_RESPONSE, QUERY_START_DATE, QUERY_TAG, QUERY_TAGS_INCLUDED_DELETED, QUERY_TARGET_DATE, QUERY_TENANT_USE_GLOBAL_DEFAULT, QUERY_TRANSACTION_EXTERNAL_KEY, QUERY_UNPAID_INVOICES_ONLY, QUERY_USE_REQUESTED_DATE_FOR_BILLING, QUERY_WITH_ATTEMPTS, QUERY_WITH_MIGRATION_INVOICES, QUERY_WITH_PLUGIN_INFO, QUERY_WRITE_OFF_UNPAID_INVOICES, REFUNDS, REGISTER_NOTIFICATION_CALLBACK, RENAME_KEY, RESUME, SEARCH, SECURITY, SECURITY_PATH, STRING_PATTERN, SUBSCRIPTIONS, SUBSCRIPTIONS_PATH, TAG_DEFINITIONS, TAG_DEFINITIONS_PATH, TAGS, TAGS_PATH, TAXES, TENANTS, TENANTS_PATH, TEST, TEST_PATH, TIMELINE, TRANSFER_CREDIT, UNDO_CANCEL, UNDO_CHANGE_PLAN, UPLOAD_PER_TENANT_CONFIG, UPLOAD_PLUGIN_CONFIG, UPLOAD_PLUGIN_PAYMENT_STATE_MACHINE_CONFIG, USAGES, USAGES_PATH, USER_KEY_VALUE, UUID_PATTERN, VOID_INVOICE| Constructor and Description |
|---|
InvoicePaymentResource(AccountUserApi accountUserApi,
PaymentApi paymentApi,
JaxrsUriBuilder uriBuilder,
org.killbill.billing.util.api.TagUserApi tagUserApi,
org.killbill.billing.util.api.CustomFieldUserApi customFieldUserApi,
org.killbill.billing.util.api.AuditUserApi auditUserApi,
InvoicePaymentApi invoicePaymentApi,
InvoiceUserApi invoiceApi,
org.killbill.clock.Clock clock,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
completeInvoicePaymentTransaction(UUID paymentId,
PaymentTransactionJson json,
List<String> paymentControlPluginNames,
List<String> pluginPropertiesString,
String createdBy,
String reason,
String comment,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
createChargeback(UUID paymentId,
InvoicePaymentTransactionJson json,
List<String> pluginPropertiesString,
String createdBy,
String reason,
String comment,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
createChargebackReversal(UUID paymentId,
InvoicePaymentTransactionJson json,
List<String> pluginPropertiesString,
String createdBy,
String reason,
String comment,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
createInvoicePaymentCustomFields(UUID id,
List<CustomFieldJson> customFields,
String createdBy,
String reason,
String comment,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createInvoicePaymentTags(UUID id,
List<UUID> tagList,
String createdBy,
String reason,
String comment,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
createRefundWithAdjustments(UUID paymentId,
InvoicePaymentTransactionJson json,
Boolean externalPayment,
UUID paymentMethodId,
List<String> pluginPropertiesString,
String createdBy,
String reason,
String comment,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
deleteInvoicePaymentCustomFields(UUID id,
List<UUID> customFieldList,
String createdBy,
String reason,
String comment,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
deleteInvoicePaymentTags(UUID id,
List<UUID> tagList,
String createdBy,
String reason,
String comment,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getCustomFields(UUID id,
AuditMode auditMode,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getInvoicePayment(UUID paymentId,
Boolean withPluginInfo,
Boolean withAttempts,
List<String> pluginPropertiesString,
AuditMode auditMode,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
getInvoicePaymentAuditLogsWithHistory(UUID invoicePaymentId,
javax.servlet.http.HttpServletRequest request) |
protected org.killbill.billing.ObjectType |
getObjectType() |
javax.ws.rs.core.Response |
getTags(UUID paymentId,
Boolean includedDeleted,
List<String> pluginPropertiesString,
AuditMode auditMode,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
modifyInvoicePaymentCustomFields(UUID id,
List<CustomFieldJson> customFields,
String createdBy,
String reason,
String comment,
javax.servlet.http.HttpServletRequest request) |
addBlockingState, buildStreamingPaginationResponse, completeTransactionInternal, createControlPluginApiPaymentOptions, createControlPluginApiPaymentOptions, createCustomFieldResponse, createCustomFields, createInvoicePaymentControlPluginApiPaymentOptions, createPaymentResponse, createPurchaseForInvoice, createPurchaseForInvoice, createTagResponse, createTags, deleteCustomFields, deleteTags, extractPluginProperties, extractPluginProperties, getAuditLogsWithHistory, getCustomFields, getInvoiceId, getPaymentByIdOrKey, getPaymentTransactions, getTagDefinitionUUIDs, getTags, lookupPendingOrSuccessTransaction, modifyCustomFields, toLocalDate, toLocalDateDefaultToday, toLocalDateDefaultToday, validatePaymentMethodForAccount, validateSanitizeAndTranformInputItems, verifyNonNull, verifyNonNullOrEmpty@Inject public InvoicePaymentResource(AccountUserApi accountUserApi, PaymentApi paymentApi, JaxrsUriBuilder uriBuilder, org.killbill.billing.util.api.TagUserApi tagUserApi, org.killbill.billing.util.api.CustomFieldUserApi customFieldUserApi, org.killbill.billing.util.api.AuditUserApi auditUserApi, InvoicePaymentApi invoicePaymentApi, InvoiceUserApi invoiceApi, org.killbill.clock.Clock clock, Context context)
@GET
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/")
@Produces(value="application/json")
public javax.ws.rs.core.Response getInvoicePayment(@PathParam(value="paymentId")
UUID paymentId,
@QueryParam(value="withPluginInfo") @DefaultValue(value="false")
Boolean withPluginInfo,
@QueryParam(value="withAttempts") @DefaultValue(value="false")
Boolean withAttempts,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@QueryParam(value="audit") @DefaultValue(value="NONE")
AuditMode auditMode,
@Context
javax.servlet.http.HttpServletRequest request)
throws PaymentApiException
PaymentApiException@GET
@Path(value="/{invoicePaymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/auditLogsWithHistory")
@Produces(value="application/json")
public javax.ws.rs.core.Response getInvoicePaymentAuditLogsWithHistory(@PathParam(value="invoicePaymentId")
UUID invoicePaymentId,
@Context
javax.servlet.http.HttpServletRequest request)
@POST
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/refunds")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response createRefundWithAdjustments(@PathParam(value="paymentId")
UUID paymentId,
InvoicePaymentTransactionJson json,
@QueryParam(value="externalPayment") @DefaultValue(value="false")
Boolean externalPayment,
@QueryParam(value="paymentMethodId")
UUID paymentMethodId,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
throws PaymentApiException,
AccountApiException
@POST
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/chargebacks")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response createChargeback(@PathParam(value="paymentId")
UUID paymentId,
InvoicePaymentTransactionJson json,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
throws PaymentApiException,
AccountApiException
@POST
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/chargebackReversals")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response createChargebackReversal(@PathParam(value="paymentId")
UUID paymentId,
InvoicePaymentTransactionJson json,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
throws PaymentApiException,
AccountApiException
@PUT
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response completeInvoicePaymentTransaction(@PathParam(value="paymentId")
UUID paymentId,
PaymentTransactionJson json,
@QueryParam(value="controlPluginName")
List<String> paymentControlPluginNames,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
throws PaymentApiException,
AccountApiException
@GET
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/customFields")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCustomFields(@PathParam(value="paymentId")
UUID id,
@QueryParam(value="audit") @DefaultValue(value="NONE")
AuditMode auditMode,
@Context
javax.servlet.http.HttpServletRequest request)
@POST
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/customFields")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response createInvoicePaymentCustomFields(@PathParam(value="paymentId")
UUID id,
List<CustomFieldJson> customFields,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.ws.rs.core.UriInfo uriInfo)
throws org.killbill.billing.util.api.CustomFieldApiException
@PUT
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/customFields")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response modifyInvoicePaymentCustomFields(@PathParam(value="paymentId")
UUID id,
List<CustomFieldJson> customFields,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.servlet.http.HttpServletRequest request)
throws org.killbill.billing.util.api.CustomFieldApiException
@DELETE
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/customFields")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteInvoicePaymentCustomFields(@PathParam(value="paymentId")
UUID id,
@QueryParam(value="customField")
List<UUID> customFieldList,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.servlet.http.HttpServletRequest request)
throws org.killbill.billing.util.api.CustomFieldApiException
@GET
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/tags")
@Produces(value="application/json")
public javax.ws.rs.core.Response getTags(@PathParam(value="paymentId")
UUID paymentId,
@QueryParam(value="includedDeleted") @DefaultValue(value="false")
Boolean includedDeleted,
@QueryParam(value="pluginProperty")
List<String> pluginPropertiesString,
@QueryParam(value="audit") @DefaultValue(value="NONE")
AuditMode auditMode,
@Context
javax.servlet.http.HttpServletRequest request)
throws org.killbill.billing.util.api.TagDefinitionApiException,
PaymentApiException
@POST
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/tags")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response createInvoicePaymentTags(@PathParam(value="paymentId")
UUID id,
List<UUID> tagList,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
throws org.killbill.billing.util.api.TagApiException
@DELETE
@Path(value="/{paymentId:\\w+-\\w+-\\w+-\\w+-\\w+}/tags")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteInvoicePaymentTags(@PathParam(value="paymentId")
UUID id,
@QueryParam(value="tagDef")
List<UUID> tagList,
@HeaderParam(value="X-Killbill-CreatedBy")
String createdBy,
@HeaderParam(value="X-Killbill-Reason")
String reason,
@HeaderParam(value="X-Killbill-Comment")
String comment,
@Context
javax.servlet.http.HttpServletRequest request)
throws org.killbill.billing.util.api.TagApiException
protected org.killbill.billing.ObjectType getObjectType()
getObjectType in class JaxRsResourceBaseCopyright © 2010–2022. All rights reserved.