-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathStrongCustomerAuthentication.php
69 lines (65 loc) · 2.17 KB
/
StrongCustomerAuthentication.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php namespace Solinor\PaymentHighway\Model\Sca;
/**
* Class StrongCustomerAuthentication
*
* @package Solinor\PaymentHighway\Model\Sca
*/
class StrongCustomerAuthentication extends \Solinor\PaymentHighway\Model\JsonSerializable
{
public $return_urls = null;
public $customer_details = null;
public $customer_account = null;
public $purchase = null;
public $billing_address = null;
public $shipping_address = null;
public $desired_challenge_window_size = null;
public $exit_iframe_on_result = null;
public $exit_iframe_on_three_d_secure = null;
/**
* @param ReturnUrls $return_urls
* @param CustomerDetails $customer_details
* @param CustomerAccount $customer_account
* @param Purchase $purchase
* @param Address $billing_address
* @param Address $shipping_address
* @param string $desired_challenge_window_size
* @param boolean $exit_iframe_on_result
* @param boolean $exit_iframe_on_three_d_secure
*/
public function __construct(
$return_urls,
$customer_details = null,
$customer_account = null,
$purchase = null,
$billing_address = null,
$shipping_address = null,
$desired_challenge_window_size = null,
$exit_iframe_on_result = null,
$exit_iframe_on_three_d_secure = null
) {
$this->return_urls = $return_urls;
$this->customer_details = $customer_details;
$this->customer_account = $customer_account;
$this->purchase = $purchase;
$this->billing_address = $billing_address;
$this->shipping_address = $shipping_address;
$this->desired_challenge_window_size = $desired_challenge_window_size;
$this->exit_iframe_on_result = $exit_iframe_on_result;
$this->exit_iframe_on_three_d_secure = $exit_iframe_on_three_d_secure ;
}
}
/**
* Desired challenge window size for 3DS 2.x.
* 01 = 250 x 400
* 02 = 390 x 400
* 03 = 500 x 600
* 04 = 600 x 400
* 05 = Full screen
*/
abstract class ChallengeWindowSize {
const Window250x400 = "01";
const Window390x400 = "02";
const Window500x600 = "03";
const Window600x400 = "04";
const FullScreen = "05";
}