Skip to content

/AWS1/IF_BDO=>UPDATEPAYMENTMANAGER()

About UpdatePaymentManager

Updates an existing payment manager. This operation uses PATCH semantics, so you only need to specify the fields you want to change.

Method Signature

METHODS /AWS1/IF_BDO~UPDATEPAYMENTMANAGER
  IMPORTING
    !IV_PAYMENTMANAGERID TYPE /AWS1/BDOPAYMENTMANAGERID 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
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bdoupdatepmntmgrrsp
  RAISING
    /AWS1/CX_BDOACCESSDENIEDEX
    /AWS1/CX_BDOCONFLICTEXCEPTION
    /AWS1/CX_BDOINTERNALSERVEREX
    /AWS1/CX_BDORESOURCENOTFOUNDEX
    /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_paymentmanagerid TYPE /AWS1/BDOPAYMENTMANAGERID /AWS1/BDOPAYMENTMANAGERID

The unique identifier of the payment manager to update.

Optional arguments:

iv_description TYPE /AWS1/BDOPAYMENTSDESCRIPTION /AWS1/BDOPAYMENTSDESCRIPTION

The updated description of the payment manager.

iv_authorizertype TYPE /AWS1/BDOPAYMENTSAUTHRTYPE /AWS1/BDOPAYMENTSAUTHRTYPE

The updated authorizer type for the payment manager.

io_authorizerconfiguration TYPE REF TO /AWS1/CL_BDOAUTHORIZERCONF /AWS1/CL_BDOAUTHORIZERCONF

The updated authorizer configuration for the payment manager.

iv_rolearn TYPE /AWS1/BDOROLEARN /AWS1/BDOROLEARN

The updated Amazon Resource Name (ARN) of the IAM role 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.

RETURNING

oo_output TYPE REF TO /aws1/cl_bdoupdatepmntmgrrsp /AWS1/CL_BDOUPDATEPMNTMGRRSP

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->updatepaymentmanager(
  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|
    )
  )
  iv_authorizertype = |string|
  iv_clienttoken = |string|
  iv_description = |string|
  iv_paymentmanagerid = |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( ).
  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_lastupdatedat( ).
  lv_paymentmanagerstatus = lo_result->get_status( ).
ENDIF.