Skip to content

/AWS1/CL_BILCREDITDATA

Detailed information about an Amazon Web Services credit, including its identifier, type, monetary amounts, applicable products, sharing configuration, and current enabled status.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_creditid TYPE /AWS1/BILCREDITID /AWS1/BILCREDITID

The unique identifier for the credit.

iv_accountid TYPE /AWS1/BILACCOUNTID /AWS1/BILACCOUNTID

The Amazon Web Services account ID that owns the credit.

iv_credittype TYPE /AWS1/BILSTRING /AWS1/BILSTRING

The type of credit. Examples: Promotion, Refund, TrueUp.

io_initialamount TYPE REF TO /AWS1/CL_BILAMOUNT /AWS1/CL_BILAMOUNT

The initial amount of the credit when it was issued.

io_remainingamount TYPE REF TO /AWS1/CL_BILAMOUNT /AWS1/CL_BILAMOUNT

The unused balance of the credit.

iv_description TYPE /AWS1/BILSTRING /AWS1/BILSTRING

A human-readable description of the credit.

iv_startdate TYPE /AWS1/BILTIMESTAMP /AWS1/BILTIMESTAMP

The date the credit becomes valid, as Unix epoch seconds.

Optional arguments:

io_estimatedamount TYPE REF TO /AWS1/CL_BILAMOUNT /AWS1/CL_BILAMOUNT

The estimated remaining balance, including in-flight (open) bills that have not yet been finalized.

it_applicableproductnames TYPE /AWS1/CL_BILPRODUCTNAMES_W=>TT_PRODUCTNAMES TT_PRODUCTNAMES

The names of Amazon Web Services services this credit applies to.

iv_enddate TYPE /AWS1/BILTIMESTAMP /AWS1/BILTIMESTAMP

The date the credit expires, as Unix epoch seconds.

iv_exhaustdate TYPE /AWS1/BILTIMESTAMP /AWS1/BILTIMESTAMP

The date the credit balance reached zero, as Unix epoch seconds.

iv_applicationtype TYPE /AWS1/BILAPPLICATIONTYPE /AWS1/BILAPPLICATIONTYPE

When the credit is applied during bill computation. Valid values: BEFORE_CROSS_SERVICE_DISCOUNTS, AFTER_DISCOUNTS.

it_shareableaccounts TYPE /AWS1/CL_BILSHAREACCOUNTIDS_W=>TT_SHAREABLEACCOUNTIDS TT_SHAREABLEACCOUNTIDS

The Amazon Web Services account IDs entitled to apply this credit.

iv_accthascreditshareenabled TYPE /AWS1/BILBOOLEAN /AWS1/BILBOOLEAN

Whether the owning account has account-level credit sharing turned on.

iv_creditconsolevisibility TYPE /AWS1/BILSTRING /AWS1/BILSTRING

The display configuration for the credit in the Amazon Web Services Billing console.

iv_creditsharingtype TYPE /AWS1/BILCREDITSHARINGTYPE /AWS1/BILCREDITSHARINGTYPE

The sharing configuration for the credit. Valid values: DEFAULT, DISABLED, CUSTOM, COST_CATEGORY_RULE.

iv_costcategoryarn TYPE /AWS1/BILSTRING /AWS1/BILSTRING

The Amazon Resource Name (ARN) of the Cost Category controlling the credit's sharing scope. Present only when creditSharingType is COST_CATEGORY_RULE.

iv_rulename TYPE /AWS1/BILSTRING /AWS1/BILSTRING

The rule name within the Cost Category. Present only when creditSharingType is COST_CATEGORY_RULE.

iv_creditstatus TYPE /AWS1/BILCREDITSTATUS /AWS1/BILCREDITSTATUS

Whether the credit participates in billing runs. Valid values: ENABLED, DISABLED.

