#[non_exhaustive]pub struct ProductOrder {Show 34 fields
pub id: Option<String>,
pub href: Option<String>,
pub description: Option<String>,
pub category: Option<String>,
pub priority: Option<String>,
pub state: Option<ProductOrderState>,
pub creation_date: Option<Timestamp>,
pub completion_date: Option<Timestamp>,
pub expected_completion_date: Option<Timestamp>,
pub requested_completion_date: Option<Timestamp>,
pub requested_start_date: Option<Timestamp>,
pub cancellation_date: Option<Timestamp>,
pub cancellation_reason: Option<String>,
pub notification_contact: Option<String>,
pub requested_initial_state: Option<InitialProductOrderState>,
pub product_order_item: Option<Vec<ProductOrderItem>>,
pub order_total_price: Option<Vec<OrderPrice>>,
pub billing_account: Option<Ref<BillingAccount>>,
pub payment: Option<Vec<Ref<Payment>>>,
pub quote: Option<Vec<Ref<Quote>>>,
pub product_offering_qualification: Option<Vec<Ref<ProductOfferingQualification>>>,
pub agreement: Option<Vec<Ref<Agreement>>>,
pub channel: Option<Vec<RelatedChannel>>,
pub related_party: Option<Vec<RelatedParty>>,
pub order_relationship: Option<Vec<OrderRelationship>>,
pub note: Option<Vec<Note>>,
pub external_id: Option<Vec<ExternalIdentifier>>,
pub product_order_error_message: Option<Vec<OrderErrorMessage>>,
pub product_order_milestone: Option<Vec<OrderMilestone>>,
pub product_order_jeopardy_alert: Option<Vec<OrderJeopardyAlert>>,
pub at_type: String,
pub at_base_type: Option<String>,
pub at_schema_location: Option<String>,
pub extensions: Extensions,
}order only.Expand description
A request to provide, change or cease one or more products.
This is the read model. Use ProductOrderCreate for POST and
ProductOrderUpdate for PATCH.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>Server-assigned identifier.
href: Option<String>Canonical URI of this order.
description: Option<String>Narrative description.
category: Option<String>Category the order falls under.
priority: Option<String>Priority, conventionally 0 (highest) to 4.
state: Option<ProductOrderState>Current fulfilment state.
creation_date: Option<Timestamp>When the order was created.
completion_date: Option<Timestamp>When fulfilment finished.
expected_completion_date: Option<Timestamp>When the provider expects to finish.
requested_completion_date: Option<Timestamp>When the buyer asked for fulfilment to finish.
requested_start_date: Option<Timestamp>When the buyer asked for fulfilment to start.
cancellation_date: Option<Timestamp>When the order was cancelled.
cancellation_reason: Option<String>Why the order was cancelled.
notification_contact: Option<String>Where to send progress notifications.
requested_initial_state: Option<InitialProductOrderState>The state the buyer asked the order to start in.
product_order_item: Option<Vec<ProductOrderItem>>The lines making up the order.
order_total_price: Option<Vec<OrderPrice>>Roll-up totals across the order.
billing_account: Option<Ref<BillingAccount>>The account the order is billed to.
payment: Option<Vec<Ref<Payment>>>Payments settling the order — TMF676.
quote: Option<Vec<Ref<Quote>>>The quote the order was raised from — TMF648.
product_offering_qualification: Option<Vec<Ref<ProductOfferingQualification>>>Qualifications establishing the order is deliverable — TMF679.
agreement: Option<Vec<Ref<Agreement>>>Agreements the order is placed under.
channel: Option<Vec<RelatedChannel>>Channels the order came through.
Parties involved: buyer, seller, contact.
order_relationship: Option<Vec<OrderRelationship>>Links to other orders.
note: Option<Vec<Note>>Notes attached to the order.
external_id: Option<Vec<ExternalIdentifier>>Identifiers in external systems.
product_order_error_message: Option<Vec<OrderErrorMessage>>Errors raised during fulfilment.
product_order_milestone: Option<Vec<OrderMilestone>>Milestones reached during fulfilment.
product_order_jeopardy_alert: Option<Vec<OrderJeopardyAlert>>Warnings that fulfilment may miss its dates.
at_type: StringThe @type discriminator naming this entity’s class.
Empty when the payload declared none — TMF630 v5 marks it
required, but servers omit it and so do TM Forum’s own examples.
An absent discriminator stays absent, so relaying a payload does
not silently add a member to it; anything this crate builds
carries the class name. Read it through
type_name, which resolves the empty case.
at_base_type: Option<String>The @baseType, naming the supertype where this class is sub-typed.
at_schema_location: Option<String>A URI to a JSON-Schema file defining additional attributes.
extensions: ExtensionsMembers not covered by the typed model, kept in document order.
See the crate documentation for the round-trip guarantee this underwrites.
Implementations§
Source§impl ProductOrder
impl ProductOrder
Sourcepub fn builder() -> ProductOrderBuilder
pub fn builder() -> ProductOrderBuilder
Create an instance of ProductOrder using the builder syntax
Trait Implementations§
Source§impl Clone for ProductOrder
impl Clone for ProductOrder
Source§impl Debug for ProductOrder
impl Debug for ProductOrder
Source§impl Default for ProductOrder
impl Default for ProductOrder
Source§impl<'de> Deserialize<'de> for ProductOrder
impl<'de> Deserialize<'de> for ProductOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Entity for ProductOrder
impl Entity for ProductOrder
Source§impl JsonSchema for ProductOrder
impl JsonSchema for ProductOrder
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ProductOrder
impl PartialEq for ProductOrder
Source§impl Resolvable for ProductOrder
Available on crate feature api only.
impl Resolvable for ProductOrder
api only.Source§const COLLECTION: &'static str = "productOrder"
const COLLECTION: &'static str = "productOrder"
productOffering.Source§type Output = ProductOrder
type Output = ProductOrder
Self. Read more