Options
All
  • Public
  • Public/Protected
  • All
Menu

shipping-methods

Index

Type aliases

EPInterface

EPInterface: (input: Input, configuration: Configuration) => Result

Type declaration

Float

Float: f64

Int

Int: i32

ShippingMethodContext

ShippingMethodContext: ShippingMethodContextClass

The type of context which is created when ContextualQuickSort is created

Variables

Const AnonymousBuyer

AnonymousBuyer: BuyerIdentity = new BuyerIdentity('')

Constant equal to a buyer with no email or phone number entered

Let EPHandler

EPHandler: EPInterface

Const EPName

EPName: "shipping_methods" = "shipping_methods"

Functions

registerShippingMethodsHandler

  • registerShippingMethodsHandler(handler: EPInterface): void

run

  • run(): void
  • Execute the registered extension point.

    Returns void

safeParseInt

  • safeParseInt(v: string, radix?: i32): i64
  • A function that is similar to parseInt(2). This safeParseInt returns an error when the value is not a number (NaN) or is not a valid integer.

    Parameters

    • v: string

      Value to convert to an integer

    • Default value radix: i32 = 0

      Optional radix

    Returns i64

Generated using TypeDoc