| 1 | package jBilling::Client::SOAP::MetaFieldValueWS; | ||||||||||
| 2 | 1 | ▶ | use 5.010; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | our $VERSION = 0.02; | |||||||||
| 5 | 1 | extends 'jBilling::Client::SOAP::Object'; | |||||||||
| 6 | 1 | has 'id', is => 'rw', isa => 'Str'; | |||||||||
| 7 | 1 | has 'fieldName', is => 'rw', isa => 'Str'; | |||||||||
| 8 | 1 | has 'stringValue', is => 'rw', isa => 'Str'; | |||||||||
| 9 | 1 | has 'displayOrder', is => 'rw', isa => 'Str'; | |||||||||
| 10 | 1 | has 'dataType', is => 'rw', isa => 'Str'; | |||||||||
| 11 | 1 | has 'mandatory', is => 'rw', isa => 'Str'; | |||||||||
| 12 | 1 | has 'disabled', is => 'rw', isa => 'Str'; | |||||||||
| 13 | |||||||||||
| 14 | 0 | ▶ | sub soapify{ | ||||||||
|
Subroutine
soapify: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||
| 15 | 0 | my $self = shift; | |||||||||
| 16 | 0 | my @ols; | |||||||||
| 17 | my @ol; | ||||||||||
| 18 | 0 | foreach my $method ($self->getClassMethods){ | |||||||||
| 19 | 0 | ▶ | push @ol, SOAP::Data->new(name => $method, value => $self->$method) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | if (defined $self->$method ); | ||||||||||
| 21 | } | ||||||||||
| 22 | 0 | push @ols, \SOAP::Data->value(@ol); | |||||||||
| 23 | 0 | ▶ | return SOAP::Data->name("metaFields" => @ols) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | ->type("metaFields") if @ols; | ||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | |||||||||||
| 29 | 1 | 1; | |||||||||