How to use the @mollie/api-client.Locale.nl_NL function in @mollie/api-client

To help you get started, we’ve selected a few @mollie/api-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mollie / mollie-api-node / examples / orders / create.ts View on Github external
streetAdditional: '4th floor',
        city: 'Haarlem',
        region: 'Noord-Holland',
        postalCode: '5678AB',
        country: 'NL',
        title: 'Mr.',
        givenName: 'Chuck',
        familyName: 'Norris',
        email: 'norris@chucknorrisfacts.net',
      },
      metadata: {
        order_id: '1337',
        description: 'Lego cars',
      },
      consumerDateOfBirth: '1958-01-31',
      locale: Locale.nl_NL,
      orderNumber: '1337',
      redirectUrl: 'https://example.org/redirect',
      webhookUrl: 'https://example.org/webhook',
      method: PaymentMethod.klarnapaylater,
      lines: [
        {
          type: OrderLineType.physical,
          sku: '5702016116977',
          name: 'LEGO 42083 Bugatti Chiron',
          productUrl: 'https://shop.lego.com/nl-NL/Bugatti-Chiron-42083',
          imageUrl: 'https://sh-s7-live-s.legocdn.com/is/image//LEGO/42083_alt1?$main$',
          quantity: 2,
          vatRate: '21.00',
          unitPrice: {
            currency: 'EUR',
            value: '399.00',