UNPKG

ongkir

Version:

Shipping charges from logistic services in Indonesia

34 lines (26 loc) 591 B
import { BaseExpedition } from './Base' export class JNT extends BaseExpedition { protected length?: number protected width?: number protected height?: number public constructor() { super('jnt') } public setLength(length: number) { this.length = length } public setWidth(width: number) { this.width = width } public setHeight(height: number) { this.height = height } protected buildParams(): any { return { ...super.buildParams(), ['panjang']: this.length, ['lebar']: this.width, ['tinggi']: this.height } } }