it_purchasetypeapplications TYPE /AWS1/CL_BILPURCHASETYPEAPPS_W=>TT_PURCHASETYPEAPPLICATIONS TT_PURCHASETYPEAPPLICATIONS

Restricts which purchase types this credit applies to. When null or omitted, the credit applies to all purchase types.


Queryable Attributes

creditId

The unique identifier for the credit.

Accessible with the following methods

Method Description
GET_CREDITID() Getter for CREDITID, with configurable default
ASK_CREDITID() Getter for CREDITID w/ exceptions if field has no value
HAS_CREDITID() Determine if CREDITID has a value

accountId

The Amazon Web Services account ID that owns the credit.

Accessible with the following methods

Method Description
GET_ACCOUNTID() Getter for ACCOUNTID, with configurable default
ASK_ACCOUNTID() Getter for ACCOUNTID w/ exceptions if field has no value
HAS_ACCOUNTID() Determine if ACCOUNTID has a value

creditType

The type of credit. Examples: Promotion, Refund, TrueUp.

Accessible with the following methods

Method Description
GET_CREDITTYPE() Getter for CREDITTYPE, with configurable default
ASK_CREDITTYPE() Getter for CREDITTYPE w/ exceptions if field has no value
HAS_CREDITTYPE() Determine if CREDITTYPE has a value

initialAmount

The initial amount of the credit when it was issued.

Accessible with the following methods

Method Description
GET_INITIALAMOUNT() Getter for INITIALAMOUNT

remainingAmount

The unused balance of the credit.

Accessible with the following methods

Method Description
GET_REMAININGAMOUNT() Getter for REMAININGAMOUNT

estimatedAmount

The estimated remaining balance, including in-flight (open) bills that have not yet been finalized.

Accessible with the following methods

Method Description
GET_ESTIMATEDAMOUNT() Getter for ESTIMATEDAMOUNT

applicableProductNames

The names of Amazon Web Services services this credit applies to.

Accessible with the following methods

Method Description
GET_APPLICABLEPRODUCTNAMES() Getter for APPLICABLEPRODUCTNAMES, with configurable default
ASK_APPLICABLEPRODUCTNAMES() Getter for APPLICABLEPRODUCTNAMES w/ exceptions if field has
HAS_APPLICABLEPRODUCTNAMES() Determine if APPLICABLEPRODUCTNAMES has a value

description

A human-readable description of the credit.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

startDate

The date the credit becomes valid, as Unix epoch seconds.

Accessible with the following methods

Method Description
GET_STARTDATE() Getter for STARTDATE, with configurable default
ASK_STARTDATE() Getter for STARTDATE w/ exceptions if field has no value
HAS_STARTDATE() Determine if STARTDATE has a value

endDate

The date the credit expires, as Unix epoch seconds.

Accessible with the following methods

Method Description
GET_ENDDATE() Getter for ENDDATE, with configurable default
ASK_ENDDATE() Getter for ENDDATE w/ exceptions if field has no value
HAS_ENDDATE() Determine if ENDDATE has a value

exhaustDate

The date the credit balance reached zero, as Unix epoch seconds.

Accessible with the following methods

Method Description
GET_EXHAUSTDATE() Getter for EXHAUSTDATE, with configurable default
ASK_EXHAUSTDATE() Getter for EXHAUSTDATE w/ exceptions if field has no value
HAS_EXHAUSTDATE() Determine if EXHAUSTDATE has a value

applicationType

When the credit is applied during bill computation. Valid values: BEFORE_CROSS_SERVICE_DISCOUNTS, AFTER_DISCOUNTS.

Accessible with the following methods

Method Description
GET_APPLICATIONTYPE() Getter for APPLICATIONTYPE, with configurable default
ASK_APPLICATIONTYPE() Getter for APPLICATIONTYPE w/ exceptions if field has no val
HAS_APPLICATIONTYPE() Determine if APPLICATIONTYPE has a value

shareableAccounts

