/AWS1/IF_BDO=>CREATEPAYMENTMANAGER()¶
About CreatePaymentManager¶
Creates a new payment manager in your Amazon Web Services account. A payment manager serves as the top-level resource for managing payment processing capabilities, including payment connectors that integrate with supported payment providers.
If you specify CUSTOM_JWT as the authorizerType, you must provide an authorizerConfiguration.
Method Signature¶
METHODS /AWS1/IF_BDO~CREATEPAYMENTMANAGER
IMPORTING
!IV_NAME TYPE /AWS1/BDOPAYMENTMANAGERNAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/BDOPAYMENTSDESCRIPTION OPTIONAL
!IV_AUTHORIZERTYPE TYPE /AWS1/BDOPAYMENTSAUTHRTYPE OPTIONAL
!IO_AUTHORIZERCONFIGURATION TYPE REF TO /AWS1/CL_BDOAUTHORIZERCONF OPTIONAL
!IV_ROLEARN TYPE /AWS1/BDOROLEARN OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/BDOCLIENTTOKEN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_BDOTAGSMAP_W=>TT_TAGSMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bdocreatepmntmgrrsp
RAISING
/AWS1/CX_BDOACCESSDENIEDEX
/AWS1/CX_BDOCONFLICTEXCEPTION
/AWS1/CX_BDOINTERNALSERVEREX
/AWS1/CX_BDOSERVICEQUOTAEXCDEX
/AWS1/CX_BDOTHROTTLINGEX
/AWS1/CX_BDOVALIDATIONEX
/AWS1/CX_BDOCLIENTEXC
/AWS1/CX_BDOSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/BDOPAYMENTMANAGERNAME /AWS1/BDOPAYMENTMANAGERNAME¶
The name of the payment manager.
iv_authorizertype TYPE /AWS1/BDOPAYMENTSAUTHRTYPE /AWS1/BDOPAYMENTSAUTHRTYPE¶
The type of authorizer to use for the payment manager.
CUSTOM_JWT- Authorize with a bearer token.
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
iv_rolearn TYPE /AWS1/BDOROLEARN /AWS1/BDOROLEARN¶
The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.
Optional arguments:¶
iv_description TYPE /AWS1/BDOPAYMENTSDESCRIPTION /AWS1/BDOPAYMENTSDESCRIPTION¶
A description of the payment manager.
io_authorizerconfiguration TYPE REF TO /AWS1/CL_BDOAUTHORIZERCONF /AWS1/CL_BDOAUTHORIZERCONF¶
The authorizer configuration for the payment manager.
iv_clienttoken TYPE /AWS1/BDOCLIENTTOKEN /AWS1/BDOCLIENTTOKEN¶
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
it_tags TYPE /AWS1/CL_BDOTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP¶
A map of tag keys and values to assign to the payment manager.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bdocreatepmntmgrrsp /AWS1/CL_BDOCREATEPMNTMGRRSP¶
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->createpaymentmanager(
io_authorizerconfiguration = new /aws1/cl_bdoauthorizerconf(
io_customjwtauthorizer = new /aws1/cl_bdocustomjwtauthrconf(
io_privateendpoint = new /aws1/cl_bdoprivateendpoint(
io_managedvpcresource = new /aws1/cl_bdomanagedvpcresource(
it_securitygroupids = VALUE /aws1/cl_bdosecuritygroupids_w=>tt_securitygroupids(
( new /aws1/cl_bdosecuritygroupids_w( |string| ) )
)
it_subnetids = VALUE /aws1/cl_bdosubnetids_w=>tt_subnetids(
( new /aws1/cl_bdosubnetids_w( |string| ) )
)
it_tags = VALUE /aws1/cl_bdotagsmap_w=>tt_tagsmap(
(
VALUE /aws1/cl_bdotagsmap_w=>ts_tagsmap_maprow(
key = |string|
value = new /aws1/cl_bdotagsmap_w( |string| )
)
)
)
iv_endpointipaddresstype = |string|
iv_routingdomain = |string|
iv_vpcidentifier = |string|
)
io_selfmanagedlatticeres = new /aws1/cl_bdoselfmngdlatticeres( |string| )
)
it_allowedaudience = VALUE /aws1/cl_bdoalwedaudiencelst_w=>tt_allowedaudiencelist(
( new /aws1/cl_bdoalwedaudiencelst_w( |string| ) )
)
it_allowedclients = VALUE /aws1/cl_bdoallowedclislist_w=>tt_allowedclientslist(
( new /aws1/cl_bdoallowedclislist_w( |string| ) )
)
it_allowedscopes = VALUE /aws1/cl_bdoalwdscopestype_w=>tt_allowedscopestype(
( new /aws1/cl_bdoalwdscopestype_w( |string| ) )
)
it_customclaims = VALUE /aws1/cl_bdocustclaimvldtntype=>tt_customclaimvalidationstype(
(
new /aws1/cl_bdocustclaimvldtntype(
io_authorizingclaimmatchval = new /aws1/cl_bdoauthorizingclaim00(
io_claimmatchvalue = new /aws1/cl_bdoclaimmatchvaltype(
it_matchvaluestringlist = VALUE /aws1/cl_bdomatchvalstrlist_w=>tt_matchvaluestringlist(
( new /aws1/cl_bdomatchvalstrlist_w( |string| ) )
)
iv_matchvaluestring = |string|
)
iv_claimmatchoperator = |string|
)
iv_inboundtokenclaimname = |string|
iv_indbtokenclaimvaluetype = |string|
)
)
)
it_privateendpointoverrides = VALUE /aws1/cl_bdoprivateendptovrd=>tt_privateendpointoverrides(
(
new /aws1/cl_bdoprivateendptovrd(
io_privateendpoint = new /aws1/cl_bdoprivateendpoint(
io_managedvpcresource = new /aws1/cl_bdomanagedvpcresource(
it_securitygroupids = VALUE /aws1/cl_bdosecuritygroupids_w=>tt_securitygroupids(
( new /aws1/cl_bdosecuritygroupids_w( |string| ) )
)
it_subnetids = VALUE /aws1/cl_bdosubnetids_w=>tt_subnetids(
( new /aws1/cl_bdosubnetids_w( |string| ) )
)
it_tags = VALUE /aws1/cl_bdotagsmap_w=>tt_tagsmap(
(
VALUE /aws1/cl_bdotagsmap_w=>ts_tagsmap_maprow(
key = |string|
value = new /aws1/cl_bdotagsmap_w( |string| )
)
)
)
iv_endpointipaddresstype = |string|
iv_routingdomain = |string|
iv_vpcidentifier = |string|
)
io_selfmanagedlatticeres = new /aws1/cl_bdoselfmngdlatticeres( |string| )
)
iv_domain = |string|
)
)
)
iv_discoveryurl = |string|
)
)
it_tags = VALUE /aws1/cl_bdotagsmap_w=>tt_tagsmap(
(
VALUE /aws1/cl_bdotagsmap_w=>ts_tagsmap_maprow(
key = |string|
value = new /aws1/cl_bdotagsmap_w( |string| )
)
)
)
iv_authorizertype = |string|
iv_clienttoken = |string|
iv_description = |string|
iv_name = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_paymentmanagerarn = lo_result->get_paymentmanagerarn( ).
lv_paymentmanagerid = lo_result->get_paymentmanagerid( ).
lv_paymentmanagername = lo_result->get_name( ).
lv_paymentsauthorizertype = lo_result->get_authorizertype( ).
lo_authorizerconfiguration = lo_result->get_authorizerconfiguration( ).
IF lo_authorizerconfiguration IS NOT INITIAL.
lo_customjwtauthorizerconf = lo_authorizerconfiguration->get_customjwtauthorizer( ).
IF lo_customjwtauthorizerconf IS NOT INITIAL.
lv_discoveryurl = lo_customjwtauthorizerconf->get_discoveryurl( ).
LOOP AT lo_customjwtauthorizerconf->get_allowedaudience( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_allowedaudience = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_customjwtauthorizerconf->get_allowedclients( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_allowedclient = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_customjwtauthorizerconf->get_allowedscopes( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_allowedscopetype = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_customjwtauthorizerconf->get_customclaims( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_inboundtokenclaimnamety = lo_row_7->get_inboundtokenclaimname( ).
lv_inboundtokenclaimvaluet = lo_row_7->get_indbtokenclaimvaluetype( ).
lo_authorizingclaimmatchva = lo_row_7->get_authorizingclaimmatchval( ).
IF lo_authorizingclaimmatchva IS NOT INITIAL.
lo_claimmatchvaluetype = lo_authorizingclaimmatchva->get_claimmatchvalue( ).
IF lo_claimmatchvaluetype IS NOT INITIAL.
lv_matchvaluestring = lo_claimmatchvaluetype->get_matchvaluestring( ).
LOOP AT lo_claimmatchvaluetype->get_matchvaluestringlist( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_matchvaluestring = lo_row_9->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_claimmatchoperatortype = lo_authorizingclaimmatchva->get_claimmatchoperator( ).
ENDIF.
ENDIF.
ENDLOOP.
lo_privateendpoint = lo_customjwtauthorizerconf->get_privateendpoint( ).
IF lo_privateendpoint IS NOT INITIAL.
lo_selfmanagedlatticeresou = lo_privateendpoint->get_selfmanagedlatticeres( ).
IF lo_selfmanagedlatticeresou IS NOT INITIAL.
lv_resourceconfigurationid = lo_selfmanagedlatticeresou->get_resourceconfidentifier( ).
ENDIF.
lo_managedvpcresource = lo_privateendpoint->get_managedvpcresource( ).
IF lo_managedvpcresource IS NOT INITIAL.
lv_vpcidentifier = lo_managedvpcresource->get_vpcidentifier( ).
LOOP AT lo_managedvpcresource->get_subnetids( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
lv_subnetid = lo_row_11->get_value( ).
ENDIF.
ENDLOOP.
lv_endpointipaddresstype = lo_managedvpcresource->get_endpointipaddresstype( ).
LOOP AT lo_managedvpcresource->get_securitygroupids( ) into lo_row_12.
lo_row_13 = lo_row_12.
IF lo_row_13 IS NOT INITIAL.
lv_securitygroupidentifier = lo_row_13->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_managedvpcresource->get_tags( ) into ls_row_14.
lv_key = ls_row_14-key.
lo_value = ls_row_14-value.
IF lo_value IS NOT INITIAL.
lv_tagvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_routingdomain = lo_managedvpcresource->get_routingdomain( ).
ENDIF.
ENDIF.
LOOP AT lo_customjwtauthorizerconf->get_privateendpointoverrides( ) into lo_row_15.
lo_row_16 = lo_row_15.
IF lo_row_16 IS NOT INITIAL.
lv_privateendpointoverride = lo_row_16->get_domain( ).
lo_privateendpoint = lo_row_16->get_privateendpoint( ).
IF lo_privateendpoint IS NOT INITIAL.
lo_selfmanagedlatticeresou = lo_privateendpoint->get_selfmanagedlatticeres( ).
IF lo_selfmanagedlatticeresou IS NOT INITIAL.
lv_resourceconfigurationid = lo_selfmanagedlatticeresou->get_resourceconfidentifier( ).
ENDIF.
lo_managedvpcresource = lo_privateendpoint->get_managedvpcresource( ).
IF lo_managedvpcresource IS NOT INITIAL.
lv_vpcidentifier = lo_managedvpcresource->get_vpcidentifier( ).
LOOP AT lo_managedvpcresource->get_subnetids( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
lv_subnetid = lo_row_11->get_value( ).
ENDIF.
ENDLOOP.
lv_endpointipaddresstype = lo_managedvpcresource->get_endpointipaddresstype( ).
LOOP AT lo_managedvpcresource->get_securitygroupids( ) into lo_row_12.
lo_row_13 = lo_row_12.
IF lo_row_13 IS NOT INITIAL.
lv_securitygroupidentifier = lo_row_13->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_managedvpcresource->get_tags( ) into ls_row_14.
lv_key = ls_row_14-key.
lo_value = ls_row_14-value.
IF lo_value IS NOT INITIAL.
lv_tagvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_routingdomain = lo_managedvpcresource->get_routingdomain( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_rolearn = lo_result->get_rolearn( ).
lo_workloadidentitydetails = lo_result->get_workloadidentitydetails( ).
IF lo_workloadidentitydetails IS NOT INITIAL.
lv_workloadidentityarn = lo_workloadidentitydetails->get_workloadidentityarn( ).
ENDIF.
lv_datetimestamp = lo_result->get_createdat( ).
lv_paymentmanagerstatus = lo_result->get_status( ).
LOOP AT lo_result->get_tags( ) into ls_row_14.
lv_key = ls_row_14-key.
lo_value = ls_row_14-value.
IF lo_value IS NOT INITIAL.
lv_tagvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.