getPresetTour static method

XmlDocumentFragment getPresetTour(
  1. String profileToken, {
  2. required String presetTourToken,
})

XML for the getPresetTour, requires a profileToken and presetTourToken

Implementation

static XmlDocumentFragment getPresetTour(
  String profileToken, {
  required String presetTourToken,
}) {
  Transport.builder.element('GetPresetTour', nest: () {
    Transport.builder.namespace(Xmlns.tptz);

    ReferenceToken(profileToken).buildXml(Transport.builder);

    ReferenceToken(presetTourToken).buildXml(
      Transport.builder,
      tag: 'PresetTourToken',
    );
  });

  return Transport.builder.buildFragment();
}