Documentation
¶
Index ¶
Constants ¶
View Source
const (
GiftCardExpiry = 24 * time.Hour
)
Variables ¶
This section is empty.
Functions ¶
func InitiateProcessToAutoReturnGiftCard ¶
func InitiateProcessToAutoReturnGiftCard(ctx context.Context, data code_data.Provider, giftCardVaultAccount *common.Account, isVoidedByUser bool) error
Note: This is the first instance of handling a conditional action, and could be a good guide for similar actions in the future.
todo: This probably belongs somewhere more common
Types ¶
type ConfigProvider ¶
type ConfigProvider func() *conf
ConfigProvider defines how config values are pulled
func WithEnvConfigs ¶
func WithEnvConfigs() ConfigProvider
WithEnvConfigs returns configuration pulled from environment variables
Click to show internal directories.
Click to hide internal directories.