afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingPolicy.json

131 lines
5.0 KiB
JSON

{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"field_reference"
],
"title": "BillingPolicy - Data API",
"description": "Represents a group of billing treatments, which define the rules for how to invoice a customer for an order item. This object is available in API version 55.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"BillingTreatmentSelection": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Defines how Subscription Management assigns billing treatments to order items and to assets related to the billing policy. Possible values are: Default—The value specified in the DefaultBillingTreatmentId field is automatically applied to order items and assets. Manual—Users must specify the billing treatment that's applied to the order items and assets."
},
"DefaultBillingTreatmentId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "When BillingTreatmentSelection has a value of Default, Subscription Management uses the selected billing treatment for all order items and assets related to the billing policy. This field is a relationship field.",
"relationship_name": "DefaultBillingTreatment",
"relationship_type": "Lookup",
"refers_to": "BillingTreatment"
},
"Description": {
"type": "textarea",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "Optional user-defined description that describes the billing policy."
},
"LastReferencedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp when the current user last accessed this record, a record related to this record, or a list view."
},
"LastViewedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it."
},
"Name": {
"type": "string",
"properties": "Create, Filter, Group, idLookup, Sort, Update",
"description": "Optional user-defined name for the billing policy."
},
"Status": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "The billing policy's status. Possible values are: Active—Indicates that the billing policy is available for use on products. Draft—Indicates that the billing policy isn't available for use on products. Use this status when creating billing policies that aren't ready to be activated. Inactive—Indicates that the billing policy isn't available for use on products."
}
},
"special_access_rules": "This object is available with Subscription Management and Billing (Revenue Cloud). For information about this object that's available with Billing (Revenue Cloud), including its special access rules, see the Revenue Cloud Developer Guide.\n\nThis object is available with Subscription Management and Billing (Revenue Cloud).\n\nFor information about this object that's available with Billing (Revenue Cloud), including its special access rules, see the Revenue Cloud Developer Guide.",
"field_reference": {
"BillingTreatmentSelection": {
"field_label": "Billing Treatment Selection",
"type": "picklist",
"length": "255"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"DefaultBillingTreatmentId": {
"field_label": "Billing Treatment ID",
"type": "reference",
"length": "18"
},
"Description": {
"field_label": "Description",
"type": "textarea",
"length": "1000"
},
"Id": {
"field_label": "Billing Policy ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"LastReferencedDate": {
"field_label": "Last Referenced Date",
"type": "datetime"
},
"LastViewedDate": {
"field_label": "Last Viewed Date",
"type": "datetime"
},
"Name": {
"field_label": "Name",
"type": "string",
"length": "255"
},
"Status": {
"field_label": "Status",
"type": "picklist",
"length": "255"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}