Copyright © 2024, Oracle and/or its affiliates.
Field Index SQL Mapping

Class /event/notification/price/discounts/modify

If existing discount is updated then an event will be generated for the same to notify the pipeline about the change through accountsync to use the new discount for rating through the business event /event/notification/price/discounts/modify.

Notes

  • This object can be read by the owner or any billing group leader who is an ancestor of the owner.
  • This object can be modified only by the owner.
  • This object can be created by anyone.

Links



Field Index

Type Field Name
poid PIN_FLD_ACCOUNT_OBJ
array PIN_FLD_DISCOUNTS
poid
string
string
poid
enum
timestamp
timestamp
decimal
decimal
decimal
decimal
decimal
string
string
enum
array PIN_FLD_ATTRIBUTES
string
string


Field Details

poid PIN_FLD_ACCOUNT_OBJ

Notes

  • Required on object creation
  • Can be modified

Links


array PIN_FLD_DISCOUNTS

Array of discounts that are updated.

Notes

  • Can be specified on object creation
  • Can be modified

Links


poid PIN_FLD_POID

Portal object id of the discount.

Notes

Links


string PIN_FLD_NAME

Name of the object.

Notes

Links


string PIN_FLD_DESCR

Discount description.

Notes

Links


poid PIN_FLD_ACCOUNT_OBJ

Account object product.

Notes

Links


enum PIN_FLD_TYPE

Discount type - item (PIN_DISC_TYPE_ITEM - 601) or subscription (PIN_DISC_TYPE_ONGOING - 602)system (PIN_DISC_TYPE_SYSTEM - 603).

Notes

Links


timestamp PIN_FLD_START_T

Valid start time.

Notes

Links


timestamp PIN_FLD_END_T

Valid end time.

Notes

Links


decimal PIN_FLD_PURCHASE_MIN

Purchase minimum - minimum quantity that can be purchased at a single time.

Notes

Links


decimal PIN_FLD_PURCHASE_MAX

Purchase maximum - maximum quantity that can be purchased at a single time.

Notes

Links


decimal PIN_FLD_OWN_MIN

Ownership minimum - minimum quantity that can be owned at any time.

Notes

Links


decimal PIN_FLD_OWN_MAX

Ownership maximum - maximum quantity that can be owned at any time.

Notes

Links


decimal PIN_FLD_PRIORITY

Priority - used to resolve ordering of discount application.

Notes

Links


string PIN_FLD_PERMITTED

Contains a single type string for account or service object types that is permitted to purchase this discount. The entry is implicitly appended with a wildcard for checking, so account or service types that were inherited from a permitted type are also permitted themselves. No entry implies any account or service type is permitted to purchase the discount.

Notes

Links


string PIN_FLD_PROVISIONING_TAG

Provisioning tag.

Notes

Links


enum PIN_FLD_MODE

Discount Mode. used to indicate different mode of discount. 801 for parallel, 802 for cascading, 803 for sequential.

Notes

Links


array PIN_FLD_ATTRIBUTES

Array of offer attributes.

Notes

  • Can be specified on object creation
  • Can be modified

Links


string PIN_FLD_NAME

Name of the attribute.

Notes

Links


string PIN_FLD_VALUE

Value of the attribute.

Notes

Links




SQL Mapping

Links


Type Field Name Table Column Name
derived-class /event/notification/price/discounts/modify
poid PIN_FLD_ACCOUNT_OBJ
array PIN_FLD_DISCOUNTS
poid
PIN_FLD_POID
string
PIN_FLD_NAME
string
PIN_FLD_DESCR
poid
PIN_FLD_ACCOUNT_OBJ
enum
PIN_FLD_TYPE
timestamp
PIN_FLD_START_T
timestamp
PIN_FLD_END_T
decimal
PIN_FLD_PURCHASE_MIN
decimal
PIN_FLD_PURCHASE_MAX
decimal
PIN_FLD_OWN_MIN
decimal
PIN_FLD_OWN_MAX
decimal
PIN_FLD_PRIORITY
string
PIN_FLD_PERMITTED
string
PIN_FLD_PROVISIONING_TAG
enum
PIN_FLD_MODE
array PIN_FLD_ATTRIBUTES
string
PIN_FLD_NAME
string
PIN_FLD_VALUE
Column names marked with * are actually column prefixes. For poid type fields, the column prefix is used to create the columns poid_id0, poid_db and poid_type if the prefix is "poid". For PIN_FLD_POID in the base table, an additional column named poid_rev is created to hold the poid revision. For buffer fields, two columns are created - one in the containing table and one in the buffer table. For example if the prefix is "buf", then the column name in the buffer table is buffer_buf and the column name in the containing table is buffer_size.


Field Index This Class