Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ACTIVE - Enum constant in enum class com.example.orderplatform.customers.domain.CustomerStatus
- add(Money) - Method in record class com.example.orderplatform.Money
-
Adds two monetary values after verifying they use the same currency.
- amount() - Method in record class com.example.orderplatform.Money
-
Returns the value of the
amountrecord component. - amount() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns the value of the
amountrecord component. - amount() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
amountrecord component. - amount() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
amountrecord component. - authorize(OffsetDateTime) - Method in record class com.example.orderplatform.payments.domain.Payment
-
Authorizes this payment when it is still pending.
- authorize(UUID, Money) - Method in interface com.example.orderplatform.payments.api.PaymentManagement
-
Authorizes the pending payment for an order when the submitted amount matches the order total.
- authorize(UUID, Money) - Method in class com.example.orderplatform.payments.application.PaymentApplicationService
-
Authorizes an existing pending payment when the submitted amount equals the order total.
- AUTHORIZED - Enum constant in enum class com.example.orderplatform.payments.domain.PaymentStatus
- authorizedAt() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
authorizedAtrecord component. - authorizedAt() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
authorizedAtrecord component.
B
- BusinessRuleViolationException - Exception Class in com.example.orderplatform
-
Raised when a request would violate a business invariant enforced by the domain model or use case.
- BusinessRuleViolationException(String) - Constructor for exception class com.example.orderplatform.BusinessRuleViolationException
C
- CatalogPrice - Record Class in com.example.orderplatform.pricing.application
-
Active catalog price exposed to pricing use cases without leaking persistence details.
- CatalogPrice(String, Money) - Constructor for record class com.example.orderplatform.pricing.application.CatalogPrice
-
Creates an instance of a
CatalogPricerecord class. - channel() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
channelrecord component. - channel() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns the value of the
channelrecord component. - com.example.orderplatform - package com.example.orderplatform
-
Shared application bootstrap, problem exceptions and value objects used across order platform modules.
- com.example.orderplatform.customers - package com.example.orderplatform.customers
-
Customer module that owns registered customer identity and exposes customer lookup through its API package.
- com.example.orderplatform.customers.api - package com.example.orderplatform.customers.api
-
Named customer API surface used by other modules for customer identity lookups.
- com.example.orderplatform.customers.application - package com.example.orderplatform.customers.application
- com.example.orderplatform.customers.domain - package com.example.orderplatform.customers.domain
- com.example.orderplatform.notifications - package com.example.orderplatform.notifications
-
Notification module that records notification intents created from order and payment events.
- com.example.orderplatform.notifications.api - package com.example.orderplatform.notifications.api
-
Named notification API surface for reading recorded notification intents.
- com.example.orderplatform.notifications.application - package com.example.orderplatform.notifications.application
- com.example.orderplatform.notifications.domain - package com.example.orderplatform.notifications.domain
- com.example.orderplatform.orders - package com.example.orderplatform.orders
-
Order module that validates customers, quotes requested products and publishes order creation events.
- com.example.orderplatform.orders.api - package com.example.orderplatform.orders.api
-
Named order API surface and order domain events consumed by downstream modules.
- com.example.orderplatform.orders.application - package com.example.orderplatform.orders.application
- com.example.orderplatform.orders.domain - package com.example.orderplatform.orders.domain
- com.example.orderplatform.payments - package com.example.orderplatform.payments
-
Payment module that reacts to committed orders and authorizes payments against the submitted order total.
- com.example.orderplatform.payments.api - package com.example.orderplatform.payments.api
-
Named payment API surface and payment events consumed by notification workflows.
- com.example.orderplatform.payments.application - package com.example.orderplatform.payments.application
- com.example.orderplatform.payments.domain - package com.example.orderplatform.payments.domain
- com.example.orderplatform.pricing - package com.example.orderplatform.pricing
-
Pricing module that owns catalog prices and produces validated quotes for order placement.
- com.example.orderplatform.pricing.api - package com.example.orderplatform.pricing.api
-
Named pricing API surface used by orders to quote products before accepting an order.
- com.example.orderplatform.pricing.application - package com.example.orderplatform.pricing.application
- createCustomer(String, String) - Method in class com.example.orderplatform.customers.application.CustomerApplicationService
-
Registers a new active customer after normalizing and validating the submitted identity fields.
- createdAt() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
createdAtrecord component. - currency() - Method in record class com.example.orderplatform.Money
-
Returns the value of the
currencyrecord component. - currency() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns the value of the
currencyrecord component. - currency() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns the value of the
currencyrecord component. - CustomerApplicationService - Class in com.example.orderplatform.customers.application
-
Application service that registers customers and backs the customer lookup module API.
- CustomerApplicationService(CustomerStore) - Constructor for class com.example.orderplatform.customers.application.CustomerApplicationService
- CustomerDirectory - Interface in com.example.orderplatform.customers.api
-
Module API for resolving customers required by other modules.
- customerId() - Method in record class com.example.orderplatform.orders.api.OrderCommand
-
Returns the value of the
customerIdrecord component. - customerId() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns the value of the
customerIdrecord component. - customerId() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
customerIdrecord component. - customerId() - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Returns the value of the
customerIdrecord component. - CustomerRegistration - Record Class in com.example.orderplatform.customers.domain
-
Validated registration command for creating a customer.
- CustomerRegistration(String, String) - Constructor for record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Creates an instance of a
CustomerRegistrationrecord class. - CustomerSnapshot - Record Class in com.example.orderplatform.customers.api
-
Immutable customer view exposed by the customer module API.
- CustomerSnapshot(UUID, String, String, String) - Constructor for record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Creates an instance of a
CustomerSnapshotrecord class. - CustomerStatus - Enum Class in com.example.orderplatform.customers.domain
-
Lifecycle status stored for a registered customer.
- CustomerStore - Interface in com.example.orderplatform.customers.application
-
Outbound persistence port for customer registration and lookup.
E
- email() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns the value of the
emailrecord component. - email() - Method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Returns the value of the
emailrecord component. - equals(Object) - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.Money
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.api.OrderCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.api.OrderItemCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.payments.domain.Payment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.pricing.api.PricingQuote
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.pricing.api.PricingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.example.orderplatform.pricing.application.CatalogPrice
-
Indicates whether some other object is "equal to" this one.
F
- findActivePrice(String) - Method in interface com.example.orderplatform.pricing.application.PriceCatalog
-
Finds an active catalog price for a product code.
- findById(UUID) - Method in interface com.example.orderplatform.customers.application.CustomerStore
-
Finds a customer by its identifier.
- findById(UUID) - Method in interface com.example.orderplatform.orders.application.OrderStore
-
Finds an order by identifier.
- findById(UUID) - Method in interface com.example.orderplatform.payments.application.PaymentStore
-
Finds a payment by identifier.
- findByOrderId(UUID) - Method in interface com.example.orderplatform.payments.application.PaymentStore
-
Finds the payment prepared for an order.
- findRecent() - Method in interface com.example.orderplatform.notifications.application.NotificationStore
-
Lists recent notification records.
- fullName() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns the value of the
fullNamerecord component. - fullName() - Method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Returns the value of the
fullNamerecord component.
G
- getOrder(UUID) - Method in interface com.example.orderplatform.orders.api.OrderManagement
-
Retrieves an order by identifier.
- getOrder(UUID) - Method in class com.example.orderplatform.orders.application.OrderApplicationService
-
Retrieves a persisted order summary.
- getPayment(UUID) - Method in interface com.example.orderplatform.payments.api.PaymentManagement
-
Retrieves a payment by identifier.
- getPayment(UUID) - Method in class com.example.orderplatform.payments.application.PaymentApplicationService
-
Retrieves a payment by identifier.
- getRequiredCustomer(UUID) - Method in interface com.example.orderplatform.customers.api.CustomerDirectory
-
Retrieves a customer by identifier.
- getRequiredCustomer(UUID) - Method in class com.example.orderplatform.customers.application.CustomerApplicationService
-
Retrieves the customer snapshot required by order placement.
H
- hashCode() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.Money
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.api.OrderCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.api.OrderItemCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.pricing.api.PricingQuote
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.pricing.api.PricingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.example.orderplatform.pricing.application.CatalogPrice
-
Returns a hash code value for this object.
I
- id() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns the value of the
idrecord component. - id() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
idrecord component. - id() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
idrecord component. - id() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
idrecord component. - id() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
idrecord component. - items() - Method in record class com.example.orderplatform.orders.api.OrderCommand
-
Returns the value of the
itemsrecord component.
L
- lines() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
linesrecord component. - lines() - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Returns the value of the
linesrecord component. - lines() - Method in record class com.example.orderplatform.pricing.api.PricingQuote
-
Returns the value of the
linesrecord component. - lineTotal() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns the value of the
lineTotalrecord component. - lineTotal() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Calculates the line total from unit price and quantity.
- lineTotal() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns the value of the
lineTotalrecord component. - listRecent() - Method in interface com.example.orderplatform.notifications.api.NotificationLog
-
Lists the most recent notification intents.
- listRecent() - Method in class com.example.orderplatform.notifications.application.NotificationApplicationService
-
Lists recently recorded notification intents.
M
- main(String[]) - Static method in class com.example.orderplatform.OrderPlatformApplication
-
Starts the Spring Boot application.
- Money - Record Class in com.example.orderplatform
-
Monetary value object used by pricing, orders and payments.
- Money(BigDecimal, String) - Constructor for record class com.example.orderplatform.Money
-
Creates an instance of a
Moneyrecord class. - multiply(int) - Method in record class com.example.orderplatform.Money
-
Multiplies this value by a positive quantity.
N
- NotificationApplicationService - Class in com.example.orderplatform.notifications.application
-
Application service that records notification intents after committed order and payment events.
- NotificationApplicationService(NotificationStore) - Constructor for class com.example.orderplatform.notifications.application.NotificationApplicationService
- NotificationDraft - Record Class in com.example.orderplatform.notifications.domain
-
Validated notification intent before it is persisted.
- NotificationDraft(String, String, String, String) - Constructor for record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Creates an instance of a
NotificationDraftrecord class. - NotificationLog - Interface in com.example.orderplatform.notifications.api
-
Module API for reading notification intents recorded by the notification module.
- NotificationStatus - Enum Class in com.example.orderplatform.notifications.domain
-
Lifecycle status stored for a notification intent.
- NotificationStore - Interface in com.example.orderplatform.notifications.application
-
Outbound persistence port for recorded notification intents.
- NotificationSummary - Record Class in com.example.orderplatform.notifications.api
-
Immutable view of a recorded notification intent.
- NotificationSummary(UUID, String, String, String, String, OffsetDateTime) - Constructor for record class com.example.orderplatform.notifications.api.NotificationSummary
-
Creates an instance of a
NotificationSummaryrecord class.
O
- occurredAt() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns the value of the
occurredAtrecord component. - of(BigDecimal, String) - Static method in record class com.example.orderplatform.Money
-
Creates a normalized money value.
- on(OrderCreatedEvent) - Method in class com.example.orderplatform.notifications.application.NotificationApplicationService
-
Records a customer notification intent for a committed order.
- on(PaymentAuthorizedEvent) - Method in class com.example.orderplatform.notifications.application.NotificationApplicationService
-
Records an operational notification intent for an authorized payment.
- OrderApplicationService - Class in com.example.orderplatform.orders.application
-
Application service that coordinates customer lookup, pricing, order persistence and order events.
- OrderApplicationService(CustomerDirectory, PricingService, OrderStore, ApplicationEventPublisher) - Constructor for class com.example.orderplatform.orders.application.OrderApplicationService
- OrderCommand - Record Class in com.example.orderplatform.orders.api
-
Order placement command accepted by the order module.
- OrderCommand(UUID, List<OrderItemCommand>) - Constructor for record class com.example.orderplatform.orders.api.OrderCommand
-
Creates an instance of a
OrderCommandrecord class. - OrderCreatedEvent - Record Class in com.example.orderplatform.orders.api
-
Domain event published after an order is persisted.
- OrderCreatedEvent(UUID, UUID, BigDecimal, String, OffsetDateTime) - Constructor for record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Creates an instance of a
OrderCreatedEventrecord class. - OrderDraft - Record Class in com.example.orderplatform.orders.domain
-
Validated order draft created after pricing has accepted each requested line.
- OrderDraft(UUID, List<OrderLineDraft>) - Constructor for record class com.example.orderplatform.orders.domain.OrderDraft
-
Creates an instance of a
OrderDraftrecord class. - orderId() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns the value of the
orderIdrecord component. - orderId() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns the value of the
orderIdrecord component. - orderId() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
orderIdrecord component. - orderId() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
orderIdrecord component. - OrderItemCommand - Record Class in com.example.orderplatform.orders.api
-
Requested product line in an order command.
- OrderItemCommand(String, int) - Constructor for record class com.example.orderplatform.orders.api.OrderItemCommand
-
Creates an instance of a
OrderItemCommandrecord class. - OrderLineDraft - Record Class in com.example.orderplatform.orders.domain
-
Validated priced line used to create a persisted order.
- OrderLineDraft(String, int, Money) - Constructor for record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Creates an instance of a
OrderLineDraftrecord class. - OrderLineSummary - Record Class in com.example.orderplatform.orders.api
-
Immutable view of one persisted order line.
- OrderLineSummary(String, int, Money, Money) - Constructor for record class com.example.orderplatform.orders.api.OrderLineSummary
-
Creates an instance of a
OrderLineSummaryrecord class. - OrderManagement - Interface in com.example.orderplatform.orders.api
-
Module API for placing and retrieving orders.
- OrderPlatformApplication - Class in com.example.orderplatform
-
Spring Boot entry point for the modular monolith order platform.
- OrderPlatformApplication() - Constructor for class com.example.orderplatform.OrderPlatformApplication
- OrderStatus - Enum Class in com.example.orderplatform.orders.domain
-
Lifecycle status stored for orders.
- OrderStore - Interface in com.example.orderplatform.orders.application
-
Outbound persistence port for submitted orders.
- OrderSummary - Record Class in com.example.orderplatform.orders.api
-
Immutable order view returned by the order module and REST layer.
- OrderSummary(UUID, UUID, String, Money, List<OrderLineSummary>, OffsetDateTime) - Constructor for record class com.example.orderplatform.orders.api.OrderSummary
-
Creates an instance of a
OrderSummaryrecord class.
P
- payload() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns the value of the
payloadrecord component. - Payment - Record Class in com.example.orderplatform.payments.domain
-
Framework-independent payment state used to enforce authorization transitions.
- Payment(UUID, UUID, PaymentStatus, Money, OffsetDateTime, OffsetDateTime) - Constructor for record class com.example.orderplatform.payments.domain.Payment
-
Creates an instance of a
Paymentrecord class. - PaymentApplicationService - Class in com.example.orderplatform.payments.application
-
Application service that prepares payments from committed orders and authorizes matching payments.
- PaymentApplicationService(PaymentStore, ApplicationEventPublisher) - Constructor for class com.example.orderplatform.payments.application.PaymentApplicationService
- PaymentAuthorizedEvent - Record Class in com.example.orderplatform.payments.api
-
Domain event published after a payment is authorized.
- PaymentAuthorizedEvent(UUID, UUID, BigDecimal, String, OffsetDateTime) - Constructor for record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Creates an instance of a
PaymentAuthorizedEventrecord class. - paymentId() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns the value of the
paymentIdrecord component. - PaymentManagement - Interface in com.example.orderplatform.payments.api
-
Module API for authorizing and retrieving payments associated with orders.
- PaymentStatus - Enum Class in com.example.orderplatform.payments.domain
-
Lifecycle status stored for a payment.
- PaymentStore - Interface in com.example.orderplatform.payments.application
-
Outbound persistence port for prepared and authorized payments.
- PaymentSummary - Record Class in com.example.orderplatform.payments.api
-
Immutable payment view exposed by the payment module API.
- PaymentSummary(UUID, UUID, String, Money, OffsetDateTime, OffsetDateTime) - Constructor for record class com.example.orderplatform.payments.api.PaymentSummary
-
Creates an instance of a
PaymentSummaryrecord class. - pending(UUID, UUID, Money, OffsetDateTime) - Static method in record class com.example.orderplatform.payments.domain.Payment
-
Creates a pending payment for a submitted order.
- PENDING - Enum constant in enum class com.example.orderplatform.payments.domain.PaymentStatus
- placeOrder(OrderCommand) - Method in interface com.example.orderplatform.orders.api.OrderManagement
-
Places an order after customer validation and pricing.
- placeOrder(OrderCommand) - Method in class com.example.orderplatform.orders.application.OrderApplicationService
-
Places a submitted order and publishes an order-created event after persistence.
- preparePayment(OrderCreatedEvent) - Method in class com.example.orderplatform.payments.application.PaymentApplicationService
-
Prepares one pending payment for a committed order.
- PriceCatalog - Interface in com.example.orderplatform.pricing.application
-
Outbound catalog port used by pricing use cases.
- PricedLine - Record Class in com.example.orderplatform.pricing.api
-
Price calculation for one requested product line.
- PricedLine(String, int, Money, Money) - Constructor for record class com.example.orderplatform.pricing.api.PricedLine
-
Creates an instance of a
PricedLinerecord class. - PricingApplicationService - Class in com.example.orderplatform.pricing.application
-
Application service that reads the active catalog and calculates quote totals for order placement.
- PricingApplicationService(PriceCatalog) - Constructor for class com.example.orderplatform.pricing.application.PricingApplicationService
- PricingQuote - Record Class in com.example.orderplatform.pricing.api
-
Completed quote returned by the pricing module.
- PricingQuote(List<PricedLine>, Money) - Constructor for record class com.example.orderplatform.pricing.api.PricingQuote
-
Creates an instance of a
PricingQuoterecord class. - PricingRequest - Record Class in com.example.orderplatform.pricing.api
-
Product quantity requested for pricing.
- PricingRequest(String, int) - Constructor for record class com.example.orderplatform.pricing.api.PricingRequest
-
Creates an instance of a
PricingRequestrecord class. - PricingService - Interface in com.example.orderplatform.pricing.api
-
Module API for quoting product requests against the price catalog.
- productCode() - Method in record class com.example.orderplatform.orders.api.OrderItemCommand
-
Returns the value of the
productCoderecord component. - productCode() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns the value of the
productCoderecord component. - productCode() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Returns the value of the
productCoderecord component. - productCode() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns the value of the
productCoderecord component. - productCode() - Method in record class com.example.orderplatform.pricing.api.PricingRequest
-
Returns the value of the
productCoderecord component. - productCode() - Method in record class com.example.orderplatform.pricing.application.CatalogPrice
-
Returns the value of the
productCoderecord component.
Q
- quantity() - Method in record class com.example.orderplatform.orders.api.OrderItemCommand
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.example.orderplatform.pricing.api.PricingRequest
-
Returns the value of the
quantityrecord component. - quoteFor(List<PricingRequest>) - Method in interface com.example.orderplatform.pricing.api.PricingService
-
Creates a deterministic quote for the requested product quantities.
- quoteFor(List<PricingRequest>) - Method in class com.example.orderplatform.pricing.application.PricingApplicationService
-
Quotes the requested products using active catalog entries.
R
- READY - Enum constant in enum class com.example.orderplatform.notifications.domain.NotificationStatus
- recipient() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
recipientrecord component. - recipient() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns the value of the
recipientrecord component. - register(String, String) - Static method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Creates a validated registration value.
- ResourceConflictException - Exception Class in com.example.orderplatform
-
Raised when a request conflicts with an existing resource, such as a duplicate customer email.
- ResourceConflictException(String) - Constructor for exception class com.example.orderplatform.ResourceConflictException
- ResourceNotFoundException - Exception Class in com.example.orderplatform
-
Raised when a required aggregate or lookup target cannot be found.
- ResourceNotFoundException(String) - Constructor for exception class com.example.orderplatform.ResourceNotFoundException
S
- save(NotificationDraft) - Method in interface com.example.orderplatform.notifications.application.NotificationStore
-
Persists a ready notification intent.
- save(Payment) - Method in interface com.example.orderplatform.payments.application.PaymentStore
-
Persists the current payment state.
- save(UUID, OrderDraft, OffsetDateTime) - Method in interface com.example.orderplatform.orders.application.OrderStore
-
Persists a submitted order draft.
- saveNew(UUID, CustomerRegistration, CustomerStatus, OffsetDateTime) - Method in interface com.example.orderplatform.customers.application.CustomerStore
-
Persists a new customer registration.
- status() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns the value of the
statusrecord component. - status() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
statusrecord component. - status() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
statusrecord component. - status() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns the value of the
statusrecord component. - status() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns the value of the
statusrecord component. - SUBMITTED - Enum constant in enum class com.example.orderplatform.orders.domain.OrderStatus
T
- toString() - Method in record class com.example.orderplatform.customers.api.CustomerSnapshot
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.customers.domain.CustomerRegistration
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.Money
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.api.OrderCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.api.OrderItemCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.payments.api.PaymentAuthorizedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.payments.api.PaymentSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.payments.domain.Payment
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.pricing.api.PricingQuote
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.pricing.api.PricingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.example.orderplatform.pricing.application.CatalogPrice
-
Returns a string representation of this record class.
- total() - Method in record class com.example.orderplatform.orders.api.OrderSummary
-
Returns the value of the
totalrecord component. - total() - Method in record class com.example.orderplatform.orders.domain.OrderDraft
-
Calculates the order total from all priced lines.
- total() - Method in record class com.example.orderplatform.pricing.api.PricingQuote
-
Returns the value of the
totalrecord component. - totalAmount() - Method in record class com.example.orderplatform.orders.api.OrderCreatedEvent
-
Returns the value of the
totalAmountrecord component. - type() - Method in record class com.example.orderplatform.notifications.api.NotificationSummary
-
Returns the value of the
typerecord component. - type() - Method in record class com.example.orderplatform.notifications.domain.NotificationDraft
-
Returns the value of the
typerecord component.
U
- unitPrice() - Method in record class com.example.orderplatform.orders.api.OrderLineSummary
-
Returns the value of the
unitPricerecord component. - unitPrice() - Method in record class com.example.orderplatform.orders.domain.OrderLineDraft
-
Returns the value of the
unitPricerecord component. - unitPrice() - Method in record class com.example.orderplatform.pricing.api.PricedLine
-
Returns the value of the
unitPricerecord component. - unitPrice() - Method in record class com.example.orderplatform.pricing.application.CatalogPrice
-
Returns the value of the
unitPricerecord component.
V
- valueOf(String) - Static method in enum class com.example.orderplatform.customers.domain.CustomerStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.example.orderplatform.notifications.domain.NotificationStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.example.orderplatform.orders.domain.OrderStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.example.orderplatform.payments.domain.PaymentStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.example.orderplatform.customers.domain.CustomerStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.example.orderplatform.notifications.domain.NotificationStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.example.orderplatform.orders.domain.OrderStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.example.orderplatform.payments.domain.PaymentStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form