/AWS1/IF_OUT=>GETRENEWALPRICING()¶
About GetRenewalPricing¶
Gets all available renewal pricing options for the specified Outpost.
Method Signature¶
METHODS /AWS1/IF_OUT~GETRENEWALPRICING
IMPORTING
!IV_OUTPOSTIDENTIFIER TYPE /AWS1/OUTOUTPOSTIDENTIFIER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_outgetrnwlprcngoutput
RAISING
/AWS1/CX_OUTACCESSDENIEDEX
/AWS1/CX_OUTINTERNALSERVEREX
/AWS1/CX_OUTNOTFOUNDEXCEPTION
/AWS1/CX_OUTVALIDATIONEX
/AWS1/CX_OUTCLIENTEXC
/AWS1/CX_OUTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_outpostidentifier TYPE /AWS1/OUTOUTPOSTIDENTIFIER /AWS1/OUTOUTPOSTIDENTIFIER¶
The ID or ARN of the Outpost.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_outgetrnwlprcngoutput /AWS1/CL_OUTGETRNWLPRCNGOUTPUT¶
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->getrenewalpricing( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_pricingresult = lo_result->get_pricingresult( ).
LOOP AT lo_result->get_pricingoptions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_quotepricingtype = lo_row_1->get_pricingtype( ).
lo_subscriptionpricingdeta = lo_row_1->get_subscrpricingdetails( ).
IF lo_subscriptionpricingdeta IS NOT INITIAL.
lv_paymentoption = lo_subscriptionpricingdeta->get_paymentoption( ).
lv_paymentterm = lo_subscriptionpricingdeta->get_paymentterm( ).
lv_nullablefloat = lo_subscriptionpricingdeta->get_upfrontprice( ).
lv_nullablefloat = lo_subscriptionpricingdeta->get_monthlyrecurringprice( ).
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.