Documentation
¶
Overview ¶
internal/temporal/workflows/price_sync.go
Index ¶
- Constants
- func CalculateChargesWorkflow(ctx workflow.Context, input models.BillingWorkflowInput) (*models.CalculationResult, error)
- func CronBillingWorkflow(ctx workflow.Context, input models.BillingWorkflowInput) (*models.BillingWorkflowResult, error)
- func PriceSyncWorkflow(ctx workflow.Context, in models.PriceSyncWorkflowInput) (*dto.SyncPlanPricesResponse, error)
Constants ¶
View Source
const ( // Workflow name - must match the function name WorkflowPriceSync = "PriceSyncWorkflow" // Activity name - must match the registered method name (just "SyncPlanPrices") ActivitySyncPlanPrices = "SyncPlanPrices" )
Variables ¶
This section is empty.
Functions ¶
func CalculateChargesWorkflow ¶
func CalculateChargesWorkflow(ctx workflow.Context, input models.BillingWorkflowInput) (*models.CalculationResult, error)
func CronBillingWorkflow ¶
func CronBillingWorkflow(ctx workflow.Context, input models.BillingWorkflowInput) (*models.BillingWorkflowResult, error)
CronBillingWorkflow represents a recurring billing workflow.
func PriceSyncWorkflow ¶ added in v1.0.23
func PriceSyncWorkflow(ctx workflow.Context, in models.PriceSyncWorkflowInput) (*dto.SyncPlanPricesResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.