Module Values.ProcurementPortalPreferenceSource

Represents the full configuration of a procurement portal preference, including settings for e-invoice delivery and purchase order retrieval.

Sourcetype nonrec t = {
  1. awsAccountId : AccountIdString.t option;
    (*

    The Amazon Web Services account ID associated with this procurement portal preference.

    *)
  2. procurementPortalPreferenceArn : ProcurementPortalPreferenceArnString.t option;
    (*

    The Amazon Resource Name (ARN) of the procurement portal preference.

    *)
  3. procurementPortalName : ProcurementPortalName.t option;
    (*

    The name of the procurement portal.

    *)
  4. buyerDomain : BuyerDomain.t option;
    (*

    The domain identifier for the buyer in the procurement portal.

    *)
  5. buyerIdentifier : BasicStringWithoutSpace.t option;
    (*

    The unique identifier for the buyer in the procurement portal.

    *)
  6. supplierDomain : SupplierDomain.t option;
    (*

    The domain identifier for the supplier in the procurement portal.

    *)
  7. supplierIdentifier : BasicStringWithoutSpace.t option;
    (*

    The unique identifier for the supplier in the procurement portal.

    *)
  8. selector : ProcurementPortalPreferenceSelector.t option;
  9. procurementPortalSharedSecret : BasicStringWithoutSpace.t option;
    (*

    The shared secret or authentication credential used for secure communication with the procurement portal.

    *)
  10. procurementPortalInstanceEndpoint : BasicStringWithoutSpace.t option;
    (*

    The endpoint URL where e-invoices are delivered to the procurement portal.

    *)
  11. purchaseOrderRetrievalEndpoint : BasicStringWithoutSpace.t option;
    (*

    The endpoint URL used for retrieving purchase orders from the procurement portal.

    *)
  12. testEnvPreference : TestEnvPreference.t option;
    (*

    Configuration on settings for the test environment of the procurement portal.

    *)
  13. einvoiceDeliveryEnabled : Boolean.t option;
    (*

    Indicates whether e-invoice delivery is enabled for this procurement portal preference.

    *)
  14. einvoiceDeliveryPreference : EinvoiceDeliveryPreference.t option;
    (*

    The configuration settings that specify how e-invoices are delivered to the procurement portal.

    *)
  15. purchaseOrderRetrievalEnabled : Boolean.t option;
    (*

    Indicates whether purchase order retrieval is enabled for this procurement portal preference.

    *)
  16. contacts : Contacts.t option;
    (*

    List of contact information for portal administrators and technical contacts.

    *)
  17. einvoiceDeliveryPreferenceStatus : ProcurementPortalPreferenceStatus.t option;
    (*

    The current status of the e-invoice delivery preference.

    *)
  18. einvoiceDeliveryPreferenceStatusReason : BasicString.t option;
    (*

    The reason for the current e-invoice delivery preference status.

    *)
  19. purchaseOrderRetrievalPreferenceStatus : ProcurementPortalPreferenceStatus.t option;
    (*

    The current status of the purchase order retrieval preference.

    *)
  20. purchaseOrderRetrievalPreferenceStatusReason : BasicString.t option;
    (*

    The reason for the current purchase order retrieval preference status.

    *)
  21. version : Long.t option;
    (*

    The version number of the procurement portal preference configuration.

    *)
  22. createDate : Timestamp.t option;
    (*

    The date and time when the procurement portal preference was created.

    *)
  23. lastUpdateDate : Timestamp.t option;
    (*

    The date and time when the procurement portal preference was last updated.

    *)
}
Sourceval make : ?awsAccountId:AccountIdString.t -> ?procurementPortalPreferenceArn:ProcurementPortalPreferenceArnString.t -> ?procurementPortalName:ProcurementPortalName.t -> ?buyerDomain:BuyerDomain.t -> ?buyerIdentifier:BasicStringWithoutSpace.t -> ?supplierDomain:SupplierDomain.t -> ?supplierIdentifier:BasicStringWithoutSpace.t -> ?selector:ProcurementPortalPreferenceSelector.t -> ?procurementPortalSharedSecret:BasicStringWithoutSpace.t -> ?procurementPortalInstanceEndpoint:BasicStringWithoutSpace.t -> ?purchaseOrderRetrievalEndpoint:BasicStringWithoutSpace.t -> ?testEnvPreference:TestEnvPreference.t -> ?einvoiceDeliveryEnabled:Boolean.t -> ?einvoiceDeliveryPreference:EinvoiceDeliveryPreference.t -> ?purchaseOrderRetrievalEnabled:Boolean.t -> ?contacts:Contacts.t -> ?einvoiceDeliveryPreferenceStatus:ProcurementPortalPreferenceStatus.t -> ?einvoiceDeliveryPreferenceStatusReason:BasicString.t -> ?purchaseOrderRetrievalPreferenceStatus:ProcurementPortalPreferenceStatus.t -> ?purchaseOrderRetrievalPreferenceStatusReason:BasicString.t -> ?version:Long.t -> ?createDate:Timestamp.t -> ?lastUpdateDate:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of BasicString.t ]) list ] list | `Long of Long.t | `String of AccountIdString.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of InvoiceUnitArnString.t | `Structure of (string * [> `Enum of string ]) list ] list | `String of BasicStringWithoutSpace.t | `Timestamp of Timestamp.t ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t