🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@commercetools-test-data/shipping-method

Package Overview
Dependencies
Maintainers
3
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-test-data/shipping-method

Data models for commercetools Shipping Method representations

Source
npmnpm
Version
0.0.0-canary-20230517193249
Version published
Weekly downloads
736
46.03%
Maintainers
3
Weekly downloads
 
Created
Source

@commercetools-test-data/shipping-method

This package provides the data models for the commercetools platform Shipping Method representations

https://docs.commercetools.com/api/projects/shippingMethods#representations

Install

$ pnpm add -D @commercetools-test-data/shipping-method

Usage

ShippingMethod

import type { TShippingMethod } from '@commercetools-test-data/shipping-method';
import { ShippingMethod } from '@commercetools-test-data/shipping-method';

const shippingMethod = ShippingMethod.random().build<TShippingMethod>();
const shippingMethodDraft =
  ShippingMethodDraft.random().build<TShippingMethodDraft>();

ShippingRate

import type { TShippingRate } from '@commercetools-test-data/shipping-method';
import { ShippingRate } from '@commercetools-test-data/shipping-method';

const shippingRate = ShippingRate.random().build<TShippingRate>();
const shippingRateDraft =
  ShippingRateDraft.random().build<TShippingRateDraft>();

ZoneRate

import type { TZoneRate } from '@commercetools-test-data/shipping-method';
import { ZoneRate } from '@commercetools-test-data/shipping-method';

const zoneRate = ZoneRate.random().build<TZoneRate>();
const zoneRateDraft = ZoneRateDraft.random().build<TZoneRateDraft>();

Keywords

javascript

FAQs

Package last updated on 17 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts