getProfile static method

XmlDocumentFragment getProfile(
  1. String profileToken
)

XML for the getProfile, requires a profileToken

Implementation

static XmlDocumentFragment getProfile(String profileToken) {
  Transport.builder.element('GetProfile', nest: () {
    Transport.builder.namespace(Xmlns.tds);
    Transport.builder.element('ProfileToken', nest: () {
      Transport.builder.text(profileToken);
    });
  });

  return Transport.builder.buildFragment();
}