The getCommerceIdentifierPaymentInfos actor-chain is used initializes payment lists and obtains the current payment list.

Parameter

Description

listId

Identifies the payment list to initialize.

Get Available Payment Information Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"listId\" : \"o40001\"}" "http://localhost:8280/rest/model/atg/commerce/custsvc/
order/PaymentGroupActor/getCommerceIdentifierPaymentInfos"

The server resopnse may be similar to the following:

{"currentList":[
  {
  "splitPaymentMethod":null,"
  "splitQuantity":0,
  "splitAmount":0,
  "commerceIdentifier":{
    "commerceItems":[{
      "productDisplayName":"Corduroy Pants",
      "productId":"prod20003",
      "id":"ci103000003",
      "priceInfo":{
        "currencyCode":"USD",
        "amount":67,
        "currentPriceDetailsSorted":[{
          "currencyCode":"USD",
          "detailedUnitPrice":67,
          "amount":67,"quantity":1
        }
      ]},
      "quantity":1,
      "catalogRefId":"sku40051"
    }],
    "id":"o99060003",
    "priceInfo":{
      "total":60.3,
      "currencyCode":"USD",
      "discountAmount":6.700000000000003,
      "amount":60.3,
      "shipping":0,
      "tax":0,
      "rawSubtotal":67
    },
    "totalCommerceItemCount":1
      },
        "amount":60.3,
        "creditCardVerificationNumber":null,
        "relationshipType":"ORDERAMOUNTREMAINING",
        "amountRemainingType":"ORDERAMOUNTREMAINING",
        "quantity":0,
        "paymentMethod":null,
        "amountType":"ORDERAMOUNT"
      },
    {
    "splitPaymentMethod":null,
    "splitQuantity":0,
    "splitAmount":0,
    "commerceIdentifier":{
      "commerceItems":[{
        "productDisplayName":"Corduroy Pants",
        "productId":"prod20003",
        "id":"ci103000003",
        "priceInfo":{
          "currencyCode":"USD",
          "amount":67,
          "currentPriceDetailsSorted":[{
            "currencyCode":"USD",
            "detailedUnitPrice":67,
            "amount":67,
            "quantity":1
          }
        ]},
        "quantity":1,
        "catalogRefId":"sku40051"
      }],
     "id":"o99060003",
     "priceInfo":{
       "total":60.3,
       "currencyCode":"USD",
       "discountAmount":6.700000000000003,
       "amount":60.3,
       "shipping":0,
       "tax":0,"rawSubtotal":67
      },
      "totalCommerceItemCount":1
    },
    "amount":0,
    "creditCardVerificationNumber":null,
    "relationshipType":"ORDERAMOUNT",
    "amountRemainingType":"ORDERAMOUNTREMAINING",
    "quantity":0,
    "paymentMethod":"visa - 1111",
    "amountType":"ORDERAMOUNT"
  }
]}

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices