'keyid' => $your_ikano_api_keyid,
'password' => $your_ikano_admin_user_password,
'debug' => 1 # remove this for prod
- 'reqpreviewonly' => 1 # remove this for prod
- 'minimalQualResp' => 1 # on quals, return pairs of ProductCustomId+TermsId only
- 'minimalOrderResp' => 1 # return minimal data on order responses
- );
-
+ 'reqpreviewonly' => 1 # remove this for prod
+ 'minimalQualResp' => 1 # on quals, return pairs of ProductCustomId+TermsId only
+ 'minimalOrderResp' => 1 # return minimal data on order responses
+ );
+
=head1 SUPPORTED API METHODS
+=over 4
+
=item ORDER
NOTE: supports orders by ProductCustomId only
DSLServiecId => 123,
} );
+=back
+
=cut
sub new {
sub resp_PASSWORDCHANGE {
my ($self, $resphash, $reqhash) = (shift, shift);
- return "invalid change password response"
- unless defined $resphash->{ChangePasswordResponse};
- return $resphash->{ChangePasswordResponse};
+ return "invalid change password response"
+ unless defined $resphash->{ChangePasswordResponse}
+ && defined $resphash->{ChangePasswordResponse}->{Customer};
+ $resphash->{ChangePasswordResponse}->{Customer};
}
sub req_PREQUAL {
return $resphash->{PreQualResponse};
}
+sub orderTypes {
+ @orderType;
+}
+
sub AUTOLOAD {
my $self = shift;