Class: OfferCounterProposal
market/proposal/offer-counter-proposal.OfferCounterProposal
Base representation of a market proposal that can be issued either by the Provider (offer proposal) or Requestor (counter-proposal)
Hierarchy
↳
OfferCounterProposal
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new OfferCounterProposal(model
): OfferCounterProposal
Parameters
Name | Type |
---|---|
model | Proposal |
Returns
Overrides
Defined in
src/market/proposal/offer-counter-proposal.ts:7
Properties
issuer
• Readonly
issuer: "Requestor"
Overrides
Defined in
src/market/proposal/offer-counter-proposal.ts:5
id
• Readonly
id: string
Inherited from
Defined in
src/market/proposal/market-proposal.ts:19
previousProposalId
• Readonly
previousProposalId: null
| string
= null
Reference to the previous proposal in the "negotiation chain"
If null, this means that was the initial offer that the negotiations started from
Inherited from
MarketProposal.previousProposalId
Defined in
src/market/proposal/market-proposal.ts:25
properties
• Readonly
properties: ProposalProperties
Inherited from
Defined in
src/market/proposal/market-proposal.ts:29
model
• Protected
Readonly
model: Proposal
Inherited from
Defined in
src/market/proposal/market-proposal.ts:31
Accessors
state
• get
state(): ProposalState
Returns
Inherited from
MarketProposal.state
Defined in
src/market/proposal/market-proposal.ts:37
timestamp
• get
timestamp(): Date
Returns
Date
Inherited from
MarketProposal.timestamp
Defined in
src/market/proposal/market-proposal.ts:41
Methods
validate
▸ validate(): void
Returns
void
Overrides
Defined in
src/market/proposal/offer-counter-proposal.ts:11
isInitial
▸ isInitial(): boolean
Returns
boolean
Inherited from
Defined in
src/market/proposal/market-proposal.ts:45
isDraft
▸ isDraft(): boolean
Returns
boolean
Inherited from
Defined in
src/market/proposal/market-proposal.ts:49
isExpired
▸ isExpired(): boolean
Returns
boolean
Inherited from
Defined in
src/market/proposal/market-proposal.ts:53
isRejected
▸ isRejected(): boolean
Returns
boolean
Inherited from
Defined in
src/market/proposal/market-proposal.ts:57
isValid
▸ isValid(): boolean
Returns
boolean
Inherited from
Defined in
Was this helpful?