Business-TNT-ExpressConnect

 view release on metacpan or  search on metacpan

share/tnt-expressconnect/xsd/pricing/v3/PriceResponseOUT.xsd  view on Meta::CPAN

            error.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="brokenRule">
    <xs:annotation>
      <xs:documentation>The brokenRule section is for application errors which the customer can resolve such as invalid
        postcode, login credentials.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="rateId" type="xs:string">
        <xs:annotation>
          <xs:documentation>The rateId is used to associate the error with the corresponding priceCheck.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="messageType" type="xs:string">

share/tnt-expressconnect/xsd/pricing/v3/PriceResponseOUT.xsd.orig  view on Meta::CPAN

            error.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="brokenRule">
    <xs:annotation>
      <xs:documentation>The brokenRule section is for application errors which the customer can resolve such as invalid
        postcode, login credentials.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="rateId" type="xs:string">
        <xs:annotation>
          <xs:documentation>The rateId is used to associate the error with the corresponding priceCheck.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="messageType" type="xs:string">

t/01_Business-TNT-ExpressConnect.t  view on Meta::CPAN

subtest 'files' => sub {
    ok(-r $tnt->_price_request_in_xsd,  'PriceRequestIN.xsd present');
    ok(-r $tnt->_price_request_out_xsd, 'PriceResponseOUT.xsd present');
    is(ref(eval {$config = $tnt->config}),
        'HASH', 'try to load configuration file');
};

# finished with off-line testing unless username and password set in configuration file
unless ($config->{_}->{username}) {
SKIP: {
        skip 'skipping on-line testing etc/tnt-expressconnect.ini not filled with credentials', 1;
    }
    done_testing();
    exit(0);
}

# finish unless TNT servers are reachable
unless ($tnt->http_ping) {
SKIP: {
        skip 'skipping on-line testing, '
            . $tnt->tnt_get_price_url

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.061 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )