| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package PayProp::API::Public::Client::Request::Entity; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
294370
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
77
|
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
130
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
11
|
use Mouse; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
|
|
with qw/ PayProp::API::Public::Client::Role::Attribute::UA /; |
|
8
|
|
|
|
|
|
|
with qw/ PayProp::API::Public::Client::Role::Attribute::Domain /; |
|
9
|
|
|
|
|
|
|
with qw/ PayProp::API::Public::Client::Role::Attribute::Authorization /; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has payment => ( |
|
12
|
|
|
|
|
|
|
is => 'ro', |
|
13
|
|
|
|
|
|
|
isa => 'PayProp::API::Public::Client::Request::Entity::Payment', |
|
14
|
|
|
|
|
|
|
lazy => 1, |
|
15
|
|
|
|
|
|
|
default => sub { |
|
16
|
|
|
|
|
|
|
my ( $self ) = @_; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
require PayProp::API::Public::Client::Request::Entity::Payment; |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
return PayProp::API::Public::Client::Request::Entity::Payment->new( |
|
21
|
|
|
|
|
|
|
ua => $self->ua, |
|
22
|
|
|
|
|
|
|
domain => $self->domain, |
|
23
|
|
|
|
|
|
|
scheme => $self->scheme, |
|
24
|
|
|
|
|
|
|
authorization => $self->authorization, |
|
25
|
|
|
|
|
|
|
); |
|
26
|
|
|
|
|
|
|
}, |
|
27
|
|
|
|
|
|
|
); |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has invoice => ( |
|
30
|
|
|
|
|
|
|
is => 'ro', |
|
31
|
|
|
|
|
|
|
isa => 'PayProp::API::Public::Client::Request::Entity::Invoice', |
|
32
|
|
|
|
|
|
|
lazy => 1, |
|
33
|
|
|
|
|
|
|
default => sub { |
|
34
|
|
|
|
|
|
|
my ( $self ) = @_; |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
require PayProp::API::Public::Client::Request::Entity::Invoice; |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
return PayProp::API::Public::Client::Request::Entity::Invoice->new( |
|
39
|
|
|
|
|
|
|
ua => $self->ua, |
|
40
|
|
|
|
|
|
|
domain => $self->domain, |
|
41
|
|
|
|
|
|
|
scheme => $self->scheme, |
|
42
|
|
|
|
|
|
|
authorization => $self->authorization, |
|
43
|
|
|
|
|
|
|
); |
|
44
|
|
|
|
|
|
|
}, |
|
45
|
|
|
|
|
|
|
); |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |