@mia-burton/klarna-node
Version:
A Node.js module for Klarna
34 lines (30 loc) • 682 B
text/typescript
export class OrderLine {
private _name!: string
private _quantity!: number
private _totalAmount!: number
private _unitPrice!: number
public get name(): string {
return this._name
}
public set name(value: string) {
this._name = value
}
public get quantity(): number {
return this._quantity
}
public set quantity(value: number) {
this._quantity = value
}
public get totalAmount(): number {
return this._totalAmount
}
public set totalAmount(value: number) {
this._totalAmount = value
}
public get unitPrice(): number {
return this._unitPrice
}
public set unitPrice(value: number) {
this._unitPrice = value
}
}