@mia-burton/klarna-node
Version:
A Node.js module for Klarna
33 lines (28 loc) • 780 B
text/typescript
export class UrlsInput {
private readonly _confirmation!: string
private readonly _authorization!: string
private _notification?: string
private _push?: string
constructor (confirmation: string, authorization: string) {
this._confirmation = confirmation
this._authorization = authorization
}
public get confirmation(): string {
return this._confirmation
}
public get authorization(): string {
return this._authorization
}
public get notification(): string | undefined {
return this._notification
}
public set notification(value: string | undefined) {
this._notification = value
}
public get push(): string | undefined {
return this._push
}
public set push(value: string | undefined) {
this._push = value
}
}