The Amazon Web Services account IDs entitled to apply this credit.

Accessible with the following methods

Method Description
GET_SHAREABLEACCOUNTS() Getter for SHAREABLEACCOUNTS, with configurable default
ASK_SHAREABLEACCOUNTS() Getter for SHAREABLEACCOUNTS w/ exceptions if field has no v
HAS_SHAREABLEACCOUNTS() Determine if SHAREABLEACCOUNTS has a value

accountHasCreditSharingEnabled

Whether the owning account has account-level credit sharing turned on.

Accessible with the following methods

Method Description
GET_ACCTHASCREDITSHAREENBLD() Getter for ACCTHASCREDITSHARINGENABLED, with configurable de
ASK_ACCTHASCREDITSHAREENBLD() Getter for ACCTHASCREDITSHARINGENABLED w/ exceptions if fiel
HAS_ACCTHASCREDITSHAREENBLD() Determine if ACCTHASCREDITSHARINGENABLED has a value

creditConsoleVisibility

The display configuration for the credit in the Amazon Web Services Billing console.

Accessible with the following methods

Method Description
GET_CREDITCONSOLEVISIBILITY() Getter for CREDITCONSOLEVISIBILITY, with configurable defaul
ASK_CREDITCONSOLEVISIBILITY() Getter for CREDITCONSOLEVISIBILITY w/ exceptions if field ha
HAS_CREDITCONSOLEVISIBILITY() Determine if CREDITCONSOLEVISIBILITY has a value

creditSharingType

The sharing configuration for the credit. Valid values: DEFAULT, DISABLED, CUSTOM, COST_CATEGORY_RULE.

Accessible with the following methods

Method Description
GET_CREDITSHARINGTYPE() Getter for CREDITSHARINGTYPE, with configurable default
ASK_CREDITSHARINGTYPE() Getter for CREDITSHARINGTYPE w/ exceptions if field has no v
HAS_CREDITSHARINGTYPE() Determine if CREDITSHARINGTYPE has a value

costCategoryArn

The Amazon Resource Name (ARN) of the Cost Category controlling the credit's sharing scope. Present only when creditSharingType is COST_CATEGORY_RULE.

Accessible with the following methods

Method Description
GET_COSTCATEGORYARN() Getter for COSTCATEGORYARN, with configurable default
ASK_COSTCATEGORYARN() Getter for COSTCATEGORYARN w/ exceptions if field has no val
HAS_COSTCATEGORYARN() Determine if COSTCATEGORYARN has a value

ruleName

The rule name within the Cost Category. Present only when creditSharingType is COST_CATEGORY_RULE.

Accessible with the following methods

Method Description
GET_RULENAME() Getter for RULENAME, with configurable default
ASK_RULENAME() Getter for RULENAME w/ exceptions if field has no value
HAS_RULENAME() Determine if RULENAME has a value

creditStatus

Whether the credit participates in billing runs. Valid values: ENABLED, DISABLED.

Accessible with the following methods

Method Description
GET_CREDITSTATUS() Getter for CREDITSTATUS, with configurable default
ASK_CREDITSTATUS() Getter for CREDITSTATUS w/ exceptions if field has no value
HAS_CREDITSTATUS() Determine if CREDITSTATUS has a value

purchaseTypeApplications

Restricts which purchase types this credit applies to. When null or omitted, the credit applies to all purchase types.

Accessible with the following methods

Method Description
GET_PURCHASETYPEAPPLICATIONS() Getter for PURCHASETYPEAPPLICATIONS, with configurable defau
ASK_PURCHASETYPEAPPLICATIONS() Getter for PURCHASETYPEAPPLICATIONS w/ exceptions if field h
HAS_PURCHASETYPEAPPLICATIONS() Determine if PURCHASETYPEAPPLICATIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CREDITDATALIST

TYPES TT_CREDITDATALIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BILCREDITDATA WITH DEFAULT KEY
.